@loopstack/loopstack-studio 0.20.3 → 0.21.0-rc.0
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/rolldown_runtime.js +20 -0
- package/dist/components/data-table/ConfirmDialog.js +30 -0
- package/dist/components/data-table/DataList.js +216 -0
- package/dist/components/data-table/DataTable.js +264 -0
- package/dist/components/data-table/DataTableBatchAction.js +32 -0
- package/dist/components/data-table/DataTableFilters.js +83 -0
- package/dist/components/data-table/DataTablePagination.js +108 -0
- package/dist/components/data-table/DataTableToolbar.js +70 -0
- package/dist/components/dynamic-form/ArrayController.js +100 -0
- package/dist/components/dynamic-form/CodeContent.js +174 -0
- package/dist/components/dynamic-form/Form.js +35 -0
- package/dist/components/dynamic-form/FormBody.js +26 -0
- package/dist/components/dynamic-form/FormElement.js +42 -0
- package/dist/components/dynamic-form/FormElementHeader.js +20 -0
- package/dist/components/dynamic-form/InputController.js +38 -0
- package/dist/components/dynamic-form/MarkdownContent.js +76 -0
- package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
- package/dist/components/dynamic-form/ObjectController.js +32 -0
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
- package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
- package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
- package/dist/components/dynamic-form/fields/InputField.js +105 -0
- package/dist/components/dynamic-form/fields/RadioField.js +67 -0
- package/dist/components/dynamic-form/fields/SelectField.js +60 -0
- package/dist/components/dynamic-form/fields/SliderField.js +112 -0
- package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
- package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
- package/dist/components/layout/MainLayout.js +24 -0
- package/dist/components/lists/CustomListView.js +87 -0
- package/dist/components/lists/ListView.js +118 -0
- package/dist/components/page/PageBreadcrumbs.js +41 -0
- package/dist/components/snackbars/ErrorSnackbar.js +30 -0
- package/dist/components/snackbars/Snackbar.js +44 -0
- package/dist/components/ui/alert-dialog.js +121 -0
- package/dist/components/ui/badge.js +28 -0
- package/dist/components/ui/breadcrumb.js +85 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/card.js +29 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/collapsible.js +32 -0
- package/dist/components/ui/dialog.js +88 -0
- package/dist/components/ui/input.js +18 -0
- package/dist/components/ui/label.js +19 -0
- package/dist/components/ui/radio-group.js +38 -0
- package/dist/components/ui/select.js +125 -0
- package/dist/components/ui/sheet.js +97 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/table.js +81 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/tooltip.js +50 -0
- package/dist/features/health/LocalHealthCheck.js +95 -0
- package/dist/features/workspaces/Workspaces.js +162 -0
- package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
- package/dist/features/workspaces/components/PipelineForm.js +152 -0
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/useAuth.js +56 -0
- package/dist/hooks/useConfig.js +46 -0
- package/dist/hooks/useDebounce.js +27 -0
- package/dist/hooks/usePipelines.js +117 -0
- package/dist/hooks/useProcessor.js +24 -0
- package/dist/hooks/useWorkspaces.js +142 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -1
- package/dist/lib/utils.js +6 -0
- package/dist/loopstack-studio.css +2 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
- package/dist/node_modules/ccount/index.js +8 -0
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/cose-base/cose-base.js +469 -0
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
- package/dist/node_modules/d3/src/index.js +93 -0
- package/dist/node_modules/d3-array/src/ascending.js +4 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +39 -0
- package/dist/node_modules/d3-array/src/descending.js +4 -0
- package/dist/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-array/src/number.js +4 -0
- package/dist/node_modules/d3-array/src/range.js +6 -0
- package/dist/node_modules/d3-array/src/ticks.js +30 -0
- package/dist/node_modules/d3-axis/src/axis.js +61 -0
- package/dist/node_modules/d3-axis/src/identity.js +4 -0
- package/dist/node_modules/d3-brush/src/brush.js +15 -0
- package/dist/node_modules/d3-brush/src/index.js +1 -0
- package/dist/node_modules/d3-color/src/color.js +287 -0
- package/dist/node_modules/d3-color/src/define.js +9 -0
- package/dist/node_modules/d3-color/src/lab.js +70 -0
- package/dist/node_modules/d3-color/src/math.js +2 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
- package/dist/node_modules/d3-format/src/exponent.js +5 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
- package/dist/node_modules/d3-format/src/identity.js +4 -0
- package/dist/node_modules/d3-format/src/locale.js +82 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
- package/dist/node_modules/d3-interpolate/src/array.js +11 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
- package/dist/node_modules/d3-interpolate/src/date.js +7 -0
- package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
- package/dist/node_modules/d3-interpolate/src/number.js +6 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
- package/dist/node_modules/d3-interpolate/src/object.js +10 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +6 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
- package/dist/node_modules/d3-interpolate/src/value.js +14 -0
- package/dist/node_modules/d3-path/src/path.js +61 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-sankey/src/align.js +17 -0
- package/dist/node_modules/d3-sankey/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
- package/dist/node_modules/d3-scale/src/band.js +39 -0
- package/dist/node_modules/d3-scale/src/constant.js +6 -0
- package/dist/node_modules/d3-scale/src/continuous.js +69 -0
- package/dist/node_modules/d3-scale/src/init.js +13 -0
- package/dist/node_modules/d3-scale/src/linear.js +32 -0
- package/dist/node_modules/d3-scale/src/nice.js +6 -0
- package/dist/node_modules/d3-scale/src/number.js +4 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
- package/dist/node_modules/d3-scale/src/time.js +43 -0
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/dist/node_modules/d3-selection/src/array.js +4 -0
- package/dist/node_modules/d3-selection/src/constant.js +6 -0
- package/dist/node_modules/d3-selection/src/creator.js +18 -0
- package/dist/node_modules/d3-selection/src/matcher.js +11 -0
- package/dist/node_modules/d3-selection/src/namespace.js +9 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
- package/dist/node_modules/d3-selection/src/select.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
- package/dist/node_modules/d3-selection/src/selector.js +7 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/dist/node_modules/d3-selection/src/window.js +4 -0
- package/dist/node_modules/d3-shape/src/arc.js +79 -0
- package/dist/node_modules/d3-shape/src/array.js +5 -0
- package/dist/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
- package/dist/node_modules/d3-shape/src/descending.js +4 -0
- package/dist/node_modules/d3-shape/src/identity.js +4 -0
- package/dist/node_modules/d3-shape/src/line.js +26 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +2 -0
- package/dist/node_modules/d3-shape/src/path.js +15 -0
- package/dist/node_modules/d3-shape/src/pie.js +39 -0
- package/dist/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-time/src/day.js +17 -0
- package/dist/node_modules/d3-time/src/duration.js +2 -0
- package/dist/node_modules/d3-time/src/hour.js +15 -0
- package/dist/node_modules/d3-time/src/interval.js +24 -0
- package/dist/node_modules/d3-time/src/millisecond.js +10 -0
- package/dist/node_modules/d3-time/src/minute.js +15 -0
- package/dist/node_modules/d3-time/src/month.js +14 -0
- package/dist/node_modules/d3-time/src/second.js +9 -0
- package/dist/node_modules/d3-time/src/ticks.js +121 -0
- package/dist/node_modules/d3-time/src/week.js +21 -0
- package/dist/node_modules/d3-time/src/year.js +22 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
- package/dist/node_modules/d3-time-format/src/locale.js +486 -0
- package/dist/node_modules/d3-timer/src/timeout.js +8 -0
- package/dist/node_modules/d3-timer/src/timer.js +51 -0
- package/dist/node_modules/d3-transition/src/index.js +3 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
- package/dist/node_modules/d3-zoom/src/index.js +2 -0
- package/dist/node_modules/d3-zoom/src/transform.js +46 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
- package/dist/node_modules/dayjs/dayjs.min.js +298 -0
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
- package/dist/node_modules/dayjs/plugin/duration.js +164 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
- package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
- package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
- package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
- package/dist/node_modules/hastscript/lib/create-h.js +86 -0
- package/dist/node_modules/hastscript/lib/index.js +5 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
- package/dist/node_modules/internmap/src/index.js +36 -0
- package/dist/node_modules/katex/dist/katex.js +22103 -0
- package/dist/node_modules/khroma/dist/channels/index.js +68 -0
- package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
- package/dist/node_modules/khroma/dist/channels/type.js +20 -0
- package/dist/node_modules/khroma/dist/color/hex.js +22 -0
- package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
- package/dist/node_modules/khroma/dist/color/index.js +23 -0
- package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
- package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
- package/dist/node_modules/khroma/dist/constants.js +9 -0
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
- package/dist/node_modules/khroma/dist/methods/change.js +8 -0
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
- package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
- package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
- package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
- package/dist/node_modules/khroma/dist/utils/index.js +9 -0
- package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
- package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
- package/dist/node_modules/langium/lib/default-module.js +85 -0
- package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
- package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
- package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
- package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
- package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
- package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
- package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
- package/dist/node_modules/langium/lib/references/linker.js +190 -0
- package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
- package/dist/node_modules/langium/lib/references/references.js +76 -0
- package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
- package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
- package/dist/node_modules/langium/lib/references/scope.js +73 -0
- package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
- package/dist/node_modules/langium/lib/service-registry.js +37 -0
- package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
- package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
- package/dist/node_modules/langium/lib/utils/caching.js +91 -0
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
- package/dist/node_modules/langium/lib/utils/collections.js +85 -0
- package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
- package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
- package/dist/node_modules/langium/lib/utils/errors.js +12 -0
- package/dist/node_modules/langium/lib/utils/event.js +5 -0
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
- package/dist/node_modules/langium/lib/utils/stream.js +327 -0
- package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
- package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
- package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
- package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
- package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
- package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
- package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
- package/dist/node_modules/layout-base/layout-base.js +1407 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -0
- package/dist/node_modules/lodash-es/_Hash.js +15 -0
- package/dist/node_modules/lodash-es/_ListCache.js +15 -0
- package/dist/node_modules/lodash-es/_Map.js +4 -0
- package/dist/node_modules/lodash-es/_MapCache.js +15 -0
- package/dist/node_modules/lodash-es/_Promise.js +4 -0
- package/dist/node_modules/lodash-es/_Set.js +4 -0
- package/dist/node_modules/lodash-es/_SetCache.js +10 -0
- package/dist/node_modules/lodash-es/_Stack.js +12 -0
- package/dist/node_modules/lodash-es/_Symbol.js +3 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
- package/dist/node_modules/lodash-es/_apply.js +11 -0
- package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
- package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
- package/dist/node_modules/lodash-es/_arraySome.js +6 -0
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
- package/dist/node_modules/lodash-es/_assignValue.js +9 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
- package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
- package/dist/node_modules/lodash-es/_baseClone.js +56 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
- package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
- package/dist/node_modules/lodash-es/_baseEach.js +4 -0
- package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
- package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
- package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
- package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
- package/dist/node_modules/lodash-es/_baseFor.js +3 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
- package/dist/node_modules/lodash-es/_baseGet.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
- package/dist/node_modules/lodash-es/_baseGt.js +5 -0
- package/dist/node_modules/lodash-es/_baseHas.js +6 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
- package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_baseLt.js +5 -0
- package/dist/node_modules/lodash-es/_baseMap.js +10 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
- package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
- package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
- package/dist/node_modules/lodash-es/_basePick.js +9 -0
- package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
- package/dist/node_modules/lodash-es/_baseRange.js +7 -0
- package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
- package/dist/node_modules/lodash-es/_baseRest.js +8 -0
- package/dist/node_modules/lodash-es/_baseSet.js +21 -0
- package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
- package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
- package/dist/node_modules/lodash-es/_baseSome.js +9 -0
- package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
- package/dist/node_modules/lodash-es/_baseToString.js +14 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
- package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
- package/dist/node_modules/lodash-es/_baseValues.js +8 -0
- package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_castFunction.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +9 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
- package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
- package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
- package/dist/node_modules/lodash-es/_copyArray.js +7 -0
- package/dist/node_modules/lodash-es/_copyObject.js +13 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
- package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
- package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
- package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
- package/dist/node_modules/lodash-es/_createFind.js +18 -0
- package/dist/node_modules/lodash-es/_createRange.js +10 -0
- package/dist/node_modules/lodash-es/_createSet.js +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
- package/dist/node_modules/lodash-es/_flatRest.js +8 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
- package/dist/node_modules/lodash-es/_getMapData.js +7 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
- package/dist/node_modules/lodash-es/_getNative.js +8 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
- package/dist/node_modules/lodash-es/_getTag.js +21 -0
- package/dist/node_modules/lodash-es/_getValue.js +5 -0
- package/dist/node_modules/lodash-es/_hasPath.js +17 -0
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +6 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
- package/dist/node_modules/lodash-es/_hashGet.js +12 -0
- package/dist/node_modules/lodash-es/_hashHas.js +8 -0
- package/dist/node_modules/lodash-es/_hashSet.js +8 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +7 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
- package/dist/node_modules/lodash-es/_isKey.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
- package/dist/node_modules/lodash-es/_isMasked.js +10 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
- package/dist/node_modules/lodash-es/_objectToString.js +6 -0
- package/dist/node_modules/lodash-es/_overArg.js +7 -0
- package/dist/node_modules/lodash-es/_overRest.js +12 -0
- package/dist/node_modules/lodash-es/_root.js +3 -0
- package/dist/node_modules/lodash-es/_safeGet.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_setToArray.js +8 -0
- package/dist/node_modules/lodash-es/_setToString.js +4 -0
- package/dist/node_modules/lodash-es/_shortOut.js +13 -0
- package/dist/node_modules/lodash-es/_stackClear.js +6 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
- package/dist/node_modules/lodash-es/_stackGet.js +5 -0
- package/dist/node_modules/lodash-es/_stackHas.js +5 -0
- package/dist/node_modules/lodash-es/_stackSet.js +15 -0
- package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
- package/dist/node_modules/lodash-es/_stringSize.js +8 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
- package/dist/node_modules/lodash-es/_toKey.js +9 -0
- package/dist/node_modules/lodash-es/_toSource.js +14 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
- package/dist/node_modules/lodash-es/assign.js +14 -0
- package/dist/node_modules/lodash-es/clone.js +7 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
- package/dist/node_modules/lodash-es/compact.js +9 -0
- package/dist/node_modules/lodash-es/constant.js +7 -0
- package/dist/node_modules/lodash-es/defaults.js +14 -0
- package/dist/node_modules/lodash-es/difference.js +8 -0
- package/dist/node_modules/lodash-es/drop.js +8 -0
- package/dist/node_modules/lodash-es/dropRight.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +5 -0
- package/dist/node_modules/lodash-es/every.js +11 -0
- package/dist/node_modules/lodash-es/filter.js +9 -0
- package/dist/node_modules/lodash-es/find.js +4 -0
- package/dist/node_modules/lodash-es/findIndex.js +12 -0
- package/dist/node_modules/lodash-es/flatMap.js +7 -0
- package/dist/node_modules/lodash-es/flatten.js +6 -0
- package/dist/node_modules/lodash-es/forEach.js +9 -0
- package/dist/node_modules/lodash-es/forIn.js +8 -0
- package/dist/node_modules/lodash-es/forOwn.js +7 -0
- package/dist/node_modules/lodash-es/get.js +7 -0
- package/dist/node_modules/lodash-es/groupBy.js +6 -0
- package/dist/node_modules/lodash-es/has.js +7 -0
- package/dist/node_modules/lodash-es/hasIn.js +7 -0
- package/dist/node_modules/lodash-es/head.js +5 -0
- package/dist/node_modules/lodash-es/identity.js +5 -0
- package/dist/node_modules/lodash-es/includes.js +13 -0
- package/dist/node_modules/lodash-es/indexOf.js +11 -0
- package/dist/node_modules/lodash-es/isArguments.js +8 -0
- package/dist/node_modules/lodash-es/isArray.js +2 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
- package/dist/node_modules/lodash-es/isBuffer.js +4 -0
- package/dist/node_modules/lodash-es/isEmpty.js +20 -0
- package/dist/node_modules/lodash-es/isFunction.js +10 -0
- package/dist/node_modules/lodash-es/isLength.js +6 -0
- package/dist/node_modules/lodash-es/isMap.js +5 -0
- package/dist/node_modules/lodash-es/isObject.js +6 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
- package/dist/node_modules/lodash-es/isRegExp.js +5 -0
- package/dist/node_modules/lodash-es/isSet.js +5 -0
- package/dist/node_modules/lodash-es/isString.js +9 -0
- package/dist/node_modules/lodash-es/isSymbol.js +8 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
- package/dist/node_modules/lodash-es/isUndefined.js +5 -0
- package/dist/node_modules/lodash-es/keys.js +8 -0
- package/dist/node_modules/lodash-es/keysIn.js +8 -0
- package/dist/node_modules/lodash-es/last.js +6 -0
- package/dist/node_modules/lodash-es/map.js +9 -0
- package/dist/node_modules/lodash-es/mapValues.js +11 -0
- package/dist/node_modules/lodash-es/max.js +8 -0
- package/dist/node_modules/lodash-es/memoize.js +15 -0
- package/dist/node_modules/lodash-es/merge.js +6 -0
- package/dist/node_modules/lodash-es/min.js +8 -0
- package/dist/node_modules/lodash-es/minBy.js +8 -0
- package/dist/node_modules/lodash-es/negate.js +16 -0
- package/dist/node_modules/lodash-es/noop.js +3 -0
- package/dist/node_modules/lodash-es/now.js +5 -0
- package/dist/node_modules/lodash-es/pick.js +6 -0
- package/dist/node_modules/lodash-es/pickBy.js +15 -0
- package/dist/node_modules/lodash-es/property.js +9 -0
- package/dist/node_modules/lodash-es/range.js +3 -0
- package/dist/node_modules/lodash-es/reduce.js +11 -0
- package/dist/node_modules/lodash-es/reject.js +10 -0
- package/dist/node_modules/lodash-es/size.js +14 -0
- package/dist/node_modules/lodash-es/some.js +11 -0
- package/dist/node_modules/lodash-es/sortBy.js +10 -0
- package/dist/node_modules/lodash-es/stubArray.js +5 -0
- package/dist/node_modules/lodash-es/stubFalse.js +5 -0
- package/dist/node_modules/lodash-es/toFinite.js +7 -0
- package/dist/node_modules/lodash-es/toInteger.js +7 -0
- package/dist/node_modules/lodash-es/toNumber.js +18 -0
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
- package/dist/node_modules/lodash-es/toString.js +6 -0
- package/dist/node_modules/lodash-es/union.js +8 -0
- package/dist/node_modules/lodash-es/uniq.js +6 -0
- package/dist/node_modules/lodash-es/uniqBy.js +7 -0
- package/dist/node_modules/lodash-es/uniqueId.js +8 -0
- package/dist/node_modules/lodash-es/values.js +7 -0
- package/dist/node_modules/lodash-es/zipObject.js +7 -0
- package/dist/node_modules/longest-streak/index.js +7 -0
- package/dist/node_modules/markdown-table/index.js +57 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
- package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
- package/dist/node_modules/micromark-factory-space/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +21 -0
- package/dist/node_modules/micromark-util-chunked/index.js +6 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
- package/dist/node_modules/property-information/index.js +23 -0
- package/dist/node_modules/property-information/lib/aria.js +59 -0
- package/dist/node_modules/property-information/lib/find.js +29 -0
- package/dist/node_modules/property-information/lib/html.js +314 -0
- package/dist/node_modules/property-information/lib/normalize.js +4 -0
- package/dist/node_modules/property-information/lib/svg.js +560 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
- package/dist/node_modules/property-information/lib/util/create.js +12 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
- package/dist/node_modules/property-information/lib/util/info.js +7 -0
- package/dist/node_modules/property-information/lib/util/merge.js +7 -0
- package/dist/node_modules/property-information/lib/util/schema.js +7 -0
- package/dist/node_modules/property-information/lib/util/types.js +15 -0
- package/dist/node_modules/property-information/lib/xlink.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js +13 -0
- package/dist/node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/node_modules/rehype-katex/lib/index.js +60 -0
- package/dist/node_modules/remark-gfm/lib/index.js +8 -0
- package/dist/node_modules/remark-math/lib/index.js +8 -0
- package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
- package/dist/node_modules/space-separated-tokens/index.js +5 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js +93 -0
- package/dist/node_modules/stylis/src/Serializer.js +19 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
- package/dist/node_modules/stylis/src/Utility.js +26 -0
- package/dist/node_modules/ts-dedent/esm/index.js +25 -0
- package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
- package/dist/node_modules/unist-util-is/lib/index.js +45 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
- package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
- package/dist/node_modules/web-namespaces/index.js +9 -0
- package/dist/pages/WorkspacePage.js +63 -0
- package/dist/pages/WorkspacesPage.js +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
var { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object, { freeze, seal, create } = Object, { apply, construct } = typeof Reflect < "u" && Reflect;
|
|
2
|
+
freeze ||= function(e) {
|
|
3
|
+
return e;
|
|
4
|
+
}, seal ||= function(e) {
|
|
5
|
+
return e;
|
|
6
|
+
}, apply ||= function(e, t) {
|
|
7
|
+
var n = [...arguments].slice(2);
|
|
8
|
+
return e.apply(t, n);
|
|
9
|
+
}, construct ||= function(e) {
|
|
10
|
+
return new e(...[...arguments].slice(1));
|
|
11
|
+
};
|
|
12
|
+
var arrayForEach = unapply(Array.prototype.forEach), arrayLastIndexOf = unapply(Array.prototype.lastIndexOf), arrayPop = unapply(Array.prototype.pop), arrayPush = unapply(Array.prototype.push), arraySplice = unapply(Array.prototype.splice), stringToLowerCase = unapply(String.prototype.toLowerCase), stringToString = unapply(String.prototype.toString), stringMatch = unapply(String.prototype.match), stringReplace = unapply(String.prototype.replace), stringIndexOf = unapply(String.prototype.indexOf), stringTrim = unapply(String.prototype.trim), objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty), regExpTest = unapply(RegExp.prototype.test), typeErrorCreate = unconstruct(TypeError);
|
|
13
|
+
function unapply(e) {
|
|
14
|
+
return function(t) {
|
|
15
|
+
t instanceof RegExp && (t.lastIndex = 0);
|
|
16
|
+
var n = [...arguments].slice(1);
|
|
17
|
+
return apply(e, t, n);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function unconstruct(e) {
|
|
21
|
+
return function() {
|
|
22
|
+
return construct(e, [...arguments]);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function addToSet(e, r) {
|
|
26
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;
|
|
27
|
+
setPrototypeOf && setPrototypeOf(e, null);
|
|
28
|
+
let a = r.length;
|
|
29
|
+
for (; a--;) {
|
|
30
|
+
let t = r[a];
|
|
31
|
+
if (typeof t == "string") {
|
|
32
|
+
let e = i(t);
|
|
33
|
+
e !== t && (isFrozen(r) || (r[a] = e), t = e);
|
|
34
|
+
}
|
|
35
|
+
e[t] = !0;
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
function cleanArray(e) {
|
|
40
|
+
for (let t = 0; t < e.length; t++) objectHasOwnProperty(e, t) || (e[t] = null);
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
function clone(t) {
|
|
44
|
+
let n = create(null);
|
|
45
|
+
for (let [r, i] of entries(t)) objectHasOwnProperty(t, r) && (Array.isArray(i) ? n[r] = cleanArray(i) : i && typeof i == "object" && i.constructor === Object ? n[r] = clone(i) : n[r] = i);
|
|
46
|
+
return n;
|
|
47
|
+
}
|
|
48
|
+
function lookupGetter(e, t) {
|
|
49
|
+
for (; e !== null;) {
|
|
50
|
+
let n = getOwnPropertyDescriptor(e, t);
|
|
51
|
+
if (n) {
|
|
52
|
+
if (n.get) return unapply(n.get);
|
|
53
|
+
if (typeof n.value == "function") return unapply(n.value);
|
|
54
|
+
}
|
|
55
|
+
e = getPrototypeOf(e);
|
|
56
|
+
}
|
|
57
|
+
function n() {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return n;
|
|
61
|
+
}
|
|
62
|
+
var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), svg$1 = freeze(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), svgFilters = freeze([
|
|
63
|
+
"feBlend",
|
|
64
|
+
"feColorMatrix",
|
|
65
|
+
"feComponentTransfer",
|
|
66
|
+
"feComposite",
|
|
67
|
+
"feConvolveMatrix",
|
|
68
|
+
"feDiffuseLighting",
|
|
69
|
+
"feDisplacementMap",
|
|
70
|
+
"feDistantLight",
|
|
71
|
+
"feDropShadow",
|
|
72
|
+
"feFlood",
|
|
73
|
+
"feFuncA",
|
|
74
|
+
"feFuncB",
|
|
75
|
+
"feFuncG",
|
|
76
|
+
"feFuncR",
|
|
77
|
+
"feGaussianBlur",
|
|
78
|
+
"feImage",
|
|
79
|
+
"feMerge",
|
|
80
|
+
"feMergeNode",
|
|
81
|
+
"feMorphology",
|
|
82
|
+
"feOffset",
|
|
83
|
+
"fePointLight",
|
|
84
|
+
"feSpecularLighting",
|
|
85
|
+
"feSpotLight",
|
|
86
|
+
"feTile",
|
|
87
|
+
"feTurbulence"
|
|
88
|
+
]), svgDisallowed = freeze([
|
|
89
|
+
"animate",
|
|
90
|
+
"color-profile",
|
|
91
|
+
"cursor",
|
|
92
|
+
"discard",
|
|
93
|
+
"font-face",
|
|
94
|
+
"font-face-format",
|
|
95
|
+
"font-face-name",
|
|
96
|
+
"font-face-src",
|
|
97
|
+
"font-face-uri",
|
|
98
|
+
"foreignobject",
|
|
99
|
+
"hatch",
|
|
100
|
+
"hatchpath",
|
|
101
|
+
"mesh",
|
|
102
|
+
"meshgradient",
|
|
103
|
+
"meshpatch",
|
|
104
|
+
"meshrow",
|
|
105
|
+
"missing-glyph",
|
|
106
|
+
"script",
|
|
107
|
+
"set",
|
|
108
|
+
"solidcolor",
|
|
109
|
+
"unknown",
|
|
110
|
+
"use"
|
|
111
|
+
]), mathMl$1 = freeze(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), mathMlDisallowed = freeze([
|
|
112
|
+
"maction",
|
|
113
|
+
"maligngroup",
|
|
114
|
+
"malignmark",
|
|
115
|
+
"mlongdiv",
|
|
116
|
+
"mscarries",
|
|
117
|
+
"mscarry",
|
|
118
|
+
"msgroup",
|
|
119
|
+
"mstack",
|
|
120
|
+
"msline",
|
|
121
|
+
"msrow",
|
|
122
|
+
"semantics",
|
|
123
|
+
"annotation",
|
|
124
|
+
"annotation-xml",
|
|
125
|
+
"mprescripts",
|
|
126
|
+
"none"
|
|
127
|
+
]), text = freeze(["#text"]), html = freeze(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), svg = freeze(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), mathMl = freeze(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), xml = freeze([
|
|
128
|
+
"xlink:href",
|
|
129
|
+
"xml:id",
|
|
130
|
+
"xlink:title",
|
|
131
|
+
"xml:space",
|
|
132
|
+
"xmlns:xlink"
|
|
133
|
+
]), MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm), TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm), DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/), ARIA_ATTR = seal(/^aria-[\-\w]+$/), IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i), ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), DOCTYPE_NAME = seal(/^html$/i), CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i), EXPRESSIONS = /* @__PURE__ */ Object.freeze({
|
|
134
|
+
__proto__: null,
|
|
135
|
+
ARIA_ATTR,
|
|
136
|
+
ATTR_WHITESPACE,
|
|
137
|
+
CUSTOM_ELEMENT,
|
|
138
|
+
DATA_ATTR,
|
|
139
|
+
DOCTYPE_NAME,
|
|
140
|
+
ERB_EXPR,
|
|
141
|
+
IS_ALLOWED_URI,
|
|
142
|
+
IS_SCRIPT_OR_DATA,
|
|
143
|
+
MUSTACHE_EXPR,
|
|
144
|
+
TMPLIT_EXPR
|
|
145
|
+
}), NODE_TYPE = {
|
|
146
|
+
element: 1,
|
|
147
|
+
attribute: 2,
|
|
148
|
+
text: 3,
|
|
149
|
+
cdataSection: 4,
|
|
150
|
+
entityReference: 5,
|
|
151
|
+
entityNode: 6,
|
|
152
|
+
progressingInstruction: 7,
|
|
153
|
+
comment: 8,
|
|
154
|
+
document: 9,
|
|
155
|
+
documentType: 10,
|
|
156
|
+
documentFragment: 11,
|
|
157
|
+
notation: 12
|
|
158
|
+
}, getGlobal = function() {
|
|
159
|
+
return typeof window > "u" ? null : window;
|
|
160
|
+
}, _createTrustedTypesPolicy = function(e, t) {
|
|
161
|
+
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
162
|
+
let n = null, r = "data-tt-policy-suffix";
|
|
163
|
+
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
164
|
+
let i = "dompurify" + (n ? "#" + n : "");
|
|
165
|
+
try {
|
|
166
|
+
return e.createPolicy(i, {
|
|
167
|
+
createHTML(e) {
|
|
168
|
+
return e;
|
|
169
|
+
},
|
|
170
|
+
createScriptURL(e) {
|
|
171
|
+
return e;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
} catch {
|
|
175
|
+
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
176
|
+
}
|
|
177
|
+
}, _createHooksMap = function() {
|
|
178
|
+
return {
|
|
179
|
+
afterSanitizeAttributes: [],
|
|
180
|
+
afterSanitizeElements: [],
|
|
181
|
+
afterSanitizeShadowDOM: [],
|
|
182
|
+
beforeSanitizeAttributes: [],
|
|
183
|
+
beforeSanitizeElements: [],
|
|
184
|
+
beforeSanitizeShadowDOM: [],
|
|
185
|
+
uponSanitizeAttribute: [],
|
|
186
|
+
uponSanitizeElement: [],
|
|
187
|
+
uponSanitizeShadowNode: []
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
function createDOMPurify() {
|
|
191
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), n = (e) => createDOMPurify(e);
|
|
192
|
+
if (n.version = "3.3.1", n.removed = [], !t || !t.document || t.document.nodeType !== NODE_TYPE.document || !t.Element) return n.isSupported = !1, n;
|
|
193
|
+
let { document: r } = t, i = r, o = i.currentScript, { DocumentFragment: c, HTMLTemplateElement: l, Node: d, Element: Fe, NodeFilter: f, NamedNodeMap: Ie = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: Le, DOMParser: Re, trustedTypes: p } = t, m = Fe.prototype, ze = lookupGetter(m, "cloneNode"), Be = lookupGetter(m, "remove"), Ve = lookupGetter(m, "nextSibling"), He = lookupGetter(m, "childNodes"), h = lookupGetter(m, "parentNode");
|
|
194
|
+
if (typeof l == "function") {
|
|
195
|
+
let e = r.createElement("template");
|
|
196
|
+
e.content && e.content.ownerDocument && (r = e.content.ownerDocument);
|
|
197
|
+
}
|
|
198
|
+
let g, _ = "", { implementation: v, createNodeIterator: Ue, createDocumentFragment: We, getElementsByTagName: Ge } = r, { importNode: Ke } = i, y = _createHooksMap();
|
|
199
|
+
n.isSupported = typeof entries == "function" && typeof h == "function" && v && v.createHTMLDocument !== void 0;
|
|
200
|
+
let { MUSTACHE_EXPR: b, ERB_EXPR: x, TMPLIT_EXPR: S, DATA_ATTR: qe, ARIA_ATTR: Je, IS_SCRIPT_OR_DATA: Ye, ATTR_WHITESPACE: Xe, CUSTOM_ELEMENT: Ze } = EXPRESSIONS, { IS_ALLOWED_URI: Qe } = EXPRESSIONS, C = null, $e = addToSet({}, [
|
|
201
|
+
...html$1,
|
|
202
|
+
...svg$1,
|
|
203
|
+
...svgFilters,
|
|
204
|
+
...mathMl$1,
|
|
205
|
+
...text
|
|
206
|
+
]), w = null, et = addToSet({}, [
|
|
207
|
+
...html,
|
|
208
|
+
...svg,
|
|
209
|
+
...mathMl,
|
|
210
|
+
...xml
|
|
211
|
+
]), T = Object.seal(create(null, {
|
|
212
|
+
tagNameCheck: {
|
|
213
|
+
writable: !0,
|
|
214
|
+
configurable: !1,
|
|
215
|
+
enumerable: !0,
|
|
216
|
+
value: null
|
|
217
|
+
},
|
|
218
|
+
attributeNameCheck: {
|
|
219
|
+
writable: !0,
|
|
220
|
+
configurable: !1,
|
|
221
|
+
enumerable: !0,
|
|
222
|
+
value: null
|
|
223
|
+
},
|
|
224
|
+
allowCustomizedBuiltInElements: {
|
|
225
|
+
writable: !0,
|
|
226
|
+
configurable: !1,
|
|
227
|
+
enumerable: !0,
|
|
228
|
+
value: !1
|
|
229
|
+
}
|
|
230
|
+
})), E = null, D = null, O = Object.seal(create(null, {
|
|
231
|
+
tagCheck: {
|
|
232
|
+
writable: !0,
|
|
233
|
+
configurable: !1,
|
|
234
|
+
enumerable: !0,
|
|
235
|
+
value: null
|
|
236
|
+
},
|
|
237
|
+
attributeCheck: {
|
|
238
|
+
writable: !0,
|
|
239
|
+
configurable: !1,
|
|
240
|
+
enumerable: !0,
|
|
241
|
+
value: null
|
|
242
|
+
}
|
|
243
|
+
})), tt = !0, k = !0, nt = !1, rt = !0, A = !1, j = !0, M = !1, N = !1, P = !1, F = !1, I = !1, L = !1, it = !0, at = !1, ot = !0, R = !1, z = {}, B = null, st = addToSet({}, [
|
|
244
|
+
"annotation-xml",
|
|
245
|
+
"audio",
|
|
246
|
+
"colgroup",
|
|
247
|
+
"desc",
|
|
248
|
+
"foreignobject",
|
|
249
|
+
"head",
|
|
250
|
+
"iframe",
|
|
251
|
+
"math",
|
|
252
|
+
"mi",
|
|
253
|
+
"mn",
|
|
254
|
+
"mo",
|
|
255
|
+
"ms",
|
|
256
|
+
"mtext",
|
|
257
|
+
"noembed",
|
|
258
|
+
"noframes",
|
|
259
|
+
"noscript",
|
|
260
|
+
"plaintext",
|
|
261
|
+
"script",
|
|
262
|
+
"style",
|
|
263
|
+
"svg",
|
|
264
|
+
"template",
|
|
265
|
+
"thead",
|
|
266
|
+
"title",
|
|
267
|
+
"video",
|
|
268
|
+
"xmp"
|
|
269
|
+
]), ct = null, lt = addToSet({}, [
|
|
270
|
+
"audio",
|
|
271
|
+
"video",
|
|
272
|
+
"img",
|
|
273
|
+
"source",
|
|
274
|
+
"image",
|
|
275
|
+
"track"
|
|
276
|
+
]), ut = null, dt = addToSet({}, [
|
|
277
|
+
"alt",
|
|
278
|
+
"class",
|
|
279
|
+
"for",
|
|
280
|
+
"id",
|
|
281
|
+
"label",
|
|
282
|
+
"name",
|
|
283
|
+
"pattern",
|
|
284
|
+
"placeholder",
|
|
285
|
+
"role",
|
|
286
|
+
"summary",
|
|
287
|
+
"title",
|
|
288
|
+
"value",
|
|
289
|
+
"style",
|
|
290
|
+
"xmlns"
|
|
291
|
+
]), V = "http://www.w3.org/1998/Math/MathML", H = "http://www.w3.org/2000/svg", U = "http://www.w3.org/1999/xhtml", W = U, ft = !1, pt = null, mt = addToSet({}, [
|
|
292
|
+
V,
|
|
293
|
+
H,
|
|
294
|
+
U
|
|
295
|
+
], stringToString), G = addToSet({}, [
|
|
296
|
+
"mi",
|
|
297
|
+
"mo",
|
|
298
|
+
"mn",
|
|
299
|
+
"ms",
|
|
300
|
+
"mtext"
|
|
301
|
+
]), K = addToSet({}, ["annotation-xml"]), ht = addToSet({}, [
|
|
302
|
+
"title",
|
|
303
|
+
"style",
|
|
304
|
+
"font",
|
|
305
|
+
"a",
|
|
306
|
+
"script"
|
|
307
|
+
]), q = null, gt = ["application/xhtml+xml", "text/html"], J = null, Y = null, _t = r.createElement("form"), vt = function(e) {
|
|
308
|
+
return e instanceof RegExp || e instanceof Function;
|
|
309
|
+
}, yt = function() {
|
|
310
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
311
|
+
if (!(Y && Y === e)) {
|
|
312
|
+
if ((!e || typeof e != "object") && (e = {}), e = clone(e), q = gt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? stringToString : stringToLowerCase, C = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, J) : $e, w = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, J) : et, pt = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : mt, ut = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(dt), e.ADD_URI_SAFE_ATTR, J) : dt, ct = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(lt), e.ADD_DATA_URI_TAGS, J) : lt, B = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, J) : st, E = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, J) : clone({}), D = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, J) : clone({}), z = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, tt = e.ALLOW_ARIA_ATTR !== !1, k = e.ALLOW_DATA_ATTR !== !1, nt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, rt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, A = e.SAFE_FOR_TEMPLATES || !1, j = e.SAFE_FOR_XML !== !1, M = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, I = e.RETURN_DOM_FRAGMENT || !1, L = e.RETURN_TRUSTED_TYPE || !1, P = e.FORCE_BODY || !1, it = e.SANITIZE_DOM !== !1, at = e.SANITIZE_NAMED_PROPS || !1, ot = e.KEEP_CONTENT !== !1, R = e.IN_PLACE || !1, Qe = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, W = e.NAMESPACE || U, G = e.MATHML_TEXT_INTEGRATION_POINTS || G, K = e.HTML_INTEGRATION_POINTS || K, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), A && (k = !1), I && (F = !0), z && (C = addToSet({}, text), w = [], z.html === !0 && (addToSet(C, html$1), addToSet(w, html)), z.svg === !0 && (addToSet(C, svg$1), addToSet(w, svg), addToSet(w, xml)), z.svgFilters === !0 && (addToSet(C, svgFilters), addToSet(w, svg), addToSet(w, xml)), z.mathMl === !0 && (addToSet(C, mathMl$1), addToSet(w, mathMl), addToSet(w, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? O.tagCheck = e.ADD_TAGS : (C === $e && (C = clone(C)), addToSet(C, e.ADD_TAGS, J))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? O.attributeCheck = e.ADD_ATTR : (w === et && (w = clone(w)), addToSet(w, e.ADD_ATTR, J))), e.ADD_URI_SAFE_ATTR && addToSet(ut, e.ADD_URI_SAFE_ATTR, J), e.FORBID_CONTENTS && (B === st && (B = clone(B)), addToSet(B, e.FORBID_CONTENTS, J)), e.ADD_FORBID_CONTENTS && (B === st && (B = clone(B)), addToSet(B, e.ADD_FORBID_CONTENTS, J)), ot && (C["#text"] = !0), M && addToSet(C, [
|
|
313
|
+
"html",
|
|
314
|
+
"head",
|
|
315
|
+
"body"
|
|
316
|
+
]), C.table && (addToSet(C, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
317
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
318
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
319
|
+
g = e.TRUSTED_TYPES_POLICY, _ = g.createHTML("");
|
|
320
|
+
} else g === void 0 && (g = _createTrustedTypesPolicy(p, o)), g !== null && typeof _ == "string" && (_ = g.createHTML(""));
|
|
321
|
+
freeze && freeze(e), Y = e;
|
|
322
|
+
}
|
|
323
|
+
}, bt = addToSet({}, [
|
|
324
|
+
...svg$1,
|
|
325
|
+
...svgFilters,
|
|
326
|
+
...svgDisallowed
|
|
327
|
+
]), xt = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), St = function(e) {
|
|
328
|
+
let t = h(e);
|
|
329
|
+
(!t || !t.tagName) && (t = {
|
|
330
|
+
namespaceURI: W,
|
|
331
|
+
tagName: "template"
|
|
332
|
+
});
|
|
333
|
+
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
334
|
+
return pt[e.namespaceURI] ? e.namespaceURI === H ? t.namespaceURI === U ? n === "svg" : t.namespaceURI === V ? n === "svg" && (r === "annotation-xml" || G[r]) : !!bt[n] : e.namespaceURI === V ? t.namespaceURI === U ? n === "math" : t.namespaceURI === H ? n === "math" && K[r] : !!xt[n] : e.namespaceURI === U ? t.namespaceURI === H && !K[r] || t.namespaceURI === V && !G[r] ? !1 : !xt[n] && (ht[n] || !bt[n]) : !!(q === "application/xhtml+xml" && pt[e.namespaceURI]) : !1;
|
|
335
|
+
}, X = function(e) {
|
|
336
|
+
arrayPush(n.removed, { element: e });
|
|
337
|
+
try {
|
|
338
|
+
h(e).removeChild(e);
|
|
339
|
+
} catch {
|
|
340
|
+
Be(e);
|
|
341
|
+
}
|
|
342
|
+
}, Z = function(e, t) {
|
|
343
|
+
try {
|
|
344
|
+
arrayPush(n.removed, {
|
|
345
|
+
attribute: t.getAttributeNode(e),
|
|
346
|
+
from: t
|
|
347
|
+
});
|
|
348
|
+
} catch {
|
|
349
|
+
arrayPush(n.removed, {
|
|
350
|
+
attribute: null,
|
|
351
|
+
from: t
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
if (t.removeAttribute(e), e === "is") if (F || I) try {
|
|
355
|
+
X(t);
|
|
356
|
+
} catch {}
|
|
357
|
+
else try {
|
|
358
|
+
t.setAttribute(e, "");
|
|
359
|
+
} catch {}
|
|
360
|
+
}, Ct = function(e) {
|
|
361
|
+
let t = null, n = null;
|
|
362
|
+
if (P) e = "<remove></remove>" + e;
|
|
363
|
+
else {
|
|
364
|
+
let t = stringMatch(e, /^[\r\n\t ]+/);
|
|
365
|
+
n = t && t[0];
|
|
366
|
+
}
|
|
367
|
+
q === "application/xhtml+xml" && W === U && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
368
|
+
let i = g ? g.createHTML(e) : e;
|
|
369
|
+
if (W === U) try {
|
|
370
|
+
t = new Re().parseFromString(i, q);
|
|
371
|
+
} catch {}
|
|
372
|
+
if (!t || !t.documentElement) {
|
|
373
|
+
t = v.createDocument(W, "template", null);
|
|
374
|
+
try {
|
|
375
|
+
t.documentElement.innerHTML = ft ? _ : i;
|
|
376
|
+
} catch {}
|
|
377
|
+
}
|
|
378
|
+
let a = t.body || t.documentElement;
|
|
379
|
+
return e && n && a.insertBefore(r.createTextNode(n), a.childNodes[0] || null), W === U ? Ge.call(t, M ? "html" : "body")[0] : M ? t.documentElement : a;
|
|
380
|
+
}, wt = function(e) {
|
|
381
|
+
return Ue.call(e.ownerDocument || e, e, f.SHOW_ELEMENT | f.SHOW_COMMENT | f.SHOW_TEXT | f.SHOW_PROCESSING_INSTRUCTION | f.SHOW_CDATA_SECTION, null);
|
|
382
|
+
}, Q = function(e) {
|
|
383
|
+
return e instanceof Le && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Ie) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
384
|
+
}, Tt = function(e) {
|
|
385
|
+
return typeof d == "function" && e instanceof d;
|
|
386
|
+
};
|
|
387
|
+
function $(e, t, r) {
|
|
388
|
+
arrayForEach(e, (e) => {
|
|
389
|
+
e.call(n, t, r, Y);
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
let Et = function(e) {
|
|
393
|
+
let t = null;
|
|
394
|
+
if ($(y.beforeSanitizeElements, e, null), Q(e)) return X(e), !0;
|
|
395
|
+
let r = J(e.nodeName);
|
|
396
|
+
if ($(y.uponSanitizeElement, e, {
|
|
397
|
+
tagName: r,
|
|
398
|
+
allowedTags: C
|
|
399
|
+
}), j && e.hasChildNodes() && !Tt(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || j && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return X(e), !0;
|
|
400
|
+
if (!(O.tagCheck instanceof Function && O.tagCheck(r)) && (!C[r] || E[r])) {
|
|
401
|
+
if (!E[r] && Ot(r) && (T.tagNameCheck instanceof RegExp && regExpTest(T.tagNameCheck, r) || T.tagNameCheck instanceof Function && T.tagNameCheck(r))) return !1;
|
|
402
|
+
if (ot && !B[r]) {
|
|
403
|
+
let t = h(e) || e.parentNode, n = He(e) || e.childNodes;
|
|
404
|
+
if (n && t) {
|
|
405
|
+
let r = n.length;
|
|
406
|
+
for (let i = r - 1; i >= 0; --i) {
|
|
407
|
+
let r = ze(n[i], !0);
|
|
408
|
+
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Ve(e));
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
return X(e), !0;
|
|
413
|
+
}
|
|
414
|
+
return e instanceof Fe && !St(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (A && e.nodeType === NODE_TYPE.text && (t = e.textContent, arrayForEach([
|
|
415
|
+
b,
|
|
416
|
+
x,
|
|
417
|
+
S
|
|
418
|
+
], (e) => {
|
|
419
|
+
t = stringReplace(t, e, " ");
|
|
420
|
+
}), e.textContent !== t && (arrayPush(n.removed, { element: e.cloneNode() }), e.textContent = t)), $(y.afterSanitizeElements, e, null), !1);
|
|
421
|
+
}, Dt = function(e, t, n) {
|
|
422
|
+
if (it && (t === "id" || t === "name") && (n in r || n in _t)) return !1;
|
|
423
|
+
if (!(k && !D[t] && regExpTest(qe, t)) && !(tt && regExpTest(Je, t)) && !(O.attributeCheck instanceof Function && O.attributeCheck(t, e))) {
|
|
424
|
+
if (!w[t] || D[t]) {
|
|
425
|
+
if (!(Ot(e) && (T.tagNameCheck instanceof RegExp && regExpTest(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && regExpTest(T.attributeNameCheck, t) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(t, e)) || t === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && regExpTest(T.tagNameCheck, n) || T.tagNameCheck instanceof Function && T.tagNameCheck(n)))) return !1;
|
|
426
|
+
} else if (!ut[t] && !regExpTest(Qe, stringReplace(n, Xe, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(n, "data:") === 0 && ct[e]) && !(nt && !regExpTest(Ye, stringReplace(n, Xe, ""))) && n) return !1;
|
|
427
|
+
}
|
|
428
|
+
return !0;
|
|
429
|
+
}, Ot = function(e) {
|
|
430
|
+
return e !== "annotation-xml" && stringMatch(e, Ze);
|
|
431
|
+
}, kt = function(e) {
|
|
432
|
+
$(y.beforeSanitizeAttributes, e, null);
|
|
433
|
+
let { attributes: t } = e;
|
|
434
|
+
if (!t || Q(e)) return;
|
|
435
|
+
let r = {
|
|
436
|
+
attrName: "",
|
|
437
|
+
attrValue: "",
|
|
438
|
+
keepAttr: !0,
|
|
439
|
+
allowedAttributes: w,
|
|
440
|
+
forceKeepAttr: void 0
|
|
441
|
+
}, i = t.length;
|
|
442
|
+
for (; i--;) {
|
|
443
|
+
let { name: a, namespaceURI: o, value: s } = t[i], c = J(a), l = s, u = a === "value" ? l : stringTrim(l);
|
|
444
|
+
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, $(y.uponSanitizeAttribute, e, r), u = r.attrValue, at && (c === "id" || c === "name") && (Z(a, e), u = "user-content-" + u), j && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
|
|
445
|
+
Z(a, e);
|
|
446
|
+
continue;
|
|
447
|
+
}
|
|
448
|
+
if (c === "attributename" && stringMatch(u, "href")) {
|
|
449
|
+
Z(a, e);
|
|
450
|
+
continue;
|
|
451
|
+
}
|
|
452
|
+
if (r.forceKeepAttr) continue;
|
|
453
|
+
if (!r.keepAttr) {
|
|
454
|
+
Z(a, e);
|
|
455
|
+
continue;
|
|
456
|
+
}
|
|
457
|
+
if (!rt && regExpTest(/\/>/i, u)) {
|
|
458
|
+
Z(a, e);
|
|
459
|
+
continue;
|
|
460
|
+
}
|
|
461
|
+
A && arrayForEach([
|
|
462
|
+
b,
|
|
463
|
+
x,
|
|
464
|
+
S
|
|
465
|
+
], (e) => {
|
|
466
|
+
u = stringReplace(u, e, " ");
|
|
467
|
+
});
|
|
468
|
+
let Pe = J(e.nodeName);
|
|
469
|
+
if (!Dt(Pe, c, u)) {
|
|
470
|
+
Z(a, e);
|
|
471
|
+
continue;
|
|
472
|
+
}
|
|
473
|
+
if (g && typeof p == "object" && typeof p.getAttributeType == "function" && !o) switch (p.getAttributeType(Pe, c)) {
|
|
474
|
+
case "TrustedHTML":
|
|
475
|
+
u = g.createHTML(u);
|
|
476
|
+
break;
|
|
477
|
+
case "TrustedScriptURL":
|
|
478
|
+
u = g.createScriptURL(u);
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
if (u !== l) try {
|
|
482
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), Q(e) ? X(e) : arrayPop(n.removed);
|
|
483
|
+
} catch {
|
|
484
|
+
Z(a, e);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
$(y.afterSanitizeAttributes, e, null);
|
|
488
|
+
}, At = function e(t) {
|
|
489
|
+
let n = null, r = wt(t);
|
|
490
|
+
for ($(y.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) $(y.uponSanitizeShadowNode, n, null), Et(n), kt(n), n.content instanceof c && e(n.content);
|
|
491
|
+
$(y.afterSanitizeShadowDOM, t, null);
|
|
492
|
+
};
|
|
493
|
+
return n.sanitize = function(e) {
|
|
494
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = null, a = null, o = null, s = null;
|
|
495
|
+
if (ft = !e, ft && (e = "<!-->"), typeof e != "string" && !Tt(e)) if (typeof e.toString == "function") {
|
|
496
|
+
if (e = e.toString(), typeof e != "string") throw typeErrorCreate("dirty is not a string, aborting");
|
|
497
|
+
} else throw typeErrorCreate("toString is not a function");
|
|
498
|
+
if (!n.isSupported) return e;
|
|
499
|
+
if (N || yt(t), n.removed = [], typeof e == "string" && (R = !1), R) {
|
|
500
|
+
if (e.nodeName) {
|
|
501
|
+
let t = J(e.nodeName);
|
|
502
|
+
if (!C[t] || E[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
503
|
+
}
|
|
504
|
+
} else if (e instanceof d) r = Ct("<!---->"), a = r.ownerDocument.importNode(e, !0), a.nodeType === NODE_TYPE.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? r = a : r.appendChild(a);
|
|
505
|
+
else {
|
|
506
|
+
if (!F && !A && !M && e.indexOf("<") === -1) return g && L ? g.createHTML(e) : e;
|
|
507
|
+
if (r = Ct(e), !r) return F ? null : L ? _ : "";
|
|
508
|
+
}
|
|
509
|
+
r && P && X(r.firstChild);
|
|
510
|
+
let l = wt(R ? e : r);
|
|
511
|
+
for (; o = l.nextNode();) Et(o), kt(o), o.content instanceof c && At(o.content);
|
|
512
|
+
if (R) return e;
|
|
513
|
+
if (F) {
|
|
514
|
+
if (I) for (s = We.call(r.ownerDocument); r.firstChild;) s.appendChild(r.firstChild);
|
|
515
|
+
else s = r;
|
|
516
|
+
return (w.shadowroot || w.shadowrootmode) && (s = Ke.call(i, s, !0)), s;
|
|
517
|
+
}
|
|
518
|
+
let u = M ? r.outerHTML : r.innerHTML;
|
|
519
|
+
return M && C["!doctype"] && r.ownerDocument && r.ownerDocument.doctype && r.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, r.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + r.ownerDocument.doctype.name + ">\n" + u), A && arrayForEach([
|
|
520
|
+
b,
|
|
521
|
+
x,
|
|
522
|
+
S
|
|
523
|
+
], (e) => {
|
|
524
|
+
u = stringReplace(u, e, " ");
|
|
525
|
+
}), g && L ? g.createHTML(u) : u;
|
|
526
|
+
}, n.setConfig = function() {
|
|
527
|
+
yt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), N = !0;
|
|
528
|
+
}, n.clearConfig = function() {
|
|
529
|
+
Y = null, N = !1;
|
|
530
|
+
}, n.isValidAttribute = function(e, t, n) {
|
|
531
|
+
return Y || yt({}), Dt(J(e), J(t), n);
|
|
532
|
+
}, n.addHook = function(e, t) {
|
|
533
|
+
typeof t == "function" && arrayPush(y[e], t);
|
|
534
|
+
}, n.removeHook = function(e, t) {
|
|
535
|
+
if (t !== void 0) {
|
|
536
|
+
let n = arrayLastIndexOf(y[e], t);
|
|
537
|
+
return n === -1 ? void 0 : arraySplice(y[e], n, 1)[0];
|
|
538
|
+
}
|
|
539
|
+
return arrayPop(y[e]);
|
|
540
|
+
}, n.removeHooks = function(e) {
|
|
541
|
+
y[e] = [];
|
|
542
|
+
}, n.removeAllHooks = function() {
|
|
543
|
+
y = _createHooksMap();
|
|
544
|
+
}, n;
|
|
545
|
+
}
|
|
546
|
+
var purify = createDOMPurify();
|
|
547
|
+
export { purify };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { h, s } from "../../hastscript/lib/index.js";
|
|
2
|
+
import { webNamespaces } from "../../web-namespaces/index.js";
|
|
3
|
+
function fromDom(e, n) {
|
|
4
|
+
return transform(e, n || {}) || {
|
|
5
|
+
type: "root",
|
|
6
|
+
children: []
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function transform(e, n) {
|
|
10
|
+
let r = one(e, n);
|
|
11
|
+
return r && n.afterTransform && n.afterTransform(e, r), r;
|
|
12
|
+
}
|
|
13
|
+
function one(e, n) {
|
|
14
|
+
switch (e.nodeType) {
|
|
15
|
+
case 1: return element(e, n);
|
|
16
|
+
case 3: return text(e);
|
|
17
|
+
case 8: return comment(e);
|
|
18
|
+
case 9: return root(e, n);
|
|
19
|
+
case 10: return doctype();
|
|
20
|
+
case 11: return root(e, n);
|
|
21
|
+
default: return;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function root(e, n) {
|
|
25
|
+
return {
|
|
26
|
+
type: "root",
|
|
27
|
+
children: all(e, n)
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function doctype() {
|
|
31
|
+
return { type: "doctype" };
|
|
32
|
+
}
|
|
33
|
+
function text(e) {
|
|
34
|
+
return {
|
|
35
|
+
type: "text",
|
|
36
|
+
value: e.nodeValue || ""
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function comment(e) {
|
|
40
|
+
return {
|
|
41
|
+
type: "comment",
|
|
42
|
+
value: e.nodeValue || ""
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function element(i, a) {
|
|
46
|
+
let o = i.namespaceURI, c = o === webNamespaces.svg ? s : h, l = o === webNamespaces.html ? i.tagName.toLowerCase() : i.tagName, u = o === webNamespaces.html && l === "template" ? i.content : i, d = i.getAttributeNames(), f = {}, p = -1;
|
|
47
|
+
for (; ++p < d.length;) f[d[p]] = i.getAttribute(d[p]) || "";
|
|
48
|
+
return c(l, f, all(u, a));
|
|
49
|
+
}
|
|
50
|
+
function all(e, n) {
|
|
51
|
+
let r = e.childNodes, i = [], o = -1;
|
|
52
|
+
for (; ++o < r.length;) {
|
|
53
|
+
let e = transform(r[o], n);
|
|
54
|
+
e !== void 0 && i.push(e);
|
|
55
|
+
}
|
|
56
|
+
return i;
|
|
57
|
+
}
|
|
58
|
+
export { fromDom };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { fromDom } from "../../hast-util-from-dom/lib/index.js";
|
|
2
|
+
var parser = new DOMParser();
|
|
3
|
+
function fromHtmlIsomorphic(r, i) {
|
|
4
|
+
return fromDom(i?.fragment ? parseFragment(r) : parser.parseFromString(r, "text/html"));
|
|
5
|
+
}
|
|
6
|
+
function parseFragment(e) {
|
|
7
|
+
let n = document.createElement("template");
|
|
8
|
+
return n.innerHTML = e, n.content;
|
|
9
|
+
}
|
|
10
|
+
export { fromHtmlIsomorphic };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const convertElement = (function(e) {
|
|
2
|
+
if (e == null) return element;
|
|
3
|
+
if (typeof e == "string") return tagNameFactory(e);
|
|
4
|
+
if (typeof e == "object") return anyFactory(e);
|
|
5
|
+
if (typeof e == "function") return castFactory(e);
|
|
6
|
+
throw Error("Expected function, string, or array as `test`");
|
|
7
|
+
});
|
|
8
|
+
function anyFactory(t) {
|
|
9
|
+
let n = [], i = -1;
|
|
10
|
+
for (; ++i < t.length;) n[i] = convertElement(t[i]);
|
|
11
|
+
return castFactory(a);
|
|
12
|
+
function a(...e) {
|
|
13
|
+
let t = -1;
|
|
14
|
+
for (; ++t < n.length;) if (n[t].apply(this, e)) return !0;
|
|
15
|
+
return !1;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function tagNameFactory(e) {
|
|
19
|
+
return castFactory(t);
|
|
20
|
+
function t(t) {
|
|
21
|
+
return t.tagName === e;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function castFactory(e) {
|
|
25
|
+
return t;
|
|
26
|
+
function t(t, n, r) {
|
|
27
|
+
return !!(looksLikeAnElement(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function element(e) {
|
|
31
|
+
return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
|
|
32
|
+
}
|
|
33
|
+
function looksLikeAnElement(e) {
|
|
34
|
+
return typeof e == "object" && !!e && "type" in e && "tagName" in e;
|
|
35
|
+
}
|
|
36
|
+
export { convertElement };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var search = /[#.]/g;
|
|
2
|
+
function parseSelector(t, n) {
|
|
3
|
+
let r = t || "", i = {}, a = 0, o, s;
|
|
4
|
+
for (; a < r.length;) {
|
|
5
|
+
search.lastIndex = a;
|
|
6
|
+
let t = search.exec(r), n = r.slice(a, t ? t.index : r.length);
|
|
7
|
+
n && (o ? o === "#" ? i.id = n : Array.isArray(i.className) ? i.className.push(n) : i.className = [n] : s = n, a += n.length), t && (o = t[0], a++);
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
type: "element",
|
|
11
|
+
tagName: s || n || "div",
|
|
12
|
+
properties: i,
|
|
13
|
+
children: []
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export { parseSelector };
|