@loopstack/loopstack-studio 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/api/auth.js +4 -2
- package/dist/api/client.js +9 -7
- package/dist/api/config.js +7 -5
- package/dist/api/dashboard.js +4 -2
- package/dist/api/documents.js +4 -2
- package/dist/api/index.js +21 -23
- package/dist/api/processor.js +5 -3
- package/dist/api/secrets.js +4 -2
- package/dist/api/workflows.js +11 -3
- package/dist/api/workspaces.js +4 -2
- package/dist/app/EnvironmentEmbedRoot.js +24 -31
- package/dist/components/ai-elements/code-block.js +53 -71
- package/dist/components/ai-elements/message.js +41 -82
- package/dist/components/ai-elements/prompt-input.js +162 -253
- package/dist/components/ai-elements/reasoning.js +78 -116
- package/dist/components/ai-elements/shimmer.js +23 -35
- package/dist/components/ai-elements/sources.js +29 -58
- package/dist/components/data-table/ConfirmDialog.js +14 -30
- package/dist/components/data-table/DataList.js +138 -198
- package/dist/components/data-table/DataTable.js +168 -234
- package/dist/components/data-table/DataTableBatchAction.js +18 -27
- package/dist/components/data-table/DataTableFilters.js +53 -78
- package/dist/components/data-table/DataTablePagination.js +72 -104
- package/dist/components/data-table/DataTableToolbar.js +53 -65
- package/dist/components/dynamic-form/ArrayController.js +85 -103
- package/dist/components/dynamic-form/CodeContent.js +28 -36
- package/dist/components/dynamic-form/Form.js +43 -56
- package/dist/components/dynamic-form/FormBody.js +12 -10
- package/dist/components/dynamic-form/FormElement.js +31 -41
- package/dist/components/dynamic-form/FormElementHeader.js +12 -20
- package/dist/components/dynamic-form/InputController.js +36 -38
- package/dist/components/dynamic-form/MarkdownContent.js +53 -74
- package/dist/components/dynamic-form/MermaidDiagram.js +22 -24
- package/dist/components/dynamic-form/ObjectController.js +24 -32
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +35 -47
- package/dist/components/dynamic-form/fields/CheckboxField.js +39 -48
- package/dist/components/dynamic-form/fields/CodeViewField.js +42 -50
- package/dist/components/dynamic-form/fields/InputField.js +62 -90
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +16 -19
- package/dist/components/dynamic-form/fields/RadioField.js +46 -62
- package/dist/components/dynamic-form/fields/SelectField.js +40 -58
- package/dist/components/dynamic-form/fields/SliderField.js +94 -100
- package/dist/components/dynamic-form/fields/SwitchField.js +42 -61
- package/dist/components/dynamic-form/fields/TextareaField.js +53 -72
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +4 -2
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +6 -5
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +19 -20
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +4 -2
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +4 -2
- package/dist/components/feedback/ErrorAlert.js +11 -17
- package/dist/components/feedback/ErrorBoundary.js +16 -14
- package/dist/components/feedback/ErrorSnackbar.js +13 -30
- package/dist/components/feedback/LoadingCentered.js +15 -28
- package/dist/components/feedback/Snackbar.js +43 -44
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +17 -25
- package/dist/components/layout/StudioSidebar.js +132 -202
- package/dist/components/lists/CustomListView.js +49 -74
- package/dist/components/lists/ListView.js +66 -102
- package/dist/components/loopstack-elements/link.js +71 -109
- package/dist/components/loopstack-elements/tool.js +99 -0
- package/dist/components/messages/CompletionMessagePaper.js +53 -85
- package/dist/components/page/PageBreadcrumbs.js +64 -83
- package/dist/components/ui/DiscordLogo.js +16 -22
- package/dist/components/ui/GoogleLogo.js +40 -44
- package/dist/components/ui/accordion.js +31 -52
- package/dist/components/ui/alert-dialog.js +59 -109
- package/dist/components/ui/alert.js +22 -36
- package/dist/components/ui/avatar.js +21 -35
- package/dist/components/ui/badge.js +13 -17
- package/dist/components/ui/breadcrumb.js +46 -82
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +17 -21
- package/dist/components/ui/card.js +40 -74
- package/dist/components/ui/checkbox.js +17 -23
- package/dist/components/ui/collapsible.js +17 -25
- package/dist/components/ui/command.js +1 -2
- package/dist/components/ui/context-menu.js +32 -52
- package/dist/components/ui/dialog.js +62 -107
- package/dist/components/ui/drawer.js +54 -99
- package/dist/components/ui/dropdown-menu.js +91 -159
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/input-group.js +36 -56
- package/dist/components/ui/input.js +11 -15
- package/dist/components/ui/label.js +11 -15
- package/dist/components/ui/popover.js +25 -38
- package/dist/components/ui/radio-group.js +22 -33
- package/dist/components/ui/scroll-area.js +28 -43
- package/dist/components/ui/select.js +73 -134
- package/dist/components/ui/separator.js +13 -17
- package/dist/components/ui/sheet.js +60 -105
- package/dist/components/ui/sidebar.js +269 -451
- package/dist/components/ui/skeleton.js +10 -14
- package/dist/components/ui/slider.js +17 -15
- package/dist/components/ui/switch.js +15 -21
- package/dist/components/ui/table.js +46 -85
- package/dist/components/ui/tabs.js +26 -45
- package/dist/components/ui/textarea.js +10 -14
- package/dist/components/ui/tooltip.js +26 -41
- package/dist/components/ui-widgets/UiActions.js +30 -31
- package/dist/components/ui-widgets/UiWidget.js +34 -55
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -19
- package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
- package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -18
- package/dist/events/api-client-events.js +4 -2
- package/dist/events/sse-client-events.js +4 -2
- package/dist/features/code-explorer/CodeExplorer.js +1 -2
- package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +31 -29
- package/dist/features/code-explorer/components/FileContentViewer.js +120 -185
- package/dist/features/code-explorer/components/FileTabsBar.js +1 -2
- package/dist/features/code-explorer/components/FileTabsBarBase.js +134 -169
- package/dist/features/code-explorer/index.js +1 -1
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
- package/dist/features/code-explorer/utils/fileIcons.js +41 -39
- package/dist/features/dashboard/Dashboard.js +79 -121
- package/dist/features/dashboard/RunItem.js +50 -68
- package/dist/features/dashboard/RunList.js +17 -28
- package/dist/features/debug/components/ConfigFlowViewer.js +49 -67
- package/dist/features/debug/components/WorkflowDebugHeader.js +32 -0
- package/dist/features/debug/components/WorkflowDebugLegend.js +56 -0
- package/dist/features/debug/components/WorkflowFlowViewer.js +90 -0
- package/dist/features/debug/components/workflow-flow/StateNode.js +82 -0
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +41 -0
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +64 -0
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +33 -31
- package/dist/features/debug/lib/flow-utils.js +156 -162
- package/dist/features/documents/DocumentRenderer.js +77 -45
- package/dist/features/documents/components/DocumentItem.js +21 -24
- package/dist/features/documents/components/DocumentList.js +39 -42
- package/dist/features/documents/components/DocumentMetadataPills.js +44 -59
- package/dist/features/documents/document-details/DocumentDetails.js +298 -413
- package/dist/features/documents/document-details/PromptDetails.js +105 -142
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +39 -48
- package/dist/features/documents/renderers/AiMessageContent.js +108 -164
- package/dist/features/documents/renderers/ChoicesRenderer.js +80 -0
- package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +47 -0
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
- package/dist/features/documents/renderers/DocumentFormRenderer.js +80 -72
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +10 -9
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +11 -13
- package/dist/features/documents/renderers/LinkMessageRenderer.js +15 -16
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +8 -10
- package/dist/features/documents/renderers/PlainMessageRenderer.js +7 -9
- package/dist/features/documents/renderers/SecretInputRenderer.js +89 -0
- package/dist/features/documents/renderers/TextPromptRenderer.js +48 -0
- package/dist/features/documents/renderers/useDocumentTransition.js +32 -0
- package/dist/features/health/LocalHealthCheck.js +54 -53
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +135 -184
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +52 -71
- package/dist/features/runs/Runs.js +145 -187
- package/dist/features/workbench/Workbench.js +72 -98
- package/dist/features/workbench/WorkflowItem.js +49 -67
- package/dist/features/workbench/WorkflowList.js +50 -82
- package/dist/features/workbench/components/NewRunDialog.js +214 -311
- package/dist/features/workbench/components/RemoteFileTabsBar.js +18 -17
- package/dist/features/workbench/components/RemoteFileTree.js +54 -85
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +52 -63
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +34 -90
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -46
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -80
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +52 -50
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +50 -86
- package/dist/features/workbench/components/WorkflowForms.js +17 -22
- package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -143
- package/dist/features/workbench/components/WorkflowHistoryList.js +33 -0
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -97
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +21 -25
- package/dist/features/workbench/hooks/useScrollToListItem.js +20 -21
- package/dist/features/workbench/hooks/useWorkflowData.js +32 -45
- package/dist/features/workbench/hooks/useWorkflowListState.js +13 -49
- package/dist/features/workbench/index.js +7 -8
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
- package/dist/features/workbench/providers/ScrollProvider.js +16 -20
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +76 -75
- package/dist/features/workspaces/Workspaces.js +161 -226
- package/dist/features/workspaces/components/CreateWorkspace.js +137 -194
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +27 -25
- package/dist/features/workspaces/components/ExecutionTimeline.js +144 -185
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +23 -0
- package/dist/features/workspaces/components/WorkflowRunForm.js +104 -0
- package/dist/features/workspaces/components/WorkspaceHomePage.js +60 -81
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +58 -0
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +29 -0
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +66 -0
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +9 -0
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +13 -0
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/_root.js +10 -0
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +13 -0
- package/dist/{node_modules → frontend/studio/node_modules}/lodash/debounce.js +10 -8
- package/dist/frontend/studio/node_modules/lodash/isObject.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +11 -0
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +14 -0
- package/dist/frontend/studio/node_modules/lodash/now.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +24 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +39 -78
- package/dist/hooks/use-mobile.js +12 -11
- package/dist/hooks/useApi.js +16 -14
- package/dist/hooks/useAuth.js +38 -53
- package/dist/hooks/useConfig.js +26 -37
- package/dist/hooks/useDashboard.js +12 -15
- package/dist/hooks/useDebounce.js +12 -11
- package/dist/hooks/useDocuments.js +23 -35
- package/dist/hooks/useFiles.js +1 -2
- package/dist/hooks/useProcessor.js +14 -17
- package/dist/hooks/useSecrets.js +45 -64
- package/dist/hooks/useWorkflows.js +113 -78
- package/dist/hooks/useWorkspaces.js +83 -123
- package/dist/index.d.ts +0 -1305
- package/dist/index.js +80 -80
- package/dist/lib/requireParam.js +4 -2
- package/dist/lib/utils.js +7 -5
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -4
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +8 -6
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +19 -20
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +87 -88
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +16 -13
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +4 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +36 -34
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +138 -110
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +13 -11
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +5 -3
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +4 -2
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +4 -2
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1812 -1913
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +12 -10
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +20 -18
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +7 -5
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +38 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +33 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +1208 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +67 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +34 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +59 -45
- package/dist/node_modules/@shikijs/core/dist/index.js +583 -1119
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +163 -148
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +4 -2
- package/dist/node_modules/@shikijs/langs/dist/abap.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ada.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/apache.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ara.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/astro.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/awk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/berry.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/blade.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/c3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coq.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/css.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/csv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/d.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dart.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dax.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/diff.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/docker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/edge.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/elm.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/erb.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fish.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/genie.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gn.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/go.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hack.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/haml.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/html.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/http.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/hy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/imba.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ini.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/java.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jison.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/json.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/json5.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/julia.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/just.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/latex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/lean.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/less.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/log.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/logo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/lua.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/luau.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/make.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/marko.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/move.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nim.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/nix.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/odin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/perl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/php.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/po.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/polar.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/proto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pug.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/python.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/r.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/racket.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/raku.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/razor.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/reg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ron.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rst.js +21 -19
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +29 -27
- package/dist/node_modules/@shikijs/langs/dist/rust.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sas.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sass.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scss.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/soy.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/stata.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/swift.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/toml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/twig.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typst.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/v.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vb.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/viml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/vue.js +25 -23
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zig.js +3 -2
- package/dist/node_modules/@shikijs/primitive/dist/index.js +540 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/houston.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/nord.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/red.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +4 -2
- package/dist/node_modules/@shikijs/types/dist/index.js +4 -2
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +949 -947
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -4
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +905 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +904 -901
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1226 -1222
- package/dist/node_modules/bail/index.js +4 -2
- package/dist/node_modules/ccount/index.js +4 -2
- package/dist/node_modules/character-entities-html4/index.js +4 -2
- package/dist/node_modules/character-entities-legacy/index.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +6 -4
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +11 -9
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +38 -45
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +26 -25
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +204 -226
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +18 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +20 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +14 -13
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +195 -200
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -4
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +28 -28
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +165 -170
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +17 -17
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +50 -50
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +76 -83
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +21 -21
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +117 -121
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +12 -6
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +51 -51
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +15 -14
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +81 -80
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +229 -217
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +87 -86
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +36 -44
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +287 -309
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +115 -126
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +73 -70
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +12 -10
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +45 -54
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +29 -30
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +242 -240
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +134 -133
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +11 -10
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +5 -3
- package/dist/node_modules/comma-separated-tokens/index.js +5 -3
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7935 -7935
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +8 -6
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +8 -6
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +4 -2
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +8 -6
- package/dist/node_modules/d3-array/src/descending.js +4 -2
- package/dist/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-array/src/number.js +4 -2
- package/dist/node_modules/d3-array/src/range.js +4 -2
- package/dist/node_modules/d3-array/src/ticks.js +13 -11
- package/dist/node_modules/d3-axis/src/axis.js +48 -46
- package/dist/node_modules/d3-axis/src/identity.js +4 -2
- package/dist/node_modules/d3-brush/src/brush.js +6 -4
- package/dist/node_modules/d3-color/src/color.js +86 -84
- package/dist/node_modules/d3-color/src/define.js +5 -3
- package/dist/node_modules/d3-color/src/lab.js +45 -43
- package/dist/node_modules/d3-color/src/math.js +4 -2
- package/dist/node_modules/d3-dispatch/src/dispatch.js +18 -17
- package/dist/node_modules/d3-drag/src/constant.js +4 -2
- package/dist/node_modules/d3-drag/src/drag.js +77 -75
- package/dist/node_modules/d3-drag/src/event.js +5 -3
- package/dist/node_modules/d3-drag/src/nodrag.js +11 -9
- package/dist/node_modules/d3-drag/src/noevent.js +6 -4
- package/dist/node_modules/d3-ease/src/cubic.js +4 -2
- package/dist/node_modules/d3-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-format/src/exponent.js +6 -4
- package/dist/node_modules/d3-format/src/formatDecimal.js +5 -3
- package/dist/node_modules/d3-format/src/formatGroup.js +4 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js +4 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +10 -8
- package/dist/node_modules/d3-format/src/formatRounded.js +6 -4
- package/dist/node_modules/d3-format/src/formatSpecifier.js +10 -8
- package/dist/node_modules/d3-format/src/formatTrim.js +4 -2
- package/dist/node_modules/d3-format/src/formatTypes.js +15 -13
- package/dist/node_modules/d3-format/src/identity.js +4 -2
- package/dist/node_modules/d3-format/src/locale.js +33 -31
- package/dist/node_modules/d3-format/src/precisionFixed.js +6 -4
- package/dist/node_modules/d3-format/src/precisionPrefix.js +6 -4
- package/dist/node_modules/d3-format/src/precisionRound.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/accessors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/constant.js +5 -3
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +46 -44
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +16 -14
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +11 -9
- package/dist/node_modules/d3-interpolate/src/array.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basis.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +6 -4
- package/dist/node_modules/d3-interpolate/src/color.js +19 -17
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -2
- package/dist/node_modules/d3-interpolate/src/date.js +4 -2
- package/dist/node_modules/d3-interpolate/src/hcl.js +8 -6
- package/dist/node_modules/d3-interpolate/src/number.js +4 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js +5 -3
- package/dist/node_modules/d3-interpolate/src/object.js +6 -4
- package/dist/node_modules/d3-interpolate/src/rgb.js +11 -9
- package/dist/node_modules/d3-interpolate/src/round.js +4 -2
- package/dist/node_modules/d3-interpolate/src/string.js +16 -14
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +7 -5
- package/dist/node_modules/d3-interpolate/src/transform/index.js +13 -11
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -8
- package/dist/node_modules/d3-interpolate/src/value.js +14 -12
- package/dist/node_modules/d3-interpolate/src/zoom.js +13 -11
- package/dist/node_modules/d3-path/src/path.js +16 -14
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +13 -12
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +19 -17
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-sankey/src/align.js +12 -10
- package/dist/node_modules/d3-sankey/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/src/sankey.js +170 -168
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +8 -6
- package/dist/node_modules/d3-scale/src/band.js +11 -9
- package/dist/node_modules/d3-scale/src/constant.js +4 -2
- package/dist/node_modules/d3-scale/src/continuous.js +49 -47
- package/dist/node_modules/d3-scale/src/init.js +4 -2
- package/dist/node_modules/d3-scale/src/linear.js +15 -13
- package/dist/node_modules/d3-scale/src/nice.js +4 -2
- package/dist/node_modules/d3-scale/src/number.js +4 -2
- package/dist/node_modules/d3-scale/src/ordinal.js +18 -16
- package/dist/node_modules/d3-scale/src/tickFormat.js +16 -14
- package/dist/node_modules/d3-scale/src/time.js +36 -34
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -3
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +4 -2
- package/dist/node_modules/d3-selection/src/array.js +4 -2
- package/dist/node_modules/d3-selection/src/constant.js +4 -2
- package/dist/node_modules/d3-selection/src/creator.js +12 -10
- package/dist/node_modules/d3-selection/src/matcher.js +5 -3
- package/dist/node_modules/d3-selection/src/namespace.js +7 -5
- package/dist/node_modules/d3-selection/src/namespaces.js +5 -3
- package/dist/node_modules/d3-selection/src/pointer.js +6 -4
- package/dist/node_modules/d3-selection/src/select.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/append.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/attr.js +19 -17
- package/dist/node_modules/d3-selection/src/selection/call.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/classed.js +25 -23
- package/dist/node_modules/d3-selection/src/selection/clone.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/data.js +18 -16
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +12 -10
- package/dist/node_modules/d3-selection/src/selection/each.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/enter.js +13 -11
- package/dist/node_modules/d3-selection/src/selection/exit.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/html.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/index.js +80 -79
- package/dist/node_modules/d3-selection/src/selection/insert.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/join.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/lower.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/merge.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/node.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/on.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/order.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/property.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/raise.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/remove.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/size.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/sort.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/style.js +14 -12
- package/dist/node_modules/d3-selection/src/selection/text.js +8 -6
- package/dist/node_modules/d3-selection/src/selector.js +6 -4
- package/dist/node_modules/d3-selection/src/selectorAll.js +6 -4
- package/dist/node_modules/d3-selection/src/sourceEvent.js +4 -2
- package/dist/node_modules/d3-selection/src/window.js +4 -2
- package/dist/node_modules/d3-shape/src/arc.js +38 -36
- package/dist/node_modules/d3-shape/src/array.js +3 -2
- package/dist/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-shape/src/curve/basis.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +18 -16
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/bump.js +15 -13
- package/dist/node_modules/d3-shape/src/curve/bundle.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +19 -17
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +13 -11
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/linear.js +7 -5
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/monotone.js +23 -21
- package/dist/node_modules/d3-shape/src/curve/natural.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/step.js +19 -17
- package/dist/node_modules/d3-shape/src/descending.js +4 -2
- package/dist/node_modules/d3-shape/src/identity.js +4 -2
- package/dist/node_modules/d3-shape/src/line.js +19 -17
- package/dist/node_modules/d3-shape/src/math.js +8 -6
- package/dist/node_modules/d3-shape/src/noop.js +4 -2
- package/dist/node_modules/d3-shape/src/path.js +6 -4
- package/dist/node_modules/d3-shape/src/pie.js +15 -13
- package/dist/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-time/src/day.js +17 -15
- package/dist/node_modules/d3-time/src/duration.js +4 -2
- package/dist/node_modules/d3-time/src/hour.js +16 -14
- package/dist/node_modules/d3-time/src/interval.js +7 -5
- package/dist/node_modules/d3-time/src/millisecond.js +7 -5
- package/dist/node_modules/d3-time/src/minute.js +16 -14
- package/dist/node_modules/d3-time/src/month.js +14 -12
- package/dist/node_modules/d3-time/src/second.js +9 -7
- package/dist/node_modules/d3-time/src/ticks.js +66 -64
- package/dist/node_modules/d3-time/src/week.js +21 -19
- package/dist/node_modules/d3-time/src/year.js +10 -8
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-time-format/src/locale.js +346 -344
- package/dist/node_modules/d3-timer/src/timeout.js +6 -4
- package/dist/node_modules/d3-timer/src/timer.js +33 -31
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +4 -3
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -4
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +6 -4
- package/dist/node_modules/d3-transition/src/selection/transition.js +16 -14
- package/dist/node_modules/d3-transition/src/transition/attr.js +28 -26
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +13 -11
- package/dist/node_modules/d3-transition/src/transition/delay.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/duration.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/ease.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/end.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/index.js +63 -61
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/merge.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/on.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/remove.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/schedule.js +20 -18
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selection.js +7 -5
- package/dist/node_modules/d3-transition/src/transition/style.js +21 -19
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/text.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/textTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/transition.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/tween.js +14 -12
- package/dist/node_modules/d3-zoom/src/constant.js +4 -2
- package/dist/node_modules/d3-zoom/src/event.js +4 -2
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +5 -3
- package/dist/node_modules/d3-zoom/src/transform.js +12 -10
- package/dist/node_modules/d3-zoom/src/zoom.js +116 -114
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +11 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +9 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +51 -49
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +165 -163
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +45 -43
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +8 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +22 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +32 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +30 -28
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +150 -148
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +19 -17
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +64 -63
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +84 -82
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +13 -11
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +131 -129
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +23 -21
- package/dist/node_modules/dayjs/dayjs.min.js +6 -4
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/duration.js +6 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +6 -4
- package/dist/node_modules/decode-named-character-reference/index.dom.js +7 -5
- package/dist/node_modules/devlop/lib/default.js +4 -2
- package/dist/node_modules/dompurify/dist/purify.es.js +203 -201
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +6 -4
- package/dist/node_modules/entities/dist/esm/decode.js +87 -85
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -2
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +6 -4
- package/dist/node_modules/extend/index.js +9 -6
- package/dist/node_modules/hast-util-from-dom/lib/index.js +32 -30
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -8
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +82 -80
- package/dist/node_modules/hast-util-is-element/lib/index.js +17 -15
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +7 -5
- package/dist/node_modules/hast-util-raw/lib/index.js +136 -134
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +23 -21
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -3
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +250 -249
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +6 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +17 -15
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1497 -1495
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +148 -146
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +20 -19
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +800 -798
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +33 -31
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +10 -8
- package/dist/node_modules/hast-util-sanitize/lib/index.js +106 -104
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +12 -11
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -7
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +25 -23
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +22 -21
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +7 -5
- package/dist/node_modules/hast-util-to-html/lib/index.js +38 -36
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +70 -68
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +32 -30
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +10 -9
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +192 -190
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +71 -69
- package/dist/node_modules/hast-util-to-text/lib/index.js +61 -59
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -6
- package/dist/node_modules/hastscript/lib/create-h.js +26 -24
- package/dist/node_modules/hastscript/lib/index.js +7 -5
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +4 -2
- package/dist/node_modules/html-url-attributes/lib/index.js +4 -2
- package/dist/node_modules/html-void-elements/index.js +4 -2
- package/dist/node_modules/inline-style-parser/cjs/index.js +6 -4
- package/dist/node_modules/internmap/src/index.js +22 -20
- package/dist/node_modules/katex/dist/katex.js +2914 -2873
- package/dist/node_modules/khroma/dist/channels/index.js +23 -21
- package/dist/node_modules/khroma/dist/channels/reusable.js +5 -3
- package/dist/node_modules/khroma/dist/channels/type.js +7 -5
- package/dist/node_modules/khroma/dist/color/hex.js +10 -8
- package/dist/node_modules/khroma/dist/color/hsl.js +19 -17
- package/dist/node_modules/khroma/dist/color/index.js +17 -15
- package/dist/node_modules/khroma/dist/color/keyword.js +10 -8
- package/dist/node_modules/khroma/dist/color/rgb.js +14 -12
- package/dist/node_modules/khroma/dist/constants.js +7 -5
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -6
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +8 -6
- package/dist/node_modules/khroma/dist/methods/change.js +9 -7
- package/dist/node_modules/khroma/dist/methods/channel.js +6 -4
- package/dist/node_modules/khroma/dist/methods/darken.js +5 -3
- package/dist/node_modules/khroma/dist/methods/invert.js +8 -6
- package/dist/node_modules/khroma/dist/methods/is_dark.js +5 -3
- package/dist/node_modules/khroma/dist/methods/is_light.js +5 -3
- package/dist/node_modules/khroma/dist/methods/lighten.js +5 -3
- package/dist/node_modules/khroma/dist/methods/luminance.js +8 -6
- package/dist/node_modules/khroma/dist/methods/mix.js +8 -6
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -13
- package/dist/node_modules/khroma/dist/methods/transparentize.js +5 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +8 -6
- package/dist/node_modules/khroma/dist/utils/index.js +10 -8
- package/dist/node_modules/khroma/dist/utils/lang.js +4 -2
- package/dist/node_modules/khroma/dist/utils/unit.js +4 -2
- package/dist/node_modules/langium/lib/default-module.js +66 -64
- package/dist/node_modules/langium/lib/dependency-injection.js +37 -39
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +7 -5
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +8 -6
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +204 -202
- package/dist/node_modules/langium/lib/languages/generated/ast.js +343 -534
- package/dist/node_modules/langium/lib/languages/grammar-config.js +10 -8
- package/dist/node_modules/langium/lib/parser/async-parser.js +4 -76
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +8 -6
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +56 -54
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +9 -7
- package/dist/node_modules/langium/lib/parser/langium-parser.js +190 -188
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +204 -203
- package/dist/node_modules/langium/lib/parser/token-builder.js +32 -30
- package/dist/node_modules/langium/lib/parser/value-converter.js +17 -15
- package/dist/node_modules/langium/lib/references/linker.js +104 -103
- package/dist/node_modules/langium/lib/references/name-provider.js +9 -7
- package/dist/node_modules/langium/lib/references/references.js +53 -51
- package/dist/node_modules/langium/lib/references/scope-computation.js +14 -12
- package/dist/node_modules/langium/lib/references/scope-provider.js +13 -11
- package/dist/node_modules/langium/lib/references/scope.js +27 -56
- package/dist/node_modules/langium/lib/serializer/hydrator.js +71 -69
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +23 -21
- package/dist/node_modules/langium/lib/service-registry.js +7 -5
- package/dist/node_modules/langium/lib/syntax-tree.js +33 -31
- package/dist/node_modules/langium/lib/utils/ast-utils.js +77 -112
- package/dist/node_modules/langium/lib/utils/caching.js +33 -42
- package/dist/node_modules/langium/lib/utils/cancellation.js +7 -5
- package/dist/node_modules/langium/lib/utils/collections.js +35 -33
- package/dist/node_modules/langium/lib/utils/cst-utils.js +46 -161
- package/dist/node_modules/langium/lib/utils/disposable.js +5 -3
- package/dist/node_modules/langium/lib/utils/errors.js +8 -9
- package/dist/node_modules/langium/lib/utils/event.js +7 -5
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +16 -14
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +172 -249
- package/dist/node_modules/langium/lib/utils/promise-utils.js +18 -19
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +53 -76
- package/dist/node_modules/langium/lib/utils/stream.js +155 -153
- package/dist/node_modules/langium/lib/utils/uri-utils.js +14 -12
- package/dist/node_modules/langium/lib/validation/document-validator.js +104 -103
- package/dist/node_modules/langium/lib/validation/validation-registry.js +15 -14
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +19 -17
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +4 -2
- package/dist/node_modules/langium/lib/workspace/configuration.js +7 -5
- package/dist/node_modules/langium/lib/workspace/document-builder.js +131 -134
- package/dist/node_modules/langium/lib/workspace/documents.js +85 -83
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +5 -4
- package/dist/node_modules/langium/lib/workspace/index-manager.js +16 -14
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +11 -9
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +35 -33
- package/dist/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/lodash-es/_DataView.js +6 -4
- package/dist/node_modules/lodash-es/_Hash.js +14 -13
- package/dist/node_modules/lodash-es/_ListCache.js +14 -13
- package/dist/node_modules/lodash-es/_Map.js +6 -4
- package/dist/node_modules/lodash-es/_MapCache.js +14 -13
- package/dist/node_modules/lodash-es/_Promise.js +6 -4
- package/dist/node_modules/lodash-es/_Set.js +6 -4
- package/dist/node_modules/lodash-es/_SetCache.js +10 -9
- package/dist/node_modules/lodash-es/_Stack.js +12 -11
- package/dist/node_modules/lodash-es/_Symbol.js +5 -3
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -3
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -4
- package/dist/node_modules/lodash-es/_apply.js +4 -3
- package/dist/node_modules/lodash-es/_arrayEach.js +4 -3
- package/dist/node_modules/lodash-es/_arrayFilter.js +4 -3
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -5
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +4 -3
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
- package/dist/node_modules/lodash-es/_arrayMap.js +4 -3
- package/dist/node_modules/lodash-es/_arrayPush.js +4 -3
- package/dist/node_modules/lodash-es/_arrayReduce.js +4 -3
- package/dist/node_modules/lodash-es/_arraySome.js +4 -3
- package/dist/node_modules/lodash-es/_asciiSize.js +5 -3
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -6
- package/dist/node_modules/lodash-es/_assignValue.js +8 -7
- package/dist/node_modules/lodash-es/_assocIndexOf.js +6 -5
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignValue.js +6 -5
- package/dist/node_modules/lodash-es/_baseClone.js +51 -50
- package/dist/node_modules/lodash-es/_baseCreate.js +7 -5
- package/dist/node_modules/lodash-es/_baseEach.js +6 -4
- package/dist/node_modules/lodash-es/_baseExtremum.js +6 -5
- package/dist/node_modules/lodash-es/_baseFilter.js +6 -5
- package/dist/node_modules/lodash-es/_baseFindIndex.js +4 -3
- package/dist/node_modules/lodash-es/_baseFlatten.js +8 -7
- package/dist/node_modules/lodash-es/_baseFor.js +5 -3
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -6
- package/dist/node_modules/lodash-es/_baseGet.js +8 -7
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +7 -6
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -8
- package/dist/node_modules/lodash-es/_baseGt.js +4 -3
- package/dist/node_modules/lodash-es/_baseHas.js +6 -5
- package/dist/node_modules/lodash-es/_baseHasIn.js +4 -3
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -6
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +23 -22
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsMatch.js +9 -8
- package/dist/node_modules/lodash-es/_baseIsNaN.js +4 -3
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -9
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -9
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -9
- package/dist/node_modules/lodash-es/_baseKeys.js +9 -8
- package/dist/node_modules/lodash-es/_baseKeysIn.js +11 -10
- package/dist/node_modules/lodash-es/_baseLt.js +4 -3
- package/dist/node_modules/lodash-es/_baseMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseMatches.js +10 -9
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +15 -14
- package/dist/node_modules/lodash-es/_baseMerge.js +16 -15
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +24 -23
- package/dist/node_modules/lodash-es/_baseOrderBy.js +23 -22
- package/dist/node_modules/lodash-es/_basePick.js +8 -7
- package/dist/node_modules/lodash-es/_basePickBy.js +9 -8
- package/dist/node_modules/lodash-es/_baseProperty.js +4 -3
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +6 -5
- package/dist/node_modules/lodash-es/_baseRange.js +6 -5
- package/dist/node_modules/lodash-es/_baseReduce.js +4 -3
- package/dist/node_modules/lodash-es/_baseRest.js +8 -7
- package/dist/node_modules/lodash-es/_baseSet.js +14 -13
- package/dist/node_modules/lodash-es/_baseSetToString.js +10 -8
- package/dist/node_modules/lodash-es/_baseSortBy.js +4 -3
- package/dist/node_modules/lodash-es/_baseTimes.js +4 -3
- package/dist/node_modules/lodash-es/_baseToString.js +13 -12
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -6
- package/dist/node_modules/lodash-es/_baseUnary.js +4 -3
- package/dist/node_modules/lodash-es/_baseUniq.js +17 -16
- package/dist/node_modules/lodash-es/_baseValues.js +6 -5
- package/dist/node_modules/lodash-es/_baseZipObject.js +4 -3
- package/dist/node_modules/lodash-es/_cacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_castFunction.js +6 -5
- package/dist/node_modules/lodash-es/_castPath.js +9 -8
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +6 -5
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -8
- package/dist/node_modules/lodash-es/_cloneDataView.js +6 -5
- package/dist/node_modules/lodash-es/_cloneRegExp.js +6 -5
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -6
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +6 -5
- package/dist/node_modules/lodash-es/_compareAscending.js +6 -5
- package/dist/node_modules/lodash-es/_compareMultiple.js +6 -5
- package/dist/node_modules/lodash-es/_copyArray.js +4 -3
- package/dist/node_modules/lodash-es/_copyObject.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -6
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -3
- package/dist/node_modules/lodash-es/_createAssigner.js +8 -7
- package/dist/node_modules/lodash-es/_createBaseEach.js +6 -5
- package/dist/node_modules/lodash-es/_createBaseFor.js +4 -3
- package/dist/node_modules/lodash-es/_createFind.js +10 -9
- package/dist/node_modules/lodash-es/_createRange.js +8 -7
- package/dist/node_modules/lodash-es/_createSet.js +9 -7
- package/dist/node_modules/lodash-es/_defineProperty.js +6 -4
- package/dist/node_modules/lodash-es/_equalArrays.js +12 -11
- package/dist/node_modules/lodash-es/_equalByTag.js +29 -28
- package/dist/node_modules/lodash-es/_equalObjects.js +9 -8
- package/dist/node_modules/lodash-es/_flatRest.js +8 -7
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -2
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -7
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -7
- package/dist/node_modules/lodash-es/_getMapData.js +6 -5
- package/dist/node_modules/lodash-es/_getMatchData.js +8 -7
- package/dist/node_modules/lodash-es/_getNative.js +8 -7
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -3
- package/dist/node_modules/lodash-es/_getRawTag.js +10 -9
- package/dist/node_modules/lodash-es/_getSymbols.js +9 -7
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +10 -8
- package/dist/node_modules/lodash-es/_getTag.js +21 -19
- package/dist/node_modules/lodash-es/_getValue.js +4 -3
- package/dist/node_modules/lodash-es/_hasPath.js +13 -12
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -5
- package/dist/node_modules/lodash-es/_hashClear.js +6 -5
- package/dist/node_modules/lodash-es/_hashDelete.js +5 -4
- package/dist/node_modules/lodash-es/_hashGet.js +9 -8
- package/dist/node_modules/lodash-es/_hashHas.js +7 -6
- package/dist/node_modules/lodash-es/_hashSet.js +7 -6
- package/dist/node_modules/lodash-es/_initCloneArray.js +6 -5
- package/dist/node_modules/lodash-es/_initCloneByTag.js +29 -28
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -7
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -8
- package/dist/node_modules/lodash-es/_isIndex.js +6 -5
- package/dist/node_modules/lodash-es/_isIterateeCall.js +10 -9
- package/dist/node_modules/lodash-es/_isKey.js +9 -8
- package/dist/node_modules/lodash-es/_isKeyable.js +4 -3
- package/dist/node_modules/lodash-es/_isMasked.js +9 -8
- package/dist/node_modules/lodash-es/_isPrototype.js +6 -5
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheClear.js +4 -3
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -7
- package/dist/node_modules/lodash-es/_listCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheClear.js +10 -9
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -6
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapToArray.js +4 -3
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +4 -3
- package/dist/node_modules/lodash-es/_memoizeCapped.js +8 -7
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +4 -3
- package/dist/node_modules/lodash-es/_nodeUtil.js +6 -4
- package/dist/node_modules/lodash-es/_objectToString.js +6 -5
- package/dist/node_modules/lodash-es/_overArg.js +4 -3
- package/dist/node_modules/lodash-es/_overRest.js +9 -8
- package/dist/node_modules/lodash-es/_root.js +5 -3
- package/dist/node_modules/lodash-es/_safeGet.js +4 -3
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -5
- package/dist/node_modules/lodash-es/_setCacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_setToArray.js +4 -3
- package/dist/node_modules/lodash-es/_setToString.js +6 -4
- package/dist/node_modules/lodash-es/_shortOut.js +7 -6
- package/dist/node_modules/lodash-es/_stackClear.js +6 -5
- package/dist/node_modules/lodash-es/_stackDelete.js +4 -3
- package/dist/node_modules/lodash-es/_stackGet.js +4 -3
- package/dist/node_modules/lodash-es/_stackHas.js +4 -3
- package/dist/node_modules/lodash-es/_stackSet.js +11 -10
- package/dist/node_modules/lodash-es/_strictIndexOf.js +4 -3
- package/dist/node_modules/lodash-es/_stringSize.js +8 -7
- package/dist/node_modules/lodash-es/_stringToPath.js +7 -5
- package/dist/node_modules/lodash-es/_toKey.js +8 -7
- package/dist/node_modules/lodash-es/_toSource.js +8 -7
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +6 -5
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -16
- package/dist/node_modules/lodash-es/clone.js +7 -6
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -6
- package/dist/node_modules/lodash-es/constant.js +4 -3
- package/dist/node_modules/lodash-es/defaults.js +13 -11
- package/dist/node_modules/lodash-es/eq.js +4 -3
- package/dist/node_modules/lodash-es/filter.js +9 -8
- package/dist/node_modules/lodash-es/find.js +6 -4
- package/dist/node_modules/lodash-es/findIndex.js +10 -9
- package/dist/node_modules/lodash-es/flatMap.js +7 -6
- package/dist/node_modules/lodash-es/flatten.js +6 -5
- package/dist/node_modules/lodash-es/forEach.js +9 -8
- package/dist/node_modules/lodash-es/forIn.js +8 -7
- package/dist/node_modules/lodash-es/forOwn.js +7 -6
- package/dist/node_modules/lodash-es/get.js +6 -5
- package/dist/node_modules/lodash-es/has.js +7 -6
- package/dist/node_modules/lodash-es/hasIn.js +7 -6
- package/dist/node_modules/lodash-es/identity.js +4 -3
- package/dist/node_modules/lodash-es/isArguments.js +8 -6
- package/dist/node_modules/lodash-es/isArray.js +4 -2
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -6
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -6
- package/dist/node_modules/lodash-es/isBuffer.js +6 -4
- package/dist/node_modules/lodash-es/isEmpty.js +18 -17
- package/dist/node_modules/lodash-es/isFunction.js +10 -9
- package/dist/node_modules/lodash-es/isLength.js +6 -5
- package/dist/node_modules/lodash-es/isMap.js +7 -5
- package/dist/node_modules/lodash-es/isObject.js +4 -3
- package/dist/node_modules/lodash-es/isObjectLike.js +4 -3
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -12
- package/dist/node_modules/lodash-es/isSet.js +7 -5
- package/dist/node_modules/lodash-es/isString.js +9 -8
- package/dist/node_modules/lodash-es/isSymbol.js +8 -7
- package/dist/node_modules/lodash-es/isTypedArray.js +7 -5
- package/dist/node_modules/lodash-es/isUndefined.js +4 -3
- package/dist/node_modules/lodash-es/keys.js +8 -7
- package/dist/node_modules/lodash-es/keysIn.js +8 -7
- package/dist/node_modules/lodash-es/last.js +4 -3
- package/dist/node_modules/lodash-es/map.js +9 -8
- package/dist/node_modules/lodash-es/mapValues.js +9 -8
- package/dist/node_modules/lodash-es/max.js +8 -7
- package/dist/node_modules/lodash-es/memoize.js +9 -8
- package/dist/node_modules/lodash-es/merge.js +7 -5
- package/dist/node_modules/lodash-es/min.js +8 -7
- package/dist/node_modules/lodash-es/minBy.js +8 -7
- package/dist/node_modules/lodash-es/noop.js +4 -3
- package/dist/node_modules/lodash-es/now.js +6 -4
- package/dist/node_modules/lodash-es/pick.js +7 -5
- package/dist/node_modules/lodash-es/property.js +9 -8
- package/dist/node_modules/lodash-es/range.js +5 -3
- package/dist/node_modules/lodash-es/reduce.js +11 -10
- package/dist/node_modules/lodash-es/size.js +13 -12
- package/dist/node_modules/lodash-es/sortBy.js +9 -7
- package/dist/node_modules/lodash-es/stubArray.js +4 -3
- package/dist/node_modules/lodash-es/stubFalse.js +4 -3
- package/dist/node_modules/lodash-es/toFinite.js +7 -6
- package/dist/node_modules/lodash-es/toInteger.js +6 -5
- package/dist/node_modules/lodash-es/toNumber.js +14 -13
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -6
- package/dist/node_modules/lodash-es/toString.js +6 -5
- package/dist/node_modules/lodash-es/union.js +9 -7
- package/dist/node_modules/lodash-es/uniqBy.js +7 -6
- package/dist/node_modules/lodash-es/uniqueId.js +8 -7
- package/dist/node_modules/lodash-es/values.js +7 -6
- package/dist/node_modules/lodash-es/zipObject.js +7 -6
- package/dist/node_modules/longest-streak/index.js +4 -2
- package/dist/node_modules/markdown-table/index.js +11 -9
- package/dist/node_modules/marked/lib/marked.esm.js +687 -685
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +14 -12
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +4 -2
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +182 -180
- package/dist/node_modules/mdast-util-gfm/lib/index.js +20 -18
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +69 -67
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +47 -45
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +30 -28
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +16 -14
- package/dist/node_modules/mdast-util-math/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +5 -3
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +11 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +55 -53
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +15 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +61 -59
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +18 -16
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +43 -41
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +11 -9
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +12 -10
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +8 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +6 -4
- package/dist/node_modules/mdast-util-to-string/lib/index.js +14 -12
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +695 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +3038 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-YG6GDRKO.js → c4Diagram-AHTNJAMY.js} +581 -573
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +49 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-B4BG7PRW.js → chunk-4TB4RGXK.js} +590 -444
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +7 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +3640 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +342 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +22 -20
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +82 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +570 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +5 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +2348 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +2014 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +8 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +274 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +67 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +1146 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +62 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +32 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +116 -114
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +265 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +101 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +284 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +213 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +133 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-Q2GNP2WA.js → erDiagram-SMLLAGMA.js} +549 -445
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-NV44I4VS.js → flowDiagram-DWJPFMVM.js} +1366 -1345
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +1720 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +730 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +19 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +718 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +885 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-3W4ZIXB7.js → kanban-definition-6JOO6SKY.js} +124 -118
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-VGOIOE7T.js → mindmap-definition-QFDTVHPH.js} +172 -122
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +119 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-AYHSOK5B.js → quadrantDiagram-34T5L4WZ.js} +279 -273
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-UZGBJVZJ.js → requirementDiagram-MS252O5E.js} +100 -66
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +529 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +4159 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +222 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +27 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +1073 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +961 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +578 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +2000 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +492 -445
- package/dist/node_modules/micromark/lib/constructs.js +80 -79
- package/dist/node_modules/micromark/lib/create-tokenizer.js +14 -12
- package/dist/node_modules/micromark/lib/initialize/content.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/document.js +15 -14
- package/dist/node_modules/micromark/lib/initialize/flow.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/text.js +8 -6
- package/dist/node_modules/micromark/lib/parse.js +20 -18
- package/dist/node_modules/micromark/lib/postprocess.js +6 -4
- package/dist/node_modules/micromark/lib/preprocess.js +6 -4
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +20 -18
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +17 -15
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +11 -9
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +16 -14
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +22 -21
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +16 -15
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +13 -11
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +18 -17
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +30 -29
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +68 -67
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +66 -64
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +112 -111
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +32 -31
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +12 -10
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +11 -9
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -14
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +122 -120
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +33 -31
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +11 -9
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +6 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +4 -2
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +36 -34
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +20 -18
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +21 -20
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +11 -9
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +8 -6
- package/dist/node_modules/micromark-factory-destination/index.js +10 -8
- package/dist/node_modules/micromark-factory-label/index.js +7 -5
- package/dist/node_modules/micromark-factory-space/index.js +7 -5
- package/dist/node_modules/micromark-factory-title/index.js +8 -6
- package/dist/node_modules/micromark-factory-whitespace/index.js +7 -5
- package/dist/node_modules/micromark-util-character/index.js +14 -12
- package/dist/node_modules/micromark-util-chunked/index.js +6 -4
- package/dist/node_modules/micromark-util-classify-character/index.js +7 -5
- package/dist/node_modules/micromark-util-combine-extensions/index.js +13 -11
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +4 -2
- package/dist/node_modules/micromark-util-decode-string/index.js +11 -9
- package/dist/node_modules/micromark-util-html-tag-name/index.js +4 -2
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -2
- package/dist/node_modules/micromark-util-resolve-all/index.js +4 -2
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +6 -4
- package/dist/node_modules/micromark-util-subtokenize/index.js +10 -8
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +10 -8
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +6 -4
- package/dist/node_modules/nanoid/url-alphabet/index.js +4 -2
- package/dist/node_modules/property-information/index.js +25 -23
- package/dist/node_modules/property-information/lib/aria.js +41 -39
- package/dist/node_modules/property-information/lib/find.js +18 -16
- package/dist/node_modules/property-information/lib/hast-to-react.js +4 -2
- package/dist/node_modules/property-information/lib/html.js +96 -94
- package/dist/node_modules/property-information/lib/normalize.js +4 -2
- package/dist/node_modules/property-information/lib/svg.js +79 -77
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +6 -4
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -2
- package/dist/node_modules/property-information/lib/util/create.js +10 -8
- package/dist/node_modules/property-information/lib/util/defined-info.js +13 -11
- package/dist/node_modules/property-information/lib/util/info.js +5 -3
- package/dist/node_modules/property-information/lib/util/merge.js +6 -4
- package/dist/node_modules/property-information/lib/util/schema.js +5 -3
- package/dist/node_modules/property-information/lib/util/types.js +15 -14
- package/dist/node_modules/property-information/lib/xlink.js +5 -3
- package/dist/node_modules/property-information/lib/xml.js +5 -3
- package/dist/node_modules/property-information/lib/xmlns.js +7 -5
- package/dist/node_modules/rehype-harden/dist/index.js +47 -45
- package/dist/node_modules/rehype-katex/lib/index.js +25 -23
- package/dist/node_modules/rehype-raw/lib/index.js +6 -4
- package/dist/node_modules/rehype-sanitize/lib/index.js +6 -4
- package/dist/node_modules/remark-gfm/lib/index.js +9 -7
- package/dist/node_modules/remark-math/lib/index.js +9 -7
- package/dist/node_modules/remark-parse/lib/index.js +6 -4
- package/dist/node_modules/remark-rehype/lib/index.js +7 -5
- package/dist/node_modules/remend/dist/index.js +368 -297
- package/dist/node_modules/roughjs/bundled/rough.esm.js +877 -875
- package/dist/node_modules/shiki/dist/bundle-full.js +13 -11
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +17 -0
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +7 -0
- package/dist/node_modules/shiki/dist/{langs.js → langs-bundle-full-DfKZStlK.js} +8 -6
- package/dist/node_modules/shiki/dist/themes.js +6 -4
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +5 -3
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +2500 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +37 -0
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +701 -699
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +4 -2
- package/dist/node_modules/stringify-entities/lib/core.js +18 -16
- package/dist/node_modules/stringify-entities/lib/index.js +7 -5
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +10 -8
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +14 -12
- package/dist/node_modules/style-to-js/cjs/index.js +9 -7
- package/dist/node_modules/style-to-js/cjs/utilities.js +6 -4
- package/dist/node_modules/style-to-object/cjs/index.js +8 -6
- package/dist/node_modules/stylis/src/Enum.js +4 -2
- package/dist/node_modules/stylis/src/Parser.js +38 -36
- package/dist/node_modules/stylis/src/Serializer.js +17 -15
- package/dist/node_modules/stylis/src/Tokenizer.js +53 -51
- package/dist/node_modules/stylis/src/Utility.js +17 -15
- package/dist/node_modules/trim-lines/index.js +10 -8
- package/dist/node_modules/trough/lib/index.js +6 -4
- package/dist/node_modules/ts-dedent/esm/index.js +4 -2
- package/dist/node_modules/unified/lib/callable-instance.js +4 -2
- package/dist/node_modules/unified/lib/index.js +102 -101
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +4 -2
- package/dist/node_modules/unist-util-find-after/lib/index.js +6 -4
- package/dist/node_modules/unist-util-is/lib/index.js +31 -29
- package/dist/node_modules/unist-util-position/lib/index.js +7 -5
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +10 -8
- package/dist/node_modules/unist-util-visit/lib/index.js +6 -4
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -2
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +21 -20
- package/dist/node_modules/uuid/dist/esm-browser/native.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +8 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +7 -5
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +10 -9
- package/dist/node_modules/vaul/dist/index.js +276 -274
- package/dist/node_modules/vfile/lib/index.js +44 -42
- package/dist/node_modules/vfile/lib/minpath.browser.js +22 -20
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -3
- package/dist/node_modules/vfile/lib/minurl.browser.js +8 -6
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -2
- package/dist/node_modules/vfile-location/lib/index.js +7 -5
- package/dist/node_modules/vfile-message/lib/index.js +7 -5
- package/dist/node_modules/vscode-jsonrpc/browser.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +28 -26
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +17 -15
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +13 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +31 -29
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +23 -21
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +14 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +55 -53
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +12 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +6 -4
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +21 -19
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +849 -847
- package/dist/node_modules/vscode-uri/lib/esm/index.js +6 -4
- package/dist/node_modules/web-namespaces/index.js +4 -2
- package/dist/node_modules/zwitch/index.js +7 -5
- package/dist/packages/contracts/dist/enums/index.js +21 -20
- package/dist/packages/contracts/dist/enums/registry.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/user-type.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +7 -5
- package/dist/pages/DashboardPage.js +55 -99
- package/dist/pages/DebugPage.js +12 -17
- package/dist/pages/DebugWorkflowDetailsPage.js +91 -119
- package/dist/pages/DebugWorkflowsPage.js +44 -42
- package/dist/pages/EmbedWorkbenchPage.js +49 -73
- package/dist/pages/PreviewWorkbenchPage.js +242 -448
- package/dist/pages/RunsListPage.js +44 -61
- package/dist/pages/RunsPage.js +31 -48
- package/dist/pages/StudioLandingPage.js +97 -132
- package/dist/pages/WorkbenchPage.js +56 -86
- package/dist/pages/WorkflowDebugPage.js +78 -0
- package/dist/pages/WorkspacePage.js +72 -113
- package/dist/pages/WorkspaceRunsPage.js +43 -70
- package/dist/pages/WorkspacesPage.js +24 -35
- package/dist/providers/ComponentOverridesProvider.js +9 -12
- package/dist/providers/InvalidationEventsProvider.js +33 -35
- package/dist/providers/QueryProvider.js +14 -18
- package/dist/providers/SseProvider.js +28 -30
- package/dist/providers/StudioProvider.js +14 -19
- package/dist/routing/LocalRouter.js +20 -26
- package/dist/services/createApiClient.js +7 -5
- package/dist/services/eventEmitter.js +3 -2
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +7 -5
- package/package.json +33 -33
- package/dist/_virtual/rolldown_runtime.js +0 -20
- package/dist/api/namespaces.js +0 -7
- package/dist/api/pipelines.js +0 -13
- package/dist/components/ai-elements/tool.js +0 -158
- package/dist/components/ui-widgets/widgets/SecretInput.js +0 -42
- package/dist/features/debug/components/PipelineDebugHeader.js +0 -48
- package/dist/features/debug/components/PipelineDebugLegend.js +0 -68
- package/dist/features/debug/components/PipelineFlowViewer.js +0 -110
- package/dist/features/debug/components/pipeline-flow/StateNode.js +0 -111
- package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +0 -41
- package/dist/features/debug/components/pipeline-flow/WorkflowTransitionEdge.js +0 -97
- package/dist/features/workbench/NavigationItems.js +0 -52
- package/dist/features/workbench/WorkbenchNavigation.js +0 -38
- package/dist/features/workbench/components/NavigationItem.js +0 -68
- package/dist/features/workbench/components/PipelineHistoryList.js +0 -56
- package/dist/features/workbench/hooks/useIntersectionObserver.js +0 -44
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +0 -31
- package/dist/features/workspaces/components/PipelineForm.js +0 -152
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +0 -75
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +0 -43
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +0 -105
- package/dist/hooks/useNamespaceTree.js +0 -27
- package/dist/hooks/useNamespaces.js +0 -25
- package/dist/hooks/usePipelines.js +0 -161
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -60
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -787
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -30
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -3
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -2
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -16
- package/dist/node_modules/langium/lib/index.js +0 -182
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
- package/dist/node_modules/langium/lib/utils/index.js +0 -53
- package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
- package/dist/node_modules/lodash/_Symbol.js +0 -7
- package/dist/node_modules/lodash/_baseGetTag.js +0 -13
- package/dist/node_modules/lodash/_baseTrim.js +0 -11
- package/dist/node_modules/lodash/_freeGlobal.js +0 -6
- package/dist/node_modules/lodash/_getRawTag.js +0 -17
- package/dist/node_modules/lodash/_objectToString.js +0 -10
- package/dist/node_modules/lodash/_root.js +0 -8
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -11
- package/dist/node_modules/lodash/isObject.js +0 -10
- package/dist/node_modules/lodash/isObjectLike.js +0 -9
- package/dist/node_modules/lodash/isSymbol.js +0 -12
- package/dist/node_modules/lodash/now.js +0 -10
- package/dist/node_modules/lodash/toNumber.js +0 -22
- package/dist/node_modules/lodash-es/_arrayAggregator.js +0 -9
- package/dist/node_modules/lodash-es/_arrayEvery.js +0 -6
- package/dist/node_modules/lodash-es/_baseAggregator.js +0 -8
- package/dist/node_modules/lodash-es/_baseDifference.js +0 -22
- package/dist/node_modules/lodash-es/_baseEvery.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +0 -8
- package/dist/node_modules/lodash-es/_baseSlice.js +0 -8
- package/dist/node_modules/lodash-es/_baseSome.js +0 -9
- package/dist/node_modules/lodash-es/_createAggregator.js +0 -12
- package/dist/node_modules/lodash-es/assign.js +0 -14
- package/dist/node_modules/lodash-es/compact.js +0 -9
- package/dist/node_modules/lodash-es/difference.js +0 -8
- package/dist/node_modules/lodash-es/drop.js +0 -8
- package/dist/node_modules/lodash-es/dropRight.js +0 -8
- package/dist/node_modules/lodash-es/every.js +0 -11
- package/dist/node_modules/lodash-es/groupBy.js +0 -6
- package/dist/node_modules/lodash-es/head.js +0 -5
- package/dist/node_modules/lodash-es/includes.js +0 -13
- package/dist/node_modules/lodash-es/indexOf.js +0 -11
- package/dist/node_modules/lodash-es/isRegExp.js +0 -5
- package/dist/node_modules/lodash-es/negate.js +0 -16
- package/dist/node_modules/lodash-es/pickBy.js +0 -15
- package/dist/node_modules/lodash-es/reject.js +0 -10
- package/dist/node_modules/lodash-es/some.js +0 -11
- package/dist/node_modules/lodash-es/uniq.js +0 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -673
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3010
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -1547
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -65
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -10
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1994
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -135
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -74
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -247
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -3516
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -1140
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -23
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -497
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -338
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -55
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -263
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -283
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -211
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -129
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -1688
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -621
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -18
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -883
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -117
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -519
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3560
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -220
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -25
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -833
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1975
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +0 -2189
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +0 -33
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +0 -3
- package/dist/packages/contracts/dist/enums/pipeline-state.js +0 -10
- package/dist/pages/PipelineDebugPage.js +0 -115
|
@@ -1,1140 +0,0 @@
|
|
|
1
|
-
import { __name } from "./chunk-AGHRB4JF.js";
|
|
2
|
-
function isNothing(c) {
|
|
3
|
-
return c == null;
|
|
4
|
-
}
|
|
5
|
-
__name(isNothing, "isNothing");
|
|
6
|
-
function isObject(c) {
|
|
7
|
-
return typeof c == "object" && !!c;
|
|
8
|
-
}
|
|
9
|
-
__name(isObject, "isObject");
|
|
10
|
-
function toArray(c) {
|
|
11
|
-
return Array.isArray(c) ? c : isNothing(c) ? [] : [c];
|
|
12
|
-
}
|
|
13
|
-
__name(toArray, "toArray");
|
|
14
|
-
function extend(c, I) {
|
|
15
|
-
var L, R, z, B;
|
|
16
|
-
if (I) for (B = Object.keys(I), L = 0, R = B.length; L < R; L += 1) z = B[L], c[z] = I[z];
|
|
17
|
-
return c;
|
|
18
|
-
}
|
|
19
|
-
__name(extend, "extend");
|
|
20
|
-
function repeat(c, I) {
|
|
21
|
-
var L = "", R;
|
|
22
|
-
for (R = 0; R < I; R += 1) L += c;
|
|
23
|
-
return L;
|
|
24
|
-
}
|
|
25
|
-
__name(repeat, "repeat");
|
|
26
|
-
function isNegativeZero(c) {
|
|
27
|
-
return c === 0 && 1 / c == -Infinity;
|
|
28
|
-
}
|
|
29
|
-
__name(isNegativeZero, "isNegativeZero");
|
|
30
|
-
var common = {
|
|
31
|
-
isNothing,
|
|
32
|
-
isObject,
|
|
33
|
-
toArray,
|
|
34
|
-
repeat,
|
|
35
|
-
isNegativeZero,
|
|
36
|
-
extend
|
|
37
|
-
};
|
|
38
|
-
function formatError(c, I) {
|
|
39
|
-
var L = "", R = c.reason || "(unknown reason)";
|
|
40
|
-
return c.mark ? (c.mark.name && (L += "in \"" + c.mark.name + "\" "), L += "(" + (c.mark.line + 1) + ":" + (c.mark.column + 1) + ")", !I && c.mark.snippet && (L += "\n\n" + c.mark.snippet), R + " " + L) : R;
|
|
41
|
-
}
|
|
42
|
-
__name(formatError, "formatError");
|
|
43
|
-
function YAMLException$1(c, I) {
|
|
44
|
-
Error.call(this), this.name = "YAMLException", this.reason = c, this.mark = I, this.message = formatError(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
|
|
45
|
-
}
|
|
46
|
-
__name(YAMLException$1, "YAMLException$1"), YAMLException$1.prototype = Object.create(Error.prototype), YAMLException$1.prototype.constructor = YAMLException$1, YAMLException$1.prototype.toString = /* @__PURE__ */ __name(function(c) {
|
|
47
|
-
return this.name + ": " + formatError(this, c);
|
|
48
|
-
}, "toString");
|
|
49
|
-
var exception = YAMLException$1;
|
|
50
|
-
function getLine(c, I, L, R, z) {
|
|
51
|
-
var B = "", V = "", H = Math.floor(z / 2) - 1;
|
|
52
|
-
return R - I > H && (B = " ... ", I = R - H + B.length), L - R > H && (V = " ...", L = R + H - V.length), {
|
|
53
|
-
str: B + c.slice(I, L).replace(/\t/g, "→") + V,
|
|
54
|
-
pos: R - I + B.length
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
__name(getLine, "getLine");
|
|
58
|
-
function padStart(c, I) {
|
|
59
|
-
return common.repeat(" ", I - c.length) + c;
|
|
60
|
-
}
|
|
61
|
-
__name(padStart, "padStart");
|
|
62
|
-
function makeSnippet(c, I) {
|
|
63
|
-
if (I = Object.create(I || null), !c.buffer) return null;
|
|
64
|
-
I.maxLength ||= 79, typeof I.indent != "number" && (I.indent = 1), typeof I.linesBefore != "number" && (I.linesBefore = 3), typeof I.linesAfter != "number" && (I.linesAfter = 2);
|
|
65
|
-
for (var L = /\r?\n|\r|\0/g, R = [0], z = [], B, V = -1; B = L.exec(c.buffer);) z.push(B.index), R.push(B.index + B[0].length), c.position <= B.index && V < 0 && (V = R.length - 2);
|
|
66
|
-
V < 0 && (V = R.length - 1);
|
|
67
|
-
var U = "", W, G, J = Math.min(c.line + I.linesAfter, z.length).toString().length, Y = I.maxLength - (I.indent + J + 3);
|
|
68
|
-
for (W = 1; W <= I.linesBefore && !(V - W < 0); W++) G = getLine(c.buffer, R[V - W], z[V - W], c.position - (R[V] - R[V - W]), Y), U = common.repeat(" ", I.indent) + padStart((c.line - W + 1).toString(), J) + " | " + G.str + "\n" + U;
|
|
69
|
-
for (G = getLine(c.buffer, R[V], z[V], c.position, Y), U += common.repeat(" ", I.indent) + padStart((c.line + 1).toString(), J) + " | " + G.str + "\n", U += common.repeat("-", I.indent + J + 3 + G.pos) + "^\n", W = 1; W <= I.linesAfter && !(V + W >= z.length); W++) G = getLine(c.buffer, R[V + W], z[V + W], c.position - (R[V] - R[V + W]), Y), U += common.repeat(" ", I.indent) + padStart((c.line + W + 1).toString(), J) + " | " + G.str + "\n";
|
|
70
|
-
return U.replace(/\n$/, "");
|
|
71
|
-
}
|
|
72
|
-
__name(makeSnippet, "makeSnippet");
|
|
73
|
-
var snippet = makeSnippet, TYPE_CONSTRUCTOR_OPTIONS = [
|
|
74
|
-
"kind",
|
|
75
|
-
"multi",
|
|
76
|
-
"resolve",
|
|
77
|
-
"construct",
|
|
78
|
-
"instanceOf",
|
|
79
|
-
"predicate",
|
|
80
|
-
"represent",
|
|
81
|
-
"representName",
|
|
82
|
-
"defaultStyle",
|
|
83
|
-
"styleAliases"
|
|
84
|
-
], YAML_NODE_KINDS = [
|
|
85
|
-
"scalar",
|
|
86
|
-
"sequence",
|
|
87
|
-
"mapping"
|
|
88
|
-
];
|
|
89
|
-
function compileStyleAliases(c) {
|
|
90
|
-
var I = {};
|
|
91
|
-
return c !== null && Object.keys(c).forEach(function(L) {
|
|
92
|
-
c[L].forEach(function(c) {
|
|
93
|
-
I[String(c)] = L;
|
|
94
|
-
});
|
|
95
|
-
}), I;
|
|
96
|
-
}
|
|
97
|
-
__name(compileStyleAliases, "compileStyleAliases");
|
|
98
|
-
function Type$1(c, I) {
|
|
99
|
-
if (I ||= {}, Object.keys(I).forEach(function(I) {
|
|
100
|
-
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(I) === -1) throw new exception("Unknown option \"" + I + "\" is met in definition of \"" + c + "\" YAML type.");
|
|
101
|
-
}), this.options = I, this.tag = c, this.kind = I.kind || null, this.resolve = I.resolve || function() {
|
|
102
|
-
return !0;
|
|
103
|
-
}, this.construct = I.construct || function(c) {
|
|
104
|
-
return c;
|
|
105
|
-
}, this.instanceOf = I.instanceOf || null, this.predicate = I.predicate || null, this.represent = I.represent || null, this.representName = I.representName || null, this.defaultStyle = I.defaultStyle || null, this.multi = I.multi || !1, this.styleAliases = compileStyleAliases(I.styleAliases || null), YAML_NODE_KINDS.indexOf(this.kind) === -1) throw new exception("Unknown kind \"" + this.kind + "\" is specified for \"" + c + "\" YAML type.");
|
|
106
|
-
}
|
|
107
|
-
__name(Type$1, "Type$1");
|
|
108
|
-
var type = Type$1;
|
|
109
|
-
function compileList(c, I) {
|
|
110
|
-
var L = [];
|
|
111
|
-
return c[I].forEach(function(c) {
|
|
112
|
-
var I = L.length;
|
|
113
|
-
L.forEach(function(L, R) {
|
|
114
|
-
L.tag === c.tag && L.kind === c.kind && L.multi === c.multi && (I = R);
|
|
115
|
-
}), L[I] = c;
|
|
116
|
-
}), L;
|
|
117
|
-
}
|
|
118
|
-
__name(compileList, "compileList");
|
|
119
|
-
function compileMap() {
|
|
120
|
-
var I = {
|
|
121
|
-
scalar: {},
|
|
122
|
-
sequence: {},
|
|
123
|
-
mapping: {},
|
|
124
|
-
fallback: {},
|
|
125
|
-
multi: {
|
|
126
|
-
scalar: [],
|
|
127
|
-
sequence: [],
|
|
128
|
-
mapping: [],
|
|
129
|
-
fallback: []
|
|
130
|
-
}
|
|
131
|
-
}, L, R;
|
|
132
|
-
function z(c) {
|
|
133
|
-
c.multi ? (I.multi[c.kind].push(c), I.multi.fallback.push(c)) : I[c.kind][c.tag] = I.fallback[c.tag] = c;
|
|
134
|
-
}
|
|
135
|
-
for (__name(z, "collectType"), L = 0, R = arguments.length; L < R; L += 1) arguments[L].forEach(z);
|
|
136
|
-
return I;
|
|
137
|
-
}
|
|
138
|
-
__name(compileMap, "compileMap");
|
|
139
|
-
function Schema$1(c) {
|
|
140
|
-
return this.extend(c);
|
|
141
|
-
}
|
|
142
|
-
__name(Schema$1, "Schema$1"), Schema$1.prototype.extend = /* @__PURE__ */ __name(function(c) {
|
|
143
|
-
var I = [], L = [];
|
|
144
|
-
if (c instanceof type) L.push(c);
|
|
145
|
-
else if (Array.isArray(c)) L = L.concat(c);
|
|
146
|
-
else if (c && (Array.isArray(c.implicit) || Array.isArray(c.explicit))) c.implicit && (I = I.concat(c.implicit)), c.explicit && (L = L.concat(c.explicit));
|
|
147
|
-
else throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
148
|
-
I.forEach(function(c) {
|
|
149
|
-
if (!(c instanceof type)) throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
150
|
-
if (c.loadKind && c.loadKind !== "scalar") throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
151
|
-
if (c.multi) throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
152
|
-
}), L.forEach(function(c) {
|
|
153
|
-
if (!(c instanceof type)) throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
154
|
-
});
|
|
155
|
-
var R = Object.create(Schema$1.prototype);
|
|
156
|
-
return R.implicit = (this.implicit || []).concat(I), R.explicit = (this.explicit || []).concat(L), R.compiledImplicit = compileList(R, "implicit"), R.compiledExplicit = compileList(R, "explicit"), R.compiledTypeMap = compileMap(R.compiledImplicit, R.compiledExplicit), R;
|
|
157
|
-
}, "extend");
|
|
158
|
-
var failsafe = new Schema$1({ explicit: [
|
|
159
|
-
new type("tag:yaml.org,2002:str", {
|
|
160
|
-
kind: "scalar",
|
|
161
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
162
|
-
return c === null ? "" : c;
|
|
163
|
-
}, "construct")
|
|
164
|
-
}),
|
|
165
|
-
new type("tag:yaml.org,2002:seq", {
|
|
166
|
-
kind: "sequence",
|
|
167
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
168
|
-
return c === null ? [] : c;
|
|
169
|
-
}, "construct")
|
|
170
|
-
}),
|
|
171
|
-
new type("tag:yaml.org,2002:map", {
|
|
172
|
-
kind: "mapping",
|
|
173
|
-
construct: /* @__PURE__ */ __name(function(c) {
|
|
174
|
-
return c === null ? {} : c;
|
|
175
|
-
}, "construct")
|
|
176
|
-
})
|
|
177
|
-
] });
|
|
178
|
-
function resolveYamlNull(c) {
|
|
179
|
-
if (c === null) return !0;
|
|
180
|
-
var I = c.length;
|
|
181
|
-
return I === 1 && c === "~" || I === 4 && (c === "null" || c === "Null" || c === "NULL");
|
|
182
|
-
}
|
|
183
|
-
__name(resolveYamlNull, "resolveYamlNull");
|
|
184
|
-
function constructYamlNull() {
|
|
185
|
-
return null;
|
|
186
|
-
}
|
|
187
|
-
__name(constructYamlNull, "constructYamlNull");
|
|
188
|
-
function isNull(c) {
|
|
189
|
-
return c === null;
|
|
190
|
-
}
|
|
191
|
-
__name(isNull, "isNull");
|
|
192
|
-
var _null = new type("tag:yaml.org,2002:null", {
|
|
193
|
-
kind: "scalar",
|
|
194
|
-
resolve: resolveYamlNull,
|
|
195
|
-
construct: constructYamlNull,
|
|
196
|
-
predicate: isNull,
|
|
197
|
-
represent: {
|
|
198
|
-
canonical: /* @__PURE__ */ __name(function() {
|
|
199
|
-
return "~";
|
|
200
|
-
}, "canonical"),
|
|
201
|
-
lowercase: /* @__PURE__ */ __name(function() {
|
|
202
|
-
return "null";
|
|
203
|
-
}, "lowercase"),
|
|
204
|
-
uppercase: /* @__PURE__ */ __name(function() {
|
|
205
|
-
return "NULL";
|
|
206
|
-
}, "uppercase"),
|
|
207
|
-
camelcase: /* @__PURE__ */ __name(function() {
|
|
208
|
-
return "Null";
|
|
209
|
-
}, "camelcase"),
|
|
210
|
-
empty: /* @__PURE__ */ __name(function() {
|
|
211
|
-
return "";
|
|
212
|
-
}, "empty")
|
|
213
|
-
},
|
|
214
|
-
defaultStyle: "lowercase"
|
|
215
|
-
});
|
|
216
|
-
function resolveYamlBoolean(c) {
|
|
217
|
-
if (c === null) return !1;
|
|
218
|
-
var I = c.length;
|
|
219
|
-
return I === 4 && (c === "true" || c === "True" || c === "TRUE") || I === 5 && (c === "false" || c === "False" || c === "FALSE");
|
|
220
|
-
}
|
|
221
|
-
__name(resolveYamlBoolean, "resolveYamlBoolean");
|
|
222
|
-
function constructYamlBoolean(c) {
|
|
223
|
-
return c === "true" || c === "True" || c === "TRUE";
|
|
224
|
-
}
|
|
225
|
-
__name(constructYamlBoolean, "constructYamlBoolean");
|
|
226
|
-
function isBoolean(c) {
|
|
227
|
-
return Object.prototype.toString.call(c) === "[object Boolean]";
|
|
228
|
-
}
|
|
229
|
-
__name(isBoolean, "isBoolean");
|
|
230
|
-
var bool = new type("tag:yaml.org,2002:bool", {
|
|
231
|
-
kind: "scalar",
|
|
232
|
-
resolve: resolveYamlBoolean,
|
|
233
|
-
construct: constructYamlBoolean,
|
|
234
|
-
predicate: isBoolean,
|
|
235
|
-
represent: {
|
|
236
|
-
lowercase: /* @__PURE__ */ __name(function(c) {
|
|
237
|
-
return c ? "true" : "false";
|
|
238
|
-
}, "lowercase"),
|
|
239
|
-
uppercase: /* @__PURE__ */ __name(function(c) {
|
|
240
|
-
return c ? "TRUE" : "FALSE";
|
|
241
|
-
}, "uppercase"),
|
|
242
|
-
camelcase: /* @__PURE__ */ __name(function(c) {
|
|
243
|
-
return c ? "True" : "False";
|
|
244
|
-
}, "camelcase")
|
|
245
|
-
},
|
|
246
|
-
defaultStyle: "lowercase"
|
|
247
|
-
});
|
|
248
|
-
function isHexCode(c) {
|
|
249
|
-
return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
|
|
250
|
-
}
|
|
251
|
-
__name(isHexCode, "isHexCode");
|
|
252
|
-
function isOctCode(c) {
|
|
253
|
-
return 48 <= c && c <= 55;
|
|
254
|
-
}
|
|
255
|
-
__name(isOctCode, "isOctCode");
|
|
256
|
-
function isDecCode(c) {
|
|
257
|
-
return 48 <= c && c <= 57;
|
|
258
|
-
}
|
|
259
|
-
__name(isDecCode, "isDecCode");
|
|
260
|
-
function resolveYamlInteger(c) {
|
|
261
|
-
if (c === null) return !1;
|
|
262
|
-
var I = c.length, L = 0, R = !1, z;
|
|
263
|
-
if (!I) return !1;
|
|
264
|
-
if (z = c[L], (z === "-" || z === "+") && (z = c[++L]), z === "0") {
|
|
265
|
-
if (L + 1 === I) return !0;
|
|
266
|
-
if (z = c[++L], z === "b") {
|
|
267
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
268
|
-
if (z !== "0" && z !== "1") return !1;
|
|
269
|
-
R = !0;
|
|
270
|
-
}
|
|
271
|
-
return R && z !== "_";
|
|
272
|
-
}
|
|
273
|
-
if (z === "x") {
|
|
274
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
275
|
-
if (!isHexCode(c.charCodeAt(L))) return !1;
|
|
276
|
-
R = !0;
|
|
277
|
-
}
|
|
278
|
-
return R && z !== "_";
|
|
279
|
-
}
|
|
280
|
-
if (z === "o") {
|
|
281
|
-
for (L++; L < I; L++) if (z = c[L], z !== "_") {
|
|
282
|
-
if (!isOctCode(c.charCodeAt(L))) return !1;
|
|
283
|
-
R = !0;
|
|
284
|
-
}
|
|
285
|
-
return R && z !== "_";
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
if (z === "_") return !1;
|
|
289
|
-
for (; L < I; L++) if (z = c[L], z !== "_") {
|
|
290
|
-
if (!isDecCode(c.charCodeAt(L))) return !1;
|
|
291
|
-
R = !0;
|
|
292
|
-
}
|
|
293
|
-
return !(!R || z === "_");
|
|
294
|
-
}
|
|
295
|
-
__name(resolveYamlInteger, "resolveYamlInteger");
|
|
296
|
-
function constructYamlInteger(c) {
|
|
297
|
-
var I = c, L = 1, R;
|
|
298
|
-
if (I.indexOf("_") !== -1 && (I = I.replace(/_/g, "")), R = I[0], (R === "-" || R === "+") && (R === "-" && (L = -1), I = I.slice(1), R = I[0]), I === "0") return 0;
|
|
299
|
-
if (R === "0") {
|
|
300
|
-
if (I[1] === "b") return L * parseInt(I.slice(2), 2);
|
|
301
|
-
if (I[1] === "x") return L * parseInt(I.slice(2), 16);
|
|
302
|
-
if (I[1] === "o") return L * parseInt(I.slice(2), 8);
|
|
303
|
-
}
|
|
304
|
-
return L * parseInt(I, 10);
|
|
305
|
-
}
|
|
306
|
-
__name(constructYamlInteger, "constructYamlInteger");
|
|
307
|
-
function isInteger(c) {
|
|
308
|
-
return Object.prototype.toString.call(c) === "[object Number]" && c % 1 == 0 && !common.isNegativeZero(c);
|
|
309
|
-
}
|
|
310
|
-
__name(isInteger, "isInteger");
|
|
311
|
-
var int = new type("tag:yaml.org,2002:int", {
|
|
312
|
-
kind: "scalar",
|
|
313
|
-
resolve: resolveYamlInteger,
|
|
314
|
-
construct: constructYamlInteger,
|
|
315
|
-
predicate: isInteger,
|
|
316
|
-
represent: {
|
|
317
|
-
binary: /* @__PURE__ */ __name(function(c) {
|
|
318
|
-
return c >= 0 ? "0b" + c.toString(2) : "-0b" + c.toString(2).slice(1);
|
|
319
|
-
}, "binary"),
|
|
320
|
-
octal: /* @__PURE__ */ __name(function(c) {
|
|
321
|
-
return c >= 0 ? "0o" + c.toString(8) : "-0o" + c.toString(8).slice(1);
|
|
322
|
-
}, "octal"),
|
|
323
|
-
decimal: /* @__PURE__ */ __name(function(c) {
|
|
324
|
-
return c.toString(10);
|
|
325
|
-
}, "decimal"),
|
|
326
|
-
hexadecimal: /* @__PURE__ */ __name(function(c) {
|
|
327
|
-
return c >= 0 ? "0x" + c.toString(16).toUpperCase() : "-0x" + c.toString(16).toUpperCase().slice(1);
|
|
328
|
-
}, "hexadecimal")
|
|
329
|
-
},
|
|
330
|
-
defaultStyle: "decimal",
|
|
331
|
-
styleAliases: {
|
|
332
|
-
binary: [2, "bin"],
|
|
333
|
-
octal: [8, "oct"],
|
|
334
|
-
decimal: [10, "dec"],
|
|
335
|
-
hexadecimal: [16, "hex"]
|
|
336
|
-
}
|
|
337
|
-
}), YAML_FLOAT_PATTERN = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
338
|
-
function resolveYamlFloat(c) {
|
|
339
|
-
return !(c === null || !YAML_FLOAT_PATTERN.test(c) || c[c.length - 1] === "_");
|
|
340
|
-
}
|
|
341
|
-
__name(resolveYamlFloat, "resolveYamlFloat");
|
|
342
|
-
function constructYamlFloat(c) {
|
|
343
|
-
var I = c.replace(/_/g, "").toLowerCase(), L = I[0] === "-" ? -1 : 1;
|
|
344
|
-
return "+-".indexOf(I[0]) >= 0 && (I = I.slice(1)), I === ".inf" ? L === 1 ? Infinity : -Infinity : I === ".nan" ? NaN : L * parseFloat(I, 10);
|
|
345
|
-
}
|
|
346
|
-
__name(constructYamlFloat, "constructYamlFloat");
|
|
347
|
-
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
348
|
-
function representYamlFloat(c, I) {
|
|
349
|
-
var L;
|
|
350
|
-
if (isNaN(c)) switch (I) {
|
|
351
|
-
case "lowercase": return ".nan";
|
|
352
|
-
case "uppercase": return ".NAN";
|
|
353
|
-
case "camelcase": return ".NaN";
|
|
354
|
-
}
|
|
355
|
-
else if (c === Infinity) switch (I) {
|
|
356
|
-
case "lowercase": return ".inf";
|
|
357
|
-
case "uppercase": return ".INF";
|
|
358
|
-
case "camelcase": return ".Inf";
|
|
359
|
-
}
|
|
360
|
-
else if (c === -Infinity) switch (I) {
|
|
361
|
-
case "lowercase": return "-.inf";
|
|
362
|
-
case "uppercase": return "-.INF";
|
|
363
|
-
case "camelcase": return "-.Inf";
|
|
364
|
-
}
|
|
365
|
-
else if (common.isNegativeZero(c)) return "-0.0";
|
|
366
|
-
return L = c.toString(10), SCIENTIFIC_WITHOUT_DOT.test(L) ? L.replace("e", ".e") : L;
|
|
367
|
-
}
|
|
368
|
-
__name(representYamlFloat, "representYamlFloat");
|
|
369
|
-
function isFloat(c) {
|
|
370
|
-
return Object.prototype.toString.call(c) === "[object Number]" && (c % 1 != 0 || common.isNegativeZero(c));
|
|
371
|
-
}
|
|
372
|
-
__name(isFloat, "isFloat");
|
|
373
|
-
var float = new type("tag:yaml.org,2002:float", {
|
|
374
|
-
kind: "scalar",
|
|
375
|
-
resolve: resolveYamlFloat,
|
|
376
|
-
construct: constructYamlFloat,
|
|
377
|
-
predicate: isFloat,
|
|
378
|
-
represent: representYamlFloat,
|
|
379
|
-
defaultStyle: "lowercase"
|
|
380
|
-
}), json = failsafe.extend({ implicit: [
|
|
381
|
-
_null,
|
|
382
|
-
bool,
|
|
383
|
-
int,
|
|
384
|
-
float
|
|
385
|
-
] }), core = json, YAML_DATE_REGEXP = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
386
|
-
function resolveYamlTimestamp(c) {
|
|
387
|
-
return c === null ? !1 : YAML_DATE_REGEXP.exec(c) !== null || YAML_TIMESTAMP_REGEXP.exec(c) !== null;
|
|
388
|
-
}
|
|
389
|
-
__name(resolveYamlTimestamp, "resolveYamlTimestamp");
|
|
390
|
-
function constructYamlTimestamp(c) {
|
|
391
|
-
var I, L, R, z, B, V, H, U = 0, W = null, G, K, q;
|
|
392
|
-
if (I = YAML_DATE_REGEXP.exec(c), I === null && (I = YAML_TIMESTAMP_REGEXP.exec(c)), I === null) throw Error("Date resolve error");
|
|
393
|
-
if (L = +I[1], R = I[2] - 1, z = +I[3], !I[4]) return new Date(Date.UTC(L, R, z));
|
|
394
|
-
if (B = +I[4], V = +I[5], H = +I[6], I[7]) {
|
|
395
|
-
for (U = I[7].slice(0, 3); U.length < 3;) U += "0";
|
|
396
|
-
U = +U;
|
|
397
|
-
}
|
|
398
|
-
return I[9] && (G = +I[10], K = +(I[11] || 0), W = (G * 60 + K) * 6e4, I[9] === "-" && (W = -W)), q = new Date(Date.UTC(L, R, z, B, V, H, U)), W && q.setTime(q.getTime() - W), q;
|
|
399
|
-
}
|
|
400
|
-
__name(constructYamlTimestamp, "constructYamlTimestamp");
|
|
401
|
-
function representYamlTimestamp(c) {
|
|
402
|
-
return c.toISOString();
|
|
403
|
-
}
|
|
404
|
-
__name(representYamlTimestamp, "representYamlTimestamp");
|
|
405
|
-
var timestamp = new type("tag:yaml.org,2002:timestamp", {
|
|
406
|
-
kind: "scalar",
|
|
407
|
-
resolve: resolveYamlTimestamp,
|
|
408
|
-
construct: constructYamlTimestamp,
|
|
409
|
-
instanceOf: Date,
|
|
410
|
-
represent: representYamlTimestamp
|
|
411
|
-
});
|
|
412
|
-
function resolveYamlMerge(c) {
|
|
413
|
-
return c === "<<" || c === null;
|
|
414
|
-
}
|
|
415
|
-
__name(resolveYamlMerge, "resolveYamlMerge");
|
|
416
|
-
var merge = new type("tag:yaml.org,2002:merge", {
|
|
417
|
-
kind: "scalar",
|
|
418
|
-
resolve: resolveYamlMerge
|
|
419
|
-
}), BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
420
|
-
function resolveYamlBinary(c) {
|
|
421
|
-
if (c === null) return !1;
|
|
422
|
-
var I, L, R = 0, z = c.length, B = BASE64_MAP;
|
|
423
|
-
for (L = 0; L < z; L++) if (I = B.indexOf(c.charAt(L)), !(I > 64)) {
|
|
424
|
-
if (I < 0) return !1;
|
|
425
|
-
R += 6;
|
|
426
|
-
}
|
|
427
|
-
return R % 8 == 0;
|
|
428
|
-
}
|
|
429
|
-
__name(resolveYamlBinary, "resolveYamlBinary");
|
|
430
|
-
function constructYamlBinary(c) {
|
|
431
|
-
var I, L, R = c.replace(/[\r\n=]/g, ""), z = R.length, B = BASE64_MAP, V = 0, H = [];
|
|
432
|
-
for (I = 0; I < z; I++) I % 4 == 0 && I && (H.push(V >> 16 & 255), H.push(V >> 8 & 255), H.push(V & 255)), V = V << 6 | B.indexOf(R.charAt(I));
|
|
433
|
-
return L = z % 4 * 6, L === 0 ? (H.push(V >> 16 & 255), H.push(V >> 8 & 255), H.push(V & 255)) : L === 18 ? (H.push(V >> 10 & 255), H.push(V >> 2 & 255)) : L === 12 && H.push(V >> 4 & 255), new Uint8Array(H);
|
|
434
|
-
}
|
|
435
|
-
__name(constructYamlBinary, "constructYamlBinary");
|
|
436
|
-
function representYamlBinary(c) {
|
|
437
|
-
var I = "", L = 0, R, z, B = c.length, V = BASE64_MAP;
|
|
438
|
-
for (R = 0; R < B; R++) R % 3 == 0 && R && (I += V[L >> 18 & 63], I += V[L >> 12 & 63], I += V[L >> 6 & 63], I += V[L & 63]), L = (L << 8) + c[R];
|
|
439
|
-
return z = B % 3, z === 0 ? (I += V[L >> 18 & 63], I += V[L >> 12 & 63], I += V[L >> 6 & 63], I += V[L & 63]) : z === 2 ? (I += V[L >> 10 & 63], I += V[L >> 4 & 63], I += V[L << 2 & 63], I += V[64]) : z === 1 && (I += V[L >> 2 & 63], I += V[L << 4 & 63], I += V[64], I += V[64]), I;
|
|
440
|
-
}
|
|
441
|
-
__name(representYamlBinary, "representYamlBinary");
|
|
442
|
-
function isBinary(c) {
|
|
443
|
-
return Object.prototype.toString.call(c) === "[object Uint8Array]";
|
|
444
|
-
}
|
|
445
|
-
__name(isBinary, "isBinary");
|
|
446
|
-
var binary = new type("tag:yaml.org,2002:binary", {
|
|
447
|
-
kind: "scalar",
|
|
448
|
-
resolve: resolveYamlBinary,
|
|
449
|
-
construct: constructYamlBinary,
|
|
450
|
-
predicate: isBinary,
|
|
451
|
-
represent: representYamlBinary
|
|
452
|
-
}), _hasOwnProperty$3 = Object.prototype.hasOwnProperty, _toString$2 = Object.prototype.toString;
|
|
453
|
-
function resolveYamlOmap(c) {
|
|
454
|
-
if (c === null) return !0;
|
|
455
|
-
var I = [], L, R, z, B, V, H = c;
|
|
456
|
-
for (L = 0, R = H.length; L < R; L += 1) {
|
|
457
|
-
if (z = H[L], V = !1, _toString$2.call(z) !== "[object Object]") return !1;
|
|
458
|
-
for (B in z) if (_hasOwnProperty$3.call(z, B)) if (!V) V = !0;
|
|
459
|
-
else return !1;
|
|
460
|
-
if (!V) return !1;
|
|
461
|
-
if (I.indexOf(B) === -1) I.push(B);
|
|
462
|
-
else return !1;
|
|
463
|
-
}
|
|
464
|
-
return !0;
|
|
465
|
-
}
|
|
466
|
-
__name(resolveYamlOmap, "resolveYamlOmap");
|
|
467
|
-
function constructYamlOmap(c) {
|
|
468
|
-
return c === null ? [] : c;
|
|
469
|
-
}
|
|
470
|
-
__name(constructYamlOmap, "constructYamlOmap");
|
|
471
|
-
var omap = new type("tag:yaml.org,2002:omap", {
|
|
472
|
-
kind: "sequence",
|
|
473
|
-
resolve: resolveYamlOmap,
|
|
474
|
-
construct: constructYamlOmap
|
|
475
|
-
}), _toString$1 = Object.prototype.toString;
|
|
476
|
-
function resolveYamlPairs(c) {
|
|
477
|
-
if (c === null) return !0;
|
|
478
|
-
var I, L, R, z, B, V = c;
|
|
479
|
-
for (B = Array(V.length), I = 0, L = V.length; I < L; I += 1) {
|
|
480
|
-
if (R = V[I], _toString$1.call(R) !== "[object Object]" || (z = Object.keys(R), z.length !== 1)) return !1;
|
|
481
|
-
B[I] = [z[0], R[z[0]]];
|
|
482
|
-
}
|
|
483
|
-
return !0;
|
|
484
|
-
}
|
|
485
|
-
__name(resolveYamlPairs, "resolveYamlPairs");
|
|
486
|
-
function constructYamlPairs(c) {
|
|
487
|
-
if (c === null) return [];
|
|
488
|
-
var I, L, R, z, B, V = c;
|
|
489
|
-
for (B = Array(V.length), I = 0, L = V.length; I < L; I += 1) R = V[I], z = Object.keys(R), B[I] = [z[0], R[z[0]]];
|
|
490
|
-
return B;
|
|
491
|
-
}
|
|
492
|
-
__name(constructYamlPairs, "constructYamlPairs");
|
|
493
|
-
var pairs = new type("tag:yaml.org,2002:pairs", {
|
|
494
|
-
kind: "sequence",
|
|
495
|
-
resolve: resolveYamlPairs,
|
|
496
|
-
construct: constructYamlPairs
|
|
497
|
-
}), _hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
498
|
-
function resolveYamlSet(c) {
|
|
499
|
-
if (c === null) return !0;
|
|
500
|
-
var I, L = c;
|
|
501
|
-
for (I in L) if (_hasOwnProperty$2.call(L, I) && L[I] !== null) return !1;
|
|
502
|
-
return !0;
|
|
503
|
-
}
|
|
504
|
-
__name(resolveYamlSet, "resolveYamlSet");
|
|
505
|
-
function constructYamlSet(c) {
|
|
506
|
-
return c === null ? {} : c;
|
|
507
|
-
}
|
|
508
|
-
__name(constructYamlSet, "constructYamlSet");
|
|
509
|
-
var set = new type("tag:yaml.org,2002:set", {
|
|
510
|
-
kind: "mapping",
|
|
511
|
-
resolve: resolveYamlSet,
|
|
512
|
-
construct: constructYamlSet
|
|
513
|
-
}), _default = core.extend({
|
|
514
|
-
implicit: [timestamp, merge],
|
|
515
|
-
explicit: [
|
|
516
|
-
binary,
|
|
517
|
-
omap,
|
|
518
|
-
pairs,
|
|
519
|
-
set
|
|
520
|
-
]
|
|
521
|
-
}), _hasOwnProperty$1 = Object.prototype.hasOwnProperty, CONTEXT_FLOW_IN = 1, CONTEXT_FLOW_OUT = 2, CONTEXT_BLOCK_IN = 3, CONTEXT_BLOCK_OUT = 4, CHOMPING_CLIP = 1, CHOMPING_STRIP = 2, CHOMPING_KEEP = 3, PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/, PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/, PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i, PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
522
|
-
function _class(c) {
|
|
523
|
-
return Object.prototype.toString.call(c);
|
|
524
|
-
}
|
|
525
|
-
__name(_class, "_class");
|
|
526
|
-
function is_EOL(c) {
|
|
527
|
-
return c === 10 || c === 13;
|
|
528
|
-
}
|
|
529
|
-
__name(is_EOL, "is_EOL");
|
|
530
|
-
function is_WHITE_SPACE(c) {
|
|
531
|
-
return c === 9 || c === 32;
|
|
532
|
-
}
|
|
533
|
-
__name(is_WHITE_SPACE, "is_WHITE_SPACE");
|
|
534
|
-
function is_WS_OR_EOL(c) {
|
|
535
|
-
return c === 9 || c === 32 || c === 10 || c === 13;
|
|
536
|
-
}
|
|
537
|
-
__name(is_WS_OR_EOL, "is_WS_OR_EOL");
|
|
538
|
-
function is_FLOW_INDICATOR(c) {
|
|
539
|
-
return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
|
|
540
|
-
}
|
|
541
|
-
__name(is_FLOW_INDICATOR, "is_FLOW_INDICATOR");
|
|
542
|
-
function fromHexCode(c) {
|
|
543
|
-
var I;
|
|
544
|
-
return 48 <= c && c <= 57 ? c - 48 : (I = c | 32, 97 <= I && I <= 102 ? I - 97 + 10 : -1);
|
|
545
|
-
}
|
|
546
|
-
__name(fromHexCode, "fromHexCode");
|
|
547
|
-
function escapedHexLen(c) {
|
|
548
|
-
return c === 120 ? 2 : c === 117 ? 4 : c === 85 ? 8 : 0;
|
|
549
|
-
}
|
|
550
|
-
__name(escapedHexLen, "escapedHexLen");
|
|
551
|
-
function fromDecimalCode(c) {
|
|
552
|
-
return 48 <= c && c <= 57 ? c - 48 : -1;
|
|
553
|
-
}
|
|
554
|
-
__name(fromDecimalCode, "fromDecimalCode");
|
|
555
|
-
function simpleEscapeSequence(c) {
|
|
556
|
-
return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 || c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? "\"" : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "
" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
|
|
557
|
-
}
|
|
558
|
-
__name(simpleEscapeSequence, "simpleEscapeSequence");
|
|
559
|
-
function charFromCodepoint(c) {
|
|
560
|
-
return c <= 65535 ? String.fromCharCode(c) : String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
|
|
561
|
-
}
|
|
562
|
-
__name(charFromCodepoint, "charFromCodepoint");
|
|
563
|
-
var simpleEscapeCheck = Array(256), simpleEscapeMap = Array(256);
|
|
564
|
-
for (i = 0; i < 256; i++) simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0, simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
565
|
-
var i;
|
|
566
|
-
function State$1(c, I) {
|
|
567
|
-
this.input = c, this.filename = I.filename || null, this.schema = I.schema || _default, this.onWarning = I.onWarning || null, this.legacy = I.legacy || !1, this.json = I.json || !1, this.listener = I.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = c.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
568
|
-
}
|
|
569
|
-
__name(State$1, "State$1");
|
|
570
|
-
function generateError(c, I) {
|
|
571
|
-
var L = {
|
|
572
|
-
name: c.filename,
|
|
573
|
-
buffer: c.input.slice(0, -1),
|
|
574
|
-
position: c.position,
|
|
575
|
-
line: c.line,
|
|
576
|
-
column: c.position - c.lineStart
|
|
577
|
-
};
|
|
578
|
-
return L.snippet = snippet(L), new exception(I, L);
|
|
579
|
-
}
|
|
580
|
-
__name(generateError, "generateError");
|
|
581
|
-
function throwError(c, I) {
|
|
582
|
-
throw generateError(c, I);
|
|
583
|
-
}
|
|
584
|
-
__name(throwError, "throwError");
|
|
585
|
-
function throwWarning(c, I) {
|
|
586
|
-
c.onWarning && c.onWarning.call(null, generateError(c, I));
|
|
587
|
-
}
|
|
588
|
-
__name(throwWarning, "throwWarning");
|
|
589
|
-
var directiveHandlers = {
|
|
590
|
-
YAML: /* @__PURE__ */ __name(function(c, I, L) {
|
|
591
|
-
var R, z, B;
|
|
592
|
-
c.version !== null && throwError(c, "duplication of %YAML directive"), L.length !== 1 && throwError(c, "YAML directive accepts exactly one argument"), R = /^([0-9]+)\.([0-9]+)$/.exec(L[0]), R === null && throwError(c, "ill-formed argument of the YAML directive"), z = parseInt(R[1], 10), B = parseInt(R[2], 10), z !== 1 && throwError(c, "unacceptable YAML version of the document"), c.version = L[0], c.checkLineBreaks = B < 2, B !== 1 && B !== 2 && throwWarning(c, "unsupported YAML version of the document");
|
|
593
|
-
}, "handleYamlDirective"),
|
|
594
|
-
TAG: /* @__PURE__ */ __name(function(c, I, L) {
|
|
595
|
-
var R, z;
|
|
596
|
-
L.length !== 2 && throwError(c, "TAG directive accepts exactly two arguments"), R = L[0], z = L[1], PATTERN_TAG_HANDLE.test(R) || throwError(c, "ill-formed tag handle (first argument) of the TAG directive"), _hasOwnProperty$1.call(c.tagMap, R) && throwError(c, "there is a previously declared suffix for \"" + R + "\" tag handle"), PATTERN_TAG_URI.test(z) || throwError(c, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
597
|
-
try {
|
|
598
|
-
z = decodeURIComponent(z);
|
|
599
|
-
} catch {
|
|
600
|
-
throwError(c, "tag prefix is malformed: " + z);
|
|
601
|
-
}
|
|
602
|
-
c.tagMap[R] = z;
|
|
603
|
-
}, "handleTagDirective")
|
|
604
|
-
};
|
|
605
|
-
function captureSegment(c, I, L, R) {
|
|
606
|
-
var z, B, V, H;
|
|
607
|
-
if (I < L) {
|
|
608
|
-
if (H = c.input.slice(I, L), R) for (z = 0, B = H.length; z < B; z += 1) V = H.charCodeAt(z), V === 9 || 32 <= V && V <= 1114111 || throwError(c, "expected valid JSON character");
|
|
609
|
-
else PATTERN_NON_PRINTABLE.test(H) && throwError(c, "the stream contains non-printable characters");
|
|
610
|
-
c.result += H;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
__name(captureSegment, "captureSegment");
|
|
614
|
-
function mergeMappings(c, I, L, R) {
|
|
615
|
-
var z, B, V, U;
|
|
616
|
-
for (common.isObject(L) || throwError(c, "cannot merge mappings; the provided source object is unacceptable"), z = Object.keys(L), V = 0, U = z.length; V < U; V += 1) B = z[V], _hasOwnProperty$1.call(I, B) || (I[B] = L[B], R[B] = !0);
|
|
617
|
-
}
|
|
618
|
-
__name(mergeMappings, "mergeMappings");
|
|
619
|
-
function storeMappingPair(c, I, L, R, z, B, V, H, U) {
|
|
620
|
-
var W, G;
|
|
621
|
-
if (Array.isArray(z)) for (z = Array.prototype.slice.call(z), W = 0, G = z.length; W < G; W += 1) Array.isArray(z[W]) && throwError(c, "nested arrays are not supported inside keys"), typeof z == "object" && _class(z[W]) === "[object Object]" && (z[W] = "[object Object]");
|
|
622
|
-
if (typeof z == "object" && _class(z) === "[object Object]" && (z = "[object Object]"), z = String(z), I === null && (I = {}), R === "tag:yaml.org,2002:merge") if (Array.isArray(B)) for (W = 0, G = B.length; W < G; W += 1) mergeMappings(c, I, B[W], L);
|
|
623
|
-
else mergeMappings(c, I, B, L);
|
|
624
|
-
else !c.json && !_hasOwnProperty$1.call(L, z) && _hasOwnProperty$1.call(I, z) && (c.line = V || c.line, c.lineStart = H || c.lineStart, c.position = U || c.position, throwError(c, "duplicated mapping key")), z === "__proto__" ? Object.defineProperty(I, z, {
|
|
625
|
-
configurable: !0,
|
|
626
|
-
enumerable: !0,
|
|
627
|
-
writable: !0,
|
|
628
|
-
value: B
|
|
629
|
-
}) : I[z] = B, delete L[z];
|
|
630
|
-
return I;
|
|
631
|
-
}
|
|
632
|
-
__name(storeMappingPair, "storeMappingPair");
|
|
633
|
-
function readLineBreak(c) {
|
|
634
|
-
var I = c.input.charCodeAt(c.position);
|
|
635
|
-
I === 10 ? c.position++ : I === 13 ? (c.position++, c.input.charCodeAt(c.position) === 10 && c.position++) : throwError(c, "a line break is expected"), c.line += 1, c.lineStart = c.position, c.firstTabInLine = -1;
|
|
636
|
-
}
|
|
637
|
-
__name(readLineBreak, "readLineBreak");
|
|
638
|
-
function skipSeparationSpace(c, I, L) {
|
|
639
|
-
for (var R = 0, z = c.input.charCodeAt(c.position); z !== 0;) {
|
|
640
|
-
for (; is_WHITE_SPACE(z);) z === 9 && c.firstTabInLine === -1 && (c.firstTabInLine = c.position), z = c.input.charCodeAt(++c.position);
|
|
641
|
-
if (I && z === 35) do
|
|
642
|
-
z = c.input.charCodeAt(++c.position);
|
|
643
|
-
while (z !== 10 && z !== 13 && z !== 0);
|
|
644
|
-
if (is_EOL(z)) for (readLineBreak(c), z = c.input.charCodeAt(c.position), R++, c.lineIndent = 0; z === 32;) c.lineIndent++, z = c.input.charCodeAt(++c.position);
|
|
645
|
-
else break;
|
|
646
|
-
}
|
|
647
|
-
return L !== -1 && R !== 0 && c.lineIndent < L && throwWarning(c, "deficient indentation"), R;
|
|
648
|
-
}
|
|
649
|
-
__name(skipSeparationSpace, "skipSeparationSpace");
|
|
650
|
-
function testDocumentSeparator(c) {
|
|
651
|
-
var I = c.position, L = c.input.charCodeAt(I);
|
|
652
|
-
return !!((L === 45 || L === 46) && L === c.input.charCodeAt(I + 1) && L === c.input.charCodeAt(I + 2) && (I += 3, L = c.input.charCodeAt(I), L === 0 || is_WS_OR_EOL(L)));
|
|
653
|
-
}
|
|
654
|
-
__name(testDocumentSeparator, "testDocumentSeparator");
|
|
655
|
-
function writeFoldedLines(c, I) {
|
|
656
|
-
I === 1 ? c.result += " " : I > 1 && (c.result += common.repeat("\n", I - 1));
|
|
657
|
-
}
|
|
658
|
-
__name(writeFoldedLines, "writeFoldedLines");
|
|
659
|
-
function readPlainScalar(c, I, L) {
|
|
660
|
-
var R, z, B, V, H, U, W, G, K = c.kind, q = c.result, J = c.input.charCodeAt(c.position);
|
|
661
|
-
if (is_WS_OR_EOL(J) || is_FLOW_INDICATOR(J) || J === 35 || J === 38 || J === 42 || J === 33 || J === 124 || J === 62 || J === 39 || J === 34 || J === 37 || J === 64 || J === 96 || (J === 63 || J === 45) && (z = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(z) || L && is_FLOW_INDICATOR(z))) return !1;
|
|
662
|
-
for (c.kind = "scalar", c.result = "", B = V = c.position, H = !1; J !== 0;) {
|
|
663
|
-
if (J === 58) {
|
|
664
|
-
if (z = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(z) || L && is_FLOW_INDICATOR(z)) break;
|
|
665
|
-
} else if (J === 35) {
|
|
666
|
-
if (R = c.input.charCodeAt(c.position - 1), is_WS_OR_EOL(R)) break;
|
|
667
|
-
} else if (c.position === c.lineStart && testDocumentSeparator(c) || L && is_FLOW_INDICATOR(J)) break;
|
|
668
|
-
else if (is_EOL(J)) if (U = c.line, W = c.lineStart, G = c.lineIndent, skipSeparationSpace(c, !1, -1), c.lineIndent >= I) {
|
|
669
|
-
H = !0, J = c.input.charCodeAt(c.position);
|
|
670
|
-
continue;
|
|
671
|
-
} else {
|
|
672
|
-
c.position = V, c.line = U, c.lineStart = W, c.lineIndent = G;
|
|
673
|
-
break;
|
|
674
|
-
}
|
|
675
|
-
H &&= (captureSegment(c, B, V, !1), writeFoldedLines(c, c.line - U), B = V = c.position, !1), is_WHITE_SPACE(J) || (V = c.position + 1), J = c.input.charCodeAt(++c.position);
|
|
676
|
-
}
|
|
677
|
-
return captureSegment(c, B, V, !1), c.result ? !0 : (c.kind = K, c.result = q, !1);
|
|
678
|
-
}
|
|
679
|
-
__name(readPlainScalar, "readPlainScalar");
|
|
680
|
-
function readSingleQuotedScalar(c, I) {
|
|
681
|
-
var L = c.input.charCodeAt(c.position), R, z;
|
|
682
|
-
if (L !== 39) return !1;
|
|
683
|
-
for (c.kind = "scalar", c.result = "", c.position++, R = z = c.position; (L = c.input.charCodeAt(c.position)) !== 0;) if (L === 39) if (captureSegment(c, R, c.position, !0), L = c.input.charCodeAt(++c.position), L === 39) R = c.position, c.position++, z = c.position;
|
|
684
|
-
else return !0;
|
|
685
|
-
else is_EOL(L) ? (captureSegment(c, R, z, !0), writeFoldedLines(c, skipSeparationSpace(c, !1, I)), R = z = c.position) : c.position === c.lineStart && testDocumentSeparator(c) ? throwError(c, "unexpected end of the document within a single quoted scalar") : (c.position++, z = c.position);
|
|
686
|
-
throwError(c, "unexpected end of the stream within a single quoted scalar");
|
|
687
|
-
}
|
|
688
|
-
__name(readSingleQuotedScalar, "readSingleQuotedScalar");
|
|
689
|
-
function readDoubleQuotedScalar(c, I) {
|
|
690
|
-
var L, R, z, B, V, H = c.input.charCodeAt(c.position);
|
|
691
|
-
if (H !== 34) return !1;
|
|
692
|
-
for (c.kind = "scalar", c.result = "", c.position++, L = R = c.position; (H = c.input.charCodeAt(c.position)) !== 0;) if (H === 34) return captureSegment(c, L, c.position, !0), c.position++, !0;
|
|
693
|
-
else if (H === 92) {
|
|
694
|
-
if (captureSegment(c, L, c.position, !0), H = c.input.charCodeAt(++c.position), is_EOL(H)) skipSeparationSpace(c, !1, I);
|
|
695
|
-
else if (H < 256 && simpleEscapeCheck[H]) c.result += simpleEscapeMap[H], c.position++;
|
|
696
|
-
else if ((V = escapedHexLen(H)) > 0) {
|
|
697
|
-
for (z = V, B = 0; z > 0; z--) H = c.input.charCodeAt(++c.position), (V = fromHexCode(H)) >= 0 ? B = (B << 4) + V : throwError(c, "expected hexadecimal character");
|
|
698
|
-
c.result += charFromCodepoint(B), c.position++;
|
|
699
|
-
} else throwError(c, "unknown escape sequence");
|
|
700
|
-
L = R = c.position;
|
|
701
|
-
} else is_EOL(H) ? (captureSegment(c, L, R, !0), writeFoldedLines(c, skipSeparationSpace(c, !1, I)), L = R = c.position) : c.position === c.lineStart && testDocumentSeparator(c) ? throwError(c, "unexpected end of the document within a double quoted scalar") : (c.position++, R = c.position);
|
|
702
|
-
throwError(c, "unexpected end of the stream within a double quoted scalar");
|
|
703
|
-
}
|
|
704
|
-
__name(readDoubleQuotedScalar, "readDoubleQuotedScalar");
|
|
705
|
-
function readFlowCollection(c, I) {
|
|
706
|
-
var L = !0, R, z, B, V = c.tag, H, U = c.anchor, W, G, K, q, J, Y = /* @__PURE__ */ Object.create(null), X, Z, Q, $ = c.input.charCodeAt(c.position);
|
|
707
|
-
if ($ === 91) G = 93, J = !1, H = [];
|
|
708
|
-
else if ($ === 123) G = 125, J = !0, H = {};
|
|
709
|
-
else return !1;
|
|
710
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = H), $ = c.input.charCodeAt(++c.position); $ !== 0;) {
|
|
711
|
-
if (skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), $ === G) return c.position++, c.tag = V, c.anchor = U, c.kind = J ? "mapping" : "sequence", c.result = H, !0;
|
|
712
|
-
L ? $ === 44 && throwError(c, "expected the node content, but found ','") : throwError(c, "missed comma between flow collection entries"), Z = X = Q = null, K = q = !1, $ === 63 && (W = c.input.charCodeAt(c.position + 1), is_WS_OR_EOL(W) && (K = q = !0, c.position++, skipSeparationSpace(c, !0, I))), R = c.line, z = c.lineStart, B = c.position, composeNode(c, I, CONTEXT_FLOW_IN, !1, !0), Z = c.tag, X = c.result, skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), (q || c.line === R) && $ === 58 && (K = !0, $ = c.input.charCodeAt(++c.position), skipSeparationSpace(c, !0, I), composeNode(c, I, CONTEXT_FLOW_IN, !1, !0), Q = c.result), J ? storeMappingPair(c, H, Y, Z, X, Q, R, z, B) : K ? H.push(storeMappingPair(c, null, Y, Z, X, Q, R, z, B)) : H.push(X), skipSeparationSpace(c, !0, I), $ = c.input.charCodeAt(c.position), $ === 44 ? (L = !0, $ = c.input.charCodeAt(++c.position)) : L = !1;
|
|
713
|
-
}
|
|
714
|
-
throwError(c, "unexpected end of the stream within a flow collection");
|
|
715
|
-
}
|
|
716
|
-
__name(readFlowCollection, "readFlowCollection");
|
|
717
|
-
function readBlockScalar(c, I) {
|
|
718
|
-
var L, R, z = CHOMPING_CLIP, B = !1, V = !1, U = I, W = 0, G = !1, K, q = c.input.charCodeAt(c.position);
|
|
719
|
-
if (q === 124) R = !1;
|
|
720
|
-
else if (q === 62) R = !0;
|
|
721
|
-
else return !1;
|
|
722
|
-
for (c.kind = "scalar", c.result = ""; q !== 0;) if (q = c.input.charCodeAt(++c.position), q === 43 || q === 45) CHOMPING_CLIP === z ? z = q === 43 ? CHOMPING_KEEP : CHOMPING_STRIP : throwError(c, "repeat of a chomping mode identifier");
|
|
723
|
-
else if ((K = fromDecimalCode(q)) >= 0) K === 0 ? throwError(c, "bad explicit indentation width of a block scalar; it cannot be less than one") : V ? throwError(c, "repeat of an indentation width identifier") : (U = I + K - 1, V = !0);
|
|
724
|
-
else break;
|
|
725
|
-
if (is_WHITE_SPACE(q)) {
|
|
726
|
-
do
|
|
727
|
-
q = c.input.charCodeAt(++c.position);
|
|
728
|
-
while (is_WHITE_SPACE(q));
|
|
729
|
-
if (q === 35) do
|
|
730
|
-
q = c.input.charCodeAt(++c.position);
|
|
731
|
-
while (!is_EOL(q) && q !== 0);
|
|
732
|
-
}
|
|
733
|
-
for (; q !== 0;) {
|
|
734
|
-
for (readLineBreak(c), c.lineIndent = 0, q = c.input.charCodeAt(c.position); (!V || c.lineIndent < U) && q === 32;) c.lineIndent++, q = c.input.charCodeAt(++c.position);
|
|
735
|
-
if (!V && c.lineIndent > U && (U = c.lineIndent), is_EOL(q)) {
|
|
736
|
-
W++;
|
|
737
|
-
continue;
|
|
738
|
-
}
|
|
739
|
-
if (c.lineIndent < U) {
|
|
740
|
-
z === CHOMPING_KEEP ? c.result += common.repeat("\n", B ? 1 + W : W) : z === CHOMPING_CLIP && B && (c.result += "\n");
|
|
741
|
-
break;
|
|
742
|
-
}
|
|
743
|
-
for (R ? is_WHITE_SPACE(q) ? (G = !0, c.result += common.repeat("\n", B ? 1 + W : W)) : G ? (G = !1, c.result += common.repeat("\n", W + 1)) : W === 0 ? B && (c.result += " ") : c.result += common.repeat("\n", W) : c.result += common.repeat("\n", B ? 1 + W : W), B = !0, V = !0, W = 0, L = c.position; !is_EOL(q) && q !== 0;) q = c.input.charCodeAt(++c.position);
|
|
744
|
-
captureSegment(c, L, c.position, !1);
|
|
745
|
-
}
|
|
746
|
-
return !0;
|
|
747
|
-
}
|
|
748
|
-
__name(readBlockScalar, "readBlockScalar");
|
|
749
|
-
function readBlockSequence(c, I) {
|
|
750
|
-
var L, R = c.tag, z = c.anchor, B = [], V, H = !1, U;
|
|
751
|
-
if (c.firstTabInLine !== -1) return !1;
|
|
752
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = B), U = c.input.charCodeAt(c.position); U !== 0 && (c.firstTabInLine !== -1 && (c.position = c.firstTabInLine, throwError(c, "tab characters must not be used in indentation")), !(U !== 45 || (V = c.input.charCodeAt(c.position + 1), !is_WS_OR_EOL(V))));) {
|
|
753
|
-
if (H = !0, c.position++, skipSeparationSpace(c, !0, -1) && c.lineIndent <= I) {
|
|
754
|
-
B.push(null), U = c.input.charCodeAt(c.position);
|
|
755
|
-
continue;
|
|
756
|
-
}
|
|
757
|
-
if (L = c.line, composeNode(c, I, CONTEXT_BLOCK_IN, !1, !0), B.push(c.result), skipSeparationSpace(c, !0, -1), U = c.input.charCodeAt(c.position), (c.line === L || c.lineIndent > I) && U !== 0) throwError(c, "bad indentation of a sequence entry");
|
|
758
|
-
else if (c.lineIndent < I) break;
|
|
759
|
-
}
|
|
760
|
-
return H ? (c.tag = R, c.anchor = z, c.kind = "sequence", c.result = B, !0) : !1;
|
|
761
|
-
}
|
|
762
|
-
__name(readBlockSequence, "readBlockSequence");
|
|
763
|
-
function readBlockMapping(c, I, L) {
|
|
764
|
-
var R, z, B, V, H, U, W = c.tag, G = c.anchor, K = {}, q = /* @__PURE__ */ Object.create(null), J = null, Y = null, X = null, Z = !1, Q = !1, $;
|
|
765
|
-
if (c.firstTabInLine !== -1) return !1;
|
|
766
|
-
for (c.anchor !== null && (c.anchorMap[c.anchor] = K), $ = c.input.charCodeAt(c.position); $ !== 0;) {
|
|
767
|
-
if (!Z && c.firstTabInLine !== -1 && (c.position = c.firstTabInLine, throwError(c, "tab characters must not be used in indentation")), R = c.input.charCodeAt(c.position + 1), B = c.line, ($ === 63 || $ === 58) && is_WS_OR_EOL(R)) $ === 63 ? (Z && (storeMappingPair(c, K, q, J, Y, null, V, H, U), J = Y = X = null), Q = !0, Z = !0, z = !0) : Z ? (Z = !1, z = !0) : throwError(c, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), c.position += 1, $ = R;
|
|
768
|
-
else {
|
|
769
|
-
if (V = c.line, H = c.lineStart, U = c.position, !composeNode(c, L, CONTEXT_FLOW_OUT, !1, !0)) break;
|
|
770
|
-
if (c.line === B) {
|
|
771
|
-
for ($ = c.input.charCodeAt(c.position); is_WHITE_SPACE($);) $ = c.input.charCodeAt(++c.position);
|
|
772
|
-
if ($ === 58) $ = c.input.charCodeAt(++c.position), is_WS_OR_EOL($) || throwError(c, "a whitespace character is expected after the key-value separator within a block mapping"), Z && (storeMappingPair(c, K, q, J, Y, null, V, H, U), J = Y = X = null), Q = !0, Z = !1, z = !1, J = c.tag, Y = c.result;
|
|
773
|
-
else if (Q) throwError(c, "can not read an implicit mapping pair; a colon is missed");
|
|
774
|
-
else return c.tag = W, c.anchor = G, !0;
|
|
775
|
-
} else if (Q) throwError(c, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
776
|
-
else return c.tag = W, c.anchor = G, !0;
|
|
777
|
-
}
|
|
778
|
-
if ((c.line === B || c.lineIndent > I) && (Z && (V = c.line, H = c.lineStart, U = c.position), composeNode(c, I, CONTEXT_BLOCK_OUT, !0, z) && (Z ? Y = c.result : X = c.result), Z || (storeMappingPair(c, K, q, J, Y, X, V, H, U), J = Y = X = null), skipSeparationSpace(c, !0, -1), $ = c.input.charCodeAt(c.position)), (c.line === B || c.lineIndent > I) && $ !== 0) throwError(c, "bad indentation of a mapping entry");
|
|
779
|
-
else if (c.lineIndent < I) break;
|
|
780
|
-
}
|
|
781
|
-
return Z && storeMappingPair(c, K, q, J, Y, null, V, H, U), Q && (c.tag = W, c.anchor = G, c.kind = "mapping", c.result = K), Q;
|
|
782
|
-
}
|
|
783
|
-
__name(readBlockMapping, "readBlockMapping");
|
|
784
|
-
function readTagProperty(c) {
|
|
785
|
-
var I, L = !1, R = !1, z, B, V = c.input.charCodeAt(c.position);
|
|
786
|
-
if (V !== 33) return !1;
|
|
787
|
-
if (c.tag !== null && throwError(c, "duplication of a tag property"), V = c.input.charCodeAt(++c.position), V === 60 ? (L = !0, V = c.input.charCodeAt(++c.position)) : V === 33 ? (R = !0, z = "!!", V = c.input.charCodeAt(++c.position)) : z = "!", I = c.position, L) {
|
|
788
|
-
do
|
|
789
|
-
V = c.input.charCodeAt(++c.position);
|
|
790
|
-
while (V !== 0 && V !== 62);
|
|
791
|
-
c.position < c.length ? (B = c.input.slice(I, c.position), V = c.input.charCodeAt(++c.position)) : throwError(c, "unexpected end of the stream within a verbatim tag");
|
|
792
|
-
} else {
|
|
793
|
-
for (; V !== 0 && !is_WS_OR_EOL(V);) V === 33 && (R ? throwError(c, "tag suffix cannot contain exclamation marks") : (z = c.input.slice(I - 1, c.position + 1), PATTERN_TAG_HANDLE.test(z) || throwError(c, "named tag handle cannot contain such characters"), R = !0, I = c.position + 1)), V = c.input.charCodeAt(++c.position);
|
|
794
|
-
B = c.input.slice(I, c.position), PATTERN_FLOW_INDICATORS.test(B) && throwError(c, "tag suffix cannot contain flow indicator characters");
|
|
795
|
-
}
|
|
796
|
-
B && !PATTERN_TAG_URI.test(B) && throwError(c, "tag name cannot contain such characters: " + B);
|
|
797
|
-
try {
|
|
798
|
-
B = decodeURIComponent(B);
|
|
799
|
-
} catch {
|
|
800
|
-
throwError(c, "tag name is malformed: " + B);
|
|
801
|
-
}
|
|
802
|
-
return L ? c.tag = B : _hasOwnProperty$1.call(c.tagMap, z) ? c.tag = c.tagMap[z] + B : z === "!" ? c.tag = "!" + B : z === "!!" ? c.tag = "tag:yaml.org,2002:" + B : throwError(c, "undeclared tag handle \"" + z + "\""), !0;
|
|
803
|
-
}
|
|
804
|
-
__name(readTagProperty, "readTagProperty");
|
|
805
|
-
function readAnchorProperty(c) {
|
|
806
|
-
var I, L = c.input.charCodeAt(c.position);
|
|
807
|
-
if (L !== 38) return !1;
|
|
808
|
-
for (c.anchor !== null && throwError(c, "duplication of an anchor property"), L = c.input.charCodeAt(++c.position), I = c.position; L !== 0 && !is_WS_OR_EOL(L) && !is_FLOW_INDICATOR(L);) L = c.input.charCodeAt(++c.position);
|
|
809
|
-
return c.position === I && throwError(c, "name of an anchor node must contain at least one character"), c.anchor = c.input.slice(I, c.position), !0;
|
|
810
|
-
}
|
|
811
|
-
__name(readAnchorProperty, "readAnchorProperty");
|
|
812
|
-
function readAlias(c) {
|
|
813
|
-
var I, L, R = c.input.charCodeAt(c.position);
|
|
814
|
-
if (R !== 42) return !1;
|
|
815
|
-
for (R = c.input.charCodeAt(++c.position), I = c.position; R !== 0 && !is_WS_OR_EOL(R) && !is_FLOW_INDICATOR(R);) R = c.input.charCodeAt(++c.position);
|
|
816
|
-
return c.position === I && throwError(c, "name of an alias node must contain at least one character"), L = c.input.slice(I, c.position), _hasOwnProperty$1.call(c.anchorMap, L) || throwError(c, "unidentified alias \"" + L + "\""), c.result = c.anchorMap[L], skipSeparationSpace(c, !0, -1), !0;
|
|
817
|
-
}
|
|
818
|
-
__name(readAlias, "readAlias");
|
|
819
|
-
function composeNode(c, I, L, R, z) {
|
|
820
|
-
var B, V, H, U = 1, W = !1, G = !1, K, q, J, Y, X, Z;
|
|
821
|
-
if (c.listener !== null && c.listener("open", c), c.tag = null, c.anchor = null, c.kind = null, c.result = null, B = V = H = CONTEXT_BLOCK_OUT === L || CONTEXT_BLOCK_IN === L, R && skipSeparationSpace(c, !0, -1) && (W = !0, c.lineIndent > I ? U = 1 : c.lineIndent === I ? U = 0 : c.lineIndent < I && (U = -1)), U === 1) for (; readTagProperty(c) || readAnchorProperty(c);) skipSeparationSpace(c, !0, -1) ? (W = !0, H = B, c.lineIndent > I ? U = 1 : c.lineIndent === I ? U = 0 : c.lineIndent < I && (U = -1)) : H = !1;
|
|
822
|
-
if (H &&= W || z, (U === 1 || CONTEXT_BLOCK_OUT === L) && (X = CONTEXT_FLOW_IN === L || CONTEXT_FLOW_OUT === L ? I : I + 1, Z = c.position - c.lineStart, U === 1 ? H && (readBlockSequence(c, Z) || readBlockMapping(c, Z, X)) || readFlowCollection(c, X) ? G = !0 : (V && readBlockScalar(c, X) || readSingleQuotedScalar(c, X) || readDoubleQuotedScalar(c, X) ? G = !0 : readAlias(c) ? (G = !0, (c.tag !== null || c.anchor !== null) && throwError(c, "alias node should not have any properties")) : readPlainScalar(c, X, CONTEXT_FLOW_IN === L) && (G = !0, c.tag === null && (c.tag = "?")), c.anchor !== null && (c.anchorMap[c.anchor] = c.result)) : U === 0 && (G = H && readBlockSequence(c, Z))), c.tag === null) c.anchor !== null && (c.anchorMap[c.anchor] = c.result);
|
|
823
|
-
else if (c.tag === "?") {
|
|
824
|
-
for (c.result !== null && c.kind !== "scalar" && throwError(c, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + c.kind + "\""), K = 0, q = c.implicitTypes.length; K < q; K += 1) if (Y = c.implicitTypes[K], Y.resolve(c.result)) {
|
|
825
|
-
c.result = Y.construct(c.result), c.tag = Y.tag, c.anchor !== null && (c.anchorMap[c.anchor] = c.result);
|
|
826
|
-
break;
|
|
827
|
-
}
|
|
828
|
-
} else if (c.tag !== "!") {
|
|
829
|
-
if (_hasOwnProperty$1.call(c.typeMap[c.kind || "fallback"], c.tag)) Y = c.typeMap[c.kind || "fallback"][c.tag];
|
|
830
|
-
else for (Y = null, J = c.typeMap.multi[c.kind || "fallback"], K = 0, q = J.length; K < q; K += 1) if (c.tag.slice(0, J[K].tag.length) === J[K].tag) {
|
|
831
|
-
Y = J[K];
|
|
832
|
-
break;
|
|
833
|
-
}
|
|
834
|
-
Y || throwError(c, "unknown tag !<" + c.tag + ">"), c.result !== null && Y.kind !== c.kind && throwError(c, "unacceptable node kind for !<" + c.tag + "> tag; it should be \"" + Y.kind + "\", not \"" + c.kind + "\""), Y.resolve(c.result, c.tag) ? (c.result = Y.construct(c.result, c.tag), c.anchor !== null && (c.anchorMap[c.anchor] = c.result)) : throwError(c, "cannot resolve a node with !<" + c.tag + "> explicit tag");
|
|
835
|
-
}
|
|
836
|
-
return c.listener !== null && c.listener("close", c), c.tag !== null || c.anchor !== null || G;
|
|
837
|
-
}
|
|
838
|
-
__name(composeNode, "composeNode");
|
|
839
|
-
function readDocument(c) {
|
|
840
|
-
var I = c.position, L, R, z, B = !1, V;
|
|
841
|
-
for (c.version = null, c.checkLineBreaks = c.legacy, c.tagMap = /* @__PURE__ */ Object.create(null), c.anchorMap = /* @__PURE__ */ Object.create(null); (V = c.input.charCodeAt(c.position)) !== 0 && (skipSeparationSpace(c, !0, -1), V = c.input.charCodeAt(c.position), !(c.lineIndent > 0 || V !== 37));) {
|
|
842
|
-
for (B = !0, V = c.input.charCodeAt(++c.position), L = c.position; V !== 0 && !is_WS_OR_EOL(V);) V = c.input.charCodeAt(++c.position);
|
|
843
|
-
for (R = c.input.slice(L, c.position), z = [], R.length < 1 && throwError(c, "directive name must not be less than one character in length"); V !== 0;) {
|
|
844
|
-
for (; is_WHITE_SPACE(V);) V = c.input.charCodeAt(++c.position);
|
|
845
|
-
if (V === 35) {
|
|
846
|
-
do
|
|
847
|
-
V = c.input.charCodeAt(++c.position);
|
|
848
|
-
while (V !== 0 && !is_EOL(V));
|
|
849
|
-
break;
|
|
850
|
-
}
|
|
851
|
-
if (is_EOL(V)) break;
|
|
852
|
-
for (L = c.position; V !== 0 && !is_WS_OR_EOL(V);) V = c.input.charCodeAt(++c.position);
|
|
853
|
-
z.push(c.input.slice(L, c.position));
|
|
854
|
-
}
|
|
855
|
-
V !== 0 && readLineBreak(c), _hasOwnProperty$1.call(directiveHandlers, R) ? directiveHandlers[R](c, R, z) : throwWarning(c, "unknown document directive \"" + R + "\"");
|
|
856
|
-
}
|
|
857
|
-
if (skipSeparationSpace(c, !0, -1), c.lineIndent === 0 && c.input.charCodeAt(c.position) === 45 && c.input.charCodeAt(c.position + 1) === 45 && c.input.charCodeAt(c.position + 2) === 45 ? (c.position += 3, skipSeparationSpace(c, !0, -1)) : B && throwError(c, "directives end mark is expected"), composeNode(c, c.lineIndent - 1, CONTEXT_BLOCK_OUT, !1, !0), skipSeparationSpace(c, !0, -1), c.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(c.input.slice(I, c.position)) && throwWarning(c, "non-ASCII line breaks are interpreted as content"), c.documents.push(c.result), c.position === c.lineStart && testDocumentSeparator(c)) {
|
|
858
|
-
c.input.charCodeAt(c.position) === 46 && (c.position += 3, skipSeparationSpace(c, !0, -1));
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
if (c.position < c.length - 1) throwError(c, "end of the stream or a document separator is expected");
|
|
862
|
-
else return;
|
|
863
|
-
}
|
|
864
|
-
__name(readDocument, "readDocument");
|
|
865
|
-
function loadDocuments(c, I) {
|
|
866
|
-
c = String(c), I ||= {}, c.length !== 0 && (c.charCodeAt(c.length - 1) !== 10 && c.charCodeAt(c.length - 1) !== 13 && (c += "\n"), c.charCodeAt(0) === 65279 && (c = c.slice(1)));
|
|
867
|
-
var L = new State$1(c, I), R = c.indexOf("\0");
|
|
868
|
-
for (R !== -1 && (L.position = R, throwError(L, "null byte is not allowed in input")), L.input += "\0"; L.input.charCodeAt(L.position) === 32;) L.lineIndent += 1, L.position += 1;
|
|
869
|
-
for (; L.position < L.length - 1;) readDocument(L);
|
|
870
|
-
return L.documents;
|
|
871
|
-
}
|
|
872
|
-
__name(loadDocuments, "loadDocuments");
|
|
873
|
-
function loadAll$1(c, I, L) {
|
|
874
|
-
typeof I == "object" && I && L === void 0 && (L = I, I = null);
|
|
875
|
-
var R = loadDocuments(c, L);
|
|
876
|
-
if (typeof I != "function") return R;
|
|
877
|
-
for (var z = 0, B = R.length; z < B; z += 1) I(R[z]);
|
|
878
|
-
}
|
|
879
|
-
__name(loadAll$1, "loadAll$1");
|
|
880
|
-
function load$1(c, I) {
|
|
881
|
-
var L = loadDocuments(c, I);
|
|
882
|
-
if (L.length !== 0) {
|
|
883
|
-
if (L.length === 1) return L[0];
|
|
884
|
-
throw new exception("expected a single document in the stream, but found more");
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
__name(load$1, "load$1");
|
|
888
|
-
var loader = {
|
|
889
|
-
loadAll: loadAll$1,
|
|
890
|
-
load: load$1
|
|
891
|
-
}, _toString = Object.prototype.toString, _hasOwnProperty = Object.prototype.hasOwnProperty, CHAR_BOM = 65279, CHAR_TAB = 9, CHAR_LINE_FEED = 10, CHAR_CARRIAGE_RETURN = 13, CHAR_SPACE = 32, CHAR_EXCLAMATION = 33, CHAR_DOUBLE_QUOTE = 34, CHAR_SHARP = 35, CHAR_PERCENT = 37, CHAR_AMPERSAND = 38, CHAR_SINGLE_QUOTE = 39, CHAR_ASTERISK = 42, CHAR_COMMA = 44, CHAR_MINUS = 45, CHAR_COLON = 58, CHAR_EQUALS = 61, CHAR_GREATER_THAN = 62, CHAR_QUESTION = 63, CHAR_COMMERCIAL_AT = 64, CHAR_LEFT_SQUARE_BRACKET = 91, CHAR_RIGHT_SQUARE_BRACKET = 93, CHAR_GRAVE_ACCENT = 96, CHAR_LEFT_CURLY_BRACKET = 123, CHAR_VERTICAL_LINE = 124, CHAR_RIGHT_CURLY_BRACKET = 125, ESCAPE_SEQUENCES = {};
|
|
892
|
-
ESCAPE_SEQUENCES[0] = "\\0", ESCAPE_SEQUENCES[7] = "\\a", ESCAPE_SEQUENCES[8] = "\\b", ESCAPE_SEQUENCES[9] = "\\t", ESCAPE_SEQUENCES[10] = "\\n", ESCAPE_SEQUENCES[11] = "\\v", ESCAPE_SEQUENCES[12] = "\\f", ESCAPE_SEQUENCES[13] = "\\r", ESCAPE_SEQUENCES[27] = "\\e", ESCAPE_SEQUENCES[34] = "\\\"", ESCAPE_SEQUENCES[92] = "\\\\", ESCAPE_SEQUENCES[133] = "\\N", ESCAPE_SEQUENCES[160] = "\\_", ESCAPE_SEQUENCES[8232] = "\\L", ESCAPE_SEQUENCES[8233] = "\\P";
|
|
893
|
-
var DEPRECATED_BOOLEANS_SYNTAX = [
|
|
894
|
-
"y",
|
|
895
|
-
"Y",
|
|
896
|
-
"yes",
|
|
897
|
-
"Yes",
|
|
898
|
-
"YES",
|
|
899
|
-
"on",
|
|
900
|
-
"On",
|
|
901
|
-
"ON",
|
|
902
|
-
"n",
|
|
903
|
-
"N",
|
|
904
|
-
"no",
|
|
905
|
-
"No",
|
|
906
|
-
"NO",
|
|
907
|
-
"off",
|
|
908
|
-
"Off",
|
|
909
|
-
"OFF"
|
|
910
|
-
], DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
911
|
-
function compileStyleMap(c, I) {
|
|
912
|
-
var L, R, z, B, V, H, U;
|
|
913
|
-
if (I === null) return {};
|
|
914
|
-
for (L = {}, R = Object.keys(I), z = 0, B = R.length; z < B; z += 1) V = R[z], H = String(I[V]), V.slice(0, 2) === "!!" && (V = "tag:yaml.org,2002:" + V.slice(2)), U = c.compiledTypeMap.fallback[V], U && _hasOwnProperty.call(U.styleAliases, H) && (H = U.styleAliases[H]), L[V] = H;
|
|
915
|
-
return L;
|
|
916
|
-
}
|
|
917
|
-
__name(compileStyleMap, "compileStyleMap");
|
|
918
|
-
function encodeHex(c) {
|
|
919
|
-
var I = c.toString(16).toUpperCase(), L, R;
|
|
920
|
-
if (c <= 255) L = "x", R = 2;
|
|
921
|
-
else if (c <= 65535) L = "u", R = 4;
|
|
922
|
-
else if (c <= 4294967295) L = "U", R = 8;
|
|
923
|
-
else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");
|
|
924
|
-
return "\\" + L + common.repeat("0", R - I.length) + I;
|
|
925
|
-
}
|
|
926
|
-
__name(encodeHex, "encodeHex");
|
|
927
|
-
var QUOTING_TYPE_SINGLE = 1, QUOTING_TYPE_DOUBLE = 2;
|
|
928
|
-
function State(c) {
|
|
929
|
-
this.schema = c.schema || _default, this.indent = Math.max(1, c.indent || 2), this.noArrayIndent = c.noArrayIndent || !1, this.skipInvalid = c.skipInvalid || !1, this.flowLevel = common.isNothing(c.flowLevel) ? -1 : c.flowLevel, this.styleMap = compileStyleMap(this.schema, c.styles || null), this.sortKeys = c.sortKeys || !1, this.lineWidth = c.lineWidth || 80, this.noRefs = c.noRefs || !1, this.noCompatMode = c.noCompatMode || !1, this.condenseFlow = c.condenseFlow || !1, this.quotingType = c.quotingType === "\"" ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE, this.forceQuotes = c.forceQuotes || !1, this.replacer = typeof c.replacer == "function" ? c.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
930
|
-
}
|
|
931
|
-
__name(State, "State");
|
|
932
|
-
function indentString(c, I) {
|
|
933
|
-
for (var L = common.repeat(" ", I), R = 0, z = -1, B = "", V, U = c.length; R < U;) z = c.indexOf("\n", R), z === -1 ? (V = c.slice(R), R = U) : (V = c.slice(R, z + 1), R = z + 1), V.length && V !== "\n" && (B += L), B += V;
|
|
934
|
-
return B;
|
|
935
|
-
}
|
|
936
|
-
__name(indentString, "indentString");
|
|
937
|
-
function generateNextLine(c, I) {
|
|
938
|
-
return "\n" + common.repeat(" ", c.indent * I);
|
|
939
|
-
}
|
|
940
|
-
__name(generateNextLine, "generateNextLine");
|
|
941
|
-
function testImplicitResolving(c, I) {
|
|
942
|
-
var L, R, z;
|
|
943
|
-
for (L = 0, R = c.implicitTypes.length; L < R; L += 1) if (z = c.implicitTypes[L], z.resolve(I)) return !0;
|
|
944
|
-
return !1;
|
|
945
|
-
}
|
|
946
|
-
__name(testImplicitResolving, "testImplicitResolving");
|
|
947
|
-
function isWhitespace(c) {
|
|
948
|
-
return c === CHAR_SPACE || c === CHAR_TAB;
|
|
949
|
-
}
|
|
950
|
-
__name(isWhitespace, "isWhitespace");
|
|
951
|
-
function isPrintable(c) {
|
|
952
|
-
return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
|
|
953
|
-
}
|
|
954
|
-
__name(isPrintable, "isPrintable");
|
|
955
|
-
function isNsCharOrWhitespace(c) {
|
|
956
|
-
return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
|
|
957
|
-
}
|
|
958
|
-
__name(isNsCharOrWhitespace, "isNsCharOrWhitespace");
|
|
959
|
-
function isPlainSafe(c, I, L) {
|
|
960
|
-
var R = isNsCharOrWhitespace(c), z = R && !isWhitespace(c);
|
|
961
|
-
return (L ? R : R && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(I === CHAR_COLON && !z) || isNsCharOrWhitespace(I) && !isWhitespace(I) && c === CHAR_SHARP || I === CHAR_COLON && z;
|
|
962
|
-
}
|
|
963
|
-
__name(isPlainSafe, "isPlainSafe");
|
|
964
|
-
function isPlainSafeFirst(c) {
|
|
965
|
-
return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
|
|
966
|
-
}
|
|
967
|
-
__name(isPlainSafeFirst, "isPlainSafeFirst");
|
|
968
|
-
function isPlainSafeLast(c) {
|
|
969
|
-
return !isWhitespace(c) && c !== CHAR_COLON;
|
|
970
|
-
}
|
|
971
|
-
__name(isPlainSafeLast, "isPlainSafeLast");
|
|
972
|
-
function codePointAt(c, I) {
|
|
973
|
-
var L = c.charCodeAt(I), R;
|
|
974
|
-
return L >= 55296 && L <= 56319 && I + 1 < c.length && (R = c.charCodeAt(I + 1), R >= 56320 && R <= 57343) ? (L - 55296) * 1024 + R - 56320 + 65536 : L;
|
|
975
|
-
}
|
|
976
|
-
__name(codePointAt, "codePointAt");
|
|
977
|
-
function needIndentIndicator(c) {
|
|
978
|
-
return /^\n* /.test(c);
|
|
979
|
-
}
|
|
980
|
-
__name(needIndentIndicator, "needIndentIndicator");
|
|
981
|
-
var STYLE_PLAIN = 1, STYLE_SINGLE = 2, STYLE_LITERAL = 3, STYLE_FOLDED = 4, STYLE_DOUBLE = 5;
|
|
982
|
-
function chooseScalarStyle(c, I, L, R, z, B, V, H) {
|
|
983
|
-
var U, W = 0, G = null, K = !1, q = !1, J = R !== -1, Y = -1, X = isPlainSafeFirst(codePointAt(c, 0)) && isPlainSafeLast(codePointAt(c, c.length - 1));
|
|
984
|
-
if (I || V) for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
|
|
985
|
-
if (W = codePointAt(c, U), !isPrintable(W)) return STYLE_DOUBLE;
|
|
986
|
-
X &&= isPlainSafe(W, G, H), G = W;
|
|
987
|
-
}
|
|
988
|
-
else {
|
|
989
|
-
for (U = 0; U < c.length; W >= 65536 ? U += 2 : U++) {
|
|
990
|
-
if (W = codePointAt(c, U), W === CHAR_LINE_FEED) K = !0, J && (q ||= U - Y - 1 > R && c[Y + 1] !== " ", Y = U);
|
|
991
|
-
else if (!isPrintable(W)) return STYLE_DOUBLE;
|
|
992
|
-
X &&= isPlainSafe(W, G, H), G = W;
|
|
993
|
-
}
|
|
994
|
-
q ||= J && U - Y - 1 > R && c[Y + 1] !== " ";
|
|
995
|
-
}
|
|
996
|
-
return !K && !q ? X && !V && !z(c) ? STYLE_PLAIN : B === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE : L > 9 && needIndentIndicator(c) ? STYLE_DOUBLE : V ? B === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE : q ? STYLE_FOLDED : STYLE_LITERAL;
|
|
997
|
-
}
|
|
998
|
-
__name(chooseScalarStyle, "chooseScalarStyle");
|
|
999
|
-
function writeScalar(I, L, R, z, B) {
|
|
1000
|
-
I.dump = (function() {
|
|
1001
|
-
if (L.length === 0) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"\"" : "''";
|
|
1002
|
-
if (!I.noCompatMode && (DEPRECATED_BOOLEANS_SYNTAX.indexOf(L) !== -1 || DEPRECATED_BASE60_SYNTAX.test(L))) return I.quotingType === QUOTING_TYPE_DOUBLE ? "\"" + L + "\"" : "'" + L + "'";
|
|
1003
|
-
var V = I.indent * Math.max(1, R), H = I.lineWidth === -1 ? -1 : Math.max(Math.min(I.lineWidth, 40), I.lineWidth - V), U = z || I.flowLevel > -1 && R >= I.flowLevel;
|
|
1004
|
-
function W(c) {
|
|
1005
|
-
return testImplicitResolving(I, c);
|
|
1006
|
-
}
|
|
1007
|
-
switch (__name(W, "testAmbiguity"), chooseScalarStyle(L, U, I.indent, H, W, I.quotingType, I.forceQuotes && !z, B)) {
|
|
1008
|
-
case STYLE_PLAIN: return L;
|
|
1009
|
-
case STYLE_SINGLE: return "'" + L.replace(/'/g, "''") + "'";
|
|
1010
|
-
case STYLE_LITERAL: return "|" + blockHeader(L, I.indent) + dropEndingNewline(indentString(L, V));
|
|
1011
|
-
case STYLE_FOLDED: return ">" + blockHeader(L, I.indent) + dropEndingNewline(indentString(foldString(L, H), V));
|
|
1012
|
-
case STYLE_DOUBLE: return "\"" + escapeString(L) + "\"";
|
|
1013
|
-
default: throw new exception("impossible error: invalid scalar style");
|
|
1014
|
-
}
|
|
1015
|
-
})();
|
|
1016
|
-
}
|
|
1017
|
-
__name(writeScalar, "writeScalar");
|
|
1018
|
-
function blockHeader(c, I) {
|
|
1019
|
-
var L = needIndentIndicator(c) ? String(I) : "", R = c[c.length - 1] === "\n";
|
|
1020
|
-
return L + (R && (c[c.length - 2] === "\n" || c === "\n") ? "+" : R ? "" : "-") + "\n";
|
|
1021
|
-
}
|
|
1022
|
-
__name(blockHeader, "blockHeader");
|
|
1023
|
-
function dropEndingNewline(c) {
|
|
1024
|
-
return c[c.length - 1] === "\n" ? c.slice(0, -1) : c;
|
|
1025
|
-
}
|
|
1026
|
-
__name(dropEndingNewline, "dropEndingNewline");
|
|
1027
|
-
function foldString(c, I) {
|
|
1028
|
-
for (var L = /(\n+)([^\n]*)/g, R = (function() {
|
|
1029
|
-
var R = c.indexOf("\n");
|
|
1030
|
-
return R = R === -1 ? c.length : R, L.lastIndex = R, foldLine(c.slice(0, R), I);
|
|
1031
|
-
})(), z = c[0] === "\n" || c[0] === " ", B, V; V = L.exec(c);) {
|
|
1032
|
-
var H = V[1], U = V[2];
|
|
1033
|
-
B = U[0] === " ", R += H + (!z && !B && U !== "" ? "\n" : "") + foldLine(U, I), z = B;
|
|
1034
|
-
}
|
|
1035
|
-
return R;
|
|
1036
|
-
}
|
|
1037
|
-
__name(foldString, "foldString");
|
|
1038
|
-
function foldLine(c, I) {
|
|
1039
|
-
if (c === "" || c[0] === " ") return c;
|
|
1040
|
-
for (var L = / [^ ]/g, R, z = 0, B, V = 0, H = 0, U = ""; R = L.exec(c);) H = R.index, H - z > I && (B = V > z ? V : H, U += "\n" + c.slice(z, B), z = B + 1), V = H;
|
|
1041
|
-
return U += "\n", c.length - z > I && V > z ? U += c.slice(z, V) + "\n" + c.slice(V + 1) : U += c.slice(z), U.slice(1);
|
|
1042
|
-
}
|
|
1043
|
-
__name(foldLine, "foldLine");
|
|
1044
|
-
function escapeString(c) {
|
|
1045
|
-
for (var I = "", L = 0, R, z = 0; z < c.length; L >= 65536 ? z += 2 : z++) L = codePointAt(c, z), R = ESCAPE_SEQUENCES[L], !R && isPrintable(L) ? (I += c[z], L >= 65536 && (I += c[z + 1])) : I += R || encodeHex(L);
|
|
1046
|
-
return I;
|
|
1047
|
-
}
|
|
1048
|
-
__name(escapeString, "escapeString");
|
|
1049
|
-
function writeFlowSequence(c, I, L) {
|
|
1050
|
-
var R = "", z = c.tag, B, V, H;
|
|
1051
|
-
for (B = 0, V = L.length; B < V; B += 1) H = L[B], c.replacer && (H = c.replacer.call(L, String(B), H)), (writeNode(c, I, H, !1, !1) || H === void 0 && writeNode(c, I, null, !1, !1)) && (R !== "" && (R += "," + (c.condenseFlow ? "" : " ")), R += c.dump);
|
|
1052
|
-
c.tag = z, c.dump = "[" + R + "]";
|
|
1053
|
-
}
|
|
1054
|
-
__name(writeFlowSequence, "writeFlowSequence");
|
|
1055
|
-
function writeBlockSequence(c, I, L, R) {
|
|
1056
|
-
var z = "", B = c.tag, V, H, U;
|
|
1057
|
-
for (V = 0, H = L.length; V < H; V += 1) U = L[V], c.replacer && (U = c.replacer.call(L, String(V), U)), (writeNode(c, I + 1, U, !0, !0, !1, !0) || U === void 0 && writeNode(c, I + 1, null, !0, !0, !1, !0)) && ((!R || z !== "") && (z += generateNextLine(c, I)), c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? z += "-" : z += "- ", z += c.dump);
|
|
1058
|
-
c.tag = B, c.dump = z || "[]";
|
|
1059
|
-
}
|
|
1060
|
-
__name(writeBlockSequence, "writeBlockSequence");
|
|
1061
|
-
function writeFlowMapping(c, I, L) {
|
|
1062
|
-
var R = "", z = c.tag, B = Object.keys(L), V, H, U, W, G;
|
|
1063
|
-
for (V = 0, H = B.length; V < H; V += 1) G = "", R !== "" && (G += ", "), c.condenseFlow && (G += "\""), U = B[V], W = L[U], c.replacer && (W = c.replacer.call(L, U, W)), writeNode(c, I, U, !1, !1) && (c.dump.length > 1024 && (G += "? "), G += c.dump + (c.condenseFlow ? "\"" : "") + ":" + (c.condenseFlow ? "" : " "), writeNode(c, I, W, !1, !1) && (G += c.dump, R += G));
|
|
1064
|
-
c.tag = z, c.dump = "{" + R + "}";
|
|
1065
|
-
}
|
|
1066
|
-
__name(writeFlowMapping, "writeFlowMapping");
|
|
1067
|
-
function writeBlockMapping(c, I, L, R) {
|
|
1068
|
-
var z = "", B = c.tag, V = Object.keys(L), H, U, W, K, q, J;
|
|
1069
|
-
if (c.sortKeys === !0) V.sort();
|
|
1070
|
-
else if (typeof c.sortKeys == "function") V.sort(c.sortKeys);
|
|
1071
|
-
else if (c.sortKeys) throw new exception("sortKeys must be a boolean or a function");
|
|
1072
|
-
for (H = 0, U = V.length; H < U; H += 1) J = "", (!R || z !== "") && (J += generateNextLine(c, I)), W = V[H], K = L[W], c.replacer && (K = c.replacer.call(L, W, K)), writeNode(c, I + 1, W, !0, !0, !0) && (q = c.tag !== null && c.tag !== "?" || c.dump && c.dump.length > 1024, q && (c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? J += "?" : J += "? "), J += c.dump, q && (J += generateNextLine(c, I)), writeNode(c, I + 1, K, !0, q) && (c.dump && CHAR_LINE_FEED === c.dump.charCodeAt(0) ? J += ":" : J += ": ", J += c.dump, z += J));
|
|
1073
|
-
c.tag = B, c.dump = z || "{}";
|
|
1074
|
-
}
|
|
1075
|
-
__name(writeBlockMapping, "writeBlockMapping");
|
|
1076
|
-
function detectType(c, I, L) {
|
|
1077
|
-
var R, z = L ? c.explicitTypes : c.implicitTypes, B, V, H, U;
|
|
1078
|
-
for (B = 0, V = z.length; B < V; B += 1) if (H = z[B], (H.instanceOf || H.predicate) && (!H.instanceOf || typeof I == "object" && I instanceof H.instanceOf) && (!H.predicate || H.predicate(I))) {
|
|
1079
|
-
if (L ? H.multi && H.representName ? c.tag = H.representName(I) : c.tag = H.tag : c.tag = "?", H.represent) {
|
|
1080
|
-
if (U = c.styleMap[H.tag] || H.defaultStyle, _toString.call(H.represent) === "[object Function]") R = H.represent(I, U);
|
|
1081
|
-
else if (_hasOwnProperty.call(H.represent, U)) R = H.represent[U](I, U);
|
|
1082
|
-
else throw new exception("!<" + H.tag + "> tag resolver accepts not \"" + U + "\" style");
|
|
1083
|
-
c.dump = R;
|
|
1084
|
-
}
|
|
1085
|
-
return !0;
|
|
1086
|
-
}
|
|
1087
|
-
return !1;
|
|
1088
|
-
}
|
|
1089
|
-
__name(detectType, "detectType");
|
|
1090
|
-
function writeNode(c, I, L, R, z, B, V) {
|
|
1091
|
-
c.tag = null, c.dump = L, detectType(c, L, !1) || detectType(c, L, !0);
|
|
1092
|
-
var H = _toString.call(c.dump), U = R, W;
|
|
1093
|
-
R &&= c.flowLevel < 0 || c.flowLevel > I;
|
|
1094
|
-
var K = H === "[object Object]" || H === "[object Array]", q, J;
|
|
1095
|
-
if (K && (q = c.duplicates.indexOf(L), J = q !== -1), (c.tag !== null && c.tag !== "?" || J || c.indent !== 2 && I > 0) && (z = !1), J && c.usedDuplicates[q]) c.dump = "*ref_" + q;
|
|
1096
|
-
else {
|
|
1097
|
-
if (K && J && !c.usedDuplicates[q] && (c.usedDuplicates[q] = !0), H === "[object Object]") R && Object.keys(c.dump).length !== 0 ? (writeBlockMapping(c, I, c.dump, z), J && (c.dump = "&ref_" + q + c.dump)) : (writeFlowMapping(c, I, c.dump), J && (c.dump = "&ref_" + q + " " + c.dump));
|
|
1098
|
-
else if (H === "[object Array]") R && c.dump.length !== 0 ? (c.noArrayIndent && !V && I > 0 ? writeBlockSequence(c, I - 1, c.dump, z) : writeBlockSequence(c, I, c.dump, z), J && (c.dump = "&ref_" + q + c.dump)) : (writeFlowSequence(c, I, c.dump), J && (c.dump = "&ref_" + q + " " + c.dump));
|
|
1099
|
-
else if (H === "[object String]") c.tag !== "?" && writeScalar(c, c.dump, I, B, U);
|
|
1100
|
-
else if (H === "[object Undefined]") return !1;
|
|
1101
|
-
else {
|
|
1102
|
-
if (c.skipInvalid) return !1;
|
|
1103
|
-
throw new exception("unacceptable kind of an object to dump " + H);
|
|
1104
|
-
}
|
|
1105
|
-
c.tag !== null && c.tag !== "?" && (W = encodeURI(c.tag[0] === "!" ? c.tag.slice(1) : c.tag).replace(/!/g, "%21"), W = c.tag[0] === "!" ? "!" + W : W.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + W.slice(18) : "!<" + W + ">", c.dump = W + " " + c.dump);
|
|
1106
|
-
}
|
|
1107
|
-
return !0;
|
|
1108
|
-
}
|
|
1109
|
-
__name(writeNode, "writeNode");
|
|
1110
|
-
function getDuplicateReferences(c, I) {
|
|
1111
|
-
var L = [], R = [], z, B;
|
|
1112
|
-
for (inspectNode(c, L, R), z = 0, B = R.length; z < B; z += 1) I.duplicates.push(L[R[z]]);
|
|
1113
|
-
I.usedDuplicates = Array(B);
|
|
1114
|
-
}
|
|
1115
|
-
__name(getDuplicateReferences, "getDuplicateReferences");
|
|
1116
|
-
function inspectNode(c, I, L) {
|
|
1117
|
-
var R, z, B;
|
|
1118
|
-
if (typeof c == "object" && c) if (z = I.indexOf(c), z !== -1) L.indexOf(z) === -1 && L.push(z);
|
|
1119
|
-
else if (I.push(c), Array.isArray(c)) for (z = 0, B = c.length; z < B; z += 1) inspectNode(c[z], I, L);
|
|
1120
|
-
else for (R = Object.keys(c), z = 0, B = R.length; z < B; z += 1) inspectNode(c[R[z]], I, L);
|
|
1121
|
-
}
|
|
1122
|
-
__name(inspectNode, "inspectNode");
|
|
1123
|
-
function dump$1(c, I) {
|
|
1124
|
-
I ||= {};
|
|
1125
|
-
var L = new State(I);
|
|
1126
|
-
L.noRefs || getDuplicateReferences(c, L);
|
|
1127
|
-
var R = c;
|
|
1128
|
-
return L.replacer && (R = L.replacer.call({ "": R }, "", R)), writeNode(L, 0, R, !0, !0) ? L.dump + "\n" : "";
|
|
1129
|
-
}
|
|
1130
|
-
__name(dump$1, "dump$1");
|
|
1131
|
-
var dumper = { dump: dump$1 };
|
|
1132
|
-
function renamed(c, I) {
|
|
1133
|
-
return function() {
|
|
1134
|
-
throw Error("Function yaml." + c + " is removed in js-yaml 4. Use yaml." + I + " instead, which is now safe by default.");
|
|
1135
|
-
};
|
|
1136
|
-
}
|
|
1137
|
-
__name(renamed, "renamed");
|
|
1138
|
-
var JSON_SCHEMA = json, load = loader.load;
|
|
1139
|
-
loader.loadAll, dumper.dump;
|
|
1140
|
-
export { JSON_SCHEMA, load };
|