@elmethis/core 1.0.0-alpha.147 → 1.0.0-alpha.148
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/_commonjsHelpers.mjs +6 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/_virtual/advancedFormat.mjs +7 -0
- package/dist/_virtual/advancedFormat2.mjs +4 -0
- package/dist/_virtual/cancellation.mjs +5 -0
- package/dist/_virtual/cancellation2.mjs +4 -0
- package/dist/_virtual/constants.mjs +4 -0
- package/dist/_virtual/cose-base.mjs +4 -0
- package/dist/_virtual/cose-base2.mjs +4 -0
- package/dist/_virtual/customParseFormat.mjs +7 -0
- package/dist/_virtual/customParseFormat2.mjs +4 -0
- package/dist/_virtual/cytoscape-cose-bilkent.mjs +7 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
- package/dist/_virtual/cytoscape-fcose.mjs +7 -0
- package/dist/_virtual/cytoscape-fcose2.mjs +4 -0
- package/dist/_virtual/dayjs.min.mjs +7 -0
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/events.mjs +5 -0
- package/dist/_virtual/events2.mjs +4 -0
- package/dist/_virtual/index.mjs +5 -0
- package/dist/_virtual/index2.mjs +4 -0
- package/dist/_virtual/is.mjs +4 -0
- package/dist/_virtual/isoWeek.mjs +7 -0
- package/dist/_virtual/isoWeek2.mjs +4 -0
- package/dist/_virtual/layout-base.mjs +4 -0
- package/dist/_virtual/layout-base2.mjs +4 -0
- package/dist/_virtual/ral.mjs +4 -0
- package/dist/components/badge/ElmBadge.vue.mjs +10 -0
- package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
- package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
- package/dist/components/badge/ElmTag.vue.mjs +10 -0
- package/dist/components/badge/ElmTag.vue2.mjs +39 -0
- package/dist/components/badge/ElmTag.vue3.mjs +14 -0
- package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +46 -0
- package/dist/components/code/ElmKatex.vue3.mjs +8 -0
- package/dist/components/code/ElmMermaid.vue.mjs +6 -0
- package/dist/components/code/ElmMermaid.vue2.mjs +56 -0
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +44 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumn.vue.mjs +10 -0
- package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumn.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
- package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumnList.vue3.mjs +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
- package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
- package/dist/components/containments/ElmDesktopWindow.vue3.mjs +14 -0
- package/dist/components/containments/ElmModal.vue.mjs +10 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +11 -0
- package/dist/components/containments/ElmParallax.vue.mjs +10 -0
- package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
- package/dist/components/containments/ElmParallax.vue3.mjs +8 -0
- package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbar.vue2.mjs +39 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
- package/dist/components/containments/ElmToggle.vue.mjs +10 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
- package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
- package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
- package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
- package/dist/components/data/ElmMultiProgress.vue3.mjs +11 -0
- package/dist/components/data/ElmProgress.vue.mjs +10 -0
- package/dist/components/data/ElmProgress.vue2.mjs +53 -0
- package/dist/components/data/ElmProgress.vue3.mjs +20 -0
- package/dist/components/data/ElmStatusMessage.vue.mjs +10 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
- package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
- package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
- package/dist/components/fallback/ElmBlockFallback.vue3.mjs +6 -0
- package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
- package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
- package/dist/components/fallback/ElmRectangleWave.vue3.mjs +9 -0
- package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
- package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
- package/dist/components/fallback/ElmSpinner.vue3.mjs +12 -0
- package/dist/components/form/ElmButton.vue.mjs +10 -0
- package/dist/components/form/ElmButton.vue2.mjs +57 -0
- package/dist/components/form/ElmButton.vue3.mjs +20 -0
- package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
- package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
- package/dist/components/form/ElmCheckbox.vue3.mjs +22 -0
- package/dist/components/form/ElmSwitch.vue.mjs +10 -0
- package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
- package/dist/components/form/ElmSwitch.vue3.mjs +16 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +124 -0
- package/dist/components/form/ElmTextField.vue3.mjs +34 -0
- package/dist/components/form/ElmTotp.vue.mjs +10 -0
- package/dist/components/form/ElmTotp.vue2.mjs +102 -0
- package/dist/components/form/ElmTotp.vue3.mjs +22 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
- package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
- package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
- package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
- package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
- package/dist/components/icon/ElmArrowIcon.vue3.mjs +17 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +45 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
- package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
- package/dist/components/icon/ElmCubeIcon.vue3.mjs +12 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +14 -0
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
- package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +37 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
- package/dist/components/icon/languages/Bash.vue.mjs +31 -0
- package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
- package/dist/components/icon/languages/Css.vue.mjs +19 -0
- package/dist/components/icon/languages/Rust.vue.mjs +17 -0
- package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
- package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
- package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
- package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
- package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
- package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +77 -0
- package/dist/components/media/ElmFile.vue3.mjs +14 -0
- package/dist/components/media/ElmImage.vue.mjs +10 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +18 -0
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +18 -0
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
- package/dist/components/others/ElmColorSample.vue.mjs +10 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
- package/dist/components/others/ElmColorTable.vue.mjs +10 -0
- package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
- package/dist/components/others/ElmColorTable.vue3.mjs +10 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.mjs +96 -0
- package/dist/components/renderer/ElmJsonRenderer.vue2.mjs +4 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue.mjs +24 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue2.mjs +4 -0
- package/dist/components/table/ElmTable.vue.mjs +6 -0
- package/dist/components/table/ElmTable.vue2.mjs +22 -0
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
- package/dist/components/table/ElmTableCell.vue.mjs +6 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
- package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
- package/dist/components/table/ElmTableRow.vue.mjs +14 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
- package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
- package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
- package/dist/components/typography/ElmDivider.vue.mjs +10 -0
- package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
- package/dist/components/typography/ElmDivider.vue3.mjs +8 -0
- package/dist/components/typography/ElmListItem.vue.mjs +10 -0
- package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
- package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
- package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
- package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
- package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
- package/dist/components/typography/ElmParagraph.vue3.mjs +8 -0
- package/dist/hooks/useElmethisTheme.mjs +43 -0
- package/dist/hooks/useTyping.mjs +37 -0
- package/dist/index.mjs +150 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +76 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +57 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +220 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +64 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +101 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +45 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +693 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +39 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +14 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +10 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +28 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +54 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +17 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +120 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +33 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +29 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +41 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +541 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +46 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +42 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +115 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +531 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +393 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +12 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +87 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +161 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +416 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +47 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +41 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +424 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +22 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +48 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +387 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +40 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +83 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +181 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +69 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +270 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +59 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +128 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +38 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +323 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +434 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +251 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +167 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +19 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +720 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +11 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +552 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +214 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +115 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
- package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +1090 -0
- package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +2555 -0
- package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +374 -0
- package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
- package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +29469 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +47 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +51 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +94 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +338 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
- package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +82 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +29 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +326 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +56 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +38 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +46 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +76 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +31 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +17 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +133 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +49 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +39 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +41 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +32 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +55 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +542 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +27 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +96 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +39 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +55 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +42 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +68 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +125 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +24 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +47 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +55 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +97 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +344 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +94 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +25 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +54 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +51 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +84 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +47 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +296 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +148 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +164 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +420 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +47 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +286 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +58 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +133 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
- package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +965 -0
- package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +43 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +131 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +5 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +24 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +40 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +50 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +39 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +172 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +33 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +15 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +8 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +10 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +20 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +18 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +95 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +11 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +14 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +10 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +87 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +478 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +725 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +20 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +11 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +13 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +233 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +453 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +72 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +336 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +105 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +111 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +139 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +19 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +80 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +70 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +60 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +256 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +202 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +69 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +73 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +159 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +137 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +177 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +126 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +33 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +377 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +56 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +239 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +466 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +37 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +236 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +142 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +75 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +43 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +81 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +328 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +210 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +15 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +64 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +106 -0
- package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +3197 -0
- package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +3745 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +83 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +45 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +61 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +46 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +59 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +43 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +8 -0
- package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +2152 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +1093 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +3598 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +2487 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +143 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +2696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +19 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +1828 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +1961 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +332 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +109 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +78 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +5018 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +557 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +38 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +57 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +107 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +3052 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +662 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +306 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +191 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +2339 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +2104 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +1215 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +31 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +1201 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +1055 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +1195 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +188 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +1340 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +670 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +3419 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +477 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +1232 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +1778 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +1222 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.mjs +13 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.mjs +4 -0
- package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +16 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +164 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +29 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +156 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +38 -0
- package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +42 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +95 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +133 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +40 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +28 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +225 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +1262 -0
- package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +344 -0
- package/package.json +25 -25
- package/dist/Bash-aFIJDfx0.js +0 -30
- package/dist/Css-aYNwv_jI.js +0 -18
- package/dist/ElmShikiHighlighter--ESSD5xl.js +0 -7531
- package/dist/Rust-CcTG3HST.js +0 -16
- package/dist/_basePickBy-q3OsvEq8.js +0 -152
- package/dist/_baseUniq-DXyFBvJx.js +0 -583
- package/dist/abap-BPxeDPn4.js +0 -6
- package/dist/actionscript-3-Cjb604Dt.js +0 -6
- package/dist/ada-BSgRrxrM.js +0 -6
- package/dist/andromeeda-uXNdzNpk.js +0 -4
- package/dist/angular-html-Zg5oS4-1.js +0 -32
- package/dist/angular-ts-NgJ-y-q8.js +0 -21
- package/dist/apache-Cyj7Ib-S.js +0 -6
- package/dist/apex-DAAiMqi-.js +0 -6
- package/dist/apl-DxZdCuNa.js +0 -16
- package/dist/applescript-CroEtIVQ.js +0 -6
- package/dist/ara-9AczF2vY.js +0 -6
- package/dist/arc-BLiqnhIS.js +0 -83
- package/dist/architecture-4AB2E3PP-CJBMa096.js +0 -5
- package/dist/architectureDiagram-IEHRJDOE-BmZLGcAR.js +0 -4633
- package/dist/asciidoc-raFNDrGb.js +0 -6
- package/dist/asm-C8ld_M07.js +0 -6
- package/dist/astro-DVLPOVeH.js +0 -16
- package/dist/aurora-x-BwoVEUWZ.js +0 -4
- package/dist/awk-gc4Y_RTq.js +0 -6
- package/dist/ayu-dark-CxPZkpb2.js +0 -4
- package/dist/ballerina-CML1q4Hw.js +0 -6
- package/dist/bat-BVW1L4ug.js +0 -6
- package/dist/beancount-DYEC72C_.js +0 -6
- package/dist/berry-VTah6p7n.js +0 -6
- package/dist/bibtex-Bqt_3AVI.js +0 -6
- package/dist/bicep-DGk9_2l4.js +0 -6
- package/dist/blade-kJIUE9Xv.js +0 -20
- package/dist/blockDiagram-JOT3LUYC-CirZxs50.js +0 -2247
- package/dist/bsl-tt9CYf2I.js +0 -8
- package/dist/c-Cb-M0LQR.js +0 -6
- package/dist/c4Diagram-VJAJSXHY-CT04iVyI.js +0 -1581
- package/dist/cadence-Di4VMBdJ.js +0 -6
- package/dist/cairo-CNbjbPRN.js +0 -8
- package/dist/catppuccin-frappe-MQ6irQtC.js +0 -4
- package/dist/catppuccin-latte-UMitw0Sv.js +0 -4
- package/dist/catppuccin-macchiato-CpTwm6bY.js +0 -4
- package/dist/catppuccin-mocha-DAcVHoH1.js +0 -4
- package/dist/channel-DJoWX82m.js +0 -5
- package/dist/chunk-4BMEZGHF-DbrRFQBV.js +0 -9
- package/dist/chunk-A2AXSNBT-8nnxOxzM.js +0 -1372
- package/dist/chunk-AEK57VVT-BuA3ibij.js +0 -1415
- package/dist/chunk-D6G4REZN-C3CadGUl.js +0 -64
- package/dist/chunk-RZ5BOZE2-bPOa0Bzk.js +0 -24
- package/dist/chunk-XZIHB7SX-tSNzo5Pm.js +0 -15
- package/dist/clarity-WOA8trQj.js +0 -6
- package/dist/classDiagram-GIVACNV2-Ikn0C8nj.js +0 -16
- package/dist/classDiagram-v2-COTLJTTW-Ikn0C8nj.js +0 -16
- package/dist/clojure-r3NcJ8yt.js +0 -6
- package/dist/clone-KYMNdRyb.js +0 -8
- package/dist/cmake-CQmEhYbr.js +0 -6
- package/dist/cobol-DpscMYyB.js +0 -10
- package/dist/codeowners-Bt9yU6NX.js +0 -6
- package/dist/codeql-2Dcm6WNF.js +0 -6
- package/dist/coffee-cT6mLyjo.js +0 -8
- package/dist/common-lisp-DuX5KqId.js +0 -6
- package/dist/coq-DboLktjX.js +0 -6
- package/dist/cpp-Dfuj7FgN.js +0 -18
- package/dist/crystal-Cu359yzW.js +0 -18
- package/dist/csharp-xQvxkZxj.js +0 -6
- package/dist/css-BnL1064W.js +0 -6
- package/dist/csv-CmYOceLb.js +0 -6
- package/dist/cue-ByErcpN2.js +0 -6
- package/dist/cypher-DEVyrV5b.js +0 -6
- package/dist/cytoscape.esm-aRg21b6u.js +0 -18120
- package/dist/d-CBVqdj3C.js +0 -6
- package/dist/dagre-OKDRZEBW-Dd5I26Ao.js +0 -447
- package/dist/dark-plus-pUHDTVV0.js +0 -4
- package/dist/dart-u2fD-sKr.js +0 -6
- package/dist/dax-Crz9Wv4y.js +0 -6
- package/dist/desktop-DNXSD5qJ.js +0 -6
- package/dist/diagram-SSKATNLV-DZNkfESc.js +0 -221
- package/dist/diagram-VNBRO52H-CEw-lSHb.js +0 -126
- package/dist/diff-DOdUfPSR.js +0 -6
- package/dist/docker-CsHqm9tx.js +0 -6
- package/dist/dotenv-BYL4tpZA.js +0 -6
- package/dist/dracula-BtZx2Kac.js +0 -4
- package/dist/dracula-soft-BKa-aqBv.js +0 -4
- package/dist/dream-maker-kevRUHRs.js +0 -6
- package/dist/edge-D-R-hhaT.js +0 -12
- package/dist/elixir-DuneT2DZ.js +0 -8
- package/dist/elm-DdPFQYmH.js +0 -8
- package/dist/elmethis.js +0 -70
- package/dist/emacs-lisp-Bwasiep6.js +0 -6
- package/dist/erDiagram-Q7BY3M3F-Bi-5rbd2.js +0 -841
- package/dist/erb-BDkUfiWc.js +0 -10
- package/dist/erlang-CxpbZUOc.js +0 -6
- package/dist/everforest-dark-DMCBqXCK.js +0 -4
- package/dist/everforest-light-BbXl82Em.js +0 -4
- package/dist/fennel-B1x5pKr1.js +0 -6
- package/dist/fish-BjbXctXH.js +0 -6
- package/dist/flowDiagram-4HSFHLVR-Bep2tb38.js +0 -1622
- package/dist/fluent-DCuHrNR-.js +0 -6
- package/dist/fortran-fixed-form-muAGtm2V.js +0 -8
- package/dist/fortran-free-form-Db8k5H7x.js +0 -6
- package/dist/fsharp-D3TfYvtR.js +0 -8
- package/dist/ganttDiagram-APWFNJXF-MiSNV5UX.js +0 -2493
- package/dist/gdresource-C22851qr.js +0 -10
- package/dist/gdscript-C-C99PjI.js +0 -6
- package/dist/gdshader-0TihrSQl.js +0 -6
- package/dist/genie-MtKmcmPo.js +0 -6
- package/dist/gherkin-AzJBtK0J.js +0 -6
- package/dist/git-commit-Cdscfa4x.js +0 -8
- package/dist/git-rebase-BkertWzk.js +0 -8
- package/dist/gitGraph-O2Q2CXLX-2aBB3Qlu.js +0 -5
- package/dist/gitGraphDiagram-7IBYFJ6S-BeIrUUuR.js +0 -712
- package/dist/github-dark-DenFmJkN.js +0 -4
- package/dist/github-dark-default-BJPUVz4H.js +0 -4
- package/dist/github-dark-dimmed-DUshB20C.js +0 -4
- package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
- package/dist/github-light-JYsPkUQd.js +0 -4
- package/dist/github-light-default-D99KPAby.js +0 -4
- package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
- package/dist/gleam-BoJB89vF.js +0 -6
- package/dist/glimmer-js-DEzcmBLn.js +0 -14
- package/dist/glimmer-ts-CfoDm2Ms.js +0 -14
- package/dist/glsl-BcGeWDoy.js +0 -8
- package/dist/gnuplot-DgGnPAp8.js +0 -6
- package/dist/go-Cw0OOp5U.js +0 -6
- package/dist/graph-BN6Ja3dj.js +0 -247
- package/dist/graphql-BA9S3A0F.js +0 -14
- package/dist/groovy-45PuQEhl.js +0 -6
- package/dist/gruvbox-dark-hard-BDGmrmYl.js +0 -4
- package/dist/gruvbox-dark-medium-D7OrvcL5.js +0 -4
- package/dist/gruvbox-dark-soft-D_75PUdg.js +0 -4
- package/dist/gruvbox-light-hard-DhQt1gbs.js +0 -4
- package/dist/gruvbox-light-medium-DNXV_Sw8.js +0 -4
- package/dist/gruvbox-light-soft-C7ZspGxH.js +0 -4
- package/dist/hack-B5c1rmdK.js +0 -10
- package/dist/haml-CknjlTyn.js +0 -10
- package/dist/handlebars-DxZCQ1Ls.js +0 -14
- package/dist/haskell-ClRE648j.js +0 -6
- package/dist/haxe-CClgwBXY.js +0 -6
- package/dist/hcl-JJeBEFYE.js +0 -6
- package/dist/hjson-BollGKL_.js +0 -6
- package/dist/hlsl-b3kI2reZ.js +0 -6
- package/dist/houston-BDYrDoDW.js +0 -4
- package/dist/html-Iy9EJBkL.js +0 -10
- package/dist/html-derivative-BfM_d1x5.js +0 -8
- package/dist/http-Q-2xEgRf.js +0 -14
- package/dist/hxml-C2bnoXd-.js +0 -8
- package/dist/hy-S8dYOqS_.js +0 -6
- package/dist/imba-DzSSVziz.js +0 -6
- package/dist/index-DzMRhuTS.js +0 -17481
- package/dist/info-4N47QTOZ-MlaygFtp.js +0 -5
- package/dist/infoDiagram-PH2N3AL5-CLDi4hXF.js +0 -22
- package/dist/ini-Cw62c0sR.js +0 -6
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/java-DNw9zkk2.js +0 -6
- package/dist/javascript-CXHlxgtu.js +0 -6
- package/dist/jinja-D3ov3d_Q.js +0 -11
- package/dist/jison-bKZ_ygkY.js +0 -8
- package/dist/journeyDiagram-U35MCT3I-DF_hle8P.js +0 -809
- package/dist/json-D4cXEhM0.js +0 -6
- package/dist/json5-QDX9y-Y9.js +0 -6
- package/dist/jsonc-Bph7GQf8.js +0 -6
- package/dist/jsonl-CCrMgdQc.js +0 -6
- package/dist/jsonnet-SAcLllmN.js +0 -6
- package/dist/jssm-f8vsTkbr.js +0 -6
- package/dist/jsx-BYrS51r7.js +0 -6
- package/dist/julia-k0_CCOLn.js +0 -16
- package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
- package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
- package/dist/kanagawa-wave-CQwozSzG.js +0 -4
- package/dist/kanban-definition-NDS4AKOZ-D2HjB3aQ.js +0 -719
- package/dist/kotlin-DZs3CUXT.js +0 -6
- package/dist/kusto-gqgW0Ct6.js +0 -6
- package/dist/laserwave-6a00oqik.js +0 -4
- package/dist/latex-ixPYeODw.js +0 -8
- package/dist/layout-eoX7qCNd.js +0 -1325
- package/dist/lean-DM2VgJqL.js +0 -6
- package/dist/less-I_XXVOZl.js +0 -6
- package/dist/light-plus-CZuVqSLX.js +0 -4
- package/dist/linear-CjVlzhPx.js +0 -423
- package/dist/liquid-DQYM4OUl.js +0 -14
- package/dist/llvm-D3Vjgx0u.js +0 -6
- package/dist/log-D-MzYv1Z.js +0 -6
- package/dist/logo-D1k-IeHX.js +0 -6
- package/dist/lua-DcPVWcJ7.js +0 -8
- package/dist/luau-B3dL2bb0.js +0 -6
- package/dist/make-CR9bkdqJ.js +0 -6
- package/dist/markdown-w3MmBOPg.js +0 -6
- package/dist/marko-Dou6ix2a.js +0 -14
- package/dist/material-theme-D6KBX41T.js +0 -4
- package/dist/material-theme-darker-CkRroheE.js +0 -4
- package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
- package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
- package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
- package/dist/matlab-Dj6qX5si.js +0 -6
- package/dist/mdc-Df47nGTR.js +0 -12
- package/dist/mdx-COYqLMfv.js +0 -6
- package/dist/mermaid-parser.core-Cnk6H5Tf.js +0 -12836
- package/dist/mermaid-qIAHIJes.js +0 -6
- package/dist/mermaid.core-CVg1AOGh.js +0 -15467
- package/dist/min-dark-C7ak0t6c.js +0 -4
- package/dist/min-light-CKFxVcPp.js +0 -4
- package/dist/mindmap-definition-ALO5MXBD-RsXchRow.js +0 -3220
- package/dist/mipsasm-BJbuoeDX.js +0 -6
- package/dist/mojo-BFkEE7I6.js +0 -6
- package/dist/monokai-C1KBYcO0.js +0 -4
- package/dist/move-DhZIVzw9.js +0 -6
- package/dist/narrat-Cru3p5ML.js +0 -6
- package/dist/nextflow-JJGGygxI.js +0 -6
- package/dist/nginx-Chu4HPUZ.js +0 -8
- package/dist/night-owl-Bm2rzalh.js +0 -4
- package/dist/nim-m3ClKyoA.js +0 -20
- package/dist/nix-DeKhqLCs.js +0 -6
- package/dist/nord-CC5OiUXg.js +0 -4
- package/dist/nushell-vZ0whCpp.js +0 -6
- package/dist/objective-c-DLUrAoO7.js +0 -6
- package/dist/objective-cpp-BR9pz3Y7.js +0 -6
- package/dist/ocaml-JmaGD6hS.js +0 -6
- package/dist/one-dark-pro-DTA3VF0_.js +0 -4
- package/dist/one-light-D9sNaUtq.js +0 -4
- package/dist/ordinal-DfAQgscy.js +0 -61
- package/dist/packet-KVYON367-B0ibT50B.js +0 -5
- package/dist/pascal-NVmycfDo.js +0 -6
- package/dist/perl-Dvb6TR9K.js +0 -16
- package/dist/php-CJHnp_ft.js +0 -18
- package/dist/pie-R6RNRRYF-eieuCIEv.js +0 -5
- package/dist/pieDiagram-IB7DONF6-z3HiYOHT.js +0 -161
- package/dist/plastic-CSTz3KZp.js +0 -4
- package/dist/plsql-DMWd0imC.js +0 -6
- package/dist/po-GS6uwG3N.js +0 -6
- package/dist/poimandres-C-VADXHD.js +0 -4
- package/dist/polar-kLOnm3TU.js +0 -6
- package/dist/postcss-BHhGrjb8.js +0 -6
- package/dist/powerquery-CMfeLaGU.js +0 -6
- package/dist/powershell-D1mvJxDs.js +0 -6
- package/dist/prisma-pUoUFT3i.js +0 -6
- package/dist/prolog-DY7WzwMi.js +0 -6
- package/dist/proto-CNCp3VWu.js +0 -6
- package/dist/pug-CUZjrycK.js +0 -12
- package/dist/puppet-B0mgPBqt.js +0 -6
- package/dist/purescript-Go548NjJ.js +0 -6
- package/dist/python-x6NdgKMy.js +0 -6
- package/dist/qml-BZvDVi14.js +0 -8
- package/dist/qmldir-BInDYbpo.js +0 -6
- package/dist/qss-8QkBlVEn.js +0 -6
- package/dist/quadrantDiagram-7GDLP6J5-DKNPBuF7.js +0 -1024
- package/dist/r-HSnR3oil.js +0 -6
- package/dist/racket-N6wCNCGC.js +0 -6
- package/dist/radar-MK3ICKWK-EavvS0dk.js +0 -5
- package/dist/raku-DIMO1_4D.js +0 -6
- package/dist/razor-B0naKaWH.js +0 -10
- package/dist/red-7y8PH7HH.js +0 -4
- package/dist/reg-6UpU0EA6.js +0 -6
- package/dist/regexp-DHtjPxOp.js +0 -6
- package/dist/rel-DBIoUiKW.js +0 -6
- package/dist/requirementDiagram-KVF5MWMF-CVtQbDO9.js +0 -851
- package/dist/riscv-DpWk9ieM.js +0 -6
- package/dist/rose-pine-4uTOzEpE.js +0 -4
- package/dist/rose-pine-dawn-GMd81k-m.js +0 -4
- package/dist/rose-pine-moon-CIFp_3PJ.js +0 -4
- package/dist/rst-B64R6T0G.js +0 -22
- package/dist/ruby-DfrpdncG.js +0 -30
- package/dist/rust-B-KPd2nT.js +0 -6
- package/dist/sankeyDiagram-QLVOVGJD-Bv56p0v8.js +0 -808
- package/dist/sas-CJQBty5v.js +0 -8
- package/dist/sass-Zos2Blmo.js +0 -6
- package/dist/scala-7cAMYIqn.js +0 -6
- package/dist/scheme-BQZQETGI.js +0 -6
- package/dist/scss-SeF7XgZE.js +0 -8
- package/dist/sdbl-67k1U2sQ.js +0 -6
- package/dist/sequenceDiagram-X6HHIX6F-B6HsmiCo.js +0 -2281
- package/dist/shaderlab-D-UIeqfT.js +0 -8
- package/dist/shellscript-DmhSIIKI.js +0 -6
- package/dist/shellsession-DJoY56qV.js +0 -8
- package/dist/slack-dark-i7wN4OET.js +0 -4
- package/dist/slack-ochin-ndHf0LoP.js +0 -4
- package/dist/smalltalk-WltKgyq1.js +0 -6
- package/dist/snazzy-light-BlSJXAu4.js +0 -4
- package/dist/solarized-dark-UTmkh7lw.js +0 -4
- package/dist/solarized-light-BheCkDPT.js +0 -4
- package/dist/solidity-C04s0Yy3.js +0 -6
- package/dist/soy-BLRDPjcE.js +0 -8
- package/dist/sparql-DTCaWUmB.js +0 -8
- package/dist/splunk-SGh_QiTm.js +0 -6
- package/dist/sql-CsvhJWkt.js +0 -6
- package/dist/ssh-config-D4I637-k.js +0 -6
- package/dist/stata-CoSdWLbd.js +0 -8
- package/dist/stateDiagram-DGXRK772-DisyN0eE.js +0 -270
- package/dist/stateDiagram-v2-YXO3MK2T-DLdp-rnZ.js +0 -16
- package/dist/stylus-C0YS3cII.js +0 -6
- package/dist/svelte-D5kfh286.js +0 -14
- package/dist/swift-DvTgPjC_.js +0 -6
- package/dist/synthwave-84-NU3C_KFZ.js +0 -4
- package/dist/system-verilog-NDUJ-OOt.js +0 -6
- package/dist/systemd-WbxZvB8q.js +0 -6
- package/dist/talonscript-CL368eRB.js +0 -6
- package/dist/tasl-Dz-WwaLH.js +0 -6
- package/dist/tcl-DlZIgGJq.js +0 -6
- package/dist/templ-BeQ_faiG.js +0 -12
- package/dist/terraform-BlQVOgpk.js +0 -6
- package/dist/tex-D5wZQANC.js +0 -8
- package/dist/timeline-definition-BDJGKUSR-BXC_uTuM.js +0 -804
- package/dist/tokyo-night-DP4TmcQl.js +0 -4
- package/dist/toml-DMRYbshZ.js +0 -6
- package/dist/ts-tags-BhMM8FHa.js +0 -41
- package/dist/tsv-BtvSkaG0.js +0 -6
- package/dist/tsx-D0IYuDPS.js +0 -6
- package/dist/turtle-p-VV8DEc.js +0 -6
- package/dist/twig-B7P5Ovvl.js +0 -18
- package/dist/typescript-DKfvlBCw.js +0 -6
- package/dist/typespec-CTme0-JL.js +0 -6
- package/dist/typst-Dn4vyooU.js +0 -6
- package/dist/v-D7ebitkb.js +0 -6
- package/dist/vala-TRtLMDHC.js +0 -6
- package/dist/vb-B47FrOmA.js +0 -6
- package/dist/verilog-B2TLsC4I.js +0 -6
- package/dist/vesper-BckBta1U.js +0 -4
- package/dist/vhdl-CU5AEtCN.js +0 -6
- package/dist/viml-D-fUhqVn.js +0 -6
- package/dist/vitesse-black-BoGvW84i.js +0 -4
- package/dist/vitesse-dark-Cym-eLtO.js +0 -4
- package/dist/vitesse-light-CcmG315c.js +0 -4
- package/dist/vue-CdwmeZFh.js +0 -31
- package/dist/vue-html-C-PRGoQQ.js +0 -10
- package/dist/vyper-C03y8CZF.js +0 -6
- package/dist/wasm-Bq8UuFo1.js +0 -6
- package/dist/wasm-DQxwEHae.js +0 -7
- package/dist/wenyan-DZPWEYbu.js +0 -6
- package/dist/wgsl-De1GPYf9.js +0 -6
- package/dist/wikitext-C-THcCj2.js +0 -6
- package/dist/wit-BanP67gl.js +0 -6
- package/dist/wolfram-CUT_U39K.js +0 -6
- package/dist/xml-jRL-qgj-.js +0 -8
- package/dist/xsl-CZWICAVO.js +0 -8
- package/dist/xychartDiagram-VJFVF3MP-CkPa_K58.js +0 -1304
- package/dist/yaml-DcQhbMrL.js +0 -6
- package/dist/zenscript-8JCzLCTe.js +0 -6
- package/dist/zig-DhdgDxkm.js +0 -6
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
|
2
|
+
const {
|
|
3
|
+
entries,
|
|
4
|
+
setPrototypeOf,
|
|
5
|
+
isFrozen,
|
|
6
|
+
getPrototypeOf,
|
|
7
|
+
getOwnPropertyDescriptor
|
|
8
|
+
} = Object;
|
|
9
|
+
let {
|
|
10
|
+
freeze,
|
|
11
|
+
seal,
|
|
12
|
+
create
|
|
13
|
+
} = Object;
|
|
14
|
+
let {
|
|
15
|
+
apply,
|
|
16
|
+
construct
|
|
17
|
+
} = typeof Reflect !== "undefined" && Reflect;
|
|
18
|
+
if (!freeze) {
|
|
19
|
+
freeze = function freeze2(x) {
|
|
20
|
+
return x;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
if (!seal) {
|
|
24
|
+
seal = function seal2(x) {
|
|
25
|
+
return x;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
if (!apply) {
|
|
29
|
+
apply = function apply2(fun, thisValue, args) {
|
|
30
|
+
return fun.apply(thisValue, args);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
if (!construct) {
|
|
34
|
+
construct = function construct2(Func, args) {
|
|
35
|
+
return new Func(...args);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
const arrayForEach = unapply(Array.prototype.forEach);
|
|
39
|
+
const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
|
40
|
+
const arrayPop = unapply(Array.prototype.pop);
|
|
41
|
+
const arrayPush = unapply(Array.prototype.push);
|
|
42
|
+
const arraySplice = unapply(Array.prototype.splice);
|
|
43
|
+
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
44
|
+
const stringToString = unapply(String.prototype.toString);
|
|
45
|
+
const stringMatch = unapply(String.prototype.match);
|
|
46
|
+
const stringReplace = unapply(String.prototype.replace);
|
|
47
|
+
const stringIndexOf = unapply(String.prototype.indexOf);
|
|
48
|
+
const stringTrim = unapply(String.prototype.trim);
|
|
49
|
+
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
|
50
|
+
const regExpTest = unapply(RegExp.prototype.test);
|
|
51
|
+
const typeErrorCreate = unconstruct(TypeError);
|
|
52
|
+
function unapply(func) {
|
|
53
|
+
return function(thisArg) {
|
|
54
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
55
|
+
args[_key - 1] = arguments[_key];
|
|
56
|
+
}
|
|
57
|
+
return apply(func, thisArg, args);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function unconstruct(func) {
|
|
61
|
+
return function() {
|
|
62
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
63
|
+
args[_key2] = arguments[_key2];
|
|
64
|
+
}
|
|
65
|
+
return construct(func, args);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function addToSet(set, array) {
|
|
69
|
+
let transformCaseFunc = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;
|
|
70
|
+
if (setPrototypeOf) {
|
|
71
|
+
setPrototypeOf(set, null);
|
|
72
|
+
}
|
|
73
|
+
let l = array.length;
|
|
74
|
+
while (l--) {
|
|
75
|
+
let element = array[l];
|
|
76
|
+
if (typeof element === "string") {
|
|
77
|
+
const lcElement = transformCaseFunc(element);
|
|
78
|
+
if (lcElement !== element) {
|
|
79
|
+
if (!isFrozen(array)) {
|
|
80
|
+
array[l] = lcElement;
|
|
81
|
+
}
|
|
82
|
+
element = lcElement;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
set[element] = true;
|
|
86
|
+
}
|
|
87
|
+
return set;
|
|
88
|
+
}
|
|
89
|
+
function cleanArray(array) {
|
|
90
|
+
for (let index = 0; index < array.length; index++) {
|
|
91
|
+
const isPropertyExist = objectHasOwnProperty(array, index);
|
|
92
|
+
if (!isPropertyExist) {
|
|
93
|
+
array[index] = null;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return array;
|
|
97
|
+
}
|
|
98
|
+
function clone(object) {
|
|
99
|
+
const newObject = create(null);
|
|
100
|
+
for (const [property, value] of entries(object)) {
|
|
101
|
+
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
102
|
+
if (isPropertyExist) {
|
|
103
|
+
if (Array.isArray(value)) {
|
|
104
|
+
newObject[property] = cleanArray(value);
|
|
105
|
+
} else if (value && typeof value === "object" && value.constructor === Object) {
|
|
106
|
+
newObject[property] = clone(value);
|
|
107
|
+
} else {
|
|
108
|
+
newObject[property] = value;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return newObject;
|
|
113
|
+
}
|
|
114
|
+
function lookupGetter(object, prop) {
|
|
115
|
+
while (object !== null) {
|
|
116
|
+
const desc = getOwnPropertyDescriptor(object, prop);
|
|
117
|
+
if (desc) {
|
|
118
|
+
if (desc.get) {
|
|
119
|
+
return unapply(desc.get);
|
|
120
|
+
}
|
|
121
|
+
if (typeof desc.value === "function") {
|
|
122
|
+
return unapply(desc.value);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
object = getPrototypeOf(object);
|
|
126
|
+
}
|
|
127
|
+
function fallbackValue() {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
return fallbackValue;
|
|
131
|
+
}
|
|
132
|
+
const html$1 = freeze(["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", "section", "select", "shadow", "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"]);
|
|
133
|
+
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
134
|
+
const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
|
|
135
|
+
const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
|
|
136
|
+
const mathMl$1 = freeze(["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"]);
|
|
137
|
+
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
138
|
+
const text = freeze(["#text"]);
|
|
139
|
+
const html = freeze(["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", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "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", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
140
|
+
const svg = freeze(["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", "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"]);
|
|
141
|
+
const mathMl = freeze(["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"]);
|
|
142
|
+
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
143
|
+
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
144
|
+
const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
145
|
+
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
|
|
146
|
+
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
|
|
147
|
+
const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
|
|
148
|
+
const IS_ALLOWED_URI = seal(
|
|
149
|
+
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
150
|
+
// eslint-disable-line no-useless-escape
|
|
151
|
+
);
|
|
152
|
+
const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
|
153
|
+
const ATTR_WHITESPACE = seal(
|
|
154
|
+
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
155
|
+
// eslint-disable-line no-control-regex
|
|
156
|
+
);
|
|
157
|
+
const DOCTYPE_NAME = seal(/^html$/i);
|
|
158
|
+
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
159
|
+
var EXPRESSIONS = /* @__PURE__ */ Object.freeze({
|
|
160
|
+
__proto__: null,
|
|
161
|
+
ARIA_ATTR,
|
|
162
|
+
ATTR_WHITESPACE,
|
|
163
|
+
CUSTOM_ELEMENT,
|
|
164
|
+
DATA_ATTR,
|
|
165
|
+
DOCTYPE_NAME,
|
|
166
|
+
ERB_EXPR,
|
|
167
|
+
IS_ALLOWED_URI,
|
|
168
|
+
IS_SCRIPT_OR_DATA,
|
|
169
|
+
MUSTACHE_EXPR,
|
|
170
|
+
TMPLIT_EXPR
|
|
171
|
+
});
|
|
172
|
+
const NODE_TYPE = {
|
|
173
|
+
element: 1,
|
|
174
|
+
text: 3,
|
|
175
|
+
// Deprecated
|
|
176
|
+
progressingInstruction: 7,
|
|
177
|
+
comment: 8,
|
|
178
|
+
document: 9
|
|
179
|
+
};
|
|
180
|
+
const getGlobal = function getGlobal2() {
|
|
181
|
+
return typeof window === "undefined" ? null : window;
|
|
182
|
+
};
|
|
183
|
+
const _createTrustedTypesPolicy = function _createTrustedTypesPolicy2(trustedTypes, purifyHostElement) {
|
|
184
|
+
if (typeof trustedTypes !== "object" || typeof trustedTypes.createPolicy !== "function") {
|
|
185
|
+
return null;
|
|
186
|
+
}
|
|
187
|
+
let suffix = null;
|
|
188
|
+
const ATTR_NAME = "data-tt-policy-suffix";
|
|
189
|
+
if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
|
|
190
|
+
suffix = purifyHostElement.getAttribute(ATTR_NAME);
|
|
191
|
+
}
|
|
192
|
+
const policyName = "dompurify" + (suffix ? "#" + suffix : "");
|
|
193
|
+
try {
|
|
194
|
+
return trustedTypes.createPolicy(policyName, {
|
|
195
|
+
createHTML(html2) {
|
|
196
|
+
return html2;
|
|
197
|
+
},
|
|
198
|
+
createScriptURL(scriptUrl) {
|
|
199
|
+
return scriptUrl;
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
} catch (_) {
|
|
203
|
+
console.warn("TrustedTypes policy " + policyName + " could not be created.");
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
const _createHooksMap = function _createHooksMap2() {
|
|
208
|
+
return {
|
|
209
|
+
afterSanitizeAttributes: [],
|
|
210
|
+
afterSanitizeElements: [],
|
|
211
|
+
afterSanitizeShadowDOM: [],
|
|
212
|
+
beforeSanitizeAttributes: [],
|
|
213
|
+
beforeSanitizeElements: [],
|
|
214
|
+
beforeSanitizeShadowDOM: [],
|
|
215
|
+
uponSanitizeAttribute: [],
|
|
216
|
+
uponSanitizeElement: [],
|
|
217
|
+
uponSanitizeShadowNode: []
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
function createDOMPurify() {
|
|
221
|
+
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
222
|
+
const DOMPurify = (root) => createDOMPurify(root);
|
|
223
|
+
DOMPurify.version = "3.2.4";
|
|
224
|
+
DOMPurify.removed = [];
|
|
225
|
+
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
226
|
+
DOMPurify.isSupported = false;
|
|
227
|
+
return DOMPurify;
|
|
228
|
+
}
|
|
229
|
+
let {
|
|
230
|
+
document
|
|
231
|
+
} = window2;
|
|
232
|
+
const originalDocument = document;
|
|
233
|
+
const currentScript = originalDocument.currentScript;
|
|
234
|
+
const {
|
|
235
|
+
DocumentFragment,
|
|
236
|
+
HTMLTemplateElement,
|
|
237
|
+
Node,
|
|
238
|
+
Element,
|
|
239
|
+
NodeFilter,
|
|
240
|
+
NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
|
|
241
|
+
HTMLFormElement,
|
|
242
|
+
DOMParser,
|
|
243
|
+
trustedTypes
|
|
244
|
+
} = window2;
|
|
245
|
+
const ElementPrototype = Element.prototype;
|
|
246
|
+
const cloneNode = lookupGetter(ElementPrototype, "cloneNode");
|
|
247
|
+
const remove = lookupGetter(ElementPrototype, "remove");
|
|
248
|
+
const getNextSibling = lookupGetter(ElementPrototype, "nextSibling");
|
|
249
|
+
const getChildNodes = lookupGetter(ElementPrototype, "childNodes");
|
|
250
|
+
const getParentNode = lookupGetter(ElementPrototype, "parentNode");
|
|
251
|
+
if (typeof HTMLTemplateElement === "function") {
|
|
252
|
+
const template = document.createElement("template");
|
|
253
|
+
if (template.content && template.content.ownerDocument) {
|
|
254
|
+
document = template.content.ownerDocument;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
let trustedTypesPolicy;
|
|
258
|
+
let emptyHTML = "";
|
|
259
|
+
const {
|
|
260
|
+
implementation,
|
|
261
|
+
createNodeIterator,
|
|
262
|
+
createDocumentFragment,
|
|
263
|
+
getElementsByTagName
|
|
264
|
+
} = document;
|
|
265
|
+
const {
|
|
266
|
+
importNode
|
|
267
|
+
} = originalDocument;
|
|
268
|
+
let hooks = _createHooksMap();
|
|
269
|
+
DOMPurify.isSupported = typeof entries === "function" && typeof getParentNode === "function" && implementation && implementation.createHTMLDocument !== void 0;
|
|
270
|
+
const {
|
|
271
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR2,
|
|
272
|
+
ERB_EXPR: ERB_EXPR2,
|
|
273
|
+
TMPLIT_EXPR: TMPLIT_EXPR2,
|
|
274
|
+
DATA_ATTR: DATA_ATTR2,
|
|
275
|
+
ARIA_ATTR: ARIA_ATTR2,
|
|
276
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA2,
|
|
277
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE2,
|
|
278
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT2
|
|
279
|
+
} = EXPRESSIONS;
|
|
280
|
+
let {
|
|
281
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
282
|
+
} = EXPRESSIONS;
|
|
283
|
+
let ALLOWED_TAGS = null;
|
|
284
|
+
const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
|
|
285
|
+
let ALLOWED_ATTR = null;
|
|
286
|
+
const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
|
|
287
|
+
let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {
|
|
288
|
+
tagNameCheck: {
|
|
289
|
+
writable: true,
|
|
290
|
+
configurable: false,
|
|
291
|
+
enumerable: true,
|
|
292
|
+
value: null
|
|
293
|
+
},
|
|
294
|
+
attributeNameCheck: {
|
|
295
|
+
writable: true,
|
|
296
|
+
configurable: false,
|
|
297
|
+
enumerable: true,
|
|
298
|
+
value: null
|
|
299
|
+
},
|
|
300
|
+
allowCustomizedBuiltInElements: {
|
|
301
|
+
writable: true,
|
|
302
|
+
configurable: false,
|
|
303
|
+
enumerable: true,
|
|
304
|
+
value: false
|
|
305
|
+
}
|
|
306
|
+
}));
|
|
307
|
+
let FORBID_TAGS = null;
|
|
308
|
+
let FORBID_ATTR = null;
|
|
309
|
+
let ALLOW_ARIA_ATTR = true;
|
|
310
|
+
let ALLOW_DATA_ATTR = true;
|
|
311
|
+
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
312
|
+
let ALLOW_SELF_CLOSE_IN_ATTR = true;
|
|
313
|
+
let SAFE_FOR_TEMPLATES = false;
|
|
314
|
+
let SAFE_FOR_XML = true;
|
|
315
|
+
let WHOLE_DOCUMENT = false;
|
|
316
|
+
let SET_CONFIG = false;
|
|
317
|
+
let FORCE_BODY = false;
|
|
318
|
+
let RETURN_DOM = false;
|
|
319
|
+
let RETURN_DOM_FRAGMENT = false;
|
|
320
|
+
let RETURN_TRUSTED_TYPE = false;
|
|
321
|
+
let SANITIZE_DOM = true;
|
|
322
|
+
let SANITIZE_NAMED_PROPS = false;
|
|
323
|
+
const SANITIZE_NAMED_PROPS_PREFIX = "user-content-";
|
|
324
|
+
let KEEP_CONTENT = true;
|
|
325
|
+
let IN_PLACE = false;
|
|
326
|
+
let USE_PROFILES = {};
|
|
327
|
+
let FORBID_CONTENTS = null;
|
|
328
|
+
const DEFAULT_FORBID_CONTENTS = addToSet({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
329
|
+
let DATA_URI_TAGS = null;
|
|
330
|
+
const DEFAULT_DATA_URI_TAGS = addToSet({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
331
|
+
let URI_SAFE_ATTRIBUTES = null;
|
|
332
|
+
const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]);
|
|
333
|
+
const MATHML_NAMESPACE = "http://www.w3.org/1998/Math/MathML";
|
|
334
|
+
const SVG_NAMESPACE = "http://www.w3.org/2000/svg";
|
|
335
|
+
const HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
|
|
336
|
+
let NAMESPACE = HTML_NAMESPACE;
|
|
337
|
+
let IS_EMPTY_INPUT = false;
|
|
338
|
+
let ALLOWED_NAMESPACES = null;
|
|
339
|
+
const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
|
340
|
+
let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]);
|
|
341
|
+
let HTML_INTEGRATION_POINTS = addToSet({}, ["annotation-xml"]);
|
|
342
|
+
const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ["title", "style", "font", "a", "script"]);
|
|
343
|
+
let PARSER_MEDIA_TYPE = null;
|
|
344
|
+
const SUPPORTED_PARSER_MEDIA_TYPES = ["application/xhtml+xml", "text/html"];
|
|
345
|
+
const DEFAULT_PARSER_MEDIA_TYPE = "text/html";
|
|
346
|
+
let transformCaseFunc = null;
|
|
347
|
+
let CONFIG = null;
|
|
348
|
+
const formElement = document.createElement("form");
|
|
349
|
+
const isRegexOrFunction = function isRegexOrFunction2(testValue) {
|
|
350
|
+
return testValue instanceof RegExp || testValue instanceof Function;
|
|
351
|
+
};
|
|
352
|
+
const _parseConfig = function _parseConfig2() {
|
|
353
|
+
let cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
354
|
+
if (CONFIG && CONFIG === cfg) {
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
if (!cfg || typeof cfg !== "object") {
|
|
358
|
+
cfg = {};
|
|
359
|
+
}
|
|
360
|
+
cfg = clone(cfg);
|
|
361
|
+
PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes
|
|
362
|
+
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;
|
|
363
|
+
transformCaseFunc = PARSER_MEDIA_TYPE === "application/xhtml+xml" ? stringToString : stringToLowerCase;
|
|
364
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, "ALLOWED_TAGS") ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
365
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, "ALLOWED_ATTR") ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
366
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, "ALLOWED_NAMESPACES") ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
367
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
368
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
369
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
370
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
|
371
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
|
372
|
+
USE_PROFILES = objectHasOwnProperty(cfg, "USE_PROFILES") ? cfg.USE_PROFILES : false;
|
|
373
|
+
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;
|
|
374
|
+
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;
|
|
375
|
+
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false;
|
|
376
|
+
ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false;
|
|
377
|
+
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false;
|
|
378
|
+
SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false;
|
|
379
|
+
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false;
|
|
380
|
+
RETURN_DOM = cfg.RETURN_DOM || false;
|
|
381
|
+
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false;
|
|
382
|
+
RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false;
|
|
383
|
+
FORCE_BODY = cfg.FORCE_BODY || false;
|
|
384
|
+
SANITIZE_DOM = cfg.SANITIZE_DOM !== false;
|
|
385
|
+
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false;
|
|
386
|
+
KEEP_CONTENT = cfg.KEEP_CONTENT !== false;
|
|
387
|
+
IN_PLACE = cfg.IN_PLACE || false;
|
|
388
|
+
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
|
|
389
|
+
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
390
|
+
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
|
391
|
+
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
|
392
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
|
|
393
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
394
|
+
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
395
|
+
}
|
|
396
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
|
|
397
|
+
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
|
|
398
|
+
}
|
|
399
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === "boolean") {
|
|
400
|
+
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
|
|
401
|
+
}
|
|
402
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
403
|
+
ALLOW_DATA_ATTR = false;
|
|
404
|
+
}
|
|
405
|
+
if (RETURN_DOM_FRAGMENT) {
|
|
406
|
+
RETURN_DOM = true;
|
|
407
|
+
}
|
|
408
|
+
if (USE_PROFILES) {
|
|
409
|
+
ALLOWED_TAGS = addToSet({}, text);
|
|
410
|
+
ALLOWED_ATTR = [];
|
|
411
|
+
if (USE_PROFILES.html === true) {
|
|
412
|
+
addToSet(ALLOWED_TAGS, html$1);
|
|
413
|
+
addToSet(ALLOWED_ATTR, html);
|
|
414
|
+
}
|
|
415
|
+
if (USE_PROFILES.svg === true) {
|
|
416
|
+
addToSet(ALLOWED_TAGS, svg$1);
|
|
417
|
+
addToSet(ALLOWED_ATTR, svg);
|
|
418
|
+
addToSet(ALLOWED_ATTR, xml);
|
|
419
|
+
}
|
|
420
|
+
if (USE_PROFILES.svgFilters === true) {
|
|
421
|
+
addToSet(ALLOWED_TAGS, svgFilters);
|
|
422
|
+
addToSet(ALLOWED_ATTR, svg);
|
|
423
|
+
addToSet(ALLOWED_ATTR, xml);
|
|
424
|
+
}
|
|
425
|
+
if (USE_PROFILES.mathMl === true) {
|
|
426
|
+
addToSet(ALLOWED_TAGS, mathMl$1);
|
|
427
|
+
addToSet(ALLOWED_ATTR, mathMl);
|
|
428
|
+
addToSet(ALLOWED_ATTR, xml);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
if (cfg.ADD_TAGS) {
|
|
432
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
433
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
434
|
+
}
|
|
435
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
436
|
+
}
|
|
437
|
+
if (cfg.ADD_ATTR) {
|
|
438
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
439
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
440
|
+
}
|
|
441
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
442
|
+
}
|
|
443
|
+
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
444
|
+
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
445
|
+
}
|
|
446
|
+
if (cfg.FORBID_CONTENTS) {
|
|
447
|
+
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
448
|
+
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
449
|
+
}
|
|
450
|
+
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
451
|
+
}
|
|
452
|
+
if (KEEP_CONTENT) {
|
|
453
|
+
ALLOWED_TAGS["#text"] = true;
|
|
454
|
+
}
|
|
455
|
+
if (WHOLE_DOCUMENT) {
|
|
456
|
+
addToSet(ALLOWED_TAGS, ["html", "head", "body"]);
|
|
457
|
+
}
|
|
458
|
+
if (ALLOWED_TAGS.table) {
|
|
459
|
+
addToSet(ALLOWED_TAGS, ["tbody"]);
|
|
460
|
+
delete FORBID_TAGS.tbody;
|
|
461
|
+
}
|
|
462
|
+
if (cfg.TRUSTED_TYPES_POLICY) {
|
|
463
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== "function") {
|
|
464
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
465
|
+
}
|
|
466
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== "function") {
|
|
467
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
468
|
+
}
|
|
469
|
+
trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
|
|
470
|
+
emptyHTML = trustedTypesPolicy.createHTML("");
|
|
471
|
+
} else {
|
|
472
|
+
if (trustedTypesPolicy === void 0) {
|
|
473
|
+
trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
|
|
474
|
+
}
|
|
475
|
+
if (trustedTypesPolicy !== null && typeof emptyHTML === "string") {
|
|
476
|
+
emptyHTML = trustedTypesPolicy.createHTML("");
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
if (freeze) {
|
|
480
|
+
freeze(cfg);
|
|
481
|
+
}
|
|
482
|
+
CONFIG = cfg;
|
|
483
|
+
};
|
|
484
|
+
const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
|
|
485
|
+
const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
|
|
486
|
+
const _checkValidNamespace = function _checkValidNamespace2(element) {
|
|
487
|
+
let parent = getParentNode(element);
|
|
488
|
+
if (!parent || !parent.tagName) {
|
|
489
|
+
parent = {
|
|
490
|
+
namespaceURI: NAMESPACE,
|
|
491
|
+
tagName: "template"
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
const tagName = stringToLowerCase(element.tagName);
|
|
495
|
+
const parentTagName = stringToLowerCase(parent.tagName);
|
|
496
|
+
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
499
|
+
if (element.namespaceURI === SVG_NAMESPACE) {
|
|
500
|
+
if (parent.namespaceURI === HTML_NAMESPACE) {
|
|
501
|
+
return tagName === "svg";
|
|
502
|
+
}
|
|
503
|
+
if (parent.namespaceURI === MATHML_NAMESPACE) {
|
|
504
|
+
return tagName === "svg" && (parentTagName === "annotation-xml" || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
|
|
505
|
+
}
|
|
506
|
+
return Boolean(ALL_SVG_TAGS[tagName]);
|
|
507
|
+
}
|
|
508
|
+
if (element.namespaceURI === MATHML_NAMESPACE) {
|
|
509
|
+
if (parent.namespaceURI === HTML_NAMESPACE) {
|
|
510
|
+
return tagName === "math";
|
|
511
|
+
}
|
|
512
|
+
if (parent.namespaceURI === SVG_NAMESPACE) {
|
|
513
|
+
return tagName === "math" && HTML_INTEGRATION_POINTS[parentTagName];
|
|
514
|
+
}
|
|
515
|
+
return Boolean(ALL_MATHML_TAGS[tagName]);
|
|
516
|
+
}
|
|
517
|
+
if (element.namespaceURI === HTML_NAMESPACE) {
|
|
518
|
+
if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
|
|
519
|
+
return false;
|
|
520
|
+
}
|
|
521
|
+
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
|
522
|
+
return false;
|
|
523
|
+
}
|
|
524
|
+
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
|
525
|
+
}
|
|
526
|
+
if (PARSER_MEDIA_TYPE === "application/xhtml+xml" && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
527
|
+
return true;
|
|
528
|
+
}
|
|
529
|
+
return false;
|
|
530
|
+
};
|
|
531
|
+
const _forceRemove = function _forceRemove2(node) {
|
|
532
|
+
arrayPush(DOMPurify.removed, {
|
|
533
|
+
element: node
|
|
534
|
+
});
|
|
535
|
+
try {
|
|
536
|
+
getParentNode(node).removeChild(node);
|
|
537
|
+
} catch (_) {
|
|
538
|
+
remove(node);
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
const _removeAttribute = function _removeAttribute2(name, element) {
|
|
542
|
+
try {
|
|
543
|
+
arrayPush(DOMPurify.removed, {
|
|
544
|
+
attribute: element.getAttributeNode(name),
|
|
545
|
+
from: element
|
|
546
|
+
});
|
|
547
|
+
} catch (_) {
|
|
548
|
+
arrayPush(DOMPurify.removed, {
|
|
549
|
+
attribute: null,
|
|
550
|
+
from: element
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
element.removeAttribute(name);
|
|
554
|
+
if (name === "is") {
|
|
555
|
+
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
|
556
|
+
try {
|
|
557
|
+
_forceRemove(element);
|
|
558
|
+
} catch (_) {
|
|
559
|
+
}
|
|
560
|
+
} else {
|
|
561
|
+
try {
|
|
562
|
+
element.setAttribute(name, "");
|
|
563
|
+
} catch (_) {
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
const _initDocument = function _initDocument2(dirty) {
|
|
569
|
+
let doc = null;
|
|
570
|
+
let leadingWhitespace = null;
|
|
571
|
+
if (FORCE_BODY) {
|
|
572
|
+
dirty = "<remove></remove>" + dirty;
|
|
573
|
+
} else {
|
|
574
|
+
const matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
|
575
|
+
leadingWhitespace = matches && matches[0];
|
|
576
|
+
}
|
|
577
|
+
if (PARSER_MEDIA_TYPE === "application/xhtml+xml" && NAMESPACE === HTML_NAMESPACE) {
|
|
578
|
+
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + "</body></html>";
|
|
579
|
+
}
|
|
580
|
+
const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
581
|
+
if (NAMESPACE === HTML_NAMESPACE) {
|
|
582
|
+
try {
|
|
583
|
+
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
|
584
|
+
} catch (_) {
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
if (!doc || !doc.documentElement) {
|
|
588
|
+
doc = implementation.createDocument(NAMESPACE, "template", null);
|
|
589
|
+
try {
|
|
590
|
+
doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
|
|
591
|
+
} catch (_) {
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
const body = doc.body || doc.documentElement;
|
|
595
|
+
if (dirty && leadingWhitespace) {
|
|
596
|
+
body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
|
597
|
+
}
|
|
598
|
+
if (NAMESPACE === HTML_NAMESPACE) {
|
|
599
|
+
return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? "html" : "body")[0];
|
|
600
|
+
}
|
|
601
|
+
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
|
602
|
+
};
|
|
603
|
+
const _createNodeIterator = function _createNodeIterator2(root) {
|
|
604
|
+
return createNodeIterator.call(
|
|
605
|
+
root.ownerDocument || root,
|
|
606
|
+
root,
|
|
607
|
+
// eslint-disable-next-line no-bitwise
|
|
608
|
+
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION,
|
|
609
|
+
null
|
|
610
|
+
);
|
|
611
|
+
};
|
|
612
|
+
const _isClobbered = function _isClobbered2(element) {
|
|
613
|
+
return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
|
|
614
|
+
};
|
|
615
|
+
const _isNode = function _isNode2(value) {
|
|
616
|
+
return typeof Node === "function" && value instanceof Node;
|
|
617
|
+
};
|
|
618
|
+
function _executeHooks(hooks2, currentNode, data) {
|
|
619
|
+
arrayForEach(hooks2, (hook) => {
|
|
620
|
+
hook.call(DOMPurify, currentNode, data, CONFIG);
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
const _sanitizeElements = function _sanitizeElements2(currentNode) {
|
|
624
|
+
let content = null;
|
|
625
|
+
_executeHooks(hooks.beforeSanitizeElements, currentNode, null);
|
|
626
|
+
if (_isClobbered(currentNode)) {
|
|
627
|
+
_forceRemove(currentNode);
|
|
628
|
+
return true;
|
|
629
|
+
}
|
|
630
|
+
const tagName = transformCaseFunc(currentNode.nodeName);
|
|
631
|
+
_executeHooks(hooks.uponSanitizeElement, currentNode, {
|
|
632
|
+
tagName,
|
|
633
|
+
allowedTags: ALLOWED_TAGS
|
|
634
|
+
});
|
|
635
|
+
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
|
636
|
+
_forceRemove(currentNode);
|
|
637
|
+
return true;
|
|
638
|
+
}
|
|
639
|
+
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
640
|
+
_forceRemove(currentNode);
|
|
641
|
+
return true;
|
|
642
|
+
}
|
|
643
|
+
if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
|
|
644
|
+
_forceRemove(currentNode);
|
|
645
|
+
return true;
|
|
646
|
+
}
|
|
647
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
648
|
+
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
649
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
650
|
+
return false;
|
|
651
|
+
}
|
|
652
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
|
|
653
|
+
return false;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
|
657
|
+
const parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
|
658
|
+
const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
|
659
|
+
if (childNodes && parentNode) {
|
|
660
|
+
const childCount = childNodes.length;
|
|
661
|
+
for (let i = childCount - 1; i >= 0; --i) {
|
|
662
|
+
const childClone = cloneNode(childNodes[i], true);
|
|
663
|
+
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
664
|
+
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
_forceRemove(currentNode);
|
|
669
|
+
return true;
|
|
670
|
+
}
|
|
671
|
+
if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
|
|
672
|
+
_forceRemove(currentNode);
|
|
673
|
+
return true;
|
|
674
|
+
}
|
|
675
|
+
if ((tagName === "noscript" || tagName === "noembed" || tagName === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
|
|
676
|
+
_forceRemove(currentNode);
|
|
677
|
+
return true;
|
|
678
|
+
}
|
|
679
|
+
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
680
|
+
content = currentNode.textContent;
|
|
681
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
682
|
+
content = stringReplace(content, expr, " ");
|
|
683
|
+
});
|
|
684
|
+
if (currentNode.textContent !== content) {
|
|
685
|
+
arrayPush(DOMPurify.removed, {
|
|
686
|
+
element: currentNode.cloneNode()
|
|
687
|
+
});
|
|
688
|
+
currentNode.textContent = content;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
_executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
|
692
|
+
return false;
|
|
693
|
+
};
|
|
694
|
+
const _isValidAttribute = function _isValidAttribute2(lcTag, lcName, value) {
|
|
695
|
+
if (SANITIZE_DOM && (lcName === "id" || lcName === "name") && (value in document || value in formElement)) {
|
|
696
|
+
return false;
|
|
697
|
+
}
|
|
698
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
699
|
+
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
700
|
+
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
701
|
+
if (
|
|
702
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
703
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
704
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
705
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
706
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
707
|
+
lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
|
|
708
|
+
) ;
|
|
709
|
+
else {
|
|
710
|
+
return false;
|
|
711
|
+
}
|
|
712
|
+
} else if (URI_SAFE_ATTRIBUTES[lcName]) ;
|
|
713
|
+
else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE2, ""))) ;
|
|
714
|
+
else if ((lcName === "src" || lcName === "xlink:href" || lcName === "href") && lcTag !== "script" && stringIndexOf(value, "data:") === 0 && DATA_URI_TAGS[lcTag]) ;
|
|
715
|
+
else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA2, stringReplace(value, ATTR_WHITESPACE2, ""))) ;
|
|
716
|
+
else if (value) {
|
|
717
|
+
return false;
|
|
718
|
+
} else ;
|
|
719
|
+
return true;
|
|
720
|
+
};
|
|
721
|
+
const _isBasicCustomElement = function _isBasicCustomElement2(tagName) {
|
|
722
|
+
return tagName !== "annotation-xml" && stringMatch(tagName, CUSTOM_ELEMENT2);
|
|
723
|
+
};
|
|
724
|
+
const _sanitizeAttributes = function _sanitizeAttributes2(currentNode) {
|
|
725
|
+
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
726
|
+
const {
|
|
727
|
+
attributes
|
|
728
|
+
} = currentNode;
|
|
729
|
+
if (!attributes || _isClobbered(currentNode)) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
const hookEvent = {
|
|
733
|
+
attrName: "",
|
|
734
|
+
attrValue: "",
|
|
735
|
+
keepAttr: true,
|
|
736
|
+
allowedAttributes: ALLOWED_ATTR,
|
|
737
|
+
forceKeepAttr: void 0
|
|
738
|
+
};
|
|
739
|
+
let l = attributes.length;
|
|
740
|
+
while (l--) {
|
|
741
|
+
const attr = attributes[l];
|
|
742
|
+
const {
|
|
743
|
+
name,
|
|
744
|
+
namespaceURI,
|
|
745
|
+
value: attrValue
|
|
746
|
+
} = attr;
|
|
747
|
+
const lcName = transformCaseFunc(name);
|
|
748
|
+
let value = name === "value" ? attrValue : stringTrim(attrValue);
|
|
749
|
+
hookEvent.attrName = lcName;
|
|
750
|
+
hookEvent.attrValue = value;
|
|
751
|
+
hookEvent.keepAttr = true;
|
|
752
|
+
hookEvent.forceKeepAttr = void 0;
|
|
753
|
+
_executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
|
|
754
|
+
value = hookEvent.attrValue;
|
|
755
|
+
if (SANITIZE_NAMED_PROPS && (lcName === "id" || lcName === "name")) {
|
|
756
|
+
_removeAttribute(name, currentNode);
|
|
757
|
+
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
758
|
+
}
|
|
759
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
760
|
+
_removeAttribute(name, currentNode);
|
|
761
|
+
continue;
|
|
762
|
+
}
|
|
763
|
+
if (hookEvent.forceKeepAttr) {
|
|
764
|
+
continue;
|
|
765
|
+
}
|
|
766
|
+
_removeAttribute(name, currentNode);
|
|
767
|
+
if (!hookEvent.keepAttr) {
|
|
768
|
+
continue;
|
|
769
|
+
}
|
|
770
|
+
if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
|
|
771
|
+
_removeAttribute(name, currentNode);
|
|
772
|
+
continue;
|
|
773
|
+
}
|
|
774
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
775
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
776
|
+
value = stringReplace(value, expr, " ");
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
const lcTag = transformCaseFunc(currentNode.nodeName);
|
|
780
|
+
if (!_isValidAttribute(lcTag, lcName, value)) {
|
|
781
|
+
continue;
|
|
782
|
+
}
|
|
783
|
+
if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
|
|
784
|
+
if (namespaceURI) ;
|
|
785
|
+
else {
|
|
786
|
+
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
|
787
|
+
case "TrustedHTML": {
|
|
788
|
+
value = trustedTypesPolicy.createHTML(value);
|
|
789
|
+
break;
|
|
790
|
+
}
|
|
791
|
+
case "TrustedScriptURL": {
|
|
792
|
+
value = trustedTypesPolicy.createScriptURL(value);
|
|
793
|
+
break;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
try {
|
|
799
|
+
if (namespaceURI) {
|
|
800
|
+
currentNode.setAttributeNS(namespaceURI, name, value);
|
|
801
|
+
} else {
|
|
802
|
+
currentNode.setAttribute(name, value);
|
|
803
|
+
}
|
|
804
|
+
if (_isClobbered(currentNode)) {
|
|
805
|
+
_forceRemove(currentNode);
|
|
806
|
+
} else {
|
|
807
|
+
arrayPop(DOMPurify.removed);
|
|
808
|
+
}
|
|
809
|
+
} catch (_) {
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
|
|
813
|
+
};
|
|
814
|
+
const _sanitizeShadowDOM = function _sanitizeShadowDOM2(fragment) {
|
|
815
|
+
let shadowNode = null;
|
|
816
|
+
const shadowIterator = _createNodeIterator(fragment);
|
|
817
|
+
_executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
|
|
818
|
+
while (shadowNode = shadowIterator.nextNode()) {
|
|
819
|
+
_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
|
|
820
|
+
_sanitizeElements(shadowNode);
|
|
821
|
+
_sanitizeAttributes(shadowNode);
|
|
822
|
+
if (shadowNode.content instanceof DocumentFragment) {
|
|
823
|
+
_sanitizeShadowDOM2(shadowNode.content);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
827
|
+
};
|
|
828
|
+
DOMPurify.sanitize = function(dirty) {
|
|
829
|
+
let cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
830
|
+
let body = null;
|
|
831
|
+
let importedNode = null;
|
|
832
|
+
let currentNode = null;
|
|
833
|
+
let returnNode = null;
|
|
834
|
+
IS_EMPTY_INPUT = !dirty;
|
|
835
|
+
if (IS_EMPTY_INPUT) {
|
|
836
|
+
dirty = "<!-->";
|
|
837
|
+
}
|
|
838
|
+
if (typeof dirty !== "string" && !_isNode(dirty)) {
|
|
839
|
+
if (typeof dirty.toString === "function") {
|
|
840
|
+
dirty = dirty.toString();
|
|
841
|
+
if (typeof dirty !== "string") {
|
|
842
|
+
throw typeErrorCreate("dirty is not a string, aborting");
|
|
843
|
+
}
|
|
844
|
+
} else {
|
|
845
|
+
throw typeErrorCreate("toString is not a function");
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
if (!DOMPurify.isSupported) {
|
|
849
|
+
return dirty;
|
|
850
|
+
}
|
|
851
|
+
if (!SET_CONFIG) {
|
|
852
|
+
_parseConfig(cfg);
|
|
853
|
+
}
|
|
854
|
+
DOMPurify.removed = [];
|
|
855
|
+
if (typeof dirty === "string") {
|
|
856
|
+
IN_PLACE = false;
|
|
857
|
+
}
|
|
858
|
+
if (IN_PLACE) {
|
|
859
|
+
if (dirty.nodeName) {
|
|
860
|
+
const tagName = transformCaseFunc(dirty.nodeName);
|
|
861
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
862
|
+
throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
} else if (dirty instanceof Node) {
|
|
866
|
+
body = _initDocument("<!---->");
|
|
867
|
+
importedNode = body.ownerDocument.importNode(dirty, true);
|
|
868
|
+
if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === "BODY") {
|
|
869
|
+
body = importedNode;
|
|
870
|
+
} else if (importedNode.nodeName === "HTML") {
|
|
871
|
+
body = importedNode;
|
|
872
|
+
} else {
|
|
873
|
+
body.appendChild(importedNode);
|
|
874
|
+
}
|
|
875
|
+
} else {
|
|
876
|
+
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes
|
|
877
|
+
dirty.indexOf("<") === -1) {
|
|
878
|
+
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
879
|
+
}
|
|
880
|
+
body = _initDocument(dirty);
|
|
881
|
+
if (!body) {
|
|
882
|
+
return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : "";
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
if (body && FORCE_BODY) {
|
|
886
|
+
_forceRemove(body.firstChild);
|
|
887
|
+
}
|
|
888
|
+
const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
|
|
889
|
+
while (currentNode = nodeIterator.nextNode()) {
|
|
890
|
+
_sanitizeElements(currentNode);
|
|
891
|
+
_sanitizeAttributes(currentNode);
|
|
892
|
+
if (currentNode.content instanceof DocumentFragment) {
|
|
893
|
+
_sanitizeShadowDOM(currentNode.content);
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
if (IN_PLACE) {
|
|
897
|
+
return dirty;
|
|
898
|
+
}
|
|
899
|
+
if (RETURN_DOM) {
|
|
900
|
+
if (RETURN_DOM_FRAGMENT) {
|
|
901
|
+
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
902
|
+
while (body.firstChild) {
|
|
903
|
+
returnNode.appendChild(body.firstChild);
|
|
904
|
+
}
|
|
905
|
+
} else {
|
|
906
|
+
returnNode = body;
|
|
907
|
+
}
|
|
908
|
+
if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {
|
|
909
|
+
returnNode = importNode.call(originalDocument, returnNode, true);
|
|
910
|
+
}
|
|
911
|
+
return returnNode;
|
|
912
|
+
}
|
|
913
|
+
let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
|
914
|
+
if (WHOLE_DOCUMENT && ALLOWED_TAGS["!doctype"] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
|
915
|
+
serializedHTML = "<!DOCTYPE " + body.ownerDocument.doctype.name + ">\n" + serializedHTML;
|
|
916
|
+
}
|
|
917
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
918
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
919
|
+
serializedHTML = stringReplace(serializedHTML, expr, " ");
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
|
923
|
+
};
|
|
924
|
+
DOMPurify.setConfig = function() {
|
|
925
|
+
let cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
926
|
+
_parseConfig(cfg);
|
|
927
|
+
SET_CONFIG = true;
|
|
928
|
+
};
|
|
929
|
+
DOMPurify.clearConfig = function() {
|
|
930
|
+
CONFIG = null;
|
|
931
|
+
SET_CONFIG = false;
|
|
932
|
+
};
|
|
933
|
+
DOMPurify.isValidAttribute = function(tag, attr, value) {
|
|
934
|
+
if (!CONFIG) {
|
|
935
|
+
_parseConfig({});
|
|
936
|
+
}
|
|
937
|
+
const lcTag = transformCaseFunc(tag);
|
|
938
|
+
const lcName = transformCaseFunc(attr);
|
|
939
|
+
return _isValidAttribute(lcTag, lcName, value);
|
|
940
|
+
};
|
|
941
|
+
DOMPurify.addHook = function(entryPoint, hookFunction) {
|
|
942
|
+
if (typeof hookFunction !== "function") {
|
|
943
|
+
return;
|
|
944
|
+
}
|
|
945
|
+
arrayPush(hooks[entryPoint], hookFunction);
|
|
946
|
+
};
|
|
947
|
+
DOMPurify.removeHook = function(entryPoint, hookFunction) {
|
|
948
|
+
if (hookFunction !== void 0) {
|
|
949
|
+
const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
|
|
950
|
+
return index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];
|
|
951
|
+
}
|
|
952
|
+
return arrayPop(hooks[entryPoint]);
|
|
953
|
+
};
|
|
954
|
+
DOMPurify.removeHooks = function(entryPoint) {
|
|
955
|
+
hooks[entryPoint] = [];
|
|
956
|
+
};
|
|
957
|
+
DOMPurify.removeAllHooks = function() {
|
|
958
|
+
hooks = _createHooksMap();
|
|
959
|
+
};
|
|
960
|
+
return DOMPurify;
|
|
961
|
+
}
|
|
962
|
+
var purify = createDOMPurify();
|
|
963
|
+
export {
|
|
964
|
+
purify as default
|
|
965
|
+
};
|