markdown-flow-ui 0.3.4 → 0.3.6
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.
- package/dist/_virtual/{advancedFormat.es2.js → advancedFormat2.es.js} +1 -1
- package/dist/_virtual/advancedFormat2.es.js.map +1 -0
- package/dist/_virtual/core.cjs +1 -1
- package/dist/_virtual/core.es.js +1 -1
- package/dist/_virtual/{cose-base.es2.js → cose-base2.es.js} +1 -1
- package/dist/_virtual/cose-base2.es.js.map +1 -0
- package/dist/_virtual/{customParseFormat.es2.js → customParseFormat2.es.js} +1 -1
- package/dist/_virtual/customParseFormat2.es.js.map +1 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.es.js +5 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.es.js.map +1 -0
- package/dist/_virtual/{cytoscape-fcose.es2.js → cytoscape-fcose2.es.js} +1 -1
- package/dist/_virtual/cytoscape-fcose2.es.js.map +1 -0
- package/dist/_virtual/{dayjs.min2.cjs → dayjs2.min.cjs} +1 -1
- package/dist/_virtual/dayjs2.min.cjs.map +1 -0
- package/dist/_virtual/{dayjs.min.es2.js → dayjs2.min.es.js} +1 -1
- package/dist/_virtual/dayjs2.min.es.js.map +1 -0
- package/dist/_virtual/{duration.es2.js → duration2.es.js} +1 -1
- package/dist/_virtual/duration2.es.js.map +1 -0
- package/dist/_virtual/{index.es10.js → index10.es.js} +1 -1
- package/dist/_virtual/index10.es.js.map +1 -0
- package/dist/_virtual/{index.es11.js → index11.es.js} +1 -1
- package/dist/_virtual/index11.es.js.map +1 -0
- package/dist/_virtual/{index.es12.js → index12.es.js} +1 -1
- package/dist/_virtual/index12.es.js.map +1 -0
- package/dist/_virtual/{index.es9.js → index2.es.js} +1 -1
- package/dist/_virtual/index2.es.js.map +1 -0
- package/dist/_virtual/index3.cjs +1 -1
- package/dist/_virtual/{index.es4.js → index3.es.js} +1 -1
- package/dist/_virtual/index3.es.js.map +1 -0
- package/dist/_virtual/index4.cjs +1 -1
- package/dist/_virtual/{index.es3.js → index4.es.js} +1 -1
- package/dist/_virtual/index4.es.js.map +1 -0
- package/dist/_virtual/{index.es5.js → index5.es.js} +1 -1
- package/dist/_virtual/index5.es.js.map +1 -0
- package/dist/_virtual/index6.cjs +1 -1
- package/dist/_virtual/{index.es7.js → index6.es.js} +1 -1
- package/dist/_virtual/index6.es.js.map +1 -0
- package/dist/_virtual/index7.cjs +1 -1
- package/dist/_virtual/{index.es6.js → index7.es.js} +1 -1
- package/dist/_virtual/index7.es.js.map +1 -0
- package/dist/_virtual/{index.es8.js → index8.es.js} +1 -1
- package/dist/_virtual/index8.es.js.map +1 -0
- package/dist/_virtual/{index.es2.js → index9.es.js} +1 -1
- package/dist/_virtual/index9.es.js.map +1 -0
- package/dist/_virtual/{isoWeek.es2.js → isoWeek2.es.js} +1 -1
- package/dist/_virtual/isoWeek2.es.js.map +1 -0
- package/dist/_virtual/{layout-base.es2.js → layout-base2.es.js} +1 -1
- package/dist/_virtual/layout-base2.es.js.map +1 -0
- package/dist/components/ContentRender/ContentRender.cjs +2 -2
- package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
- package/dist/components/ContentRender/ContentRender.d.ts +2 -0
- package/dist/components/ContentRender/ContentRender.es.js +513 -509
- package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
- package/dist/components/ContentRender/IframeSandbox.es.js +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs.map +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.d.ts +2 -0
- package/dist/components/ContentRender/MarkdownFlowInput.es.js +40 -38
- package/dist/components/ContentRender/MarkdownFlowInput.es.js.map +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.cjs +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.cjs.map +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.d.ts +2 -1
- package/dist/components/ContentRender/plugins/CustomVariable.es.js +110 -90
- package/dist/components/ContentRender/plugins/CustomVariable.es.js.map +1 -1
- package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
- package/dist/components/ContentRender/utils/accept-placeholder.cjs +2 -0
- package/dist/components/ContentRender/utils/accept-placeholder.cjs.map +1 -0
- package/dist/components/ContentRender/utils/accept-placeholder.d.ts +3 -0
- package/dist/components/ContentRender/utils/accept-placeholder.es.js +10 -0
- package/dist/components/ContentRender/utils/accept-placeholder.es.js.map +1 -0
- package/dist/components/ContentRender/utils/video-markdown-run.es.js +2 -2
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs.map +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.d.ts +2 -0
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js +23 -21
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +1 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
- package/dist/components/Slide/Slide.cjs +1 -1
- package/dist/components/Slide/Slide.cjs.map +1 -1
- package/dist/components/Slide/Slide.d.ts +2 -0
- package/dist/components/Slide/Slide.es.js +347 -343
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs +1 -1
- package/dist/components/ui/inputGroup/textarea.es.js +1 -1
- package/dist/components/ui/tooltip.cjs +1 -1
- package/dist/components/ui/tooltip.cjs.map +1 -1
- package/dist/components/ui/tooltip.es.js +12 -12
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +3 -3
- package/dist/markdown-flow-ui-lib.css +2 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +4 -4
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js +172 -159
- package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.es.js +376 -333
- package/dist/node_modules/@codemirror/commands/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-css/dist/index.es.js +3 -3
- package/dist/node_modules/@codemirror/lang-html/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lang-html/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-html/dist/index.es.js +238 -228
- package/dist/node_modules/@codemirror/lang-html/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs +4 -4
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js +62 -50
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js +237 -207
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.es.js +302 -296
- package/dist/node_modules/@codemirror/language/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.es.js +281 -236
- package/dist/node_modules/@codemirror/lint/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/search/dist/index.cjs +2 -2
- package/dist/node_modules/@codemirror/search/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/search/dist/index.es.js +427 -454
- package/dist/node_modules/@codemirror/search/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/state/dist/index.cjs +5 -5
- package/dist/node_modules/@codemirror/state/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/state/dist/index.es.js +556 -509
- package/dist/node_modules/@codemirror/state/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/view/dist/index.cjs +5 -5
- package/dist/node_modules/@codemirror/view/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/view/dist/index.es.js +3982 -3507
- package/dist/node_modules/@codemirror/view/dist/index.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +288 -309
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +244 -252
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +8 -8
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +47 -47
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -1
- package/dist/node_modules/@lezer/common/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/common/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/common/dist/index.es.js +266 -253
- package/dist/node_modules/@lezer/common/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/css/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/css/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/css/dist/index.es.js +95 -87
- package/dist/node_modules/@lezer/css/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.es.js +150 -139
- package/dist/node_modules/@lezer/highlight/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/html/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/html/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/html/dist/index.es.js +88 -95
- package/dist/node_modules/@lezer/html/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.es.js +49 -49
- package/dist/node_modules/@lezer/javascript/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.es.js +148 -137
- package/dist/node_modules/@lezer/lr/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/markdown/dist/index.cjs +5 -5
- package/dist/node_modules/@lezer/markdown/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/markdown/dist/index.es.js +305 -269
- package/dist/node_modules/@lezer/markdown/dist/index.es.js.map +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs.map +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js +31 -31
- package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2ZTRR5NV.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-3Z5EZCMW.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5V3GS4D5.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6AZGARVD.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6EIED4P4.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6K3QC6MW.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6TQVIW2G.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-747NJXEK.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-I5DQTOEV.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-IH6LHLGP.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KI3K4JFJ.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OUJLGHUK.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UY3FDG6J.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XHIXRSVI.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js +3 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.es.js +46 -6
- package/dist/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +20 -16
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +71 -43
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +16 -16
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +184 -96
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +10 -9
- package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +14 -12
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js +70 -37
- package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +16 -14
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +261 -250
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js +25 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +105 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js +271 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-portal/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-focus-scope → react-tooltip}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +94 -7
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +16 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +2 -2
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +8 -6
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +56 -39
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js +28 -21
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +15 -15
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-visually-hidden}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +99 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs +1 -1
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs.map +1 -1
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js +11 -13
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js +20 -27
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +51 -80
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs +2 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs.map +1 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js +33 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js.map +1 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js +64 -98
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +65 -42
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +62 -58
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -1
- package/dist/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.cjs +1 -1
- package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.es.js +7 -8
- package/dist/node_modules/clsx/dist/clsx.es.js.map +1 -1
- package/dist/node_modules/cose-base/cose-base.es.js +1 -1
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.es.js +1 -1
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.es.js +1 -1
- package/dist/node_modules/d3-color/src/lab.cjs +1 -1
- package/dist/node_modules/d3-color/src/lab.cjs.map +1 -1
- package/dist/node_modules/d3-color/src/lab.es.js +4 -5
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.es.js +3 -4
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.es.js +2 -3
- package/dist/node_modules/d3-time-format/src/locale.es.js +14 -14
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -1
- package/dist/node_modules/d3-transition/src/selection/transition.es.js +4 -4
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -1
- package/dist/node_modules/d3-transition/src/transition/interpolate.es.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.es.js +7 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.es.js +4 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.es.js +14 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/util.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/util.es.js +7 -7
- package/dist/node_modules/dayjs/dayjs.min.cjs +1 -1
- package/dist/node_modules/dayjs/dayjs.min.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/advancedFormat.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/customParseFormat.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/duration.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/isoWeek.es.js +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.cjs.map +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
- package/dist/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.cjs +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.map +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +2 -2
- package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -1
- package/dist/node_modules/hast-util-to-text/lib/index.cjs +3 -3
- package/dist/node_modules/hast-util-to-text/lib/index.cjs.map +1 -1
- package/dist/node_modules/hast-util-to-text/lib/index.es.js +136 -84
- package/dist/node_modules/hast-util-to-text/lib/index.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.es.js +122 -63
- package/dist/node_modules/highlight.js/es/languages/c.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.es.js +65 -48
- package/dist/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.es.js +17 -6
- package/dist/node_modules/highlight.js/es/languages/css.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.es.js +7 -2
- package/dist/node_modules/highlight.js/es/languages/go.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.es.js +48 -39
- package/dist/node_modules/highlight.js/es/languages/java.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.es.js +4 -2
- package/dist/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.es.js +15 -9
- package/dist/node_modules/highlight.js/es/languages/json.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.es.js +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.es.js +9 -10
- package/dist/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/php.cjs +2 -2
- package/dist/node_modules/highlight.js/es/languages/php.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/php.es.js +39 -33
- package/dist/node_modules/highlight.js/es/languages/php.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.es.js +20 -15
- package/dist/node_modules/highlight.js/es/languages/python.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.es.js +40 -26
- package/dist/node_modules/highlight.js/es/languages/rust.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.es.js +36 -25
- package/dist/node_modules/highlight.js/es/languages/scss.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.es.js +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.es.js +4 -2
- package/dist/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.es.js +9 -16
- package/dist/node_modules/highlight.js/es/languages/xml.es.js.map +1 -1
- package/dist/node_modules/inline-style-parser/cjs/index.cjs +3 -0
- package/dist/node_modules/inline-style-parser/cjs/index.cjs.map +1 -0
- package/dist/node_modules/inline-style-parser/{index.es.js → cjs/index.es.js} +24 -24
- package/dist/node_modules/inline-style-parser/cjs/index.es.js.map +1 -0
- package/dist/node_modules/layout-base/layout-base.es.js +1 -1
- package/dist/node_modules/lowlight/lib/common.cjs +1 -1
- package/dist/node_modules/lowlight/lib/common.cjs.map +1 -1
- package/dist/node_modules/lowlight/lib/common.es.js +37 -37
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs +1 -1
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js +1 -1
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/arduino.es.js +10 -14
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js +378 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js +278 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js +518 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/csharp.es.js +1 -1
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js +930 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/diff.es.js +10 -3
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js +152 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js +241 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js +660 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js +45 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/less.es.js +10 -4
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js +60 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js +217 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs +3 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js +573 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js +14 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js +400 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js +306 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js +915 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js +26 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js +616 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js +755 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js +220 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js +184 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.cjs +3 -3
- package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.es.js +66 -66
- package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.es.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +3 -3
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js +58 -56
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js +274 -223
- package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js +21 -17
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/footer.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js +7 -7
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/revert.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/state.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -3
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js +9 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js +6 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js +17 -29
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +5 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js +12 -11
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js +6 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js +15 -13
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +2 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js +42 -32
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js +17 -29
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js +8 -3
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js +13 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js +263 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.es.js.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.es.js +3 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +3 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +5 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.es.js +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-ELKLHX3M.es.js +4 -4
- package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -1
- package/dist/node_modules/mermaid/dist/mermaid.core.es.js +1 -1
- package/dist/node_modules/micromark/lib/constructs.cjs +1 -1
- package/dist/node_modules/micromark/lib/constructs.es.js +13 -13
- package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
- package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
- package/dist/node_modules/micromark-factory-space/index.es.js +9 -9
- package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
- package/dist/node_modules/parse5/dist/parser/index.es.js +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.cjs +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.cjs.map +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.es.js +2 -2
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.es.js.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
- package/dist/node_modules/property-information/lib/html.cjs +1 -1
- package/dist/node_modules/property-information/lib/html.cjs.map +1 -1
- package/dist/node_modules/property-information/lib/html.es.js +16 -6
- package/dist/node_modules/property-information/lib/html.es.js.map +1 -1
- package/dist/node_modules/property-information/lib/svg.cjs +1 -1
- package/dist/node_modules/property-information/lib/svg.cjs.map +1 -1
- package/dist/node_modules/property-information/lib/svg.es.js +4 -2
- package/dist/node_modules/property-information/lib/svg.es.js.map +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.cjs +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/index.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/index.es.js +1 -1
- package/dist/node_modules/rc-util/es/ref.es.js +1 -1
- package/dist/node_modules/rc-util/node_modules/react-is/index.es.js +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.es.js +7 -7
- package/dist/node_modules/remark-flow/dist/index.es.js +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-parser.cjs.map +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-parser.es.js +2 -2
- package/dist/node_modules/remark-flow/dist/interaction-parser.es.js.map +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
- package/dist/node_modules/style-mod/src/style-mod.cjs +3 -3
- package/dist/node_modules/style-mod/src/style-mod.cjs.map +1 -1
- package/dist/node_modules/style-mod/src/style-mod.es.js +37 -35
- package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
- package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.es.js +15 -15
- package/dist/node_modules/style-to-object/cjs/index.es.js.map +1 -1
- package/dist/node_modules/stylis/src/Parser.cjs +1 -1
- package/dist/node_modules/stylis/src/Parser.cjs.map +1 -1
- package/dist/node_modules/stylis/src/Parser.es.js +63 -52
- package/dist/node_modules/stylis/src/Parser.es.js.map +1 -1
- package/dist/node_modules/stylis/src/Utility.cjs +1 -1
- package/dist/node_modules/stylis/src/Utility.cjs.map +1 -1
- package/dist/node_modules/stylis/src/Utility.es.js +20 -24
- package/dist/node_modules/stylis/src/Utility.es.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +828 -561
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -1
- package/dist/node_modules/ts-dedent/esm/index.cjs +5 -5
- package/dist/node_modules/ts-dedent/esm/index.cjs.map +1 -1
- package/dist/node_modules/ts-dedent/esm/index.es.js +20 -21
- package/dist/node_modules/ts-dedent/esm/index.es.js.map +1 -1
- package/dist/node_modules/unified/lib/index.es.js +1 -1
- package/dist/node_modules/unist-util-is/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-is/lib/index.es.js +8 -1
- package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.cjs +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.es.js +22 -12
- package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +72 -37
- package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -1
- package/dist/node_modules/uuid/dist/rng.cjs +2 -0
- package/dist/node_modules/uuid/dist/rng.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/rng.es.js +8 -0
- package/dist/node_modules/uuid/dist/rng.es.js.map +1 -0
- package/dist/node_modules/uuid/dist/stringify.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/stringify.es.js.map +1 -0
- package/dist/node_modules/uuid/dist/v4.cjs +2 -0
- package/dist/node_modules/uuid/dist/v4.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/v4.es.js +16 -0
- package/dist/node_modules/uuid/dist/v4.es.js.map +1 -0
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.es.js +3 -3
- package/dist/scroll.cjs +1 -1
- package/dist/scroll.es.js +2 -2
- package/package.json +18 -14
- package/dist/_virtual/advancedFormat.es2.js.map +0 -1
- package/dist/_virtual/cose-base.es2.js.map +0 -1
- package/dist/_virtual/customParseFormat.es2.js.map +0 -1
- package/dist/_virtual/cytoscape-cose-bilkent.es2.js +0 -5
- package/dist/_virtual/cytoscape-cose-bilkent.es2.js.map +0 -1
- package/dist/_virtual/cytoscape-fcose.es2.js.map +0 -1
- package/dist/_virtual/dayjs.min.es2.js.map +0 -1
- package/dist/_virtual/dayjs.min2.cjs.map +0 -1
- package/dist/_virtual/duration.es2.js.map +0 -1
- package/dist/_virtual/index.es10.js.map +0 -1
- package/dist/_virtual/index.es11.js.map +0 -1
- package/dist/_virtual/index.es12.js.map +0 -1
- package/dist/_virtual/index.es2.js.map +0 -1
- package/dist/_virtual/index.es3.js.map +0 -1
- package/dist/_virtual/index.es4.js.map +0 -1
- package/dist/_virtual/index.es5.js.map +0 -1
- package/dist/_virtual/index.es6.js.map +0 -1
- package/dist/_virtual/index.es7.js.map +0 -1
- package/dist/_virtual/index.es8.js.map +0 -1
- package/dist/_virtual/index.es9.js.map +0 -1
- package/dist/_virtual/isoWeek.es2.js.map +0 -1
- package/dist/_virtual/layout-base.es2.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +0 -25
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +0 -15
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +0 -104
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -7
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +0 -220
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -50
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +0 -15
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +0 -1
- package/dist/node_modules/hast-util-is-element/lib/index.cjs +0 -2
- package/dist/node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
- package/dist/node_modules/hast-util-is-element/lib/index.es.js +0 -66
- package/dist/node_modules/hast-util-is-element/lib/index.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js +0 -13
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js +0 -62
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js +0 -34
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js +0 -369
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js +0 -567
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js +0 -8
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js +0 -23
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js +0 -28
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js +0 -24
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js +0 -18
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js +0 -15
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js +0 -20
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/arduino.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/arduino.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/arduino.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/csharp.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/csharp.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/csharp.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/diff.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/diff.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/diff.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/graphql.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/graphql.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ini.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ini.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/kotlin.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/kotlin.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/less.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/less.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/less.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/makefile.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/makefile.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/objectivec.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/objectivec.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/perl.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/perl.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/php-template.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/php-template.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/python-repl.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/python-repl.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/r.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/r.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ruby.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ruby.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/swift.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/swift.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/vbnet.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/vbnet.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/wasm.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/wasm.es.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.cjs.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.es.js.map +0 -1
- package/dist/node_modules/inline-style-parser/index.cjs +0 -3
- package/dist/node_modules/inline-style-parser/index.cjs.map +0 -1
- package/dist/node_modules/inline-style-parser/index.es.js.map +0 -1
- package/dist/node_modules/unist-util-find-after/lib/index.cjs +0 -2
- package/dist/node_modules/unist-util-find-after/lib/index.cjs.map +0 -1
- package/dist/node_modules/unist-util-find-after/lib/index.es.js +0 -33
- package/dist/node_modules/unist-util-find-after/lib/index.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.es.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.es.js +0 -14
- package/dist/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.es.js +0 -16
- package/dist/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.es.js +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs.map +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js.map +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.es.js +0 -0
- /package/dist/node_modules/uuid/dist/{esm-browser/stringify.cjs → stringify.cjs} +0 -0
- /package/dist/node_modules/uuid/dist/{esm-browser/stringify.es.js → stringify.es.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { findClusterBreak as
|
|
2
|
-
class
|
|
1
|
+
import { findClusterBreak as Ne } from "../../../@marijn/find-cluster-break/src/index.es.js";
|
|
2
|
+
class y {
|
|
3
3
|
/**
|
|
4
4
|
Get the line description around the given position.
|
|
5
5
|
*/
|
|
@@ -20,7 +20,7 @@ class x {
|
|
|
20
20
|
Replace a range of the text with the given content.
|
|
21
21
|
*/
|
|
22
22
|
replace(e, t, n) {
|
|
23
|
-
[e, t] =
|
|
23
|
+
[e, t] = V(this, e, t);
|
|
24
24
|
let i = [];
|
|
25
25
|
return this.decompose(
|
|
26
26
|
0,
|
|
@@ -52,7 +52,7 @@ class x {
|
|
|
52
52
|
Retrieve the text between the given points.
|
|
53
53
|
*/
|
|
54
54
|
slice(e, t = this.length) {
|
|
55
|
-
[e, t] =
|
|
55
|
+
[e, t] = V(this, e, t);
|
|
56
56
|
let n = [];
|
|
57
57
|
return this.decompose(e, t, n, 0), O.from(n, t - e);
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ class x {
|
|
|
64
64
|
return !0;
|
|
65
65
|
if (e.length != this.length || e.lines != this.lines)
|
|
66
66
|
return !1;
|
|
67
|
-
let t = this.scanIdentical(e, 1), n = this.length - this.scanIdentical(e, -1), i = new
|
|
67
|
+
let t = this.scanIdentical(e, 1), n = this.length - this.scanIdentical(e, -1), i = new z(this), s = new z(e);
|
|
68
68
|
for (let r = t, h = t; ; ) {
|
|
69
69
|
if (i.next(r), s.next(r), r = 0, i.lineBreak != s.lineBreak || i.done != s.done || i.value != s.value)
|
|
70
70
|
return !1;
|
|
@@ -78,14 +78,14 @@ class x {
|
|
|
78
78
|
them as separate strings.
|
|
79
79
|
*/
|
|
80
80
|
iter(e = 1) {
|
|
81
|
-
return new
|
|
81
|
+
return new z(this, e);
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
Iterate over a range of the text. When `from` > `to`, the
|
|
85
85
|
iterator will run in reverse.
|
|
86
86
|
*/
|
|
87
87
|
iterRange(e, t = this.length) {
|
|
88
|
-
return new
|
|
88
|
+
return new Pe(this, e, t);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
Return a cursor that iterates over the given range of lines,
|
|
@@ -103,7 +103,7 @@ class x {
|
|
|
103
103
|
let i = this.line(e).from;
|
|
104
104
|
n = this.iterRange(i, Math.max(i, t == this.lines + 1 ? this.length : t <= 1 ? 0 : this.line(t - 1).to));
|
|
105
105
|
}
|
|
106
|
-
return new
|
|
106
|
+
return new Ae(n);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
Return the document as a string, using newline characters to
|
|
@@ -131,11 +131,11 @@ class x {
|
|
|
131
131
|
static of(e) {
|
|
132
132
|
if (e.length == 0)
|
|
133
133
|
throw new RangeError("A document must have at least one line");
|
|
134
|
-
return e.length == 1 && !e[0] ?
|
|
134
|
+
return e.length == 1 && !e[0] ? y.empty : e.length <= 32 ? new v(e) : O.from(v.split(e, []));
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
class
|
|
138
|
-
constructor(e, t =
|
|
137
|
+
class v extends y {
|
|
138
|
+
constructor(e, t = De(e)) {
|
|
139
139
|
super(), this.text = e, this.length = t;
|
|
140
140
|
}
|
|
141
141
|
get lines() {
|
|
@@ -148,33 +148,33 @@ class m extends x {
|
|
|
148
148
|
for (let s = 0; ; s++) {
|
|
149
149
|
let r = this.text[s], h = i + r.length;
|
|
150
150
|
if ((t ? n : h) >= e)
|
|
151
|
-
return new
|
|
151
|
+
return new $e(i, h, n, r);
|
|
152
152
|
i = h + 1, n++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
decompose(e, t, n, i) {
|
|
156
|
-
let s = e <= 0 && t >= this.length ? this : new
|
|
156
|
+
let s = e <= 0 && t >= this.length ? this : new v(xe(this.text, e, t), Math.min(t, this.length) - Math.max(0, e));
|
|
157
157
|
if (i & 1) {
|
|
158
|
-
let r = n.pop(), h =
|
|
158
|
+
let r = n.pop(), h = Z(s.text, r.text.slice(), 0, s.length);
|
|
159
159
|
if (h.length <= 32)
|
|
160
|
-
n.push(new
|
|
160
|
+
n.push(new v(h, r.length + s.length));
|
|
161
161
|
else {
|
|
162
162
|
let o = h.length >> 1;
|
|
163
|
-
n.push(new
|
|
163
|
+
n.push(new v(h.slice(0, o)), new v(h.slice(o)));
|
|
164
164
|
}
|
|
165
165
|
} else
|
|
166
166
|
n.push(s);
|
|
167
167
|
}
|
|
168
168
|
replace(e, t, n) {
|
|
169
|
-
if (!(n instanceof
|
|
169
|
+
if (!(n instanceof v))
|
|
170
170
|
return super.replace(e, t, n);
|
|
171
|
-
[e, t] =
|
|
172
|
-
let i =
|
|
173
|
-
return i.length <= 32 ? new
|
|
171
|
+
[e, t] = V(this, e, t);
|
|
172
|
+
let i = Z(this.text, Z(n.text, xe(this.text, 0, e)), t), s = this.length + n.length - (t - e);
|
|
173
|
+
return i.length <= 32 ? new v(i, s) : O.from(v.split(i, []), s);
|
|
174
174
|
}
|
|
175
175
|
sliceString(e, t = this.length, n = `
|
|
176
176
|
`) {
|
|
177
|
-
[e, t] =
|
|
177
|
+
[e, t] = V(this, e, t);
|
|
178
178
|
let i = "";
|
|
179
179
|
for (let s = 0, r = 0; s <= t && r < this.text.length; r++) {
|
|
180
180
|
let h = this.text[r], o = s + h.length;
|
|
@@ -192,11 +192,11 @@ class m extends x {
|
|
|
192
192
|
static split(e, t) {
|
|
193
193
|
let n = [], i = -1;
|
|
194
194
|
for (let s of e)
|
|
195
|
-
n.push(s), i += s.length + 1, n.length == 32 && (t.push(new
|
|
196
|
-
return i > -1 && t.push(new
|
|
195
|
+
n.push(s), i += s.length + 1, n.length == 32 && (t.push(new v(n, i)), n = [], i = -1);
|
|
196
|
+
return i > -1 && t.push(new v(n, i)), t;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
class O extends
|
|
199
|
+
class O extends y {
|
|
200
200
|
constructor(e, t) {
|
|
201
201
|
super(), this.children = e, this.length = t, this.lines = 0;
|
|
202
202
|
for (let n of e)
|
|
@@ -221,14 +221,14 @@ class O extends x {
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
replace(e, t, n) {
|
|
224
|
-
if ([e, t] =
|
|
224
|
+
if ([e, t] = V(this, e, t), n.lines < this.lines)
|
|
225
225
|
for (let i = 0, s = 0; i < this.children.length; i++) {
|
|
226
226
|
let r = this.children[i], h = s + r.length;
|
|
227
227
|
if (e >= s && t <= h) {
|
|
228
228
|
let o = r.replace(e - s, t - s, n), a = this.lines - r.lines + o.lines;
|
|
229
229
|
if (o.lines < a >> 4 && o.lines > a >> 6) {
|
|
230
|
-
let
|
|
231
|
-
return
|
|
230
|
+
let u = this.children.slice();
|
|
231
|
+
return u[i] = o, new O(u, this.length - (t - e) + n.length);
|
|
232
232
|
}
|
|
233
233
|
return super.replace(s, h, o);
|
|
234
234
|
}
|
|
@@ -238,7 +238,7 @@ class O extends x {
|
|
|
238
238
|
}
|
|
239
239
|
sliceString(e, t = this.length, n = `
|
|
240
240
|
`) {
|
|
241
|
-
[e, t] =
|
|
241
|
+
[e, t] = V(this, e, t);
|
|
242
242
|
let i = "";
|
|
243
243
|
for (let s = 0, r = 0; s < this.children.length && r <= t; s++) {
|
|
244
244
|
let h = this.children[s], o = r + h.length;
|
|
@@ -269,54 +269,54 @@ class O extends x {
|
|
|
269
269
|
n += d.lines;
|
|
270
270
|
if (n < 32) {
|
|
271
271
|
let d = [];
|
|
272
|
-
for (let
|
|
273
|
-
|
|
274
|
-
return new
|
|
272
|
+
for (let g of e)
|
|
273
|
+
g.flatten(d);
|
|
274
|
+
return new v(d, t);
|
|
275
275
|
}
|
|
276
276
|
let i = Math.max(
|
|
277
277
|
32,
|
|
278
278
|
n >> 5
|
|
279
279
|
/* Tree.BranchShift */
|
|
280
|
-
), s = i << 1, r = i >> 1, h = [], o = 0, a = -1,
|
|
281
|
-
function
|
|
282
|
-
let
|
|
280
|
+
), s = i << 1, r = i >> 1, h = [], o = 0, a = -1, u = [];
|
|
281
|
+
function f(d) {
|
|
282
|
+
let g;
|
|
283
283
|
if (d.lines > s && d instanceof O)
|
|
284
|
-
for (let
|
|
285
|
-
|
|
286
|
-
else d.lines > r && (o > r || !o) ? (c(), h.push(d)) : d instanceof
|
|
284
|
+
for (let m of d.children)
|
|
285
|
+
f(m);
|
|
286
|
+
else d.lines > r && (o > r || !o) ? (c(), h.push(d)) : d instanceof v && o && (g = u[u.length - 1]) instanceof v && d.lines + g.lines <= 32 ? (o += d.lines, a += d.length + 1, u[u.length - 1] = new v(g.text.concat(d.text), g.length + 1 + d.length)) : (o + d.lines > i && c(), o += d.lines, a += d.length + 1, u.push(d));
|
|
287
287
|
}
|
|
288
288
|
function c() {
|
|
289
|
-
o != 0 && (h.push(
|
|
289
|
+
o != 0 && (h.push(u.length == 1 ? u[0] : O.from(u, a)), a = -1, o = u.length = 0);
|
|
290
290
|
}
|
|
291
291
|
for (let d of e)
|
|
292
|
-
|
|
292
|
+
f(d);
|
|
293
293
|
return c(), h.length == 1 ? h[0] : new O(h, t);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
function
|
|
296
|
+
y.empty = /* @__PURE__ */ new v([""], 0);
|
|
297
|
+
function De(l) {
|
|
298
298
|
let e = -1;
|
|
299
299
|
for (let t of l)
|
|
300
300
|
e += t.length + 1;
|
|
301
301
|
return e;
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function Z(l, e, t = 0, n = 1e9) {
|
|
304
304
|
for (let i = 0, s = 0, r = !0; s < l.length && i <= n; s++) {
|
|
305
305
|
let h = l[s], o = i + h.length;
|
|
306
306
|
o >= t && (o > n && (h = h.slice(0, n - i)), i < t && (h = h.slice(t - i)), r ? (e[e.length - 1] += h, r = !1) : e.push(h)), i = o + 1;
|
|
307
307
|
}
|
|
308
308
|
return e;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
311
|
-
return
|
|
310
|
+
function xe(l, e, t) {
|
|
311
|
+
return Z(l, [""], e, t);
|
|
312
312
|
}
|
|
313
|
-
class
|
|
313
|
+
class z {
|
|
314
314
|
constructor(e, t = 1) {
|
|
315
|
-
this.dir = t, this.done = !1, this.lineBreak = !1, this.value = "", this.nodes = [e], this.offsets = [t > 0 ? 1 : (e instanceof
|
|
315
|
+
this.dir = t, this.done = !1, this.lineBreak = !1, this.value = "", this.nodes = [e], this.offsets = [t > 0 ? 1 : (e instanceof v ? e.text.length : e.children.length) << 1];
|
|
316
316
|
}
|
|
317
317
|
nextInner(e, t) {
|
|
318
318
|
for (this.done = this.lineBreak = !1; ; ) {
|
|
319
|
-
let n = this.nodes.length - 1, i = this.nodes[n], s = this.offsets[n], r = s >> 1, h = i instanceof
|
|
319
|
+
let n = this.nodes.length - 1, i = this.nodes[n], s = this.offsets[n], r = s >> 1, h = i instanceof v ? i.text.length : i.children.length;
|
|
320
320
|
if (r == (t > 0 ? h : 0)) {
|
|
321
321
|
if (n == 0)
|
|
322
322
|
return this.done = !0, this.value = "", this;
|
|
@@ -326,14 +326,14 @@ class D {
|
|
|
326
326
|
return this.lineBreak = !0, this.value = `
|
|
327
327
|
`, this;
|
|
328
328
|
e--;
|
|
329
|
-
} else if (i instanceof
|
|
329
|
+
} else if (i instanceof v) {
|
|
330
330
|
let o = i.text[r + (t < 0 ? -1 : 0)];
|
|
331
331
|
if (this.offsets[n] += t, o.length > Math.max(0, e))
|
|
332
332
|
return this.value = e == 0 ? o : t > 0 ? o.slice(e) : o.slice(0, o.length - e), this;
|
|
333
333
|
e -= o.length;
|
|
334
334
|
} else {
|
|
335
335
|
let o = i.children[r + (t < 0 ? -1 : 0)];
|
|
336
|
-
e > o.length ? (e -= o.length, this.offsets[n] += t) : (t < 0 && this.offsets[n]--, this.nodes.push(o), this.offsets.push(t > 0 ? 1 : (o instanceof
|
|
336
|
+
e > o.length ? (e -= o.length, this.offsets[n] += t) : (t < 0 && this.offsets[n]--, this.nodes.push(o), this.offsets.push(t > 0 ? 1 : (o instanceof v ? o.text.length : o.children.length) << 1));
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
@@ -341,9 +341,9 @@ class D {
|
|
|
341
341
|
return e < 0 && (this.nextInner(-e, -this.dir), e = this.value.length), this.nextInner(e, this.dir);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
class
|
|
344
|
+
class Pe {
|
|
345
345
|
constructor(e, t, n) {
|
|
346
|
-
this.value = "", this.done = !1, this.cursor = new
|
|
346
|
+
this.value = "", this.done = !1, this.cursor = new z(e, t > n ? -1 : 1), this.pos = t > n ? e.length : 0, this.from = Math.min(t, n), this.to = Math.max(t, n);
|
|
347
347
|
}
|
|
348
348
|
nextInner(e, t) {
|
|
349
349
|
if (t < 0 ? this.pos <= this.from : this.pos >= this.to)
|
|
@@ -361,7 +361,7 @@ class Se {
|
|
|
361
361
|
return this.cursor.lineBreak && this.value != "";
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
class
|
|
364
|
+
class Ae {
|
|
365
365
|
constructor(e) {
|
|
366
366
|
this.inner = e, this.afterBreak = !0, this.value = "", this.done = !1;
|
|
367
367
|
}
|
|
@@ -373,12 +373,12 @@ class Ie {
|
|
|
373
373
|
return !1;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
typeof Symbol < "u" && (
|
|
376
|
+
typeof Symbol < "u" && (y.prototype[Symbol.iterator] = function() {
|
|
377
377
|
return this.iter();
|
|
378
|
-
},
|
|
378
|
+
}, z.prototype[Symbol.iterator] = Pe.prototype[Symbol.iterator] = Ae.prototype[Symbol.iterator] = function() {
|
|
379
379
|
return this;
|
|
380
380
|
});
|
|
381
|
-
class
|
|
381
|
+
class $e {
|
|
382
382
|
/**
|
|
383
383
|
@internal
|
|
384
384
|
*/
|
|
@@ -392,36 +392,36 @@ class Ne {
|
|
|
392
392
|
return this.to - this.from;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function V(l, e, t) {
|
|
396
396
|
return e = Math.max(0, Math.min(l.length, e)), [e, Math.max(e, Math.min(l.length, t))];
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
return
|
|
398
|
+
function _(l, e, t = !0, n = !0) {
|
|
399
|
+
return Ne(l, e, t, n);
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function ze(l) {
|
|
402
402
|
return l >= 56320 && l < 57344;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function qe(l) {
|
|
405
405
|
return l >= 55296 && l < 56320;
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function nt(l, e) {
|
|
408
408
|
let t = l.charCodeAt(e);
|
|
409
|
-
if (
|
|
409
|
+
if (!qe(t) || e + 1 == l.length)
|
|
410
410
|
return t;
|
|
411
411
|
let n = l.charCodeAt(e + 1);
|
|
412
|
-
return
|
|
412
|
+
return ze(n) ? (t - 55296 << 10) + (n - 56320) + 65536 : t;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function it(l) {
|
|
415
415
|
return l <= 65535 ? String.fromCharCode(l) : (l -= 65536, String.fromCharCode((l >> 10) + 55296, (l & 1023) + 56320));
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function st(l) {
|
|
418
418
|
return l < 65536 ? 1 : 2;
|
|
419
419
|
}
|
|
420
|
-
const
|
|
420
|
+
const re = /\r\n?|\n/;
|
|
421
421
|
var M = /* @__PURE__ */ (function(l) {
|
|
422
422
|
return l[l.Simple = 0] = "Simple", l[l.TrackDel = 1] = "TrackDel", l[l.TrackBefore = 2] = "TrackBefore", l[l.TrackAfter = 3] = "TrackAfter", l;
|
|
423
423
|
})(M || (M = {}));
|
|
424
|
-
class
|
|
424
|
+
class R {
|
|
425
425
|
// Sections are encoded as pairs of integers. The first is the
|
|
426
426
|
// length in the current document, and the second is -1 for
|
|
427
427
|
// unaffected sections, and the length of the replacement content
|
|
@@ -483,7 +483,7 @@ class C {
|
|
|
483
483
|
reported separately.
|
|
484
484
|
*/
|
|
485
485
|
iterChangedRanges(e, t = !1) {
|
|
486
|
-
|
|
486
|
+
le(this, e, t);
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
489
|
Get a description of the inverted form of these changes.
|
|
@@ -494,7 +494,7 @@ class C {
|
|
|
494
494
|
let n = this.sections[t++], i = this.sections[t++];
|
|
495
495
|
i < 0 ? e.push(n, i) : e.push(i, n);
|
|
496
496
|
}
|
|
497
|
-
return new
|
|
497
|
+
return new R(e);
|
|
498
498
|
}
|
|
499
499
|
/**
|
|
500
500
|
Compute the combined effect of applying another set of changes
|
|
@@ -502,7 +502,7 @@ class C {
|
|
|
502
502
|
match the length before `other`.
|
|
503
503
|
*/
|
|
504
504
|
composeDesc(e) {
|
|
505
|
-
return this.empty ? e : e.empty ? this :
|
|
505
|
+
return this.empty ? e : e.empty ? this : Ce(this, e);
|
|
506
506
|
}
|
|
507
507
|
/**
|
|
508
508
|
Map this description, which should start with the same document
|
|
@@ -511,7 +511,7 @@ class C {
|
|
|
511
511
|
in `this` happened before the ones in `other`.
|
|
512
512
|
*/
|
|
513
513
|
mapDesc(e, t = !1) {
|
|
514
|
-
return e.empty ? this :
|
|
514
|
+
return e.empty ? this : he(this, e, t);
|
|
515
515
|
}
|
|
516
516
|
mapPos(e, t = -1, n = M.Simple) {
|
|
517
517
|
let i = 0, s = 0;
|
|
@@ -572,16 +572,16 @@ class C {
|
|
|
572
572
|
static fromJSON(e) {
|
|
573
573
|
if (!Array.isArray(e) || e.length % 2 || e.some((t) => typeof t != "number"))
|
|
574
574
|
throw new RangeError("Invalid JSON representation of ChangeDesc");
|
|
575
|
-
return new
|
|
575
|
+
return new R(e);
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
@internal
|
|
579
579
|
*/
|
|
580
580
|
static create(e) {
|
|
581
|
-
return new
|
|
581
|
+
return new R(e);
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
class
|
|
584
|
+
class S extends R {
|
|
585
585
|
constructor(e, t) {
|
|
586
586
|
super(e), this.inserted = t;
|
|
587
587
|
}
|
|
@@ -592,10 +592,10 @@ class y extends C {
|
|
|
592
592
|
apply(e) {
|
|
593
593
|
if (this.length != e.length)
|
|
594
594
|
throw new RangeError("Applying change set to a document with the wrong length");
|
|
595
|
-
return
|
|
595
|
+
return le(this, (t, n, i, s, r) => e = e.replace(i, i + (n - t), r), !1), e;
|
|
596
596
|
}
|
|
597
597
|
mapDesc(e, t = !1) {
|
|
598
|
-
return
|
|
598
|
+
return he(this, e, t, !0);
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
601
601
|
Given the document as it existed _before_ the changes, return a
|
|
@@ -611,12 +611,12 @@ class y extends C {
|
|
|
611
611
|
t[i] = h, t[i + 1] = r;
|
|
612
612
|
let o = i >> 1;
|
|
613
613
|
for (; n.length < o; )
|
|
614
|
-
n.push(
|
|
615
|
-
n.push(r ? e.slice(s, s + r) :
|
|
614
|
+
n.push(y.empty);
|
|
615
|
+
n.push(r ? e.slice(s, s + r) : y.empty);
|
|
616
616
|
}
|
|
617
617
|
s += r;
|
|
618
618
|
}
|
|
619
|
-
return new
|
|
619
|
+
return new S(t, n);
|
|
620
620
|
}
|
|
621
621
|
/**
|
|
622
622
|
Combine two subsequent change sets into a single set. `other`
|
|
@@ -625,7 +625,7 @@ class y extends C {
|
|
|
625
625
|
returned value will represent the change `docA` → `docC`.
|
|
626
626
|
*/
|
|
627
627
|
compose(e) {
|
|
628
|
-
return this.empty ? e : e.empty ? this :
|
|
628
|
+
return this.empty ? e : e.empty ? this : Ce(this, e, !0);
|
|
629
629
|
}
|
|
630
630
|
/**
|
|
631
631
|
Given another change set starting in the same document, maps this
|
|
@@ -641,7 +641,7 @@ class y extends C {
|
|
|
641
641
|
and can be used for collaborative editing.
|
|
642
642
|
*/
|
|
643
643
|
map(e, t = !1) {
|
|
644
|
-
return e.empty ? this :
|
|
644
|
+
return e.empty ? this : he(this, e, t, !0);
|
|
645
645
|
}
|
|
646
646
|
/**
|
|
647
647
|
Iterate over the changed ranges in the document, calling `f` for
|
|
@@ -653,41 +653,41 @@ class y extends C {
|
|
|
653
653
|
separately.
|
|
654
654
|
*/
|
|
655
655
|
iterChanges(e, t = !1) {
|
|
656
|
-
|
|
656
|
+
le(this, e, t);
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
Get a [change description](https://codemirror.net/6/docs/ref/#state.ChangeDesc) for this change
|
|
660
660
|
set.
|
|
661
661
|
*/
|
|
662
662
|
get desc() {
|
|
663
|
-
return
|
|
663
|
+
return R.create(this.sections);
|
|
664
664
|
}
|
|
665
665
|
/**
|
|
666
666
|
@internal
|
|
667
667
|
*/
|
|
668
668
|
filter(e) {
|
|
669
|
-
let t = [], n = [], i = [], s = new
|
|
669
|
+
let t = [], n = [], i = [], s = new U(this);
|
|
670
670
|
e: for (let r = 0, h = 0; ; ) {
|
|
671
671
|
let o = r == e.length ? 1e9 : e[r++];
|
|
672
672
|
for (; h < o || h == o && s.len == 0; ) {
|
|
673
673
|
if (s.done)
|
|
674
674
|
break e;
|
|
675
|
-
let
|
|
676
|
-
|
|
677
|
-
let
|
|
678
|
-
|
|
675
|
+
let u = Math.min(s.len, o - h);
|
|
676
|
+
I(i, u, -1);
|
|
677
|
+
let f = s.ins == -1 ? -1 : s.off == 0 ? s.ins : 0;
|
|
678
|
+
I(t, u, f), f > 0 && T(n, t, s.text), s.forward(u), h += u;
|
|
679
679
|
}
|
|
680
680
|
let a = e[r++];
|
|
681
681
|
for (; h < a; ) {
|
|
682
682
|
if (s.done)
|
|
683
683
|
break e;
|
|
684
|
-
let
|
|
685
|
-
|
|
684
|
+
let u = Math.min(s.len, a - h);
|
|
685
|
+
I(t, u, -1), I(i, u, s.ins == -1 ? -1 : s.off == 0 ? s.ins : 0), s.forward(u), h += u;
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
return {
|
|
689
|
-
changes: new
|
|
690
|
-
filtered:
|
|
689
|
+
changes: new S(t, n),
|
|
690
|
+
filtered: R.create(i)
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
693
|
/**
|
|
@@ -707,29 +707,29 @@ class y extends C {
|
|
|
707
707
|
*/
|
|
708
708
|
static of(e, t, n) {
|
|
709
709
|
let i = [], s = [], r = 0, h = null;
|
|
710
|
-
function o(
|
|
711
|
-
if (!
|
|
710
|
+
function o(u = !1) {
|
|
711
|
+
if (!u && !i.length)
|
|
712
712
|
return;
|
|
713
|
-
r < t &&
|
|
714
|
-
let
|
|
715
|
-
h = h ? h.compose(
|
|
713
|
+
r < t && I(i, t - r, -1);
|
|
714
|
+
let f = new S(i, s);
|
|
715
|
+
h = h ? h.compose(f.map(h)) : f, i = [], s = [], r = 0;
|
|
716
716
|
}
|
|
717
|
-
function a(
|
|
718
|
-
if (Array.isArray(
|
|
719
|
-
for (let
|
|
720
|
-
a(
|
|
721
|
-
else if (
|
|
722
|
-
if (
|
|
723
|
-
throw new RangeError(`Mismatched change set length (got ${
|
|
724
|
-
o(), h = h ? h.compose(
|
|
717
|
+
function a(u) {
|
|
718
|
+
if (Array.isArray(u))
|
|
719
|
+
for (let f of u)
|
|
720
|
+
a(f);
|
|
721
|
+
else if (u instanceof S) {
|
|
722
|
+
if (u.length != t)
|
|
723
|
+
throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${t})`);
|
|
724
|
+
o(), h = h ? h.compose(u.map(h)) : u;
|
|
725
725
|
} else {
|
|
726
|
-
let { from:
|
|
727
|
-
if (
|
|
728
|
-
throw new RangeError(`Invalid change range ${
|
|
729
|
-
let
|
|
730
|
-
if (
|
|
726
|
+
let { from: f, to: c = f, insert: d } = u;
|
|
727
|
+
if (f > c || f < 0 || c > t)
|
|
728
|
+
throw new RangeError(`Invalid change range ${f} to ${c} (in doc of length ${t})`);
|
|
729
|
+
let g = d ? typeof d == "string" ? y.of(d.split(n || re)) : d : y.empty, m = g.length;
|
|
730
|
+
if (f == c && m == 0)
|
|
731
731
|
return;
|
|
732
|
-
|
|
732
|
+
f < r && o(), f > r && I(i, f - r, -1), I(i, c - f, m), T(s, i, g), r = c;
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
735
|
return a(e), o(!h), h;
|
|
@@ -738,7 +738,7 @@ class y extends C {
|
|
|
738
738
|
Create an empty changeset of the given length.
|
|
739
739
|
*/
|
|
740
740
|
static empty(e) {
|
|
741
|
-
return new
|
|
741
|
+
return new S(e ? [e, -1] : [], []);
|
|
742
742
|
}
|
|
743
743
|
/**
|
|
744
744
|
Create a changeset from its JSON representation (as produced by
|
|
@@ -759,27 +759,27 @@ class y extends C {
|
|
|
759
759
|
t.push(s[0], 0);
|
|
760
760
|
else {
|
|
761
761
|
for (; n.length < i; )
|
|
762
|
-
n.push(
|
|
763
|
-
n[i] =
|
|
762
|
+
n.push(y.empty);
|
|
763
|
+
n[i] = y.of(s.slice(1)), t.push(s[0], n[i].length);
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
return new
|
|
767
|
+
return new S(t, n);
|
|
768
768
|
}
|
|
769
769
|
/**
|
|
770
770
|
@internal
|
|
771
771
|
*/
|
|
772
772
|
static createSet(e, t) {
|
|
773
|
-
return new
|
|
773
|
+
return new S(e, t);
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function I(l, e, t, n = !1) {
|
|
777
777
|
if (e == 0 && t <= 0)
|
|
778
778
|
return;
|
|
779
779
|
let i = l.length - 2;
|
|
780
780
|
i >= 0 && t <= 0 && t == l[i + 1] ? l[i] += e : i >= 0 && e == 0 && l[i] == 0 ? l[i + 1] += t : n ? (l[i] += e, l[i + 1] += t) : l.push(e, t);
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function T(l, e, t) {
|
|
783
783
|
if (t.length == 0)
|
|
784
784
|
return;
|
|
785
785
|
let n = e.length - 2 >> 1;
|
|
@@ -787,81 +787,81 @@ function b(l, e, t) {
|
|
|
787
787
|
l[l.length - 1] = l[l.length - 1].append(t);
|
|
788
788
|
else {
|
|
789
789
|
for (; l.length < n; )
|
|
790
|
-
l.push(
|
|
790
|
+
l.push(y.empty);
|
|
791
791
|
l.push(t);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function le(l, e, t) {
|
|
795
795
|
let n = l.inserted;
|
|
796
796
|
for (let i = 0, s = 0, r = 0; r < l.sections.length; ) {
|
|
797
797
|
let h = l.sections[r++], o = l.sections[r++];
|
|
798
798
|
if (o < 0)
|
|
799
799
|
i += h, s += h;
|
|
800
800
|
else {
|
|
801
|
-
let a = i,
|
|
802
|
-
for (; a += h,
|
|
801
|
+
let a = i, u = s, f = y.empty;
|
|
802
|
+
for (; a += h, u += o, o && n && (f = f.append(n[r - 2 >> 1])), !(t || r == l.sections.length || l.sections[r + 1] < 0); )
|
|
803
803
|
h = l.sections[r++], o = l.sections[r++];
|
|
804
|
-
e(i, a, s,
|
|
804
|
+
e(i, a, s, u, f), i = a, s = u;
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
let i = [], s = n ? [] : null, r = new
|
|
808
|
+
function he(l, e, t, n = !1) {
|
|
809
|
+
let i = [], s = n ? [] : null, r = new U(l), h = new U(e);
|
|
810
810
|
for (let o = -1; ; ) {
|
|
811
811
|
if (r.done && h.len || h.done && r.len)
|
|
812
812
|
throw new Error("Mismatched change set lengths");
|
|
813
813
|
if (r.ins == -1 && h.ins == -1) {
|
|
814
814
|
let a = Math.min(r.len, h.len);
|
|
815
|
-
|
|
815
|
+
I(i, a, -1), r.forward(a), h.forward(a);
|
|
816
816
|
} else if (h.ins >= 0 && (r.ins < 0 || o == r.i || r.off == 0 && (h.len < r.len || h.len == r.len && !t))) {
|
|
817
817
|
let a = h.len;
|
|
818
|
-
for (
|
|
819
|
-
let
|
|
820
|
-
r.ins >= 0 && o < r.i && r.len <=
|
|
818
|
+
for (I(i, h.ins, -1); a; ) {
|
|
819
|
+
let u = Math.min(r.len, a);
|
|
820
|
+
r.ins >= 0 && o < r.i && r.len <= u && (I(i, 0, r.ins), s && T(s, i, r.text), o = r.i), r.forward(u), a -= u;
|
|
821
821
|
}
|
|
822
822
|
h.next();
|
|
823
823
|
} else if (r.ins >= 0) {
|
|
824
|
-
let a = 0,
|
|
825
|
-
for (;
|
|
824
|
+
let a = 0, u = r.len;
|
|
825
|
+
for (; u; )
|
|
826
826
|
if (h.ins == -1) {
|
|
827
|
-
let
|
|
828
|
-
a +=
|
|
829
|
-
} else if (h.ins == 0 && h.len <
|
|
830
|
-
|
|
827
|
+
let f = Math.min(u, h.len);
|
|
828
|
+
a += f, u -= f, h.forward(f);
|
|
829
|
+
} else if (h.ins == 0 && h.len < u)
|
|
830
|
+
u -= h.len, h.next();
|
|
831
831
|
else
|
|
832
832
|
break;
|
|
833
|
-
|
|
833
|
+
I(i, a, o < r.i ? r.ins : 0), s && o < r.i && T(s, i, r.text), o = r.i, r.forward(r.len - u);
|
|
834
834
|
} else {
|
|
835
835
|
if (r.done && h.done)
|
|
836
|
-
return s ?
|
|
836
|
+
return s ? S.createSet(i, s) : R.create(i);
|
|
837
837
|
throw new Error("Mismatched change set lengths");
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
|
-
function
|
|
842
|
-
let n = [], i = t ? [] : null, s = new
|
|
841
|
+
function Ce(l, e, t = !1) {
|
|
842
|
+
let n = [], i = t ? [] : null, s = new U(l), r = new U(e);
|
|
843
843
|
for (let h = !1; ; ) {
|
|
844
844
|
if (s.done && r.done)
|
|
845
|
-
return i ?
|
|
845
|
+
return i ? S.createSet(n, i) : R.create(n);
|
|
846
846
|
if (s.ins == 0)
|
|
847
|
-
|
|
847
|
+
I(n, s.len, 0, h), s.next();
|
|
848
848
|
else if (r.len == 0 && !r.done)
|
|
849
|
-
|
|
849
|
+
I(n, 0, r.ins, h), i && T(i, n, r.text), r.next();
|
|
850
850
|
else {
|
|
851
851
|
if (s.done || r.done)
|
|
852
852
|
throw new Error("Mismatched change set lengths");
|
|
853
853
|
{
|
|
854
854
|
let o = Math.min(s.len2, r.len), a = n.length;
|
|
855
855
|
if (s.ins == -1) {
|
|
856
|
-
let
|
|
857
|
-
|
|
858
|
-
} else r.ins == -1 ? (
|
|
856
|
+
let u = r.ins == -1 ? -1 : r.off ? 0 : r.ins;
|
|
857
|
+
I(n, o, u, h), i && u && T(i, n, r.text);
|
|
858
|
+
} else r.ins == -1 ? (I(n, s.off ? 0 : s.len, o, h), i && T(i, n, s.textBit(o))) : (I(n, s.off ? 0 : s.len, r.off ? 0 : r.ins, h), i && !r.off && T(i, n, r.text));
|
|
859
859
|
h = (s.ins > o || r.ins >= 0 && r.len > o) && (h || n.length > a), s.forward2(o), r.forward(o);
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
class
|
|
864
|
+
class U {
|
|
865
865
|
constructor(e) {
|
|
866
866
|
this.set = e, this.i = 0, this.next();
|
|
867
867
|
}
|
|
@@ -877,11 +877,11 @@ class q {
|
|
|
877
877
|
}
|
|
878
878
|
get text() {
|
|
879
879
|
let { inserted: e } = this.set, t = this.i - 2 >> 1;
|
|
880
|
-
return t >= e.length ?
|
|
880
|
+
return t >= e.length ? y.empty : e[t];
|
|
881
881
|
}
|
|
882
882
|
textBit(e) {
|
|
883
883
|
let { inserted: t } = this.set, n = this.i - 2 >> 1;
|
|
884
|
-
return n >= t.length && !e ?
|
|
884
|
+
return n >= t.length && !e ? y.empty : t[n].slice(this.off, e == null ? void 0 : this.off + e);
|
|
885
885
|
}
|
|
886
886
|
forward(e) {
|
|
887
887
|
e == this.len ? this.next() : (this.len -= e, this.off += e);
|
|
@@ -890,9 +890,9 @@ class q {
|
|
|
890
890
|
this.ins == -1 ? this.forward(e) : e == this.ins ? this.next() : (this.ins -= e, this.off += e);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
class
|
|
894
|
-
constructor(e, t, n) {
|
|
895
|
-
this.from = e, this.to = t, this.flags = n;
|
|
893
|
+
class b {
|
|
894
|
+
constructor(e, t, n, i) {
|
|
895
|
+
this.from = e, this.to = t, this.flags = n, this.goalColumn = i;
|
|
896
896
|
}
|
|
897
897
|
/**
|
|
898
898
|
The anchor of the range—the side that doesn't move when you
|
|
@@ -924,6 +924,16 @@ class B {
|
|
|
924
924
|
return this.flags & 8 ? -1 : this.flags & 16 ? 1 : 0;
|
|
925
925
|
}
|
|
926
926
|
/**
|
|
927
|
+
A flag that, when set, makes some selection-extending commands
|
|
928
|
+
treat the range's head and anchor as exchangeable, so that for
|
|
929
|
+
example Shift-ArrowUp will make the lower side of the selection
|
|
930
|
+
the anchor, even if that was the head before. Used to implement
|
|
931
|
+
MacOS-style undirectional selections.
|
|
932
|
+
*/
|
|
933
|
+
get undirectional() {
|
|
934
|
+
return (this.flags & 64) > 0;
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
927
937
|
The bidirectional text level associated with this cursor, if
|
|
928
938
|
any.
|
|
929
939
|
*/
|
|
@@ -932,37 +942,27 @@ class B {
|
|
|
932
942
|
return e == 7 ? null : e;
|
|
933
943
|
}
|
|
934
944
|
/**
|
|
935
|
-
The goal column (stored vertical offset) associated with a
|
|
936
|
-
cursor. This is used to preserve the vertical position when
|
|
937
|
-
[moving](https://codemirror.net/6/docs/ref/#view.EditorView.moveVertically) across
|
|
938
|
-
lines of different length.
|
|
939
|
-
*/
|
|
940
|
-
get goalColumn() {
|
|
941
|
-
let e = this.flags >> 6;
|
|
942
|
-
return e == 16777215 ? void 0 : e;
|
|
943
|
-
}
|
|
944
|
-
/**
|
|
945
945
|
Map this range through a change, producing a valid range in the
|
|
946
946
|
updated document.
|
|
947
947
|
*/
|
|
948
948
|
map(e, t = -1) {
|
|
949
949
|
let n, i;
|
|
950
|
-
return this.empty ? n = i = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), i = e.mapPos(this.to, -1)), n == this.from && i == this.to ? this : new
|
|
950
|
+
return this.empty ? n = i = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), i = e.mapPos(this.to, -1)), n == this.from && i == this.to ? this : new b(n, i, this.flags, this.goalColumn);
|
|
951
951
|
}
|
|
952
952
|
/**
|
|
953
953
|
Extend this range to cover at least `from` to `to`.
|
|
954
954
|
*/
|
|
955
|
-
extend(e, t = e) {
|
|
955
|
+
extend(e, t = e, n = 0) {
|
|
956
956
|
if (e <= this.anchor && t >= this.anchor)
|
|
957
|
-
return
|
|
958
|
-
let
|
|
959
|
-
return
|
|
957
|
+
return w.range(e, t, void 0, void 0, n);
|
|
958
|
+
let i = Math.abs(e - this.anchor) > Math.abs(t - this.anchor) ? e : t;
|
|
959
|
+
return w.range(this.anchor, i, void 0, void 0, n);
|
|
960
960
|
}
|
|
961
961
|
/**
|
|
962
962
|
Compare this range to another range.
|
|
963
963
|
*/
|
|
964
964
|
eq(e, t = !1) {
|
|
965
|
-
return this.anchor == e.anchor && this.head == e.head && (!t || !this.empty || this.assoc == e.assoc);
|
|
965
|
+
return this.anchor == e.anchor && this.head == e.head && this.goalColumn == e.goalColumn && (!t || !this.empty || this.assoc == e.assoc);
|
|
966
966
|
}
|
|
967
967
|
/**
|
|
968
968
|
Return a JSON-serializable object representing the range.
|
|
@@ -977,16 +977,16 @@ class B {
|
|
|
977
977
|
static fromJSON(e) {
|
|
978
978
|
if (!e || typeof e.anchor != "number" || typeof e.head != "number")
|
|
979
979
|
throw new RangeError("Invalid JSON representation for SelectionRange");
|
|
980
|
-
return
|
|
980
|
+
return w.range(e.anchor, e.head);
|
|
981
981
|
}
|
|
982
982
|
/**
|
|
983
983
|
@internal
|
|
984
984
|
*/
|
|
985
|
-
static create(e, t, n) {
|
|
986
|
-
return new
|
|
985
|
+
static create(e, t, n, i) {
|
|
986
|
+
return new b(e, t, n, i);
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
|
-
class
|
|
989
|
+
class w {
|
|
990
990
|
constructor(e, t) {
|
|
991
991
|
this.ranges = e, this.mainIndex = t;
|
|
992
992
|
}
|
|
@@ -995,7 +995,7 @@ class g {
|
|
|
995
995
|
position for changes.
|
|
996
996
|
*/
|
|
997
997
|
map(e, t = -1) {
|
|
998
|
-
return e.empty ? this :
|
|
998
|
+
return e.empty ? this : w.create(this.ranges.map((n) => n.map(e, t)), this.mainIndex);
|
|
999
999
|
}
|
|
1000
1000
|
/**
|
|
1001
1001
|
Compare this selection to another selection. By default, ranges
|
|
@@ -1024,13 +1024,13 @@ class g {
|
|
|
1024
1024
|
holding only the main range from this selection.
|
|
1025
1025
|
*/
|
|
1026
1026
|
asSingle() {
|
|
1027
|
-
return this.ranges.length == 1 ? this : new
|
|
1027
|
+
return this.ranges.length == 1 ? this : new w([this.main], 0);
|
|
1028
1028
|
}
|
|
1029
1029
|
/**
|
|
1030
1030
|
Extend this selection with an extra range.
|
|
1031
1031
|
*/
|
|
1032
1032
|
addRange(e, t = !0) {
|
|
1033
|
-
return
|
|
1033
|
+
return w.create([e].concat(this.ranges), t ? 0 : this.mainIndex + 1);
|
|
1034
1034
|
}
|
|
1035
1035
|
/**
|
|
1036
1036
|
Replace a given range with another range, and then normalize the
|
|
@@ -1038,7 +1038,7 @@ class g {
|
|
|
1038
1038
|
*/
|
|
1039
1039
|
replaceRange(e, t = this.mainIndex) {
|
|
1040
1040
|
let n = this.ranges.slice();
|
|
1041
|
-
return n[t] = e,
|
|
1041
|
+
return n[t] = e, w.create(n, this.mainIndex);
|
|
1042
1042
|
}
|
|
1043
1043
|
/**
|
|
1044
1044
|
Convert this selection to an object that can be serialized to
|
|
@@ -1053,13 +1053,13 @@ class g {
|
|
|
1053
1053
|
static fromJSON(e) {
|
|
1054
1054
|
if (!e || !Array.isArray(e.ranges) || typeof e.main != "number" || e.main >= e.ranges.length)
|
|
1055
1055
|
throw new RangeError("Invalid JSON representation for EditorSelection");
|
|
1056
|
-
return new
|
|
1056
|
+
return new w(e.ranges.map((t) => b.fromJSON(t)), e.main);
|
|
1057
1057
|
}
|
|
1058
1058
|
/**
|
|
1059
1059
|
Create a selection holding a single range.
|
|
1060
1060
|
*/
|
|
1061
1061
|
static single(e, t = e) {
|
|
1062
|
-
return new
|
|
1062
|
+
return new w([w.range(e, t)], 0);
|
|
1063
1063
|
}
|
|
1064
1064
|
/**
|
|
1065
1065
|
Sort and merge the given set of ranges, creating a valid
|
|
@@ -1071,24 +1071,31 @@ class g {
|
|
|
1071
1071
|
for (let n = 0, i = 0; i < e.length; i++) {
|
|
1072
1072
|
let s = e[i];
|
|
1073
1073
|
if (s.empty ? s.from <= n : s.from < n)
|
|
1074
|
-
return
|
|
1074
|
+
return w.normalized(e.slice(), t);
|
|
1075
1075
|
n = s.to;
|
|
1076
1076
|
}
|
|
1077
|
-
return new
|
|
1077
|
+
return new w(e, t);
|
|
1078
1078
|
}
|
|
1079
1079
|
/**
|
|
1080
1080
|
Create a cursor selection range at the given position. You can
|
|
1081
1081
|
safely ignore the optional arguments in most situations.
|
|
1082
1082
|
*/
|
|
1083
1083
|
static cursor(e, t = 0, n, i) {
|
|
1084
|
-
return
|
|
1084
|
+
return b.create(e, e, (t == 0 ? 0 : t < 0 ? 8 : 16) | (n == null ? 7 : Math.min(6, n)), i);
|
|
1085
1085
|
}
|
|
1086
1086
|
/**
|
|
1087
1087
|
Create a selection range.
|
|
1088
1088
|
*/
|
|
1089
|
-
static range(e, t, n, i) {
|
|
1090
|
-
let
|
|
1091
|
-
return t < e ?
|
|
1089
|
+
static range(e, t, n, i, s) {
|
|
1090
|
+
let r = i == null ? 7 : Math.min(6, i);
|
|
1091
|
+
return !s && e != t && (s = t < e ? 1 : -1), s && (r |= s < 0 ? 8 : 16), t < e ? b.create(t, e, r | 32, n) : b.create(e, t, r, n);
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
Create an [undirectional](https://codemirror.net/6/docs/ref/#state.SelectionRange.undirectional)
|
|
1095
|
+
selection range.
|
|
1096
|
+
*/
|
|
1097
|
+
static undirectionalRange(e, t) {
|
|
1098
|
+
return b.create(e, t, 64, void 0);
|
|
1092
1099
|
}
|
|
1093
1100
|
/**
|
|
1094
1101
|
@internal
|
|
@@ -1100,21 +1107,21 @@ class g {
|
|
|
1100
1107
|
let s = e[i], r = e[i - 1];
|
|
1101
1108
|
if (s.empty ? s.from <= r.to : s.from < r.to) {
|
|
1102
1109
|
let h = r.from, o = Math.max(s.to, r.to);
|
|
1103
|
-
i <= t && t--, e.splice(--i, 2, s.anchor > s.head ?
|
|
1110
|
+
i <= t && t--, e.splice(--i, 2, s.anchor > s.head ? w.range(o, h) : w.range(h, o));
|
|
1104
1111
|
}
|
|
1105
1112
|
}
|
|
1106
|
-
return new
|
|
1113
|
+
return new w(e, t);
|
|
1107
1114
|
}
|
|
1108
1115
|
}
|
|
1109
|
-
function
|
|
1116
|
+
function Ee(l, e) {
|
|
1110
1117
|
for (let t of l.ranges)
|
|
1111
1118
|
if (t.to > e)
|
|
1112
1119
|
throw new RangeError("Selection points outside of document");
|
|
1113
1120
|
}
|
|
1114
|
-
let
|
|
1115
|
-
class
|
|
1121
|
+
let pe = 0;
|
|
1122
|
+
class E {
|
|
1116
1123
|
constructor(e, t, n, i, s) {
|
|
1117
|
-
this.combine = e, this.compareInput = t, this.compare = n, this.isStatic = i, this.id =
|
|
1124
|
+
this.combine = e, this.compareInput = t, this.compare = n, this.isStatic = i, this.id = pe++, this.default = e([]), this.extensions = typeof s == "function" ? s(this) : s;
|
|
1118
1125
|
}
|
|
1119
1126
|
/**
|
|
1120
1127
|
Returns a facet reader for this facet, which can be used to
|
|
@@ -1127,13 +1134,13 @@ class A {
|
|
|
1127
1134
|
Define a new facet.
|
|
1128
1135
|
*/
|
|
1129
1136
|
static define(e = {}) {
|
|
1130
|
-
return new
|
|
1137
|
+
return new E(e.combine || ((t) => t), e.compareInput || ((t, n) => t === n), e.compare || (e.combine ? (t, n) => t === n : me), !!e.static, e.enables);
|
|
1131
1138
|
}
|
|
1132
1139
|
/**
|
|
1133
1140
|
Returns an extension that adds the given value to this facet.
|
|
1134
1141
|
*/
|
|
1135
1142
|
of(e) {
|
|
1136
|
-
return new
|
|
1143
|
+
return new j([], this, 0, e);
|
|
1137
1144
|
}
|
|
1138
1145
|
/**
|
|
1139
1146
|
Create an extension that computes a value for the facet from a
|
|
@@ -1147,7 +1154,7 @@ class A {
|
|
|
1147
1154
|
compute(e, t) {
|
|
1148
1155
|
if (this.isStatic)
|
|
1149
1156
|
throw new Error("Can't compute a static facet");
|
|
1150
|
-
return new
|
|
1157
|
+
return new j(e, this, 1, t);
|
|
1151
1158
|
}
|
|
1152
1159
|
/**
|
|
1153
1160
|
Create an extension that computes zero or more values for this
|
|
@@ -1156,50 +1163,53 @@ class A {
|
|
|
1156
1163
|
computeN(e, t) {
|
|
1157
1164
|
if (this.isStatic)
|
|
1158
1165
|
throw new Error("Can't compute a static facet");
|
|
1159
|
-
return new
|
|
1166
|
+
return new j(e, this, 2, t);
|
|
1160
1167
|
}
|
|
1161
1168
|
from(e, t) {
|
|
1162
1169
|
return t || (t = (n) => n), this.compute([e], (n) => t(n.field(e)));
|
|
1163
1170
|
}
|
|
1164
1171
|
}
|
|
1165
|
-
function
|
|
1172
|
+
function me(l, e) {
|
|
1166
1173
|
return l == e || l.length == e.length && l.every((t, n) => t === e[n]);
|
|
1167
1174
|
}
|
|
1168
|
-
class
|
|
1175
|
+
class j {
|
|
1169
1176
|
constructor(e, t, n, i) {
|
|
1170
|
-
this.dependencies = e, this.facet = t, this.type = n, this.value = i, this.id =
|
|
1177
|
+
this.dependencies = e, this.facet = t, this.type = n, this.value = i, this.id = pe++;
|
|
1171
1178
|
}
|
|
1172
1179
|
dynamicSlot(e) {
|
|
1173
1180
|
var t;
|
|
1174
|
-
let n = this.value, i = this.facet.compareInput, s = this.id, r = e[s] >> 1, h = this.type == 2, o = !1, a = !1,
|
|
1175
|
-
for (let
|
|
1176
|
-
|
|
1181
|
+
let n = this.value, i = this.facet.compareInput, s = this.id, r = e[s] >> 1, h = this.type == 2, o = !1, a = !1, u = [];
|
|
1182
|
+
for (let f of this.dependencies)
|
|
1183
|
+
f == "doc" ? o = !0 : f == "selection" ? a = !0 : (((t = e[f.id]) !== null && t !== void 0 ? t : 1) & 1) == 0 && u.push(e[f.id]);
|
|
1177
1184
|
return {
|
|
1178
|
-
create(
|
|
1179
|
-
return
|
|
1185
|
+
create(f) {
|
|
1186
|
+
return f.values[r] = n(f), 1;
|
|
1180
1187
|
},
|
|
1181
|
-
update(
|
|
1182
|
-
if (o && c.docChanged || a && (c.docChanged || c.selection) ||
|
|
1183
|
-
let d = n(
|
|
1184
|
-
if (h ? !
|
|
1185
|
-
return
|
|
1188
|
+
update(f, c) {
|
|
1189
|
+
if (o && c.docChanged || a && (c.docChanged || c.selection) || oe(f, u)) {
|
|
1190
|
+
let d = n(f);
|
|
1191
|
+
if (h ? !ye(d, f.values[r], i) : !i(d, f.values[r]))
|
|
1192
|
+
return f.values[r] = d, 1;
|
|
1186
1193
|
}
|
|
1187
1194
|
return 0;
|
|
1188
1195
|
},
|
|
1189
|
-
reconfigure: (
|
|
1190
|
-
let d,
|
|
1191
|
-
if (
|
|
1192
|
-
let
|
|
1193
|
-
if (this.dependencies.every((
|
|
1194
|
-
return
|
|
1196
|
+
reconfigure: (f, c) => {
|
|
1197
|
+
let d, g = c.config.address[s];
|
|
1198
|
+
if (g != null) {
|
|
1199
|
+
let m = te(c, g);
|
|
1200
|
+
if (this.dependencies.every((p) => p instanceof E ? c.facet(p) === f.facet(p) : p instanceof N ? c.field(p, !1) == f.field(p, !1) : !0) || (h ? ye(d = n(f), m, i) : i(d = n(f), m)))
|
|
1201
|
+
return f.values[r] = m, 0;
|
|
1195
1202
|
} else
|
|
1196
|
-
d = n(
|
|
1197
|
-
return
|
|
1203
|
+
d = n(f);
|
|
1204
|
+
return f.values[r] = d, 1;
|
|
1198
1205
|
}
|
|
1199
1206
|
};
|
|
1200
1207
|
}
|
|
1208
|
+
get extension() {
|
|
1209
|
+
return this;
|
|
1210
|
+
}
|
|
1201
1211
|
}
|
|
1202
|
-
function
|
|
1212
|
+
function ye(l, e, t) {
|
|
1203
1213
|
if (l.length != e.length)
|
|
1204
1214
|
return !1;
|
|
1205
1215
|
for (let n = 0; n < l.length; n++)
|
|
@@ -1207,49 +1217,49 @@ function ve(l, e, t) {
|
|
|
1207
1217
|
return !1;
|
|
1208
1218
|
return !0;
|
|
1209
1219
|
}
|
|
1210
|
-
function
|
|
1220
|
+
function oe(l, e) {
|
|
1211
1221
|
let t = !1;
|
|
1212
1222
|
for (let n of e)
|
|
1213
|
-
|
|
1223
|
+
q(l, n) & 1 && (t = !0);
|
|
1214
1224
|
return t;
|
|
1215
1225
|
}
|
|
1216
|
-
function
|
|
1226
|
+
function We(l, e, t) {
|
|
1217
1227
|
let n = t.map((o) => l[o.id]), i = t.map((o) => o.type), s = n.filter((o) => !(o & 1)), r = l[e.id] >> 1;
|
|
1218
1228
|
function h(o) {
|
|
1219
1229
|
let a = [];
|
|
1220
|
-
for (let
|
|
1221
|
-
let
|
|
1222
|
-
if (i[
|
|
1223
|
-
for (let c of
|
|
1230
|
+
for (let u = 0; u < n.length; u++) {
|
|
1231
|
+
let f = te(o, n[u]);
|
|
1232
|
+
if (i[u] == 2)
|
|
1233
|
+
for (let c of f)
|
|
1224
1234
|
a.push(c);
|
|
1225
1235
|
else
|
|
1226
|
-
a.push(
|
|
1236
|
+
a.push(f);
|
|
1227
1237
|
}
|
|
1228
1238
|
return e.combine(a);
|
|
1229
1239
|
}
|
|
1230
1240
|
return {
|
|
1231
1241
|
create(o) {
|
|
1232
1242
|
for (let a of n)
|
|
1233
|
-
|
|
1243
|
+
q(o, a);
|
|
1234
1244
|
return o.values[r] = h(o), 1;
|
|
1235
1245
|
},
|
|
1236
1246
|
update(o, a) {
|
|
1237
|
-
if (!
|
|
1247
|
+
if (!oe(o, s))
|
|
1238
1248
|
return 0;
|
|
1239
|
-
let
|
|
1240
|
-
return e.compare(
|
|
1249
|
+
let u = h(o);
|
|
1250
|
+
return e.compare(u, o.values[r]) ? 0 : (o.values[r] = u, 1);
|
|
1241
1251
|
},
|
|
1242
1252
|
reconfigure(o, a) {
|
|
1243
|
-
let
|
|
1244
|
-
if (
|
|
1253
|
+
let u = oe(o, n), f = a.config.facets[e.id], c = a.facet(e);
|
|
1254
|
+
if (f && !u && me(t, f))
|
|
1245
1255
|
return o.values[r] = c, 0;
|
|
1246
1256
|
let d = h(o);
|
|
1247
1257
|
return e.compare(d, c) ? (o.values[r] = c, 0) : (o.values[r] = d, 1);
|
|
1248
1258
|
}
|
|
1249
1259
|
};
|
|
1250
1260
|
}
|
|
1251
|
-
const
|
|
1252
|
-
class
|
|
1261
|
+
const Q = /* @__PURE__ */ E.define({ static: !0 });
|
|
1262
|
+
class N {
|
|
1253
1263
|
constructor(e, t, n, i, s) {
|
|
1254
1264
|
this.id = e, this.createF = t, this.updateF = n, this.compareF = i, this.spec = s, this.provides = void 0;
|
|
1255
1265
|
}
|
|
@@ -1257,11 +1267,11 @@ class L {
|
|
|
1257
1267
|
Define a state field.
|
|
1258
1268
|
*/
|
|
1259
1269
|
static define(e) {
|
|
1260
|
-
let t = new
|
|
1270
|
+
let t = new N(pe++, e.create, e.update, e.compare || ((n, i) => n === i), e);
|
|
1261
1271
|
return e.provide && (t.provides = e.provide(t)), t;
|
|
1262
1272
|
}
|
|
1263
1273
|
create(e) {
|
|
1264
|
-
let t = e.facet(
|
|
1274
|
+
let t = e.facet(Q).find((n) => n.field == this);
|
|
1265
1275
|
return (t?.create || this.createF)(e);
|
|
1266
1276
|
}
|
|
1267
1277
|
/**
|
|
@@ -1276,7 +1286,7 @@ class L {
|
|
|
1276
1286
|
return this.compareF(s, r) ? 0 : (n.values[t] = r, 1);
|
|
1277
1287
|
},
|
|
1278
1288
|
reconfigure: (n, i) => {
|
|
1279
|
-
let s = n.facet(
|
|
1289
|
+
let s = n.facet(Q), r = i.facet(Q), h;
|
|
1280
1290
|
return (h = s.find((o) => o.field == this)) && h != r.find((o) => o.field == this) ? (n.values[t] = h.create(n), 1) : i.config.address[this.id] != null ? (n.values[t] = i.field(this), 0) : (n.values[t] = this.create(n), 1);
|
|
1281
1291
|
}
|
|
1282
1292
|
};
|
|
@@ -1287,7 +1297,7 @@ class L {
|
|
|
1287
1297
|
non-default starting value for the field.
|
|
1288
1298
|
*/
|
|
1289
1299
|
init(e) {
|
|
1290
|
-
return [this,
|
|
1300
|
+
return [this, Q.of({ field: this, create: e })];
|
|
1291
1301
|
}
|
|
1292
1302
|
/**
|
|
1293
1303
|
State field instances can be used as
|
|
@@ -1298,55 +1308,58 @@ class L {
|
|
|
1298
1308
|
return this;
|
|
1299
1309
|
}
|
|
1300
1310
|
}
|
|
1301
|
-
const
|
|
1302
|
-
function
|
|
1303
|
-
return (e) => new
|
|
1311
|
+
const F = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
|
|
1312
|
+
function D(l) {
|
|
1313
|
+
return (e) => new Oe(e, l);
|
|
1304
1314
|
}
|
|
1305
|
-
const
|
|
1315
|
+
const rt = {
|
|
1306
1316
|
/**
|
|
1307
1317
|
The highest precedence level, for extensions that should end up
|
|
1308
1318
|
near the start of the precedence ordering.
|
|
1309
1319
|
*/
|
|
1310
|
-
highest: /* @__PURE__ */
|
|
1320
|
+
highest: /* @__PURE__ */ D(F.highest),
|
|
1311
1321
|
/**
|
|
1312
1322
|
A higher-than-default precedence, for extensions that should
|
|
1313
1323
|
come before those with default precedence.
|
|
1314
1324
|
*/
|
|
1315
|
-
high: /* @__PURE__ */
|
|
1325
|
+
high: /* @__PURE__ */ D(F.high),
|
|
1316
1326
|
/**
|
|
1317
1327
|
The default precedence, which is also used for extensions
|
|
1318
1328
|
without an explicit precedence.
|
|
1319
1329
|
*/
|
|
1320
|
-
default: /* @__PURE__ */
|
|
1330
|
+
default: /* @__PURE__ */ D(F.default),
|
|
1321
1331
|
/**
|
|
1322
1332
|
A lower-than-default precedence.
|
|
1323
1333
|
*/
|
|
1324
|
-
low: /* @__PURE__ */
|
|
1334
|
+
low: /* @__PURE__ */ D(F.low),
|
|
1325
1335
|
/**
|
|
1326
1336
|
The lowest precedence level. Meant for things that should end up
|
|
1327
1337
|
near the end of the extension order.
|
|
1328
1338
|
*/
|
|
1329
|
-
lowest: /* @__PURE__ */
|
|
1339
|
+
lowest: /* @__PURE__ */ D(F.lowest)
|
|
1330
1340
|
};
|
|
1331
|
-
class
|
|
1341
|
+
class Oe {
|
|
1332
1342
|
constructor(e, t) {
|
|
1333
1343
|
this.inner = e, this.prec = t;
|
|
1334
1344
|
}
|
|
1345
|
+
get extension() {
|
|
1346
|
+
return this;
|
|
1347
|
+
}
|
|
1335
1348
|
}
|
|
1336
|
-
class
|
|
1349
|
+
class ie {
|
|
1337
1350
|
/**
|
|
1338
1351
|
Create an instance of this compartment to add to your [state
|
|
1339
1352
|
configuration](https://codemirror.net/6/docs/ref/#state.EditorStateConfig.extensions).
|
|
1340
1353
|
*/
|
|
1341
1354
|
of(e) {
|
|
1342
|
-
return new
|
|
1355
|
+
return new ae(this, e);
|
|
1343
1356
|
}
|
|
1344
1357
|
/**
|
|
1345
1358
|
Create an [effect](https://codemirror.net/6/docs/ref/#state.TransactionSpec.effects) that
|
|
1346
1359
|
reconfigures this compartment.
|
|
1347
1360
|
*/
|
|
1348
1361
|
reconfigure(e) {
|
|
1349
|
-
return
|
|
1362
|
+
return ie.reconfigure.of({ compartment: this, extension: e });
|
|
1350
1363
|
}
|
|
1351
1364
|
/**
|
|
1352
1365
|
Get the current content of the compartment in the state, or
|
|
@@ -1356,12 +1369,15 @@ class te {
|
|
|
1356
1369
|
return e.config.compartments.get(this);
|
|
1357
1370
|
}
|
|
1358
1371
|
}
|
|
1359
|
-
class
|
|
1372
|
+
class ae {
|
|
1360
1373
|
constructor(e, t) {
|
|
1361
1374
|
this.compartment = e, this.inner = t;
|
|
1362
1375
|
}
|
|
1376
|
+
get extension() {
|
|
1377
|
+
return this;
|
|
1378
|
+
}
|
|
1363
1379
|
}
|
|
1364
|
-
class
|
|
1380
|
+
class ee {
|
|
1365
1381
|
constructor(e, t, n, i, s, r) {
|
|
1366
1382
|
for (this.base = e, this.compartments = t, this.dynamicSlots = n, this.address = i, this.staticValues = s, this.facets = r, this.statusTemplate = []; this.statusTemplate.length < n.length; )
|
|
1367
1383
|
this.statusTemplate.push(
|
|
@@ -1375,35 +1391,35 @@ class Z {
|
|
|
1375
1391
|
}
|
|
1376
1392
|
static resolve(e, t, n) {
|
|
1377
1393
|
let i = [], s = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ new Map();
|
|
1378
|
-
for (let c of
|
|
1379
|
-
c instanceof
|
|
1394
|
+
for (let c of Ue(e, t, r))
|
|
1395
|
+
c instanceof N ? i.push(c) : (s[c.facet.id] || (s[c.facet.id] = [])).push(c);
|
|
1380
1396
|
let h = /* @__PURE__ */ Object.create(null), o = [], a = [];
|
|
1381
1397
|
for (let c of i)
|
|
1382
1398
|
h[c.id] = a.length << 1, a.push((d) => c.slot(d));
|
|
1383
|
-
let
|
|
1399
|
+
let u = n?.config.facets;
|
|
1384
1400
|
for (let c in s) {
|
|
1385
|
-
let d = s[c],
|
|
1401
|
+
let d = s[c], g = d[0].facet, m = u && u[c] || [];
|
|
1386
1402
|
if (d.every(
|
|
1387
|
-
(
|
|
1403
|
+
(p) => p.type == 0
|
|
1388
1404
|
/* Provider.Static */
|
|
1389
1405
|
))
|
|
1390
|
-
if (h[
|
|
1391
|
-
o.push(n.facet(
|
|
1406
|
+
if (h[g.id] = o.length << 1 | 1, me(m, d))
|
|
1407
|
+
o.push(n.facet(g));
|
|
1392
1408
|
else {
|
|
1393
|
-
let
|
|
1394
|
-
o.push(n &&
|
|
1409
|
+
let p = g.combine(d.map((k) => k.value));
|
|
1410
|
+
o.push(n && g.compare(p, n.facet(g)) ? n.facet(g) : p);
|
|
1395
1411
|
}
|
|
1396
1412
|
else {
|
|
1397
|
-
for (let
|
|
1398
|
-
|
|
1399
|
-
h[
|
|
1413
|
+
for (let p of d)
|
|
1414
|
+
p.type == 0 ? (h[p.id] = o.length << 1 | 1, o.push(p.value)) : (h[p.id] = a.length << 1, a.push((k) => p.dynamicSlot(k)));
|
|
1415
|
+
h[g.id] = a.length << 1, a.push((p) => We(p, g, d));
|
|
1400
1416
|
}
|
|
1401
1417
|
}
|
|
1402
|
-
let
|
|
1403
|
-
return new
|
|
1418
|
+
let f = a.map((c) => c(h));
|
|
1419
|
+
return new ee(e, r, f, h, o, s);
|
|
1404
1420
|
}
|
|
1405
1421
|
}
|
|
1406
|
-
function
|
|
1422
|
+
function Ue(l, e, t) {
|
|
1407
1423
|
let n = [[], [], [], [], []], i = /* @__PURE__ */ new Map();
|
|
1408
1424
|
function s(r, h) {
|
|
1409
1425
|
let o = i.get(r);
|
|
@@ -1411,32 +1427,34 @@ function ze(l, e, t) {
|
|
|
1411
1427
|
if (o <= h)
|
|
1412
1428
|
return;
|
|
1413
1429
|
let a = n[o].indexOf(r);
|
|
1414
|
-
a > -1 && n[o].splice(a, 1), r instanceof
|
|
1430
|
+
a > -1 && n[o].splice(a, 1), r instanceof ae && t.delete(r.compartment);
|
|
1415
1431
|
}
|
|
1416
1432
|
if (i.set(r, h), Array.isArray(r))
|
|
1417
1433
|
for (let a of r)
|
|
1418
1434
|
s(a, h);
|
|
1419
|
-
else if (r instanceof
|
|
1435
|
+
else if (r instanceof ae) {
|
|
1420
1436
|
if (t.has(r.compartment))
|
|
1421
1437
|
throw new RangeError("Duplicate use of compartment in extensions");
|
|
1422
1438
|
let a = e.get(r.compartment) || r.inner;
|
|
1423
1439
|
t.set(r.compartment, a), s(a, h);
|
|
1424
|
-
} else if (r instanceof
|
|
1440
|
+
} else if (r instanceof Oe)
|
|
1425
1441
|
s(r.inner, r.prec);
|
|
1426
|
-
else if (r instanceof
|
|
1442
|
+
else if (r instanceof N)
|
|
1427
1443
|
n[h].push(r), r.provides && s(r.provides, h);
|
|
1428
|
-
else if (r instanceof
|
|
1429
|
-
n[h].push(r), r.facet.extensions && s(r.facet.extensions,
|
|
1444
|
+
else if (r instanceof j)
|
|
1445
|
+
n[h].push(r), r.facet.extensions && s(r.facet.extensions, F.default);
|
|
1430
1446
|
else {
|
|
1431
1447
|
let a = r.extension;
|
|
1432
1448
|
if (!a)
|
|
1449
|
+
throw new Error(`Unrecognized extension value in extension set (${r}).`);
|
|
1450
|
+
if (a == r)
|
|
1433
1451
|
throw new Error(`Unrecognized extension value in extension set (${r}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);
|
|
1434
1452
|
s(a, h);
|
|
1435
1453
|
}
|
|
1436
1454
|
}
|
|
1437
|
-
return s(l,
|
|
1455
|
+
return s(l, F.default), n.reduce((r, h) => r.concat(h));
|
|
1438
1456
|
}
|
|
1439
|
-
function
|
|
1457
|
+
function q(l, e) {
|
|
1440
1458
|
if (e & 1)
|
|
1441
1459
|
return 2;
|
|
1442
1460
|
let t = e >> 1, n = l.status[t];
|
|
@@ -1448,19 +1466,19 @@ function $(l, e) {
|
|
|
1448
1466
|
let i = l.computeSlot(l, l.config.dynamicSlots[t]);
|
|
1449
1467
|
return l.status[t] = 2 | i;
|
|
1450
1468
|
}
|
|
1451
|
-
function
|
|
1469
|
+
function te(l, e) {
|
|
1452
1470
|
return e & 1 ? l.config.staticValues[e >> 1] : l.values[e >> 1];
|
|
1453
1471
|
}
|
|
1454
|
-
const
|
|
1472
|
+
const Re = /* @__PURE__ */ E.define(), ue = /* @__PURE__ */ E.define({
|
|
1455
1473
|
combine: (l) => l.some((e) => e),
|
|
1456
1474
|
static: !0
|
|
1457
|
-
}),
|
|
1475
|
+
}), Me = /* @__PURE__ */ E.define({
|
|
1458
1476
|
combine: (l) => l.length ? l[0] : void 0,
|
|
1459
1477
|
static: !0
|
|
1460
|
-
}),
|
|
1478
|
+
}), be = /* @__PURE__ */ E.define(), Te = /* @__PURE__ */ E.define(), Be = /* @__PURE__ */ E.define(), Fe = /* @__PURE__ */ E.define({
|
|
1461
1479
|
combine: (l) => l.length ? l[0] : !1
|
|
1462
1480
|
});
|
|
1463
|
-
class
|
|
1481
|
+
class K {
|
|
1464
1482
|
/**
|
|
1465
1483
|
@internal
|
|
1466
1484
|
*/
|
|
@@ -1471,18 +1489,18 @@ class U {
|
|
|
1471
1489
|
Define a new type of annotation.
|
|
1472
1490
|
*/
|
|
1473
1491
|
static define() {
|
|
1474
|
-
return new
|
|
1492
|
+
return new Ge();
|
|
1475
1493
|
}
|
|
1476
1494
|
}
|
|
1477
|
-
class
|
|
1495
|
+
class Ge {
|
|
1478
1496
|
/**
|
|
1479
1497
|
Create an instance of this annotation.
|
|
1480
1498
|
*/
|
|
1481
1499
|
of(e) {
|
|
1482
|
-
return new
|
|
1500
|
+
return new K(this, e);
|
|
1483
1501
|
}
|
|
1484
1502
|
}
|
|
1485
|
-
class
|
|
1503
|
+
class He {
|
|
1486
1504
|
/**
|
|
1487
1505
|
@internal
|
|
1488
1506
|
*/
|
|
@@ -1494,10 +1512,10 @@ class Ue {
|
|
|
1494
1512
|
type.
|
|
1495
1513
|
*/
|
|
1496
1514
|
of(e) {
|
|
1497
|
-
return new
|
|
1515
|
+
return new A(this, e);
|
|
1498
1516
|
}
|
|
1499
1517
|
}
|
|
1500
|
-
class
|
|
1518
|
+
class A {
|
|
1501
1519
|
/**
|
|
1502
1520
|
@internal
|
|
1503
1521
|
*/
|
|
@@ -1510,7 +1528,7 @@ class I {
|
|
|
1510
1528
|
*/
|
|
1511
1529
|
map(e) {
|
|
1512
1530
|
let t = this.type.map(this.value, e);
|
|
1513
|
-
return t === void 0 ? void 0 : t == this.value ? this : new
|
|
1531
|
+
return t === void 0 ? void 0 : t == this.value ? this : new A(this.type, t);
|
|
1514
1532
|
}
|
|
1515
1533
|
/**
|
|
1516
1534
|
Tells you whether this effect object is of a given
|
|
@@ -1527,7 +1545,7 @@ class I {
|
|
|
1527
1545
|
removed.
|
|
1528
1546
|
*/
|
|
1529
1547
|
static define(e = {}) {
|
|
1530
|
-
return new
|
|
1548
|
+
return new He(e.map || ((t) => t));
|
|
1531
1549
|
}
|
|
1532
1550
|
/**
|
|
1533
1551
|
Map an array of effects through a change set.
|
|
@@ -1543,17 +1561,17 @@ class I {
|
|
|
1543
1561
|
return n;
|
|
1544
1562
|
}
|
|
1545
1563
|
}
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
class
|
|
1564
|
+
A.reconfigure = /* @__PURE__ */ A.define();
|
|
1565
|
+
A.appendConfig = /* @__PURE__ */ A.define();
|
|
1566
|
+
class C {
|
|
1549
1567
|
constructor(e, t, n, i, s, r) {
|
|
1550
|
-
this.startState = e, this.changes = t, this.selection = n, this.effects = i, this.annotations = s, this.scrollIntoView = r, this._doc = null, this._state = null, n &&
|
|
1568
|
+
this.startState = e, this.changes = t, this.selection = n, this.effects = i, this.annotations = s, this.scrollIntoView = r, this._doc = null, this._state = null, n && Ee(n, t.newLength), s.some((h) => h.type == C.time) || (this.annotations = s.concat(C.time.of(Date.now())));
|
|
1551
1569
|
}
|
|
1552
1570
|
/**
|
|
1553
1571
|
@internal
|
|
1554
1572
|
*/
|
|
1555
1573
|
static create(e, t, n, i, s, r) {
|
|
1556
|
-
return new
|
|
1574
|
+
return new C(e, t, n, i, s, r);
|
|
1557
1575
|
}
|
|
1558
1576
|
/**
|
|
1559
1577
|
The new document produced by the transaction. Contrary to
|
|
@@ -1615,15 +1633,15 @@ class P {
|
|
|
1615
1633
|
`"select.pointer"` will match it.
|
|
1616
1634
|
*/
|
|
1617
1635
|
isUserEvent(e) {
|
|
1618
|
-
let t = this.annotation(
|
|
1636
|
+
let t = this.annotation(C.userEvent);
|
|
1619
1637
|
return !!(t && (t == e || t.length > e.length && t.slice(0, e.length) == e && t[e.length] == "."));
|
|
1620
1638
|
}
|
|
1621
1639
|
}
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
function
|
|
1640
|
+
C.time = /* @__PURE__ */ K.define();
|
|
1641
|
+
C.userEvent = /* @__PURE__ */ K.define();
|
|
1642
|
+
C.addToHistory = /* @__PURE__ */ K.define();
|
|
1643
|
+
C.remote = /* @__PURE__ */ K.define();
|
|
1644
|
+
function Ke(l, e) {
|
|
1627
1645
|
let t = [];
|
|
1628
1646
|
for (let n = 0, i = 0; ; ) {
|
|
1629
1647
|
let s, r;
|
|
@@ -1636,113 +1654,113 @@ function Ge(l, e) {
|
|
|
1636
1654
|
!t.length || t[t.length - 1] < s ? t.push(s, r) : t[t.length - 1] < r && (t[t.length - 1] = r);
|
|
1637
1655
|
}
|
|
1638
1656
|
}
|
|
1639
|
-
function
|
|
1657
|
+
function Je(l, e, t) {
|
|
1640
1658
|
var n;
|
|
1641
1659
|
let i, s, r;
|
|
1642
|
-
return t ? (i = e.changes, s =
|
|
1660
|
+
return t ? (i = e.changes, s = S.empty(e.changes.length), r = l.changes.compose(e.changes)) : (i = e.changes.map(l.changes), s = l.changes.mapDesc(e.changes, !0), r = l.changes.compose(i)), {
|
|
1643
1661
|
changes: r,
|
|
1644
1662
|
selection: e.selection ? e.selection.map(s) : (n = l.selection) === null || n === void 0 ? void 0 : n.map(i),
|
|
1645
|
-
effects:
|
|
1663
|
+
effects: A.mapEffects(l.effects, i).concat(A.mapEffects(e.effects, s)),
|
|
1646
1664
|
annotations: l.annotations.length ? l.annotations.concat(e.annotations) : e.annotations,
|
|
1647
1665
|
scrollIntoView: l.scrollIntoView || e.scrollIntoView
|
|
1648
1666
|
};
|
|
1649
1667
|
}
|
|
1650
1668
|
function fe(l, e, t) {
|
|
1651
|
-
let n = e.selection, i =
|
|
1652
|
-
return e.userEvent && (i = i.concat(
|
|
1653
|
-
changes: e.changes instanceof
|
|
1654
|
-
selection: n && (n instanceof
|
|
1655
|
-
effects:
|
|
1669
|
+
let n = e.selection, i = L(e.annotations);
|
|
1670
|
+
return e.userEvent && (i = i.concat(C.userEvent.of(e.userEvent))), {
|
|
1671
|
+
changes: e.changes instanceof S ? e.changes : S.of(e.changes || [], t, l.facet(Me)),
|
|
1672
|
+
selection: n && (n instanceof w ? n : w.single(n.anchor, n.head)),
|
|
1673
|
+
effects: L(e.effects),
|
|
1656
1674
|
annotations: i,
|
|
1657
1675
|
scrollIntoView: !!e.scrollIntoView
|
|
1658
1676
|
};
|
|
1659
1677
|
}
|
|
1660
|
-
function
|
|
1678
|
+
function Le(l, e, t) {
|
|
1661
1679
|
let n = fe(l, e.length ? e[0] : {}, l.doc.length);
|
|
1662
1680
|
e.length && e[0].filter === !1 && (t = !1);
|
|
1663
1681
|
for (let s = 1; s < e.length; s++) {
|
|
1664
1682
|
e[s].filter === !1 && (t = !1);
|
|
1665
1683
|
let r = !!e[s].sequential;
|
|
1666
|
-
n =
|
|
1684
|
+
n = Je(n, fe(l, e[s], r ? n.changes.newLength : l.doc.length), r);
|
|
1667
1685
|
}
|
|
1668
|
-
let i =
|
|
1669
|
-
return
|
|
1686
|
+
let i = C.create(l, n.changes, n.selection, n.effects, n.annotations, n.scrollIntoView);
|
|
1687
|
+
return Xe(t ? Qe(i) : i);
|
|
1670
1688
|
}
|
|
1671
|
-
function
|
|
1689
|
+
function Qe(l) {
|
|
1672
1690
|
let e = l.startState, t = !0;
|
|
1673
|
-
for (let i of e.facet(
|
|
1691
|
+
for (let i of e.facet(be)) {
|
|
1674
1692
|
let s = i(l);
|
|
1675
1693
|
if (s === !1) {
|
|
1676
1694
|
t = !1;
|
|
1677
1695
|
break;
|
|
1678
1696
|
}
|
|
1679
|
-
Array.isArray(s) && (t = t === !0 ? s :
|
|
1697
|
+
Array.isArray(s) && (t = t === !0 ? s : Ke(t, s));
|
|
1680
1698
|
}
|
|
1681
1699
|
if (t !== !0) {
|
|
1682
1700
|
let i, s;
|
|
1683
1701
|
if (t === !1)
|
|
1684
|
-
s = l.changes.invertedDesc, i =
|
|
1702
|
+
s = l.changes.invertedDesc, i = S.empty(e.doc.length);
|
|
1685
1703
|
else {
|
|
1686
1704
|
let r = l.changes.filter(t);
|
|
1687
1705
|
i = r.changes, s = r.filtered.mapDesc(r.changes).invertedDesc;
|
|
1688
1706
|
}
|
|
1689
|
-
l =
|
|
1707
|
+
l = C.create(e, i, l.selection && l.selection.map(s), A.mapEffects(l.effects, s), l.annotations, l.scrollIntoView);
|
|
1690
1708
|
}
|
|
1691
|
-
let n = e.facet(
|
|
1709
|
+
let n = e.facet(Te);
|
|
1692
1710
|
for (let i = n.length - 1; i >= 0; i--) {
|
|
1693
1711
|
let s = n[i](l);
|
|
1694
|
-
s instanceof
|
|
1712
|
+
s instanceof C ? l = s : Array.isArray(s) && s.length == 1 && s[0] instanceof C ? l = s[0] : l = Le(e, L(s), !1);
|
|
1695
1713
|
}
|
|
1696
1714
|
return l;
|
|
1697
1715
|
}
|
|
1698
|
-
function
|
|
1699
|
-
let e = l.startState, t = e.facet(
|
|
1716
|
+
function Xe(l) {
|
|
1717
|
+
let e = l.startState, t = e.facet(Be), n = l;
|
|
1700
1718
|
for (let i = t.length - 1; i >= 0; i--) {
|
|
1701
1719
|
let s = t[i](l);
|
|
1702
|
-
s && Object.keys(s).length && (n =
|
|
1720
|
+
s && Object.keys(s).length && (n = Je(n, fe(e, s, l.changes.newLength), !0));
|
|
1703
1721
|
}
|
|
1704
|
-
return n == l ? l :
|
|
1722
|
+
return n == l ? l : C.create(e, l.changes, l.selection, n.effects, n.annotations, n.scrollIntoView);
|
|
1705
1723
|
}
|
|
1706
|
-
const
|
|
1707
|
-
function
|
|
1708
|
-
return l == null ?
|
|
1724
|
+
const Ye = [];
|
|
1725
|
+
function L(l) {
|
|
1726
|
+
return l == null ? Ye : Array.isArray(l) ? l : [l];
|
|
1709
1727
|
}
|
|
1710
|
-
var
|
|
1728
|
+
var B = /* @__PURE__ */ (function(l) {
|
|
1711
1729
|
return l[l.Word = 0] = "Word", l[l.Space = 1] = "Space", l[l.Other = 2] = "Other", l;
|
|
1712
|
-
})(
|
|
1713
|
-
const
|
|
1714
|
-
let
|
|
1730
|
+
})(B || (B = {}));
|
|
1731
|
+
const Ze = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;
|
|
1732
|
+
let ce;
|
|
1715
1733
|
try {
|
|
1716
|
-
|
|
1734
|
+
ce = /* @__PURE__ */ new RegExp("[\\p{Alphabetic}\\p{Number}_]", "u");
|
|
1717
1735
|
} catch {
|
|
1718
1736
|
}
|
|
1719
|
-
function
|
|
1720
|
-
if (
|
|
1721
|
-
return
|
|
1737
|
+
function je(l) {
|
|
1738
|
+
if (ce)
|
|
1739
|
+
return ce.test(l);
|
|
1722
1740
|
for (let e = 0; e < l.length; e++) {
|
|
1723
1741
|
let t = l[e];
|
|
1724
|
-
if (/\w/.test(t) || t > "" && (t.toUpperCase() != t.toLowerCase() ||
|
|
1742
|
+
if (/\w/.test(t) || t > "" && (t.toUpperCase() != t.toLowerCase() || Ze.test(t)))
|
|
1725
1743
|
return !0;
|
|
1726
1744
|
}
|
|
1727
1745
|
return !1;
|
|
1728
1746
|
}
|
|
1729
|
-
function
|
|
1747
|
+
function _e(l) {
|
|
1730
1748
|
return (e) => {
|
|
1731
1749
|
if (!/\S/.test(e))
|
|
1732
|
-
return
|
|
1733
|
-
if (
|
|
1734
|
-
return
|
|
1750
|
+
return B.Space;
|
|
1751
|
+
if (je(e))
|
|
1752
|
+
return B.Word;
|
|
1735
1753
|
for (let t = 0; t < l.length; t++)
|
|
1736
1754
|
if (e.indexOf(l[t]) > -1)
|
|
1737
|
-
return
|
|
1738
|
-
return
|
|
1755
|
+
return B.Word;
|
|
1756
|
+
return B.Other;
|
|
1739
1757
|
};
|
|
1740
1758
|
}
|
|
1741
|
-
class
|
|
1759
|
+
class x {
|
|
1742
1760
|
constructor(e, t, n, i, s, r) {
|
|
1743
1761
|
this.config = e, this.doc = t, this.selection = n, this.values = i, this.status = e.statusTemplate.slice(), this.computeSlot = s, r && (r._state = this);
|
|
1744
1762
|
for (let h = 0; h < this.config.dynamicSlots.length; h++)
|
|
1745
|
-
|
|
1763
|
+
q(this, h << 1);
|
|
1746
1764
|
this.computeSlot = null;
|
|
1747
1765
|
}
|
|
1748
1766
|
field(e, t = !0) {
|
|
@@ -1752,7 +1770,7 @@ class w {
|
|
|
1752
1770
|
throw new RangeError("Field is not present in this state");
|
|
1753
1771
|
return;
|
|
1754
1772
|
}
|
|
1755
|
-
return
|
|
1773
|
+
return q(this, n), te(this, n);
|
|
1756
1774
|
}
|
|
1757
1775
|
/**
|
|
1758
1776
|
Create a [transaction](https://codemirror.net/6/docs/ref/#state.Transaction) that updates this
|
|
@@ -1770,7 +1788,7 @@ class w {
|
|
|
1770
1788
|
specs take precedence over earlier ones.
|
|
1771
1789
|
*/
|
|
1772
1790
|
update(...e) {
|
|
1773
|
-
return
|
|
1791
|
+
return Le(this, e, !0);
|
|
1774
1792
|
}
|
|
1775
1793
|
/**
|
|
1776
1794
|
@internal
|
|
@@ -1778,11 +1796,11 @@ class w {
|
|
|
1778
1796
|
applyTransaction(e) {
|
|
1779
1797
|
let t = this.config, { base: n, compartments: i } = t;
|
|
1780
1798
|
for (let h of e.effects)
|
|
1781
|
-
h.is(
|
|
1799
|
+
h.is(ie.reconfigure) ? (t && (i = /* @__PURE__ */ new Map(), t.compartments.forEach((o, a) => i.set(a, o)), t = null), i.set(h.value.compartment, h.value.extension)) : h.is(A.reconfigure) ? (t = null, n = h.value) : h.is(A.appendConfig) && (t = null, n = L(n).concat(h.value));
|
|
1782
1800
|
let s;
|
|
1783
|
-
t ? s = e.startState.values.slice() : (t =
|
|
1784
|
-
let r = e.startState.facet(
|
|
1785
|
-
new
|
|
1801
|
+
t ? s = e.startState.values.slice() : (t = ee.resolve(n, i, this), s = new x(t, this.doc, this.selection, t.dynamicSlots.map(() => null), (o, a) => a.reconfigure(o, this), null).values);
|
|
1802
|
+
let r = e.startState.facet(ue) ? e.newSelection : e.newSelection.asSingle();
|
|
1803
|
+
new x(t, e.newDoc, r, s, (h, o) => o.update(h, e), e);
|
|
1786
1804
|
}
|
|
1787
1805
|
/**
|
|
1788
1806
|
Create a [transaction spec](https://codemirror.net/6/docs/ref/#state.TransactionSpec) that
|
|
@@ -1791,7 +1809,7 @@ class w {
|
|
|
1791
1809
|
replaceSelection(e) {
|
|
1792
1810
|
return typeof e == "string" && (e = this.toText(e)), this.changeByRange((t) => ({
|
|
1793
1811
|
changes: { from: t.from, to: t.to, insert: e },
|
|
1794
|
-
range:
|
|
1812
|
+
range: w.cursor(t.from + e.length, -1)
|
|
1795
1813
|
}));
|
|
1796
1814
|
}
|
|
1797
1815
|
/**
|
|
@@ -1806,17 +1824,17 @@ class w {
|
|
|
1806
1824
|
[`update`](https://codemirror.net/6/docs/ref/#state.EditorState.update).
|
|
1807
1825
|
*/
|
|
1808
1826
|
changeByRange(e) {
|
|
1809
|
-
let t = this.selection, n = e(t.ranges[0]), i = this.changes(n.changes), s = [n.range], r =
|
|
1827
|
+
let t = this.selection, n = e(t.ranges[0]), i = this.changes(n.changes), s = [n.range], r = L(n.effects);
|
|
1810
1828
|
for (let h = 1; h < t.ranges.length; h++) {
|
|
1811
|
-
let o = e(t.ranges[h]), a = this.changes(o.changes),
|
|
1829
|
+
let o = e(t.ranges[h]), a = this.changes(o.changes), u = a.map(i);
|
|
1812
1830
|
for (let c = 0; c < h; c++)
|
|
1813
|
-
s[c] = s[c].map(
|
|
1814
|
-
let
|
|
1815
|
-
s.push(o.range.map(
|
|
1831
|
+
s[c] = s[c].map(u);
|
|
1832
|
+
let f = i.mapDesc(a, !0);
|
|
1833
|
+
s.push(o.range.map(f)), i = i.compose(u), r = A.mapEffects(r, u).concat(A.mapEffects(L(o.effects), f));
|
|
1816
1834
|
}
|
|
1817
1835
|
return {
|
|
1818
1836
|
changes: i,
|
|
1819
|
-
selection:
|
|
1837
|
+
selection: w.create(s, t.mainIndex),
|
|
1820
1838
|
effects: r
|
|
1821
1839
|
};
|
|
1822
1840
|
}
|
|
@@ -1826,7 +1844,7 @@ class w {
|
|
|
1826
1844
|
separator into account.
|
|
1827
1845
|
*/
|
|
1828
1846
|
changes(e = []) {
|
|
1829
|
-
return e instanceof
|
|
1847
|
+
return e instanceof S ? e : S.of(e, this.doc.length, this.facet(x.lineSeparator));
|
|
1830
1848
|
}
|
|
1831
1849
|
/**
|
|
1832
1850
|
Using the state's [line
|
|
@@ -1834,7 +1852,7 @@ class w {
|
|
|
1834
1852
|
[`Text`](https://codemirror.net/6/docs/ref/#state.Text) instance from the given string.
|
|
1835
1853
|
*/
|
|
1836
1854
|
toText(e) {
|
|
1837
|
-
return
|
|
1855
|
+
return y.of(e.split(this.facet(x.lineSeparator) || re));
|
|
1838
1856
|
}
|
|
1839
1857
|
/**
|
|
1840
1858
|
Return the given range of the document as a string.
|
|
@@ -1847,7 +1865,7 @@ class w {
|
|
|
1847
1865
|
*/
|
|
1848
1866
|
facet(e) {
|
|
1849
1867
|
let t = this.config.address[e.id];
|
|
1850
|
-
return t == null ? e.default : (
|
|
1868
|
+
return t == null ? e.default : (q(this, t), te(this, t));
|
|
1851
1869
|
}
|
|
1852
1870
|
/**
|
|
1853
1871
|
Convert this state to a JSON-serializable object. When custom
|
|
@@ -1863,7 +1881,7 @@ class w {
|
|
|
1863
1881
|
if (e)
|
|
1864
1882
|
for (let n in e) {
|
|
1865
1883
|
let i = e[n];
|
|
1866
|
-
i instanceof
|
|
1884
|
+
i instanceof N && this.config.address[i.id] != null && (t[n] = i.spec.toJSON(this.field(e[n]), this));
|
|
1867
1885
|
}
|
|
1868
1886
|
return t;
|
|
1869
1887
|
}
|
|
@@ -1884,9 +1902,9 @@ class w {
|
|
|
1884
1902
|
i.push(r.init((o) => r.spec.fromJSON(h, o)));
|
|
1885
1903
|
}
|
|
1886
1904
|
}
|
|
1887
|
-
return
|
|
1905
|
+
return x.create({
|
|
1888
1906
|
doc: e.doc,
|
|
1889
|
-
selection:
|
|
1907
|
+
selection: w.fromJSON(e.selection),
|
|
1890
1908
|
extensions: t.extensions ? i.concat([t.extensions]) : i
|
|
1891
1909
|
});
|
|
1892
1910
|
}
|
|
@@ -1896,22 +1914,22 @@ class w {
|
|
|
1896
1914
|
transactions.
|
|
1897
1915
|
*/
|
|
1898
1916
|
static create(e = {}) {
|
|
1899
|
-
let t =
|
|
1900
|
-
return
|
|
1917
|
+
let t = ee.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof y ? e.doc : y.of((e.doc || "").split(t.staticFacet(x.lineSeparator) || re)), i = e.selection ? e.selection instanceof w ? e.selection : w.single(e.selection.anchor, e.selection.head) : w.single(0);
|
|
1918
|
+
return Ee(i, n.length), t.staticFacet(ue) || (i = i.asSingle()), new x(t, n, i, t.dynamicSlots.map(() => null), (s, r) => r.create(s), null);
|
|
1901
1919
|
}
|
|
1902
1920
|
/**
|
|
1903
1921
|
The size (in columns) of a tab in the document, determined by
|
|
1904
1922
|
the [`tabSize`](https://codemirror.net/6/docs/ref/#state.EditorState^tabSize) facet.
|
|
1905
1923
|
*/
|
|
1906
1924
|
get tabSize() {
|
|
1907
|
-
return this.facet(
|
|
1925
|
+
return this.facet(x.tabSize);
|
|
1908
1926
|
}
|
|
1909
1927
|
/**
|
|
1910
1928
|
Get the proper [line-break](https://codemirror.net/6/docs/ref/#state.EditorState^lineSeparator)
|
|
1911
1929
|
string for this state.
|
|
1912
1930
|
*/
|
|
1913
1931
|
get lineBreak() {
|
|
1914
|
-
return this.facet(
|
|
1932
|
+
return this.facet(x.lineSeparator) || `
|
|
1915
1933
|
`;
|
|
1916
1934
|
}
|
|
1917
1935
|
/**
|
|
@@ -1919,7 +1937,7 @@ class w {
|
|
|
1919
1937
|
[configured](https://codemirror.net/6/docs/ref/#state.EditorState^readOnly) to be read-only.
|
|
1920
1938
|
*/
|
|
1921
1939
|
get readOnly() {
|
|
1922
|
-
return this.facet(
|
|
1940
|
+
return this.facet(Fe);
|
|
1923
1941
|
}
|
|
1924
1942
|
/**
|
|
1925
1943
|
Look up a translation for the given phrase (via the
|
|
@@ -1932,7 +1950,7 @@ class w {
|
|
|
1932
1950
|
literal dollar sign.
|
|
1933
1951
|
*/
|
|
1934
1952
|
phrase(e, ...t) {
|
|
1935
|
-
for (let n of this.facet(
|
|
1953
|
+
for (let n of this.facet(x.phrases))
|
|
1936
1954
|
if (Object.prototype.hasOwnProperty.call(n, e)) {
|
|
1937
1955
|
e = n[e];
|
|
1938
1956
|
break;
|
|
@@ -1962,7 +1980,7 @@ class w {
|
|
|
1962
1980
|
*/
|
|
1963
1981
|
languageDataAt(e, t, n = -1) {
|
|
1964
1982
|
let i = [];
|
|
1965
|
-
for (let s of this.facet(
|
|
1983
|
+
for (let s of this.facet(Re))
|
|
1966
1984
|
for (let r of s(this, t, n))
|
|
1967
1985
|
Object.prototype.hasOwnProperty.call(r, e) && i.push(r[e]);
|
|
1968
1986
|
return i;
|
|
@@ -1979,7 +1997,8 @@ class w {
|
|
|
1979
1997
|
- Other (anything else)
|
|
1980
1998
|
*/
|
|
1981
1999
|
charCategorizer(e) {
|
|
1982
|
-
|
|
2000
|
+
let t = this.languageDataAt("wordChars", e);
|
|
2001
|
+
return _e(t.length ? t[0] : "");
|
|
1983
2002
|
}
|
|
1984
2003
|
/**
|
|
1985
2004
|
Find the word at the given position, meaning the range
|
|
@@ -1990,38 +2009,38 @@ class w {
|
|
|
1990
2009
|
wordAt(e) {
|
|
1991
2010
|
let { text: t, from: n, length: i } = this.doc.lineAt(e), s = this.charCategorizer(e), r = e - n, h = e - n;
|
|
1992
2011
|
for (; r > 0; ) {
|
|
1993
|
-
let o =
|
|
1994
|
-
if (s(t.slice(o, r)) !=
|
|
2012
|
+
let o = _(t, r, !1);
|
|
2013
|
+
if (s(t.slice(o, r)) != B.Word)
|
|
1995
2014
|
break;
|
|
1996
2015
|
r = o;
|
|
1997
2016
|
}
|
|
1998
2017
|
for (; h < i; ) {
|
|
1999
|
-
let o =
|
|
2000
|
-
if (s(t.slice(h, o)) !=
|
|
2018
|
+
let o = _(t, h);
|
|
2019
|
+
if (s(t.slice(h, o)) != B.Word)
|
|
2001
2020
|
break;
|
|
2002
2021
|
h = o;
|
|
2003
2022
|
}
|
|
2004
|
-
return r == h ? null :
|
|
2023
|
+
return r == h ? null : w.range(r + n, h + n);
|
|
2005
2024
|
}
|
|
2006
2025
|
}
|
|
2007
|
-
|
|
2008
|
-
|
|
2026
|
+
x.allowMultipleSelections = ue;
|
|
2027
|
+
x.tabSize = /* @__PURE__ */ E.define({
|
|
2009
2028
|
combine: (l) => l.length ? l[0] : 4
|
|
2010
2029
|
});
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2030
|
+
x.lineSeparator = Me;
|
|
2031
|
+
x.readOnly = Fe;
|
|
2032
|
+
x.phrases = /* @__PURE__ */ E.define({
|
|
2014
2033
|
compare(l, e) {
|
|
2015
2034
|
let t = Object.keys(l), n = Object.keys(e);
|
|
2016
2035
|
return t.length == n.length && t.every((i) => l[i] == e[i]);
|
|
2017
2036
|
}
|
|
2018
2037
|
});
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
function
|
|
2038
|
+
x.languageData = Re;
|
|
2039
|
+
x.changeFilter = be;
|
|
2040
|
+
x.transactionFilter = Te;
|
|
2041
|
+
x.transactionExtender = Be;
|
|
2042
|
+
ie.reconfigure = /* @__PURE__ */ A.define();
|
|
2043
|
+
function lt(l, e, t = {}) {
|
|
2025
2044
|
let n = {};
|
|
2026
2045
|
for (let i of l)
|
|
2027
2046
|
for (let s of Object.keys(i)) {
|
|
@@ -2037,7 +2056,7 @@ function st(l, e, t = {}) {
|
|
|
2037
2056
|
n[i] === void 0 && (n[i] = e[i]);
|
|
2038
2057
|
return n;
|
|
2039
2058
|
}
|
|
2040
|
-
class
|
|
2059
|
+
class ne {
|
|
2041
2060
|
/**
|
|
2042
2061
|
Compare this value with another value. Used when comparing
|
|
2043
2062
|
rangesets. The default implementation compares by identity.
|
|
@@ -2052,13 +2071,16 @@ class _ {
|
|
|
2052
2071
|
Create a [range](https://codemirror.net/6/docs/ref/#state.Range) with this value.
|
|
2053
2072
|
*/
|
|
2054
2073
|
range(e, t = e) {
|
|
2055
|
-
return
|
|
2074
|
+
return G.create(e, t, this);
|
|
2056
2075
|
}
|
|
2057
2076
|
}
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2077
|
+
ne.prototype.startSide = ne.prototype.endSide = 0;
|
|
2078
|
+
ne.prototype.point = !1;
|
|
2079
|
+
ne.prototype.mapMode = M.TrackDel;
|
|
2080
|
+
function we(l, e) {
|
|
2081
|
+
return l == e || l.constructor == e.constructor && l.eq(e);
|
|
2082
|
+
}
|
|
2083
|
+
class G {
|
|
2062
2084
|
constructor(e, t, n) {
|
|
2063
2085
|
this.from = e, this.to = t, this.value = n;
|
|
2064
2086
|
}
|
|
@@ -2066,18 +2088,18 @@ class z {
|
|
|
2066
2088
|
@internal
|
|
2067
2089
|
*/
|
|
2068
2090
|
static create(e, t, n) {
|
|
2069
|
-
return new
|
|
2091
|
+
return new G(e, t, n);
|
|
2070
2092
|
}
|
|
2071
2093
|
}
|
|
2072
|
-
function
|
|
2094
|
+
function de(l, e) {
|
|
2073
2095
|
return l.from - e.from || l.value.startSide - e.value.startSide;
|
|
2074
2096
|
}
|
|
2075
|
-
class
|
|
2097
|
+
class ve {
|
|
2076
2098
|
constructor(e, t, n, i) {
|
|
2077
2099
|
this.from = e, this.to = t, this.value = n, this.maxPoint = i;
|
|
2078
2100
|
}
|
|
2079
2101
|
get length() {
|
|
2080
|
-
return this.to
|
|
2102
|
+
return J(this.to);
|
|
2081
2103
|
}
|
|
2082
2104
|
// Find the index of the given position and side. Use the ranges'
|
|
2083
2105
|
// `from` pos when `end == false`, `to` when `end == true`.
|
|
@@ -2097,22 +2119,36 @@ class me {
|
|
|
2097
2119
|
if (i(this.from[s] + e, this.to[s] + e, this.value[s]) === !1)
|
|
2098
2120
|
return !1;
|
|
2099
2121
|
}
|
|
2100
|
-
map(e, t) {
|
|
2101
|
-
let
|
|
2102
|
-
for (let
|
|
2103
|
-
let
|
|
2104
|
-
if (
|
|
2105
|
-
let
|
|
2106
|
-
if (
|
|
2122
|
+
map(e, t, n, i, s) {
|
|
2123
|
+
let r = [], h = [], o = [], a = -1, u = -1;
|
|
2124
|
+
e: for (let f = 0; f < this.value.length; f++) {
|
|
2125
|
+
let c = this.value[f], d = this.from[f] + e, g = this.to[f] + e, m, p;
|
|
2126
|
+
if (d == g) {
|
|
2127
|
+
let k = t.mapPos(d, c.startSide, c.mapMode);
|
|
2128
|
+
if (k == null || (m = p = k, c.startSide != c.endSide && (p = t.mapPos(d, c.endSide), p < m)))
|
|
2107
2129
|
continue;
|
|
2108
|
-
} else if (
|
|
2130
|
+
} else if (m = t.mapPos(d, c.startSide), p = t.mapPos(g, c.endSide), m > p || m == p && c.startSide > 0 && c.endSide <= 0)
|
|
2109
2131
|
continue;
|
|
2110
|
-
(
|
|
2132
|
+
if (!((p - m || c.endSide - c.startSide) < 0))
|
|
2133
|
+
if (a < 0 && (a = m), c.point && (u = Math.max(u, p - m)), (m - n || c.startSide - i) >= 0)
|
|
2134
|
+
r.push(c), h.push(m - a), o.push(p - a), n = p, i = c.endSide;
|
|
2135
|
+
else {
|
|
2136
|
+
if (m == p)
|
|
2137
|
+
for (let k = r.length; k > 0; k--) {
|
|
2138
|
+
if ((m - (o[k - 1] + a) || c.startSide - r[k - 1].endSide) >= 0) {
|
|
2139
|
+
r.splice(k, 0, c), h.splice(k, 0, m - a), o.splice(k, 0, p - a);
|
|
2140
|
+
continue e;
|
|
2141
|
+
}
|
|
2142
|
+
if ((m - (h[k - 1] + a) || c.endSide - r[k - 1].startSide) > 0)
|
|
2143
|
+
break;
|
|
2144
|
+
}
|
|
2145
|
+
s(m, p, c);
|
|
2146
|
+
}
|
|
2111
2147
|
}
|
|
2112
|
-
return { mapped:
|
|
2148
|
+
return { mapped: r.length ? new ve(h, o, r, u) : null, pos: a };
|
|
2113
2149
|
}
|
|
2114
2150
|
}
|
|
2115
|
-
class
|
|
2151
|
+
class P {
|
|
2116
2152
|
constructor(e, t, n, i) {
|
|
2117
2153
|
this.chunkPos = e, this.chunk = t, this.nextLayer = n, this.maxPoint = i;
|
|
2118
2154
|
}
|
|
@@ -2120,7 +2156,7 @@ class S {
|
|
|
2120
2156
|
@internal
|
|
2121
2157
|
*/
|
|
2122
2158
|
static create(e, t, n, i) {
|
|
2123
|
-
return new
|
|
2159
|
+
return new P(e, t, n, i);
|
|
2124
2160
|
}
|
|
2125
2161
|
/**
|
|
2126
2162
|
@internal
|
|
@@ -2159,15 +2195,15 @@ class S {
|
|
|
2159
2195
|
let { add: t = [], sort: n = !1, filterFrom: i = 0, filterTo: s = this.length } = e, r = e.filter;
|
|
2160
2196
|
if (t.length == 0 && !r)
|
|
2161
2197
|
return this;
|
|
2162
|
-
if (n && (t = t.slice().sort(
|
|
2163
|
-
return t.length ?
|
|
2164
|
-
let h = new
|
|
2198
|
+
if (n && (t = t.slice().sort(de)), this.isEmpty)
|
|
2199
|
+
return t.length ? P.of(t) : this;
|
|
2200
|
+
let h = new Ve(this, null, -1).goto(0), o = 0, a = [], u = new W();
|
|
2165
2201
|
for (; h.value || o < t.length; )
|
|
2166
2202
|
if (o < t.length && (h.from - t[o].from || h.startSide - t[o].value.startSide) >= 0) {
|
|
2167
|
-
let
|
|
2168
|
-
|
|
2169
|
-
} else h.rangeIndex == 1 && h.chunkIndex < this.chunk.length && (o == t.length || this.chunkEnd(h.chunkIndex) < t[o].from) && (!r || i > this.chunkEnd(h.chunkIndex) || s < this.chunkPos[h.chunkIndex]) &&
|
|
2170
|
-
return
|
|
2203
|
+
let f = t[o++];
|
|
2204
|
+
u.addInner(f.from, f.to, f.value, !1) || a.push(f);
|
|
2205
|
+
} else h.rangeIndex == 1 && h.chunkIndex < this.chunk.length && (o == t.length || this.chunkEnd(h.chunkIndex) < t[o].from) && (!r || i > this.chunkEnd(h.chunkIndex) || s < this.chunkPos[h.chunkIndex]) && u.addChunk(this.chunkPos[h.chunkIndex], this.chunk[h.chunkIndex]) ? h.nextChunk() : ((!r || i > h.to || s < h.from || r(h.from, h.to, h.value)) && (u.addInner(h.from, h.to, h.value, !1) || a.push(G.create(h.from, h.to, h.value))), h.next());
|
|
2206
|
+
return u.finishInner(this.nextLayer.isEmpty && !a.length ? P.empty : this.nextLayer.update({ add: a, filter: r, filterFrom: i, filterTo: s }));
|
|
2171
2207
|
}
|
|
2172
2208
|
/**
|
|
2173
2209
|
Map this range set through a set of changes, return the new set.
|
|
@@ -2175,18 +2211,20 @@ class S {
|
|
|
2175
2211
|
map(e) {
|
|
2176
2212
|
if (e.empty || this.isEmpty)
|
|
2177
2213
|
return this;
|
|
2178
|
-
let t = [], n = [], i = -1
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2214
|
+
let t = [], n = [], i = -1, s, r = (o, a, u) => {
|
|
2215
|
+
s || (s = new W()), s.addRange(o, a, u, !1);
|
|
2216
|
+
};
|
|
2217
|
+
for (let o = 0; o < this.chunk.length; o++) {
|
|
2218
|
+
let a = this.chunkPos[o], u = this.chunk[o], f = e.touchesRange(a, a + u.length);
|
|
2219
|
+
if (f === !1)
|
|
2220
|
+
i = Math.max(i, u.maxPoint), t.push(u), n.push(e.mapPos(a));
|
|
2221
|
+
else if (f === !0) {
|
|
2222
|
+
let [c, d] = t.length ? [J(n) + J(t).length, J(J(t).value).endSide] : [-1, -1], { mapped: g, pos: m } = u.map(a, e, c, d, r);
|
|
2223
|
+
g && (i = Math.max(i, g.maxPoint), t.push(g), n.push(m));
|
|
2186
2224
|
}
|
|
2187
2225
|
}
|
|
2188
|
-
let
|
|
2189
|
-
return t.length == 0 ?
|
|
2226
|
+
let h = this.nextLayer.map(e);
|
|
2227
|
+
return s && (h = s.finishInner(h)), t.length == 0 ? h : new P(n, t, h || P.empty, i);
|
|
2190
2228
|
}
|
|
2191
2229
|
/**
|
|
2192
2230
|
Iterate over the ranges that touch the region `from` to `to`,
|
|
@@ -2209,7 +2247,7 @@ class S {
|
|
|
2209
2247
|
ranges that end at or after `from`.
|
|
2210
2248
|
*/
|
|
2211
2249
|
iter(e = 0) {
|
|
2212
|
-
return
|
|
2250
|
+
return H.from([this]).goto(e);
|
|
2213
2251
|
}
|
|
2214
2252
|
/**
|
|
2215
2253
|
@internal
|
|
@@ -2222,15 +2260,15 @@ class S {
|
|
|
2222
2260
|
starting from `from`.
|
|
2223
2261
|
*/
|
|
2224
2262
|
static iter(e, t = 0) {
|
|
2225
|
-
return
|
|
2263
|
+
return H.from(e).goto(t);
|
|
2226
2264
|
}
|
|
2227
2265
|
/**
|
|
2228
2266
|
Iterate over two groups of sets, calling methods on `comparator`
|
|
2229
2267
|
to notify it of possible differences.
|
|
2230
2268
|
*/
|
|
2231
2269
|
static compare(e, t, n, i, s = -1) {
|
|
2232
|
-
let r = e.filter((
|
|
2233
|
-
n.iterGaps((
|
|
2270
|
+
let r = e.filter((f) => f.maxPoint > 0 || !f.isEmpty && f.maxPoint >= s), h = t.filter((f) => f.maxPoint > 0 || !f.isEmpty && f.maxPoint >= s), o = ke(r, h, n), a = new $(r, o, s), u = new $(h, o, s);
|
|
2271
|
+
n.iterGaps((f, c, d) => Se(a, f, u, c, d, i)), n.empty && n.length == 0 && Se(a, 0, u, 0, 0, i);
|
|
2234
2272
|
}
|
|
2235
2273
|
/**
|
|
2236
2274
|
Compare the contents of two groups of range sets, returning true
|
|
@@ -2238,14 +2276,14 @@ class S {
|
|
|
2238
2276
|
*/
|
|
2239
2277
|
static eq(e, t, n = 0, i) {
|
|
2240
2278
|
i == null && (i = 999999999);
|
|
2241
|
-
let s = e.filter((
|
|
2279
|
+
let s = e.filter((u) => !u.isEmpty && t.indexOf(u) < 0), r = t.filter((u) => !u.isEmpty && e.indexOf(u) < 0);
|
|
2242
2280
|
if (s.length != r.length)
|
|
2243
2281
|
return !1;
|
|
2244
2282
|
if (!s.length)
|
|
2245
2283
|
return !0;
|
|
2246
|
-
let h =
|
|
2284
|
+
let h = ke(s, r), o = new $(s, h, 0).goto(n), a = new $(r, h, 0).goto(n);
|
|
2247
2285
|
for (; ; ) {
|
|
2248
|
-
if (o.to != a.to || !
|
|
2286
|
+
if (o.to != a.to || !ge(o.active, a.active) || o.point && (!a.point || !we(o.point, a.point)))
|
|
2249
2287
|
return !1;
|
|
2250
2288
|
if (o.to > i)
|
|
2251
2289
|
return !0;
|
|
@@ -2260,12 +2298,12 @@ class S {
|
|
|
2260
2298
|
of the iteration.
|
|
2261
2299
|
*/
|
|
2262
2300
|
static spans(e, t, n, i, s = -1) {
|
|
2263
|
-
let r = new
|
|
2301
|
+
let r = new $(e, null, s).goto(t), h = t, o = r.openStart;
|
|
2264
2302
|
for (; ; ) {
|
|
2265
2303
|
let a = Math.min(r.to, n);
|
|
2266
2304
|
if (r.point) {
|
|
2267
|
-
let
|
|
2268
|
-
i.point(h, a, r.point,
|
|
2305
|
+
let u = r.activeForPoint(r.to), f = r.pointFrom < t ? u.length + 1 : r.point.startSide < 0 ? u.length : Math.min(u.length, o);
|
|
2306
|
+
i.point(h, a, r.point, u, f, r.pointRank), o = Math.min(r.openEnd(a), u.length);
|
|
2269
2307
|
} else a > h && (i.span(h, a, r.active, o), o = r.openEnd(a));
|
|
2270
2308
|
if (r.to > n)
|
|
2271
2309
|
return o + (r.point && r.to > n ? 1 : 0);
|
|
@@ -2280,8 +2318,8 @@ class S {
|
|
|
2280
2318
|
cause the method to sort them.
|
|
2281
2319
|
*/
|
|
2282
2320
|
static of(e, t = !1) {
|
|
2283
|
-
let n = new
|
|
2284
|
-
for (let i of e instanceof
|
|
2321
|
+
let n = new W();
|
|
2322
|
+
for (let i of e instanceof G ? [e] : t ? et(e) : e)
|
|
2285
2323
|
n.add(i.from, i.to, i.value);
|
|
2286
2324
|
return n.finish();
|
|
2287
2325
|
}
|
|
@@ -2290,29 +2328,32 @@ class S {
|
|
|
2290
2328
|
*/
|
|
2291
2329
|
static join(e) {
|
|
2292
2330
|
if (!e.length)
|
|
2293
|
-
return
|
|
2294
|
-
let t = e
|
|
2331
|
+
return P.empty;
|
|
2332
|
+
let t = J(e);
|
|
2295
2333
|
for (let n = e.length - 2; n >= 0; n--)
|
|
2296
|
-
for (let i = e[n]; i !=
|
|
2297
|
-
t = new
|
|
2334
|
+
for (let i = e[n]; i != P.empty; i = i.nextLayer)
|
|
2335
|
+
t = new P(i.chunkPos, i.chunk, t, Math.max(i.maxPoint, t.maxPoint));
|
|
2298
2336
|
return t;
|
|
2299
2337
|
}
|
|
2300
2338
|
}
|
|
2301
|
-
|
|
2302
|
-
function
|
|
2339
|
+
P.empty = /* @__PURE__ */ new P([], [], null, -1);
|
|
2340
|
+
function J(l) {
|
|
2341
|
+
return l[l.length - 1];
|
|
2342
|
+
}
|
|
2343
|
+
function et(l) {
|
|
2303
2344
|
if (l.length > 1)
|
|
2304
2345
|
for (let e = l[0], t = 1; t < l.length; t++) {
|
|
2305
2346
|
let n = l[t];
|
|
2306
|
-
if (
|
|
2307
|
-
return l.slice().sort(
|
|
2347
|
+
if (de(e, n) > 0)
|
|
2348
|
+
return l.slice().sort(de);
|
|
2308
2349
|
e = n;
|
|
2309
2350
|
}
|
|
2310
2351
|
return l;
|
|
2311
2352
|
}
|
|
2312
|
-
|
|
2313
|
-
class
|
|
2353
|
+
P.empty.nextLayer = P.empty;
|
|
2354
|
+
class W {
|
|
2314
2355
|
finishChunk(e) {
|
|
2315
|
-
this.chunks.push(new
|
|
2356
|
+
this.chunks.push(new ve(this.from, this.to, this.value, this.maxPoint)), this.chunkPos.push(this.chunkStart), this.chunkStart = -1, this.setMaxPoint = Math.max(this.setMaxPoint, this.maxPoint), this.maxPoint = -1, e && (this.from = [], this.to = [], this.value = []);
|
|
2316
2357
|
}
|
|
2317
2358
|
/**
|
|
2318
2359
|
Create an empty builder.
|
|
@@ -2325,16 +2366,22 @@ class ee {
|
|
|
2325
2366
|
`value.startSide`) order.
|
|
2326
2367
|
*/
|
|
2327
2368
|
add(e, t, n) {
|
|
2328
|
-
this.
|
|
2369
|
+
this.addRange(e, t, n, !0);
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
@internal
|
|
2373
|
+
*/
|
|
2374
|
+
addRange(e, t, n, i) {
|
|
2375
|
+
this.addInner(e, t, n, i) || (this.nextLayer || (this.nextLayer = new W())).addRange(e, t, n, i);
|
|
2329
2376
|
}
|
|
2330
2377
|
/**
|
|
2331
2378
|
@internal
|
|
2332
2379
|
*/
|
|
2333
|
-
addInner(e, t, n) {
|
|
2334
|
-
let
|
|
2335
|
-
if (i <= 0 && (e - this.lastFrom || n.startSide - this.last.startSide) < 0)
|
|
2380
|
+
addInner(e, t, n, i) {
|
|
2381
|
+
let s = e - this.lastTo || n.startSide - this.last.endSide;
|
|
2382
|
+
if (i && s <= 0 && (e - this.lastFrom || n.startSide - this.last.startSide) < 0)
|
|
2336
2383
|
throw new Error("Ranges must be added sorted by `from` position and `startSide`");
|
|
2337
|
-
return
|
|
2384
|
+
return s < 0 ? !1 : (this.from.length == 250 && this.finishChunk(!0), this.chunkStart < 0 && (this.chunkStart = e), this.from.push(e - this.chunkStart), this.to.push(t - this.chunkStart), this.last = n, this.lastFrom = e, this.lastTo = t, this.value.push(n), n.point && (this.maxPoint = Math.max(this.maxPoint, t - e)), !0);
|
|
2338
2385
|
}
|
|
2339
2386
|
/**
|
|
2340
2387
|
@internal
|
|
@@ -2351,7 +2398,7 @@ class ee {
|
|
|
2351
2398
|
used anymore after this has been called.
|
|
2352
2399
|
*/
|
|
2353
2400
|
finish() {
|
|
2354
|
-
return this.finishInner(
|
|
2401
|
+
return this.finishInner(P.empty);
|
|
2355
2402
|
}
|
|
2356
2403
|
/**
|
|
2357
2404
|
@internal
|
|
@@ -2359,11 +2406,11 @@ class ee {
|
|
|
2359
2406
|
finishInner(e) {
|
|
2360
2407
|
if (this.from.length && this.finishChunk(!1), this.chunks.length == 0)
|
|
2361
2408
|
return e;
|
|
2362
|
-
let t =
|
|
2409
|
+
let t = P.create(this.chunkPos, this.chunks, this.nextLayer ? this.nextLayer.finishInner(e) : e, this.setMaxPoint);
|
|
2363
2410
|
return this.from = null, t;
|
|
2364
2411
|
}
|
|
2365
2412
|
}
|
|
2366
|
-
function
|
|
2413
|
+
function ke(l, e, t) {
|
|
2367
2414
|
let n = /* @__PURE__ */ new Map();
|
|
2368
2415
|
for (let s of l)
|
|
2369
2416
|
for (let r = 0; r < s.chunk.length; r++)
|
|
@@ -2376,7 +2423,7 @@ function xe(l, e, t) {
|
|
|
2376
2423
|
}
|
|
2377
2424
|
return i;
|
|
2378
2425
|
}
|
|
2379
|
-
class
|
|
2426
|
+
class Ve {
|
|
2380
2427
|
constructor(e, t, n, i = 0) {
|
|
2381
2428
|
this.layer = e, this.skip = t, this.minPoint = n, this.rank = i;
|
|
2382
2429
|
}
|
|
@@ -2432,7 +2479,7 @@ class Je {
|
|
|
2432
2479
|
return this.from - e.from || this.startSide - e.startSide || this.rank - e.rank || this.to - e.to || this.endSide - e.endSide;
|
|
2433
2480
|
}
|
|
2434
2481
|
}
|
|
2435
|
-
class
|
|
2482
|
+
class H {
|
|
2436
2483
|
constructor(e) {
|
|
2437
2484
|
this.heap = e;
|
|
2438
2485
|
}
|
|
@@ -2440,8 +2487,8 @@ class W {
|
|
|
2440
2487
|
let i = [];
|
|
2441
2488
|
for (let s = 0; s < e.length; s++)
|
|
2442
2489
|
for (let r = e[s]; !r.isEmpty; r = r.nextLayer)
|
|
2443
|
-
r.maxPoint >= n && i.push(new
|
|
2444
|
-
return i.length == 1 ? i[0] : new
|
|
2490
|
+
r.maxPoint >= n && i.push(new Ve(r, t, n, s));
|
|
2491
|
+
return i.length == 1 ? i[0] : new H(i);
|
|
2445
2492
|
}
|
|
2446
2493
|
get startSide() {
|
|
2447
2494
|
return this.value ? this.value.startSide : 0;
|
|
@@ -2450,14 +2497,14 @@ class W {
|
|
|
2450
2497
|
for (let n of this.heap)
|
|
2451
2498
|
n.goto(e, t);
|
|
2452
2499
|
for (let n = this.heap.length >> 1; n >= 0; n--)
|
|
2453
|
-
|
|
2500
|
+
se(this.heap, n);
|
|
2454
2501
|
return this.next(), this;
|
|
2455
2502
|
}
|
|
2456
2503
|
forward(e, t) {
|
|
2457
2504
|
for (let n of this.heap)
|
|
2458
2505
|
n.forward(e, t);
|
|
2459
2506
|
for (let n = this.heap.length >> 1; n >= 0; n--)
|
|
2460
|
-
|
|
2507
|
+
se(this.heap, n);
|
|
2461
2508
|
(this.to - e || this.value.endSide - t) < 0 && this.next();
|
|
2462
2509
|
}
|
|
2463
2510
|
next() {
|
|
@@ -2465,11 +2512,11 @@ class W {
|
|
|
2465
2512
|
this.from = this.to = 1e9, this.value = null, this.rank = -1;
|
|
2466
2513
|
else {
|
|
2467
2514
|
let e = this.heap[0];
|
|
2468
|
-
this.from = e.from, this.to = e.to, this.value = e.value, this.rank = e.rank, e.value && e.next(),
|
|
2515
|
+
this.from = e.from, this.to = e.to, this.value = e.value, this.rank = e.rank, e.value && e.next(), se(this.heap, 0);
|
|
2469
2516
|
}
|
|
2470
2517
|
}
|
|
2471
2518
|
}
|
|
2472
|
-
function
|
|
2519
|
+
function se(l, e) {
|
|
2473
2520
|
for (let t = l[e]; ; ) {
|
|
2474
2521
|
let n = (e << 1) + 1;
|
|
2475
2522
|
if (n >= l.length)
|
|
@@ -2480,9 +2527,9 @@ function ie(l, e) {
|
|
|
2480
2527
|
l[n] = t, l[e] = i, e = n;
|
|
2481
2528
|
}
|
|
2482
2529
|
}
|
|
2483
|
-
class
|
|
2530
|
+
class $ {
|
|
2484
2531
|
constructor(e, t, n) {
|
|
2485
|
-
this.minPoint = n, this.active = [], this.activeTo = [], this.activeRank = [], this.minActive = -1, this.point = null, this.pointFrom = 0, this.pointRank = 0, this.to = -1e9, this.endSide = 0, this.openStart = -1, this.cursor =
|
|
2532
|
+
this.minPoint = n, this.active = [], this.activeTo = [], this.activeRank = [], this.minActive = -1, this.point = null, this.pointFrom = 0, this.pointRank = 0, this.to = -1e9, this.endSide = 0, this.openStart = -1, this.cursor = H.from(e, t, n);
|
|
2486
2533
|
}
|
|
2487
2534
|
goto(e, t = -1e9) {
|
|
2488
2535
|
return this.cursor.goto(e, t), this.active.length = this.activeTo.length = this.activeRank.length = 0, this.minActive = -1, this.to = e, this.endSide = t, this.openStart = -1, this.next(), this;
|
|
@@ -2493,13 +2540,13 @@ class N {
|
|
|
2493
2540
|
this.cursor.forward(e, t);
|
|
2494
2541
|
}
|
|
2495
2542
|
removeActive(e) {
|
|
2496
|
-
|
|
2543
|
+
X(this.active, e), X(this.activeTo, e), X(this.activeRank, e), this.minActive = Ie(this.active, this.activeTo);
|
|
2497
2544
|
}
|
|
2498
2545
|
addActive(e) {
|
|
2499
2546
|
let t = 0, { value: n, to: i, rank: s } = this.cursor;
|
|
2500
2547
|
for (; t < this.activeRank.length && (s - this.activeRank[t] || i - this.activeTo[t]) > 0; )
|
|
2501
2548
|
t++;
|
|
2502
|
-
|
|
2549
|
+
Y(this.active, t, n), Y(this.activeTo, t, i), Y(this.activeRank, t, s), e && Y(e, t, this.cursor.from), this.minActive = Ie(this.active, this.activeTo);
|
|
2503
2550
|
}
|
|
2504
2551
|
// After calling this, if `this.point` != null, the next range is a
|
|
2505
2552
|
// point. Otherwise, it's a regular range, covered by `this.active`.
|
|
@@ -2514,7 +2561,7 @@ class N {
|
|
|
2514
2561
|
this.to = this.activeTo[i], this.endSide = this.active[i].endSide;
|
|
2515
2562
|
break;
|
|
2516
2563
|
}
|
|
2517
|
-
this.removeActive(i), n &&
|
|
2564
|
+
this.removeActive(i), n && X(n, i);
|
|
2518
2565
|
} else if (this.cursor.value)
|
|
2519
2566
|
if (this.cursor.from > e) {
|
|
2520
2567
|
this.to = this.cursor.from, this.endSide = this.cursor.startSide;
|
|
@@ -2556,85 +2603,85 @@ class N {
|
|
|
2556
2603
|
return t;
|
|
2557
2604
|
}
|
|
2558
2605
|
}
|
|
2559
|
-
function
|
|
2606
|
+
function Se(l, e, t, n, i, s) {
|
|
2560
2607
|
l.goto(e), t.goto(n);
|
|
2561
|
-
let r = n + i, h = n, o = n - e;
|
|
2562
|
-
for (; ; ) {
|
|
2563
|
-
let
|
|
2564
|
-
if (l.point || t.point ? l.point && t.point && (l.point
|
|
2608
|
+
let r = n + i, h = n, o = n - e, a = !!s.boundChange;
|
|
2609
|
+
for (let u = !1; ; ) {
|
|
2610
|
+
let f = l.to + o - t.to, c = f || l.endSide - t.endSide, d = c < 0 ? l.to + o : t.to, g = Math.min(d, r);
|
|
2611
|
+
if (l.point || t.point ? (l.point && t.point && we(l.point, t.point) && ge(l.activeForPoint(l.to), t.activeForPoint(t.to)) || s.comparePoint(h, g, l.point, t.point), u = !1) : (u && (s.boundChange(h), u = !1), g > h && !ge(l.active, t.active) && s.compareRange(h, g, l.active, t.active), a && g < r && (f || l.openEnd(d) != t.openEnd(d)) && (u = !0)), d > r)
|
|
2565
2612
|
break;
|
|
2566
|
-
|
|
2613
|
+
h = d, c <= 0 && l.next(), c >= 0 && t.next();
|
|
2567
2614
|
}
|
|
2568
2615
|
}
|
|
2569
|
-
function
|
|
2616
|
+
function ge(l, e) {
|
|
2570
2617
|
if (l.length != e.length)
|
|
2571
2618
|
return !1;
|
|
2572
2619
|
for (let t = 0; t < l.length; t++)
|
|
2573
|
-
if (l[t] != e[t] && !l[t]
|
|
2620
|
+
if (l[t] != e[t] && !we(l[t], e[t]))
|
|
2574
2621
|
return !1;
|
|
2575
2622
|
return !0;
|
|
2576
2623
|
}
|
|
2577
|
-
function
|
|
2624
|
+
function X(l, e) {
|
|
2578
2625
|
for (let t = e, n = l.length - 1; t < n; t++)
|
|
2579
2626
|
l[t] = l[t + 1];
|
|
2580
2627
|
l.pop();
|
|
2581
2628
|
}
|
|
2582
|
-
function
|
|
2629
|
+
function Y(l, e, t) {
|
|
2583
2630
|
for (let n = l.length - 1; n >= e; n--)
|
|
2584
2631
|
l[n + 1] = l[n];
|
|
2585
2632
|
l[e] = t;
|
|
2586
2633
|
}
|
|
2587
|
-
function
|
|
2634
|
+
function Ie(l, e) {
|
|
2588
2635
|
let t = -1, n = 1e9;
|
|
2589
2636
|
for (let i = 0; i < e.length; i++)
|
|
2590
2637
|
(e[i] - n || l[i].endSide - l[t].endSide) < 0 && (t = i, n = e[i]);
|
|
2591
2638
|
return t;
|
|
2592
2639
|
}
|
|
2593
|
-
function
|
|
2640
|
+
function ht(l, e, t = l.length) {
|
|
2594
2641
|
let n = 0;
|
|
2595
2642
|
for (let i = 0; i < t && i < l.length; )
|
|
2596
|
-
l.charCodeAt(i) == 9 ? (n += e - n % e, i++) : (n++, i =
|
|
2643
|
+
l.charCodeAt(i) == 9 ? (n += e - n % e, i++) : (n++, i = _(l, i));
|
|
2597
2644
|
return n;
|
|
2598
2645
|
}
|
|
2599
|
-
function
|
|
2646
|
+
function ot(l, e, t, n) {
|
|
2600
2647
|
for (let i = 0, s = 0; ; ) {
|
|
2601
2648
|
if (s >= e)
|
|
2602
2649
|
return i;
|
|
2603
2650
|
if (i == l.length)
|
|
2604
2651
|
break;
|
|
2605
|
-
s += l.charCodeAt(i) == 9 ? t - s % t : 1, i =
|
|
2652
|
+
s += l.charCodeAt(i) == 9 ? t - s % t : 1, i = _(l, i);
|
|
2606
2653
|
}
|
|
2607
2654
|
return n === !0 ? -1 : l.length;
|
|
2608
2655
|
}
|
|
2609
2656
|
export {
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2657
|
+
K as Annotation,
|
|
2658
|
+
Ge as AnnotationType,
|
|
2659
|
+
R as ChangeDesc,
|
|
2660
|
+
S as ChangeSet,
|
|
2661
|
+
B as CharCategory,
|
|
2662
|
+
ie as Compartment,
|
|
2663
|
+
w as EditorSelection,
|
|
2664
|
+
x as EditorState,
|
|
2665
|
+
E as Facet,
|
|
2666
|
+
$e as Line,
|
|
2620
2667
|
M as MapMode,
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2668
|
+
rt as Prec,
|
|
2669
|
+
G as Range,
|
|
2670
|
+
P as RangeSet,
|
|
2671
|
+
W as RangeSetBuilder,
|
|
2672
|
+
ne as RangeValue,
|
|
2673
|
+
b as SelectionRange,
|
|
2674
|
+
A as StateEffect,
|
|
2675
|
+
He as StateEffectType,
|
|
2676
|
+
N as StateField,
|
|
2677
|
+
y as Text,
|
|
2678
|
+
C as Transaction,
|
|
2679
|
+
nt as codePointAt,
|
|
2680
|
+
st as codePointSize,
|
|
2681
|
+
lt as combineConfig,
|
|
2682
|
+
ht as countColumn,
|
|
2683
|
+
_ as findClusterBreak,
|
|
2684
|
+
ot as findColumn,
|
|
2685
|
+
it as fromCodePoint
|
|
2639
2686
|
};
|
|
2640
2687
|
//# sourceMappingURL=index.es.js.map
|