reactive-md 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG-ch.md +44 -0
- package/CHANGELOG.md +44 -0
- package/README-ch.md +7 -7
- package/README-en.md +6 -6
- package/README.md +7 -7
- package/cli/init.mjs +1 -1
- package/dist-library/LocalDocumentView-D6zQkTkt.js +112 -0
- package/dist-library/{LocalDocumentViewCore-GiWV3bey.js → LocalDocumentViewCore-CmJhemcA.js} +387 -9471
- package/dist-library/LocalReactiveDocumentCore-lAKOGAZ7.js +283 -0
- package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +143 -0
- package/dist-library/{authoring-Dsune4Hy.js → authoring-B14SsOXZ.js} +68 -67
- package/dist-library/chart-B1TUtzm-.js +3 -0
- package/dist-library/color-values-r8Wf7ALn.js +6 -0
- package/dist-library/{compile-wUv8KEge.js → compile-D50B5_Ww.js} +32 -32
- package/dist-library/compile-cache-key-6GgpETz_.js +28 -0
- package/dist-library/compiler-DLkKUK4t.js +98 -0
- package/dist-library/{compiler-core-As_m-MNm.js → compiler-core-Niqhp9wV.js} +2963 -3283
- package/dist-library/{registry-core-Bbad9Bm2.js → component-kernel-IG4wOO0i.js} +72 -195
- package/dist-library/component-state-CwKX_SN5.js +763 -0
- package/dist-library/{component-state-C52ZFJGl.js → component-state-Ht-hOK0W.js} +15 -14
- package/dist-library/component-utils-eSj5IdG4.js +338 -0
- package/dist-library/computations-CffoW7Ff.js +340 -0
- package/dist-library/config-validation-Cpol91_M.js +456 -0
- package/dist-library/controls-B-CLSK8Q.js +5927 -0
- package/dist-library/controls-DWlx-AQl.js +3 -0
- package/dist-library/{coordinate-CWS9p5q_.js → coordinate-PyLPMIQK.js} +85 -85
- package/dist-library/data-BtFlkJzp.js +3 -0
- package/dist-library/{data-table-Bgccxd7h.js → data-table-Kv_ZA2Z2.js} +14 -13
- package/dist-library/data-visuals-_Z7QqYTk.js +384 -0
- package/dist-library/{default-components-BwQf0oP-.js → default-components-jugH7Ubr.js} +333 -331
- package/dist-library/{config-BadfhjdP.js → default-config-DIrRpuQz.js} +96 -79
- package/dist-library/default-options-DU5dxuU6.js +125 -0
- package/dist-library/{registry-B9NGct4d.js → default-registry-BlloaZi7.js} +4 -4
- package/dist-library/default-schema-Ch-Vznpm.js +33 -0
- package/dist-library/diagram-BLepzI8l.js +3 -0
- package/dist-library/{display-B-VhqVND.js → display-y4v9v0Qd.js} +1 -1
- package/dist-library/dist-Cueh1Psp.js +4761 -0
- package/dist-library/{config-validation-F47AcE6o.js → document-theme-DBAfnk7y.js} +248 -731
- package/dist-library/{export-BqVmTXm8.js → export-heVBqgxA.js} +46 -44
- package/dist-library/gallery-BC6FYTqw.js +3 -0
- package/dist-library/{gallery-CY6mTx8i.js → gallery-Q6VPS2ep.js} +1 -1
- package/dist-library/{html-CNT4KD-2.js → html-CCnvzan1.js} +56 -54
- package/dist-library/identity-BUx0Q_-d.js +40 -0
- package/dist-library/{incremental-Dv0FSp_U.js → incremental-Bzvh8_lB.js} +529 -380
- package/dist-library/{layout-C0YlEPGr.js → layout-BfUzzO2b.js} +147 -156
- package/dist-library/layout-BnfDeUNy.js +3 -0
- package/dist-library/limits-CFERRrlC.js +10 -0
- package/dist-library/localization-COdJ6lw2.js +6 -0
- package/dist-library/mafs-CnzDC5CR.js +3 -0
- package/dist-library/math-view-B0jthpRw.js +20 -0
- package/dist-library/motion-tokens-Czk0RDmS.js +283 -0
- package/dist-library/mount-preset-C_i37FvY.js +24 -0
- package/dist-library/numeric-sliders-CkWS0-ja.js +542 -0
- package/dist-library/observability-CYLuvFfL.js +502 -0
- package/dist-library/observability-core-Bcu7vpnl.js +24 -0
- package/dist-library/{package-core-WFK1RhAZ.js → package-core-9UK5ZdqB.js} +57 -46
- package/dist-library/parser-9yNJxGip.js +8 -0
- package/dist-library/parser-standard-BPIy4HOu.js +4872 -0
- package/dist-library/plugin-packs-CZb46nuv.js +19 -0
- package/dist-library/preset-core-BW3NWZJ9.js +1300 -0
- package/dist-library/props-pJRrfDc6.js +179 -0
- package/dist-library/react-BSo0o998.js +32 -0
- package/dist-library/reactive-md-authoring.js +274 -263
- package/dist-library/reactive-md-build.js +55 -20
- package/dist-library/reactive-md-compiler-session.js +4 -0
- package/dist-library/reactive-md-compiler-standard.js +6 -6
- package/dist-library/reactive-md-compiler.js +3 -3
- package/dist-library/reactive-md-contracts.js +6 -0
- package/dist-library/reactive-md-default-packs.js +31 -14
- package/dist-library/reactive-md-default-preset.js +7 -6
- package/dist-library/reactive-md-export.js +6 -5
- package/dist-library/reactive-md-minimal-preset.js +2 -2
- package/dist-library/reactive-md-minimal-react-preset.js +22 -20
- package/dist-library/reactive-md-minimal.css +1 -1
- package/dist-library/reactive-md-observability.js +126 -0
- package/dist-library/reactive-md-pack-style-manifest.js +797 -0
- package/dist-library/reactive-md-plugin-chart.js +6 -5
- package/dist-library/reactive-md-plugin-data.js +8 -8
- package/dist-library/reactive-md-plugin-diagram.js +7 -6
- package/dist-library/reactive-md-plugin-forms.js +14 -13
- package/dist-library/reactive-md-plugin-gallery.js +6 -5
- package/dist-library/reactive-md-plugin-navigation.js +9 -9
- package/dist-library/reactive-md-plugin-network.js +13 -12
- package/dist-library/reactive-md-plugin-plot.js +7 -6
- package/dist-library/reactive-md-react-component-accordion.js +10 -0
- package/dist-library/reactive-md-react-component-alert.js +10 -0
- package/dist-library/reactive-md-react-component-anchor.js +10 -0
- package/dist-library/reactive-md-react-component-badge.js +10 -0
- package/dist-library/reactive-md-react-component-card.js +10 -0
- package/dist-library/reactive-md-react-component-chart.js +22 -0
- package/dist-library/reactive-md-react-component-checkbox.js +10 -0
- package/dist-library/reactive-md-react-component-checklist.js +10 -0
- package/dist-library/reactive-md-react-component-choices.js +10 -0
- package/dist-library/reactive-md-react-component-column.js +6 -0
- package/dist-library/reactive-md-react-component-coordinate.js +21 -0
- package/dist-library/reactive-md-react-component-counter.js +10 -0
- package/dist-library/reactive-md-react-component-data-table.js +14 -0
- package/dist-library/reactive-md-react-component-date.js +10 -0
- package/dist-library/reactive-md-react-component-diagram.js +22 -0
- package/dist-library/reactive-md-react-component-disclosure.js +10 -0
- package/dist-library/reactive-md-react-component-edge.js +22 -0
- package/dist-library/reactive-md-react-component-gallery-item.js +10 -0
- package/dist-library/reactive-md-react-component-gallery.js +10 -0
- package/dist-library/reactive-md-react-component-grid.js +10 -0
- package/dist-library/reactive-md-react-component-if.js +10 -0
- package/dist-library/reactive-md-react-component-input.js +10 -0
- package/dist-library/reactive-md-react-component-jump.js +10 -0
- package/dist-library/reactive-md-react-component-multi-select.js +10 -0
- package/dist-library/reactive-md-react-component-node.js +22 -0
- package/dist-library/reactive-md-react-component-number.js +10 -0
- package/dist-library/reactive-md-react-component-option.js +10 -0
- package/dist-library/reactive-md-react-component-panel.js +10 -0
- package/dist-library/reactive-md-react-component-plot.js +26 -0
- package/dist-library/reactive-md-react-component-progress.js +10 -0
- package/dist-library/reactive-md-react-component-quiz.js +10 -0
- package/dist-library/reactive-md-react-component-radio-group.js +10 -0
- package/dist-library/reactive-md-react-component-range-slider.js +10 -0
- package/dist-library/reactive-md-react-component-section.js +10 -0
- package/dist-library/reactive-md-react-component-select.js +10 -0
- package/dist-library/reactive-md-react-component-slider.js +10 -0
- package/dist-library/reactive-md-react-component-step.js +10 -0
- package/dist-library/reactive-md-react-component-steps.js +10 -0
- package/dist-library/reactive-md-react-component-tab.js +10 -0
- package/dist-library/reactive-md-react-component-table.js +14 -0
- package/dist-library/reactive-md-react-component-tabs.js +10 -0
- package/dist-library/reactive-md-react-component-text.js +10 -0
- package/dist-library/reactive-md-react-component-textarea.js +10 -0
- package/dist-library/reactive-md-react-component-timeline.js +14 -0
- package/dist-library/reactive-md-react-component-timer.js +10 -0
- package/dist-library/reactive-md-react-component-toggle.js +10 -0
- package/dist-library/reactive-md-react-component-tooltip.js +10 -0
- package/dist-library/reactive-md-react-component-validation.js +10 -0
- package/dist-library/reactive-md-react-minimal.js +4 -4
- package/dist-library/reactive-md-react-pack-controls.js +44 -0
- package/dist-library/reactive-md-react-pack-data.js +21 -0
- package/dist-library/reactive-md-react-pack-layout.js +36 -0
- package/dist-library/reactive-md-react-pack-visuals.js +43 -0
- package/dist-library/reactive-md-react-packed.js +50 -0
- package/dist-library/reactive-md-react-server.js +26 -25
- package/dist-library/reactive-md-react-static-server.js +24 -0
- package/dist-library/reactive-md-react-static.js +1 -0
- package/dist-library/reactive-md-react-unstyled.js +15 -12
- package/dist-library/reactive-md-react.js +15 -12
- package/dist-library/reactive-md-runtime-browser.js +2 -1
- package/dist-library/reactive-md-runtime.js +4 -3
- package/dist-library/reactive-md-scan.js +1 -0
- package/dist-library/reactive-md-sdk.js +9 -8
- package/dist-library/reactive-md-standalone-configured.js +2 -2
- package/dist-library/reactive-md-standalone-host.js +2 -2
- package/dist-library/reactive-md-testing-browser.js +2 -2
- package/dist-library/reactive-md-testing-react.js +32 -32
- package/dist-library/reactive-md-testing.js +12 -12
- package/dist-library/reactive-md-worker-pool.js +401 -0
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +84 -1361
- package/dist-library/registry-core-CziAIP5P.js +125 -0
- package/dist-library/render-nodes-DKjg_TR1.js +9369 -0
- package/dist-library/{resources-D2GDQS0p.js → requirements-DhIkxAbl.js} +37 -84
- package/dist-library/resources-B_nbROgj.js +74 -0
- package/dist-library/rmd-pack-controls.css +1032 -0
- package/dist-library/rmd-pack-data.css +724 -0
- package/dist-library/rmd-pack-layout.css +1825 -0
- package/dist-library/rmd-pack-resource-chart.css +300 -0
- package/dist-library/rmd-pack-resource-controls.css +781 -0
- package/dist-library/rmd-pack-resource-data-visuals.css +501 -0
- package/dist-library/rmd-pack-resource-diagram.css +106 -0
- package/dist-library/rmd-pack-resource-gallery.css +346 -0
- package/dist-library/rmd-pack-resource-graphics.css +516 -0
- package/dist-library/rmd-pack-resource-layout.css +1480 -0
- package/dist-library/rmd-pack-resource-mafs-core.css +124 -0
- package/dist-library/rmd-pack-resource-mafs.css +129 -0
- package/dist-library/rmd-pack-resource-visual-base.css +224 -0
- package/dist-library/rmd-pack-visuals.css +1394 -0
- package/dist-library/{runtime-B2fxeveq.js → runtime-BDnnimPA.js} +17 -16
- package/dist-library/{runtime-kcA7bG7G.js → runtime-CuJndKqK.js} +320 -313
- package/dist-library/runtime-requirement-C4-vNcf5.js +769 -0
- package/dist-library/schema-core-4sd1Vu7V.js +132 -0
- package/dist-library/{sdk-core-BoJT1SIt.js → sdk-core-BLsW9cCy.js} +494 -520
- package/dist-library/{session-core-nmJHuR9c.js → session-core-DLBRPV7f.js} +33 -31
- package/dist-library/{shareable-DpbE-59H.js → shareable-C6mUerpQ.js} +215 -209
- package/dist-library/shared-bTzN-F4g.js +3 -0
- package/dist-library/structural-views-30-YD_TJ.js +11 -0
- package/dist-library/table-surface-CfZn_tk-.js +13 -0
- package/dist-library/types/assemblies/compile-cache-key.d.ts +11 -0
- package/dist-library/types/assemblies/default-config.d.ts +35 -0
- package/dist-library/types/{local/configuration/options.d.ts → assemblies/default-options.d.ts} +4 -4
- package/dist-library/types/assemblies/default-registry.d.ts +18 -0
- package/dist-library/types/{local/configuration/schema.d.ts → assemblies/default-schema.d.ts} +4 -4
- package/dist-library/types/authoring/catalog.d.ts +11 -1
- package/dist-library/types/authoring/extensions.d.ts +1 -1
- package/dist-library/types/authoring/index.d.ts +3 -3
- package/dist-library/types/authoring/templates.d.ts +1 -1
- package/dist-library/types/build/diagnostics.d.ts +1 -1
- package/dist-library/types/compiler/index.d.ts +1 -0
- package/dist-library/types/compiler/session.d.ts +19 -0
- package/dist-library/types/compiler/standard.d.ts +1 -0
- package/dist-library/types/components/entries/accordion.d.ts +3 -0
- package/dist-library/types/components/entries/alert.d.ts +3 -0
- package/dist-library/types/components/entries/anchor.d.ts +3 -0
- package/dist-library/types/components/entries/badge.d.ts +3 -0
- package/dist-library/types/components/entries/card.d.ts +3 -0
- package/dist-library/types/components/entries/chart.d.ts +3 -0
- package/dist-library/types/components/entries/checkbox.d.ts +3 -0
- package/dist-library/types/components/entries/checklist.d.ts +3 -0
- package/dist-library/types/components/entries/choices.d.ts +3 -0
- package/dist-library/types/components/entries/column.d.ts +3 -0
- package/dist-library/types/components/entries/coordinate.d.ts +3 -0
- package/dist-library/types/components/entries/counter.d.ts +3 -0
- package/dist-library/types/components/entries/data-table.d.ts +3 -0
- package/dist-library/types/components/entries/date.d.ts +3 -0
- package/dist-library/types/components/entries/diagram.d.ts +3 -0
- package/dist-library/types/components/entries/disclosure.d.ts +3 -0
- package/dist-library/types/components/entries/edge.d.ts +3 -0
- package/dist-library/types/components/entries/gallery-item.d.ts +3 -0
- package/dist-library/types/components/entries/gallery.d.ts +3 -0
- package/dist-library/types/components/entries/grid.d.ts +3 -0
- package/dist-library/types/components/entries/if.d.ts +3 -0
- package/dist-library/types/components/entries/input.d.ts +3 -0
- package/dist-library/types/components/entries/jump.d.ts +3 -0
- package/dist-library/types/components/entries/multi-select.d.ts +3 -0
- package/dist-library/types/components/entries/node.d.ts +3 -0
- package/dist-library/types/components/entries/number.d.ts +3 -0
- package/dist-library/types/components/entries/option.d.ts +3 -0
- package/dist-library/types/components/entries/panel.d.ts +3 -0
- package/dist-library/types/components/entries/plot.d.ts +3 -0
- package/dist-library/types/components/entries/progress.d.ts +3 -0
- package/dist-library/types/components/entries/quiz.d.ts +3 -0
- package/dist-library/types/components/entries/radio-group.d.ts +3 -0
- package/dist-library/types/components/entries/range-slider.d.ts +3 -0
- package/dist-library/types/components/entries/section.d.ts +3 -0
- package/dist-library/types/components/entries/select.d.ts +3 -0
- package/dist-library/types/components/entries/slider.d.ts +3 -0
- package/dist-library/types/components/entries/step.d.ts +3 -0
- package/dist-library/types/components/entries/steps.d.ts +3 -0
- package/dist-library/types/components/entries/tab.d.ts +3 -0
- package/dist-library/types/components/entries/table.d.ts +3 -0
- package/dist-library/types/components/entries/tabs.d.ts +3 -0
- package/dist-library/types/components/entries/text.d.ts +3 -0
- package/dist-library/types/components/entries/textarea.d.ts +3 -0
- package/dist-library/types/components/entries/timeline.d.ts +3 -0
- package/dist-library/types/components/entries/timer.d.ts +3 -0
- package/dist-library/types/components/entries/toggle.d.ts +3 -0
- package/dist-library/types/components/entries/tooltip.d.ts +3 -0
- package/dist-library/types/components/entries/validation.d.ts +3 -0
- package/dist-library/types/components/layout/layout.d.ts +1 -3
- package/dist-library/types/components/layout/structural-views.d.ts +3 -0
- package/dist-library/types/components/mount-preset.d.ts +2 -0
- package/dist-library/types/components/packs/controls.d.ts +2 -0
- package/dist-library/types/components/packs/data.d.ts +2 -0
- package/dist-library/types/components/packs/layout.d.ts +2 -0
- package/dist-library/types/components/packs/visuals.d.ts +2 -0
- package/dist-library/types/components/shared/data-visuals.d.ts +3 -0
- package/dist-library/types/components/shared/table-surface.d.ts +10 -0
- package/dist-library/types/components/shared/visual-helpers.d.ts +24 -0
- package/dist-library/types/components/shared/visuals.d.ts +0 -2
- package/dist-library/types/components/table/data-table-model.d.ts +48 -0
- package/dist-library/types/components/table/data-table.d.ts +1 -48
- package/dist-library/types/{local/configuration → contracts}/component-kernel.d.ts +4 -2
- package/dist-library/types/contracts/index.d.ts +8 -0
- package/dist-library/types/{local/configuration → contracts}/limits.d.ts +9 -1
- package/dist-library/types/contracts/localization.d.ts +6 -0
- package/dist-library/types/contracts/runtime-types.d.ts +19 -0
- package/dist-library/types/local/compilation/cache-version.d.ts +1 -0
- package/dist-library/types/local/compilation/compile-status.d.ts +2 -0
- package/dist-library/types/local/compilation/compiler-bindings.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-capabilities.d.ts +4 -1
- package/dist-library/types/local/compilation/compiler-core.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-embedding.d.ts +20 -0
- package/dist-library/types/local/compilation/compiler-expressions.d.ts +5 -4
- package/dist-library/types/local/compilation/compiler-structure.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-tables.d.ts +3 -2
- package/dist-library/types/local/compilation/compiler-validation.d.ts +5 -9
- package/dist-library/types/local/compilation/compiler-values.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler.d.ts +1 -1
- package/dist-library/types/local/compilation/component-usage.d.ts +2 -0
- package/dist-library/types/local/compilation/runtime-requirement.d.ts +3 -0
- package/dist-library/types/local/compilation/session/incremental.d.ts +5 -1
- package/dist-library/types/local/compilation/streaming.d.ts +1 -1
- package/dist-library/types/local/configuration/diagnostic-messages.d.ts +55 -0
- package/dist-library/types/local/configuration/embedding.d.ts +4 -0
- package/dist-library/types/local/configuration/kernel-value-rules.d.ts +1 -1
- package/dist-library/types/local/configuration/options-core.d.ts +8 -2
- package/dist-library/types/local/index.d.ts +12 -1
- package/dist-library/types/local/observability-codes.d.ts +2 -0
- package/dist-library/types/local/observability-core.d.ts +44 -0
- package/dist-library/types/local/observability-messages.d.ts +6 -0
- package/dist-library/types/local/observability.d.ts +45 -0
- package/dist-library/types/local/parsing/parse-budget.d.ts +18 -2
- package/dist-library/types/local/parsing/parser-internals.d.ts +2 -1
- package/dist-library/types/local/parsing/parser-region.d.ts +13 -2
- package/dist-library/types/local/parsing/parser-tags.d.ts +6 -1
- package/dist-library/types/local/parsing/rmd-recovery.d.ts +8 -0
- package/dist-library/types/local/performance-report.d.ts +70 -0
- package/dist-library/types/local/runtime/runtime-pool.d.ts +14 -0
- package/dist-library/types/local/transport/worker-handler.d.ts +3 -0
- package/dist-library/types/local/transport/worker-job.d.ts +12 -2
- package/dist-library/types/local/transport/worker-pool.d.ts +68 -0
- package/dist-library/types/local/transport/worker.d.ts +66 -1
- package/dist-library/types/local/types.d.ts +45 -25
- package/dist-library/types/observability.d.ts +8 -0
- package/dist-library/types/presets/default-semantics.d.ts +1 -1
- package/dist-library/types/presets/identity.d.ts +1 -8
- package/dist-library/types/presets/pack-style-entry.d.ts +3 -0
- package/dist-library/types/presets/pack-style-manifest.d.ts +11 -0
- package/dist-library/types/react/component-api.d.ts +3 -2
- package/dist-library/types/react/component-loader.d.ts +61 -0
- package/dist-library/types/react/component-primitives.d.ts +5 -5
- package/dist-library/types/react/index.d.ts +9 -5
- package/dist-library/types/react/localization.d.ts +5 -6
- package/dist-library/types/react/minimal.d.ts +2 -2
- package/dist-library/types/react/package-core.d.ts +3 -0
- package/dist-library/types/react/packed.d.ts +17 -0
- package/dist-library/types/react/render-lifecycle.d.ts +9 -0
- package/dist-library/types/{local → react}/rendering/document/ExtendedHtmlFragment.d.ts +1 -1
- package/dist-library/types/{local → react}/rendering/document/LocalDocumentViewCore.d.ts +11 -4
- package/dist-library/types/react/rendering/document/LocalPooledDocumentView.d.ts +8 -0
- package/dist-library/types/react/rendering/document/LocalReactiveDocumentCore.d.ts +6 -0
- package/dist-library/types/react/rendering/document/LocalStaticDocumentView.d.ts +18 -0
- package/dist-library/types/react/rendering/document/StaticExternalSlot.d.ts +25 -0
- package/dist-library/types/react/rendering/document/StaticHostData.d.ts +14 -0
- package/dist-library/types/{local → react}/rendering/document/render-nodes.d.ts +8 -8
- package/dist-library/types/react/rendering/document/static-runtime.d.ts +11 -0
- package/dist-library/types/{local → react}/rendering/document/use-author-script.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/document/validation-state.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/document/view-render-context.d.ts +40 -8
- package/dist-library/types/{local → react}/rendering/document/view-revision.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/render-types.d.ts +5 -5
- package/dist-library/types/react/rendering/table/data-table.d.ts +5 -0
- package/dist-library/types/{local → react}/rendering/table/table-numeric-columns.d.ts +3 -3
- package/dist-library/types/react/sdk-core.d.ts +12 -3
- package/dist-library/types/react/sdk.d.ts +2 -1
- package/dist-library/types/react/server.d.ts +3 -10
- package/dist-library/types/react/static-server.d.ts +12 -0
- package/dist-library/types/scan/index.d.ts +15 -0
- package/dist-library/types/sdk/config.d.ts +2 -35
- package/dist-library/types/sdk/default-identity.d.ts +3 -0
- package/dist-library/types/sdk/index.d.ts +1 -1
- package/dist-library/types/sdk/preset.d.ts +9 -0
- package/dist-library/types/sdk/props.d.ts +8 -3
- package/dist-library/types/sdk/registry-core.d.ts +2 -2
- package/dist-library/types/sdk/registry.d.ts +2 -18
- package/dist-library/types/sdk/types.d.ts +2 -2
- package/dist-library/types/sdk/version.d.ts +2 -0
- package/dist-library/types/standalone/session-core.d.ts +1 -1
- package/dist-library/{types-BeNtPqdY.js → types-Bza88SGK.js} +1 -1
- package/dist-library/types-daDo2c_w.js +3 -0
- package/dist-library/use-hydrated-W-laKPhY.js +22975 -0
- package/dist-library/validation-XXlb-spV.js +860 -0
- package/dist-library/version-B0G1699c.js +138 -0
- package/dist-library/visual-frame-y5RFhJ0_.js +19 -0
- package/dist-library/visual-helpers-CRmaqCHX.js +75 -0
- package/dist-library/visuals-CdHezgh5.js +3 -0
- package/dist-library/visuals-CoVSjVD8.js +49159 -0
- package/dist-library/worker-D6WMV8xJ.js +1632 -0
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +119 -118
- package/docs/README-ch.md +8 -1
- package/docs/README.md +8 -1
- package/docs/compatibility/api-stability-ch.md +25 -0
- package/docs/compatibility/api-stability-en.md +25 -0
- package/docs/compatibility/compatibility-ch.md +32 -15
- package/docs/compatibility/compatibility-en.md +32 -15
- package/docs/compatibility/compatibility-manifest.schema.json +161 -0
- package/docs/compatibility/deprecation-ch.md +21 -0
- package/docs/compatibility/deprecation-en.md +21 -0
- package/docs/compatibility/source-versioning-ch.md +1 -1
- package/docs/compatibility/source-versioning-en.md +1 -1
- package/docs/compatibility/support-matrix-ch.md +108 -0
- package/docs/compatibility/support-matrix-en.md +108 -0
- package/docs/development/component-development-ch.md +2 -2
- package/docs/development/component-development-en.md +2 -2
- package/docs/development/component-development-reference-ch.md +16 -0
- package/docs/development/component-development-reference-en.md +16 -0
- package/docs/development/component-protocol-ch.md +31 -11
- package/docs/development/component-protocol-en.md +31 -11
- package/docs/integration/author-tools-ch.md +3 -1
- package/docs/integration/author-tools-en.md +3 -1
- package/docs/integration/compiler-ch.md +42 -1
- package/docs/integration/compiler-en.md +42 -1
- package/docs/integration/editor-ch.md +2 -2
- package/docs/integration/editor-en.md +2 -2
- package/docs/integration/extension-sdk-ch.md +6 -2
- package/docs/integration/extension-sdk-en.md +6 -2
- package/docs/integration/local-integration-ch.md +4 -2
- package/docs/integration/local-integration-en.md +4 -2
- package/docs/reference/public-api-ch.md +143 -7
- package/docs/reference/public-api-en.md +143 -7
- package/docs/releases/release-0.9.2-ch.md +33 -0
- package/docs/releases/release-0.9.2-en.md +33 -0
- package/docs/releases/release-0.9.3-ch.md +45 -0
- package/docs/releases/release-0.9.3-en.md +45 -0
- package/examples/integration/README-ch.md +36 -4
- package/examples/integration/README.md +36 -4
- package/examples/integration/chat-session/index.mjs +91 -0
- package/examples/integration/chat-session/package.json +10 -0
- package/examples/integration/static-embed/embed.mjs +44 -0
- package/examples/integration/static-embed/index.html +12 -0
- package/examples/integration/static-embed/main.mjs +24 -0
- package/examples/integration/static-embed/references.mjs +5 -0
- package/examples/integration/static-embed/render.mjs +10 -0
- package/package.json +67 -2
- package/dist-library/LocalDocumentView-sthUP0ct.js +0 -109
- package/dist-library/LocalReactiveDocumentCore-ZjQSGyHE.js +0 -275
- package/dist-library/compiler-eOfcinZs.js +0 -62
- package/dist-library/component-state-BoLCGee4.js +0 -801
- package/dist-library/controls-CcT6n7k_.js +0 -6740
- package/dist-library/mount-preset-KxvtKgJb.js +0 -13
- package/dist-library/options-1aDLK7JY.js +0 -121
- package/dist-library/parser-standard-Yuf3A_VI.js +0 -9630
- package/dist-library/plugin-packs-B1XPWcFs.js +0 -18
- package/dist-library/preset-core-CKc5YXSM.js +0 -1443
- package/dist-library/props-sJ8vk0cr.js +0 -183
- package/dist-library/react-D5iGiUdL.js +0 -7
- package/dist-library/schema-BufhKUSM.js +0 -40
- package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +0 -6
- package/dist-library/types/local/rendering/table/data-table.d.ts +0 -13
- package/dist-library/validation-BEBA_HvS.js +0 -1121
- package/dist-library/visual-frame-CyV1FXzs.js +0 -48
- package/dist-library/visuals-BZbZYA7w.js +0 -72572
- /package/dist-library/types/{local/configuration → contracts}/color-values.d.ts +0 -0
- /package/dist-library/types/{local/html → contracts}/html-names.d.ts +0 -0
- /package/dist-library/types/{local/configuration → contracts}/schema-core.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-block.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-languages.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/LocalDocumentView.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/use-color-scheme.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/image/image-view.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/math-view.d.ts +0 -0
|
@@ -0,0 +1,769 @@
|
|
|
1
|
+
import { r as e } from "./latex-1w7aQgD5.js";
|
|
2
|
+
import { y as t } from "./document-theme-DBAfnk7y.js";
|
|
3
|
+
import { i as n, t as r } from "./compile-D50B5_Ww.js";
|
|
4
|
+
import { a as i, n as a, t as o } from "./computations-CffoW7Ff.js";
|
|
5
|
+
import { n as s } from "./types-daDo2c_w.js";
|
|
6
|
+
import "./preset-core-BW3NWZJ9.js";
|
|
7
|
+
import "./version-B0G1699c.js";
|
|
8
|
+
import { d as c } from "./component-kernel-IG4wOO0i.js";
|
|
9
|
+
// src/local/parsing/footnotes.ts
|
|
10
|
+
function l(e) {
|
|
11
|
+
return typeof e == "string" && e.trim() !== "" ? e : void 0;
|
|
12
|
+
}
|
|
13
|
+
function u(e) {
|
|
14
|
+
let t = /^\[\^([\s\S]*)\]$/.exec(e.trim());
|
|
15
|
+
return t ? t[1] : e;
|
|
16
|
+
}
|
|
17
|
+
function d(e) {
|
|
18
|
+
return e;
|
|
19
|
+
}
|
|
20
|
+
function f(e, t) {
|
|
21
|
+
return l(e.attrs?.[t]);
|
|
22
|
+
}
|
|
23
|
+
function p(e) {
|
|
24
|
+
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase().toLowerCase();
|
|
25
|
+
}
|
|
26
|
+
function m(e) {
|
|
27
|
+
let t = d(e), n = l(e.value);
|
|
28
|
+
return l(t.identifier) ?? l(t.label) ?? f(e, "identifier") ?? f(e, "label") ?? (n ? u(n) : "");
|
|
29
|
+
}
|
|
30
|
+
function h(e) {
|
|
31
|
+
return p(m(e));
|
|
32
|
+
}
|
|
33
|
+
function g(e) {
|
|
34
|
+
let t = d(e), n = l(e.value);
|
|
35
|
+
return (l(t.label) ?? l(t.identifier) ?? f(e, "label") ?? f(e, "identifier") ?? (n ? u(n) : "")).trim().replace(/\s+/g, " ");
|
|
36
|
+
}
|
|
37
|
+
function _(e, t) {
|
|
38
|
+
let n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Map(), a = [{
|
|
39
|
+
nodes: e.nodes,
|
|
40
|
+
index: 0
|
|
41
|
+
}];
|
|
42
|
+
for (; a.length;) {
|
|
43
|
+
let e = a[a.length - 1];
|
|
44
|
+
if (e.index === e.nodes.length) {
|
|
45
|
+
a.pop();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
let t = e.nodes[e.index++];
|
|
49
|
+
if (t.type === "footnoteDefinition") {
|
|
50
|
+
let e = h(t);
|
|
51
|
+
e && !n.has(e) && n.set(e, t), t.children && a.push({
|
|
52
|
+
nodes: t.children,
|
|
53
|
+
index: 0,
|
|
54
|
+
owner: t
|
|
55
|
+
});
|
|
56
|
+
} else if (t.type === "footnoteReference") {
|
|
57
|
+
let n = e.owner;
|
|
58
|
+
if (n) {
|
|
59
|
+
let e = i.get(n);
|
|
60
|
+
e ? e.push(t) : i.set(n, [t]);
|
|
61
|
+
} else r.push(t);
|
|
62
|
+
} else t.children && a.push({
|
|
63
|
+
nodes: t.children,
|
|
64
|
+
index: 0,
|
|
65
|
+
owner: e.owner
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
let o = [], s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), u = (e) => {
|
|
69
|
+
let r = n.get(e);
|
|
70
|
+
if (!r) return null;
|
|
71
|
+
let i = s.get(e);
|
|
72
|
+
if (i) return i;
|
|
73
|
+
let a = {
|
|
74
|
+
identifier: e,
|
|
75
|
+
number: o.length + 1,
|
|
76
|
+
definition: r,
|
|
77
|
+
id: `${t}-fn-${o.length + 1}`,
|
|
78
|
+
references: []
|
|
79
|
+
};
|
|
80
|
+
return o.push(a), s.set(e, a), a;
|
|
81
|
+
}, d = (e) => {
|
|
82
|
+
let n = h(e), r = n ? u(n) : null;
|
|
83
|
+
if (!r) {
|
|
84
|
+
c.set(e, {
|
|
85
|
+
id: "",
|
|
86
|
+
entry: null,
|
|
87
|
+
label: g(e)
|
|
88
|
+
});
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
let i = (l.get(n) ?? 0) + 1;
|
|
92
|
+
l.set(n, i);
|
|
93
|
+
let a = `${t}-fnref-${r.number}-${i}`;
|
|
94
|
+
r.references.push({
|
|
95
|
+
node: e,
|
|
96
|
+
id: a
|
|
97
|
+
}), c.set(e, {
|
|
98
|
+
id: a,
|
|
99
|
+
entry: r,
|
|
100
|
+
label: g(e)
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
for (let e of r) d(e);
|
|
104
|
+
for (let e = 0; e < o.length; e += 1) {
|
|
105
|
+
let t = o[e];
|
|
106
|
+
for (let e of i.get(t.definition) ?? []) d(e);
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
entries: o,
|
|
110
|
+
siteFor(e) {
|
|
111
|
+
return c.get(e);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
// src/local/html/html-details.ts
|
|
116
|
+
var v = /^\s*$/;
|
|
117
|
+
function ee(e) {
|
|
118
|
+
return e.type !== "text" || !v.test(e.value ?? "");
|
|
119
|
+
}
|
|
120
|
+
function te(e, t) {
|
|
121
|
+
let n = t[0]?.range, r = t[t.length - 1]?.range;
|
|
122
|
+
return n !== void 0 && r !== void 0 && Number.isInteger(n.start) && Number.isInteger(r.end) && n.start >= e.range.start && r.end <= e.range.end && n.start <= r.end ? {
|
|
123
|
+
...e,
|
|
124
|
+
children: t,
|
|
125
|
+
range: {
|
|
126
|
+
start: n.start,
|
|
127
|
+
end: r.end
|
|
128
|
+
}
|
|
129
|
+
} : {
|
|
130
|
+
...e,
|
|
131
|
+
children: t
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function y(e) {
|
|
135
|
+
let t = e.children;
|
|
136
|
+
if (!t || t.length === 0) return null;
|
|
137
|
+
let n = t.findIndex((e) => e.type === "summary");
|
|
138
|
+
if (n < 0) return null;
|
|
139
|
+
let r = t.filter((e, t) => t !== n);
|
|
140
|
+
return r.some(ee) ? {
|
|
141
|
+
summary: t[n],
|
|
142
|
+
body: te(e, r)
|
|
143
|
+
} : { summary: t[n] };
|
|
144
|
+
}
|
|
145
|
+
function b(e) {
|
|
146
|
+
let t = e.findIndex((e) => e.type === "summary");
|
|
147
|
+
if (t >= 0) return {
|
|
148
|
+
summary: e[t],
|
|
149
|
+
body: e.filter((e, n) => n !== t)
|
|
150
|
+
};
|
|
151
|
+
let n = [], r;
|
|
152
|
+
for (let t of e) {
|
|
153
|
+
if (r === void 0 && t.type === "paragraph") {
|
|
154
|
+
let e = y(t);
|
|
155
|
+
if (e) {
|
|
156
|
+
r = e.summary, e.body && n.push(e.body);
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
n.push(t);
|
|
161
|
+
}
|
|
162
|
+
return r === void 0 ? { body: n } : {
|
|
163
|
+
summary: r,
|
|
164
|
+
body: n
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function ne(e) {
|
|
168
|
+
let { summary: t, body: n } = b(e);
|
|
169
|
+
return t === void 0 ? n : [t, ...n];
|
|
170
|
+
}
|
|
171
|
+
// src/local/parsing/heading-anchors.ts
|
|
172
|
+
function x(e, t) {
|
|
173
|
+
return (e ?? []).map((e) => {
|
|
174
|
+
switch (e.type) {
|
|
175
|
+
case "text":
|
|
176
|
+
case "inlineCode":
|
|
177
|
+
case "inlineMath":
|
|
178
|
+
case "fallback": return e.value ?? "";
|
|
179
|
+
case "image": return e.alt ?? "";
|
|
180
|
+
case "break": return " ";
|
|
181
|
+
case "interpolation": try {
|
|
182
|
+
let n = r(e.value ?? "").evaluate(t);
|
|
183
|
+
return Array.isArray(n) ? "Cannot compute" : n === null ? "" : String(n);
|
|
184
|
+
} catch {
|
|
185
|
+
return "Cannot compute";
|
|
186
|
+
}
|
|
187
|
+
default: return x(e.children, t);
|
|
188
|
+
}
|
|
189
|
+
}).join("");
|
|
190
|
+
}
|
|
191
|
+
function re(e) {
|
|
192
|
+
return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\p{M}\s_-]/gu, "").replace(/\s+/g, "-") || "section";
|
|
193
|
+
}
|
|
194
|
+
function S(e, t) {
|
|
195
|
+
let n = /* @__PURE__ */ new Map(), r = t ?? (Array.isArray(e.componentDefinitions) ? e.componentDefinitions : []);
|
|
196
|
+
for (let e of r.slice(0, 192)) {
|
|
197
|
+
if (!e || typeof e.name != "string" || !Array.isArray(e.rules)) continue;
|
|
198
|
+
let t = e.rules.find((e) => e?.kind === "anchor");
|
|
199
|
+
t?.kind === "anchor" && n.set(e.name, t.id);
|
|
200
|
+
}
|
|
201
|
+
return n;
|
|
202
|
+
}
|
|
203
|
+
function C(e, t) {
|
|
204
|
+
if (e.type !== "component" && e.type !== "hostComponent") return;
|
|
205
|
+
let n = t.get(e.name ?? "");
|
|
206
|
+
if (n === void 0) return;
|
|
207
|
+
let r = e.attrs?.[n];
|
|
208
|
+
if (typeof r == "string" && r.length !== 0) return /^[A-Za-z_][A-Za-z0-9_-]*$/.test(r) ? r : void 0;
|
|
209
|
+
}
|
|
210
|
+
function w(e) {
|
|
211
|
+
if (e.type === "component" || e.type === "hostComponent") return;
|
|
212
|
+
let t = e.attrs?.id;
|
|
213
|
+
if (typeof t != "string") return;
|
|
214
|
+
let n = t.trim().replace(/[\u0000- \u007f-\u009f]+/g, "-").replace(/^-+|-+$/g, "");
|
|
215
|
+
return n === "" ? void 0 : n;
|
|
216
|
+
}
|
|
217
|
+
function ie(e, n, i = !0, s) {
|
|
218
|
+
let c = S(e, s), l = e.initialState;
|
|
219
|
+
if (e.computations) {
|
|
220
|
+
let t = {}, n = /* @__PURE__ */ new Map();
|
|
221
|
+
for (let [i, a] of Object.entries(e.computations)) {
|
|
222
|
+
a.kind === "const" && Object.hasOwn(a, "value") && (t[i] = a.value);
|
|
223
|
+
try {
|
|
224
|
+
n.set(i, r(a.source));
|
|
225
|
+
} catch {}
|
|
226
|
+
}
|
|
227
|
+
let { order: i } = a(e.computations), s = o(e.computations, i, n, l, t);
|
|
228
|
+
l = {
|
|
229
|
+
...l,
|
|
230
|
+
...s.values
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
let u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
|
|
234
|
+
function h(e) {
|
|
235
|
+
let t = e, r = m.get(e) ?? 0;
|
|
236
|
+
for (; p.has(t);) r += 1, t = `${e}-${r}`;
|
|
237
|
+
m.set(e, r);
|
|
238
|
+
let i = `${n}-${t}`;
|
|
239
|
+
return p.set(t, i), {
|
|
240
|
+
slug: t,
|
|
241
|
+
id: i
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
for (let n of t(e.nodes)) if (n.type === "heading") {
|
|
245
|
+
let e = w(n) ?? re(x(n.children, l));
|
|
246
|
+
u.set(n, h(e).id);
|
|
247
|
+
} else {
|
|
248
|
+
if (i) {
|
|
249
|
+
let e = C(n, c);
|
|
250
|
+
e && d.set(n, h(e).id);
|
|
251
|
+
}
|
|
252
|
+
let e = w(n);
|
|
253
|
+
e && f.set(n, h(e).id);
|
|
254
|
+
}
|
|
255
|
+
function g(e) {
|
|
256
|
+
if (e.length === 0) return;
|
|
257
|
+
let t = p.get(e);
|
|
258
|
+
if (t) return t;
|
|
259
|
+
try {
|
|
260
|
+
return p.get(decodeURIComponent(e));
|
|
261
|
+
} catch {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return {
|
|
266
|
+
ids: u,
|
|
267
|
+
anchorIds: d,
|
|
268
|
+
htmlIds: f,
|
|
269
|
+
targetId(e) {
|
|
270
|
+
return g(e);
|
|
271
|
+
},
|
|
272
|
+
referenceId(e) {
|
|
273
|
+
return g(e) ?? `${n}-${e}`;
|
|
274
|
+
},
|
|
275
|
+
resolve(e) {
|
|
276
|
+
if (!e.startsWith("#")) return e;
|
|
277
|
+
let t = g(e.slice(1));
|
|
278
|
+
return t ? `#${t}` : e;
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
// src/local/compilation/dependencies.ts
|
|
283
|
+
var ae = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
|
|
284
|
+
function oe(e) {
|
|
285
|
+
let n = e.snapshot().revision, r = E.get(e);
|
|
286
|
+
if (r?.revision === n) return r.tokens;
|
|
287
|
+
let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new WeakMap();
|
|
288
|
+
for (let n of t(e.document.nodes, !0)) {
|
|
289
|
+
let t = e.resetToken(n);
|
|
290
|
+
for (let e of n.children ?? []) t += a.get(e);
|
|
291
|
+
i.set(n.id, t), a.set(n, t);
|
|
292
|
+
}
|
|
293
|
+
return E.set(e, {
|
|
294
|
+
revision: n,
|
|
295
|
+
tokens: i
|
|
296
|
+
}), i;
|
|
297
|
+
}
|
|
298
|
+
function D(e, t) {
|
|
299
|
+
for (let n of t) e.add(n);
|
|
300
|
+
}
|
|
301
|
+
function O(a, o) {
|
|
302
|
+
let l = T.get(a);
|
|
303
|
+
if (l !== void 0 && l.definitions === o) return l.index;
|
|
304
|
+
let u = a.dependencies;
|
|
305
|
+
if (u !== void 0) {
|
|
306
|
+
let e = new Map(Object.entries(u));
|
|
307
|
+
return T.set(a, {
|
|
308
|
+
definitions: o,
|
|
309
|
+
index: e
|
|
310
|
+
}), e;
|
|
311
|
+
}
|
|
312
|
+
let d = o ?? (Array.isArray(a.componentDefinitions) ? a.componentDefinitions : []), f = /* @__PURE__ */ new Map(), p = i(a), m = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Set();
|
|
313
|
+
for (let [e, t] of Object.entries(a.bindings)) {
|
|
314
|
+
for (let e of t.nodeIds) h.add(e);
|
|
315
|
+
if (!e.startsWith("@")) for (let n of t.nodeIds) {
|
|
316
|
+
let t = m.get(n) ?? [];
|
|
317
|
+
t.push(e), m.set(n, t);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
let g = (e) => m.get(e.id) ?? [s(e)], _ = (e, t) => {
|
|
321
|
+
let n = a.bindingSlots?.[t.id];
|
|
322
|
+
if (n !== void 0) {
|
|
323
|
+
e.add(s(t));
|
|
324
|
+
for (let t of Object.values(n)) e.add(t);
|
|
325
|
+
}
|
|
326
|
+
}, v = /* @__PURE__ */ new WeakMap();
|
|
327
|
+
for (let i of t(a.nodes, !0)) {
|
|
328
|
+
let t = /* @__PURE__ */ new Set(), o = !1;
|
|
329
|
+
if (i.attrs !== void 0 && !i.literalAttributes) for (let e of Object.values(i.attrs)) try {
|
|
330
|
+
D(t, n(e));
|
|
331
|
+
} catch {
|
|
332
|
+
o = !0;
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
if (!o) {
|
|
336
|
+
if (i.type === "interpolation") try {
|
|
337
|
+
D(t, r(i.value ?? "").dependencies);
|
|
338
|
+
} catch {
|
|
339
|
+
o = !0;
|
|
340
|
+
}
|
|
341
|
+
else if (i.type === "math") try {
|
|
342
|
+
D(t, e(i.value ?? "").dependencies);
|
|
343
|
+
} catch {
|
|
344
|
+
o = !0;
|
|
345
|
+
}
|
|
346
|
+
else if (i.name !== void 0) {
|
|
347
|
+
if (p) {
|
|
348
|
+
let n = p.dependencyRules?.[i.id];
|
|
349
|
+
if (n?.selfBinding) {
|
|
350
|
+
let e = n.selfBinding.attribute;
|
|
351
|
+
(n.selfBinding.mode === "always" || e !== void 0 && (i.attrs?.[e] ?? "").trim() !== "") && D(t, g(i));
|
|
352
|
+
}
|
|
353
|
+
if (n?.inlineMathReads) for (let n of i.children ?? []) {
|
|
354
|
+
if (n.type !== "inlineMath") continue;
|
|
355
|
+
let r = (n.value ?? "").trim();
|
|
356
|
+
if (/^y\s*=/u.test(r)) try {
|
|
357
|
+
D(t, e(r).dependencies);
|
|
358
|
+
} catch {}
|
|
359
|
+
}
|
|
360
|
+
n || (a.bindingSlots?.[i.id] !== void 0 && t.add(s(i)), h.has(i.id) && D(t, g(i)), _(t, i));
|
|
361
|
+
} else {
|
|
362
|
+
let n = i.name ? d.find((e) => e.name === i.name) : void 0, r = n ? c(n) : [], a = r.find((e) => e.kind === "self-binding-read"), o = r.some((e) => e.kind === "inline-math-reads");
|
|
363
|
+
if (a ? (a.mode === "always" || a.attribute !== void 0 && (i.attrs?.[a.attribute] ?? "").trim() !== "") && D(t, g(i)) : !o && h.has(i.id) && D(t, g(i)), o) for (let n of i.children ?? []) {
|
|
364
|
+
if (n.type !== "inlineMath") continue;
|
|
365
|
+
let r = (n.value ?? "").trim();
|
|
366
|
+
if (/^y\s*=/u.test(r)) try {
|
|
367
|
+
D(t, e(r).dependencies);
|
|
368
|
+
} catch {}
|
|
369
|
+
}
|
|
370
|
+
_(t, i);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
let l = !1;
|
|
375
|
+
for (let e of i.children ?? []) {
|
|
376
|
+
let n = v.get(e);
|
|
377
|
+
n === null ? l = !0 : D(t, n);
|
|
378
|
+
}
|
|
379
|
+
let u = o || l ? null : [...t];
|
|
380
|
+
f.set(i.id, u), v.set(i, u);
|
|
381
|
+
}
|
|
382
|
+
return T.set(a, {
|
|
383
|
+
definitions: o,
|
|
384
|
+
index: f
|
|
385
|
+
}), f;
|
|
386
|
+
}
|
|
387
|
+
function se(e, t) {
|
|
388
|
+
if (e.dependencies !== void 0) return;
|
|
389
|
+
let n = O(e, t), r = Object.create(null);
|
|
390
|
+
for (let [e, t] of n) r[e] = t === null ? null : Object.freeze([...t]);
|
|
391
|
+
e.dependencies = Object.freeze(r);
|
|
392
|
+
}
|
|
393
|
+
// src/local/css/author-css.ts
|
|
394
|
+
var k = /^data:image\/(?:png|jpeg|gif|webp);base64,[A-Za-z0-9+/]+={0,2}$/i, ce = "[data-rmd-document]", A = [
|
|
395
|
+
"@import",
|
|
396
|
+
"expression(",
|
|
397
|
+
"javascript:",
|
|
398
|
+
"vbscript:",
|
|
399
|
+
"-moz-binding",
|
|
400
|
+
"behavior:",
|
|
401
|
+
"image-set(",
|
|
402
|
+
"-webkit-image-set("
|
|
403
|
+
], j = /* @__PURE__ */ new Set([
|
|
404
|
+
"media",
|
|
405
|
+
"supports",
|
|
406
|
+
"container",
|
|
407
|
+
"starting-style"
|
|
408
|
+
]), M = /* @__PURE__ */ new Set([
|
|
409
|
+
"import",
|
|
410
|
+
"charset",
|
|
411
|
+
"namespace",
|
|
412
|
+
"font-face",
|
|
413
|
+
"font-feature-values",
|
|
414
|
+
"font-palette-values",
|
|
415
|
+
"keyframes",
|
|
416
|
+
"-webkit-keyframes",
|
|
417
|
+
"page",
|
|
418
|
+
"property",
|
|
419
|
+
"counter-style",
|
|
420
|
+
"viewport",
|
|
421
|
+
"custom-media",
|
|
422
|
+
"custom-selector",
|
|
423
|
+
"position-try",
|
|
424
|
+
"layer",
|
|
425
|
+
"scope"
|
|
426
|
+
]), N = 4, P = /[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/;
|
|
427
|
+
function F(e) {
|
|
428
|
+
let t = {}, n = {};
|
|
429
|
+
for (let r of X(Y(e), ";")) {
|
|
430
|
+
let e = H(r);
|
|
431
|
+
if (!e) continue;
|
|
432
|
+
let i = U(e.property);
|
|
433
|
+
i && B.test(i) && (!n[i] || e.important) && (n[i] = e.important, delete t[i], t[i] = e.important ? `${e.value} !important` : e.value);
|
|
434
|
+
}
|
|
435
|
+
return Object.freeze(t);
|
|
436
|
+
}
|
|
437
|
+
function I(e) {
|
|
438
|
+
let t = [], n = /* @__PURE__ */ new Set(), r = !1;
|
|
439
|
+
for (let i of X(Y(e), ";")) {
|
|
440
|
+
let e = H(i);
|
|
441
|
+
e && (n.has(e.property) && (r = !0), n.add(e.property), t.push(`${e.property}:${e.value}${e.important ? " !important" : ""};`));
|
|
442
|
+
}
|
|
443
|
+
return r ? t.join("") : void 0;
|
|
444
|
+
}
|
|
445
|
+
function L(e) {
|
|
446
|
+
let t = /^([\s\S]*?)\s*!\s*important\s*$/i.exec(e.trim());
|
|
447
|
+
return t ? {
|
|
448
|
+
value: t[1].trimEnd(),
|
|
449
|
+
important: !0
|
|
450
|
+
} : {
|
|
451
|
+
value: e.trim(),
|
|
452
|
+
important: !1
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
function R(e, t) {
|
|
456
|
+
let n = t === void 0 ? ":scope" : pe(t);
|
|
457
|
+
if (!n) return "";
|
|
458
|
+
let r = q(e, 0);
|
|
459
|
+
if (r.length === 0) return "";
|
|
460
|
+
let i = `${n} ${ce}`;
|
|
461
|
+
return me(`@scope${t === void 0 ? "" : ` (${n})`} to (${i}) {\n${J(r.join("\n"))}\n}`);
|
|
462
|
+
}
|
|
463
|
+
function z(e, t) {
|
|
464
|
+
let n = [];
|
|
465
|
+
function r(e, i, a) {
|
|
466
|
+
if (!(a > N)) for (let o of Z(e)) {
|
|
467
|
+
if (n.length >= t) return;
|
|
468
|
+
let e = /^@([A-Za-z-]+)/.exec(o.prelude)?.[1];
|
|
469
|
+
if (!e) continue;
|
|
470
|
+
let s = e.toLowerCase();
|
|
471
|
+
if (M.has(s)) {
|
|
472
|
+
let t = i + o.start;
|
|
473
|
+
n.push({
|
|
474
|
+
name: e,
|
|
475
|
+
start: t,
|
|
476
|
+
end: t + e.length + 1
|
|
477
|
+
});
|
|
478
|
+
} else j.has(s) && o.block !== null && r(o.block, i + o.blockStart, a + 1);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
return r(e, 0, 0), n;
|
|
482
|
+
}
|
|
483
|
+
var B = /^(?:--[\w-]+|[A-Za-z][\w$]*)$/, V = /^(?:--[A-Za-z0-9_-]+|-{0,2}[A-Za-z][A-Za-z0-9-]*)$/;
|
|
484
|
+
function H(e) {
|
|
485
|
+
let t = he(e);
|
|
486
|
+
if (t < 1) return null;
|
|
487
|
+
let n = e.slice(0, t).trim(), r = e.slice(t + 1).trim();
|
|
488
|
+
if (!V.test(n) || r === "") return null;
|
|
489
|
+
n.startsWith("--") || (n = n.toLowerCase());
|
|
490
|
+
let i = L(r);
|
|
491
|
+
return !W(i.value) || !i.important && /!\s*important\b/i.test(i.value) ? null : {
|
|
492
|
+
property: n,
|
|
493
|
+
value: i.value,
|
|
494
|
+
important: i.important
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
function U(e) {
|
|
498
|
+
if (e.startsWith("--")) return e;
|
|
499
|
+
let t = e.startsWith("-"), n = e.replace(/^-+/, "");
|
|
500
|
+
if (!n) return null;
|
|
501
|
+
let r = n.replace(/-+([a-z0-9])/g, (e, t) => t.toUpperCase());
|
|
502
|
+
return t ? r.charAt(0).toUpperCase() + r.slice(1) : r;
|
|
503
|
+
}
|
|
504
|
+
function W(e) {
|
|
505
|
+
if (e === "" || P.test(e)) return !1;
|
|
506
|
+
let t = le(e);
|
|
507
|
+
if (t.separator || t.unbalanced) return !1;
|
|
508
|
+
let n = K(e), r = n.toLowerCase();
|
|
509
|
+
if (A.some((e) => r.includes(e))) return !1;
|
|
510
|
+
for (let e of G(n)) if (!k.test(e.replace(/\s+/g, ""))) return !1;
|
|
511
|
+
return !0;
|
|
512
|
+
}
|
|
513
|
+
function le(e) {
|
|
514
|
+
let t = "", n = 0;
|
|
515
|
+
for (let r = 0; r < e.length; r += 1) {
|
|
516
|
+
let i = e[r];
|
|
517
|
+
if (t) i === "\\" ? r += 1 : i === t && (t = "");
|
|
518
|
+
else if (i === "\"" || i === "'") t = i;
|
|
519
|
+
else if (i === "(" || i === "[") n += 1;
|
|
520
|
+
else if (i === ")" || i === "]") {
|
|
521
|
+
if (--n, n < 0) return {
|
|
522
|
+
separator: !0,
|
|
523
|
+
unbalanced: !0
|
|
524
|
+
};
|
|
525
|
+
} else if (n === 0 && (i === ";" || i === "{" || i === "}")) return {
|
|
526
|
+
separator: !0,
|
|
527
|
+
unbalanced: !1
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
return {
|
|
531
|
+
separator: !1,
|
|
532
|
+
unbalanced: t !== "" || n !== 0
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function G(e) {
|
|
536
|
+
let t = [], n = /url\s*\(/gi, r;
|
|
537
|
+
for (; (r = n.exec(e)) !== null;) {
|
|
538
|
+
let n = r.index + r[0].length, i = "", a = "";
|
|
539
|
+
for (; n < e.length;) {
|
|
540
|
+
let t = e[n];
|
|
541
|
+
if (i) {
|
|
542
|
+
if (t === "\\" && n + 1 < e.length) {
|
|
543
|
+
a += e[n + 1], n += 2;
|
|
544
|
+
continue;
|
|
545
|
+
}
|
|
546
|
+
if (t === i) {
|
|
547
|
+
i = "", n += 1;
|
|
548
|
+
continue;
|
|
549
|
+
}
|
|
550
|
+
a += t;
|
|
551
|
+
} else if (t === "\"" || t === "'") i = t;
|
|
552
|
+
else if (t === ")") break;
|
|
553
|
+
else a += t;
|
|
554
|
+
n += 1;
|
|
555
|
+
}
|
|
556
|
+
t.push(a.trim());
|
|
557
|
+
}
|
|
558
|
+
return t;
|
|
559
|
+
}
|
|
560
|
+
function K(e) {
|
|
561
|
+
return e.replace(/\\(?:([0-9a-fA-F]{1,6})[ \t\n\r\f]?|([\s\S]))/g, (e, t, n) => {
|
|
562
|
+
if (t) {
|
|
563
|
+
let e = Number.parseInt(t, 16);
|
|
564
|
+
return e === 0 || e > 1114111 ? "�" : String.fromCodePoint(e);
|
|
565
|
+
}
|
|
566
|
+
return n ?? "";
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
function q(e, t) {
|
|
570
|
+
if (t > N) return [];
|
|
571
|
+
let n = [];
|
|
572
|
+
for (let r of Z(Y(e))) {
|
|
573
|
+
if (r.prelude.startsWith("@")) {
|
|
574
|
+
let e = /^@([A-Za-z-]+)/.exec(r.prelude)?.[1]?.toLowerCase();
|
|
575
|
+
if (!e || M.has(e) || !j.has(e) || r.block === null) continue;
|
|
576
|
+
let i = fe(r.prelude.slice(e.length + 1));
|
|
577
|
+
if (i === null) continue;
|
|
578
|
+
let a = q(r.block, t + 1);
|
|
579
|
+
if (a.length === 0) continue;
|
|
580
|
+
let o = i ? `@${e} ${i}` : `@${e}`;
|
|
581
|
+
n.push(`${o} {\n${J(a.join("\n"))}\n}`);
|
|
582
|
+
continue;
|
|
583
|
+
}
|
|
584
|
+
if (r.block === null) continue;
|
|
585
|
+
let e = X(r.prelude, ",").map((e) => e.trim()).filter(de);
|
|
586
|
+
if (e.length === 0) continue;
|
|
587
|
+
let i = ue(r.block);
|
|
588
|
+
i.length !== 0 && n.push(`${e.join(", ")} {\n${J(i.join("\n"))}\n}`);
|
|
589
|
+
}
|
|
590
|
+
return n;
|
|
591
|
+
}
|
|
592
|
+
function ue(e) {
|
|
593
|
+
let t = [];
|
|
594
|
+
for (let n of X(e, ";")) {
|
|
595
|
+
let e = H(n);
|
|
596
|
+
e && t.push(`${e.property}: ${e.value}${e.important ? " !important" : ""};`);
|
|
597
|
+
}
|
|
598
|
+
return t;
|
|
599
|
+
}
|
|
600
|
+
function de(e) {
|
|
601
|
+
return !(e === "" || e.length > 512 || /[{}@;]/.test(e) || /[\u0000-\u0008\u000b\u000e-\u001f\u007f]/.test(e) || /:root\b/i.test(e) || /(^|[\s>+~,])(?:html|body)(?:$|[\s.#:[>+~,])/i.test(e));
|
|
602
|
+
}
|
|
603
|
+
function fe(e) {
|
|
604
|
+
let t = e.trim();
|
|
605
|
+
if (!t) return "";
|
|
606
|
+
if (/[{}]/.test(t) || P.test(t)) return null;
|
|
607
|
+
let n = K(t).toLowerCase();
|
|
608
|
+
if (A.some((e) => n.includes(e))) return null;
|
|
609
|
+
for (let e of G(n)) if (!k.test(e.replace(/\s+/g, ""))) return null;
|
|
610
|
+
return t;
|
|
611
|
+
}
|
|
612
|
+
function pe(e) {
|
|
613
|
+
let t = e.trim();
|
|
614
|
+
if (t === "" || t.length > 512 || /[{}<>@;]|\/\*|[\u0000-\u001f\u007f]/.test(t)) return "";
|
|
615
|
+
let n = {
|
|
616
|
+
"]": "[",
|
|
617
|
+
")": "("
|
|
618
|
+
}, r = [];
|
|
619
|
+
for (let e of t) if (e === "[" || e === "(") r.push(e);
|
|
620
|
+
else if (n[e] && r.pop() !== n[e]) return "";
|
|
621
|
+
return r.length > 0 || /[\s>+~,]$/.test(t) ? "" : t;
|
|
622
|
+
}
|
|
623
|
+
function me(e) {
|
|
624
|
+
return e.replace(/\u0000/g, "�").replace(/<(?=\/style[\t\n\f\r />])/gi, "\\3c ");
|
|
625
|
+
}
|
|
626
|
+
function J(e) {
|
|
627
|
+
return e.split("\n").map((e) => e && ` ${e}`).join("\n");
|
|
628
|
+
}
|
|
629
|
+
function Y(e) {
|
|
630
|
+
let t = "", n = "", r = 0;
|
|
631
|
+
for (; r < e.length;) {
|
|
632
|
+
let i = e[r];
|
|
633
|
+
if (n) {
|
|
634
|
+
if (t += i, i === "\\" && r + 1 < e.length) {
|
|
635
|
+
t += e[r + 1], r += 2;
|
|
636
|
+
continue;
|
|
637
|
+
}
|
|
638
|
+
i === n && (n = ""), r += 1;
|
|
639
|
+
} else if (i === "\"" || i === "'") n = i, t += i, r += 1;
|
|
640
|
+
else if (i === "/" && e[r + 1] === "*") {
|
|
641
|
+
let t = e.indexOf("*/", r + 2);
|
|
642
|
+
r = t < 0 ? e.length : t + 2;
|
|
643
|
+
} else t += i, r += 1;
|
|
644
|
+
}
|
|
645
|
+
return t;
|
|
646
|
+
}
|
|
647
|
+
function X(e, t) {
|
|
648
|
+
let n = [], r = "", i = "", a = 0;
|
|
649
|
+
for (let o = 0; o < e.length; o += 1) {
|
|
650
|
+
let s = e[o];
|
|
651
|
+
i ? (r += s, s === "\\" && o + 1 < e.length ? (r += e[o + 1], o += 1) : s === i && (i = "")) : s === "\"" || s === "'" ? (i = s, r += s) : (s === "(" || s === "[" ? a += 1 : (s === ")" || s === "]") && (a = Math.max(0, a - 1)), a === 0 && s === t ? (n.push(r), r = "") : r += s);
|
|
652
|
+
}
|
|
653
|
+
return n.push(r), n;
|
|
654
|
+
}
|
|
655
|
+
function he(e) {
|
|
656
|
+
let t = "", n = 0;
|
|
657
|
+
for (let r = 0; r < e.length; r += 1) {
|
|
658
|
+
let i = e[r];
|
|
659
|
+
if (t) i === "\\" ? r += 1 : i === t && (t = "");
|
|
660
|
+
else if (i === "\"" || i === "'") t = i;
|
|
661
|
+
else if (i === "(" || i === "[") n += 1;
|
|
662
|
+
else if (i === ")" || i === "]") n = Math.max(0, n - 1);
|
|
663
|
+
else if (i === ":" && n === 0) return r;
|
|
664
|
+
}
|
|
665
|
+
return -1;
|
|
666
|
+
}
|
|
667
|
+
function ge(e, t) {
|
|
668
|
+
let n = 0, r = "";
|
|
669
|
+
for (let i = t; i < e.length; i += 1) {
|
|
670
|
+
let t = e[i];
|
|
671
|
+
if (r) t === "\\" ? i += 1 : t === r && (r = "");
|
|
672
|
+
else if (t === "\"" || t === "'") r = t;
|
|
673
|
+
else if (t === "/" && e[i + 1] === "*") {
|
|
674
|
+
let t = e.indexOf("*/", i + 2);
|
|
675
|
+
if (t < 0) return -1;
|
|
676
|
+
i = t + 1;
|
|
677
|
+
} else if (t === "{") n += 1;
|
|
678
|
+
else if (t === "}" && (--n, n === 0)) return i;
|
|
679
|
+
}
|
|
680
|
+
return -1;
|
|
681
|
+
}
|
|
682
|
+
function Z(e) {
|
|
683
|
+
let t = [], n = 0;
|
|
684
|
+
for (; n < e.length;) {
|
|
685
|
+
for (; n < e.length;) if (/\s/.test(e[n])) n += 1;
|
|
686
|
+
else if (e.startsWith("/*", n)) {
|
|
687
|
+
let t = e.indexOf("*/", n + 2);
|
|
688
|
+
n = t < 0 ? e.length : t + 2;
|
|
689
|
+
} else break;
|
|
690
|
+
if (n >= e.length) break;
|
|
691
|
+
let r = n, i = "", a = "";
|
|
692
|
+
for (; n < e.length;) {
|
|
693
|
+
let t = e[n];
|
|
694
|
+
if (i) t === "\\" ? n += 2 : (t === i && (i = ""), n += 1);
|
|
695
|
+
else if (t === "\"" || t === "'") i = t, n += 1;
|
|
696
|
+
else if (t === "/" && e[n + 1] === "*") {
|
|
697
|
+
let t = e.indexOf("*/", n + 2);
|
|
698
|
+
n = t < 0 ? e.length : t + 2;
|
|
699
|
+
} else {
|
|
700
|
+
if (t === "{" || t === ";" || t === "}") {
|
|
701
|
+
a = t;
|
|
702
|
+
break;
|
|
703
|
+
}
|
|
704
|
+
n += 1;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
let o = e.slice(r, n).trim();
|
|
708
|
+
if (a === "{") {
|
|
709
|
+
let i = ge(e, n);
|
|
710
|
+
if (i < 0) {
|
|
711
|
+
o && t.push({
|
|
712
|
+
prelude: o,
|
|
713
|
+
block: null,
|
|
714
|
+
start: r,
|
|
715
|
+
blockStart: n + 1
|
|
716
|
+
});
|
|
717
|
+
break;
|
|
718
|
+
}
|
|
719
|
+
o && t.push({
|
|
720
|
+
prelude: o,
|
|
721
|
+
block: e.slice(n + 1, i),
|
|
722
|
+
start: r,
|
|
723
|
+
blockStart: n + 1
|
|
724
|
+
}), n = i + 1;
|
|
725
|
+
} else {
|
|
726
|
+
if (o && t.push({
|
|
727
|
+
prelude: o,
|
|
728
|
+
block: null,
|
|
729
|
+
start: r,
|
|
730
|
+
blockStart: n
|
|
731
|
+
}), a === "") break;
|
|
732
|
+
n += 1;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
return t;
|
|
736
|
+
}
|
|
737
|
+
// src/local/compilation/runtime-requirement.ts
|
|
738
|
+
var _e = /* @__PURE__ */ new Set(/* @__PURE__ */ "root.heading.paragraph.text.rawBody.emphasis.strong.delete.underline.mark.sup.sub.span.div.summary.details.inlineCode.code.blockquote.break.thematicBreak.list.listItem.link.image.htmlTable.htmlTableElement.table.tableRow.tableCell.math.inlineMath.html.extendedHtml.fallback.footnoteReference.footnoteDefinition.comment.definition.externalSlot".split("."));
|
|
739
|
+
function Q(e, t) {
|
|
740
|
+
return t?.capabilities.static === !0 && $(e);
|
|
741
|
+
}
|
|
742
|
+
function $(e) {
|
|
743
|
+
return e.literalAttributes === !0 || !Object.values(e.attrs ?? {}).some((e) => e.includes("{{"));
|
|
744
|
+
}
|
|
745
|
+
function ve(e) {
|
|
746
|
+
if (e.html || e.capabilities?.scripts.length || [
|
|
747
|
+
e.bindings,
|
|
748
|
+
e.computations,
|
|
749
|
+
e.validations,
|
|
750
|
+
e.externals,
|
|
751
|
+
e.dynamicConstraints
|
|
752
|
+
].some((e) => e && Object.keys(e).length)) return !0;
|
|
753
|
+
let n = new Map((e.componentDefinitions ?? []).map((e) => [e.name, e])), r = e.extensions;
|
|
754
|
+
if (r && (r.protocol !== "reactive-md-extensions/v1" || !Array.isArray(r.components) || r.components.length > 64)) return !0;
|
|
755
|
+
let i = r && new Map(r.components.flatMap((e) => e && typeof e.name == "string" ? [[e.name, e]] : [])), a = n.get("if")?.id === "reactive-md/if";
|
|
756
|
+
for (let r of t(e.nodes)) {
|
|
757
|
+
if (_e.has(r.type) || a && r.type === "component" && r.name === "if" && (r.attrs?.when === "true" || r.attrs?.when === "false")) continue;
|
|
758
|
+
let e = n.get(r.name ?? "");
|
|
759
|
+
if (!(r.type === "component" && r.name !== "if" && Q(r, e))) {
|
|
760
|
+
if (r.type === "hostComponent" && r.name) {
|
|
761
|
+
let t = i?.get(r.name);
|
|
762
|
+
if (!e && !t && r.hostForm !== void 0 && $(r) || e?.capabilities.interactive === !1 && t?.id === e.id && t.version === e.version && Q(r, e)) continue;
|
|
763
|
+
}
|
|
764
|
+
return !0;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
return !1;
|
|
768
|
+
}
|
|
769
|
+
export { p as _, I as a, se as c, S as d, ie as f, g, _ as h, R as i, O as l, b as m, ve as n, z as o, ne as p, F as r, ae as s, $ as t, oe as u };
|