@pagehub/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +480 -0
- package/dist/chrome/buildCraftTreeFromStructure.d.ts +27 -0
- package/dist/chrome/buildCraftTreeFromStructure.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/AddSectionNodeController.d.ts +5 -0
- package/dist/chrome/canvas/controllers/AddSectionNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/BorderResizeController.d.ts +18 -0
- package/dist/chrome/canvas/controllers/BorderResizeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/ConditionBadgeController.d.ts +2 -0
- package/dist/chrome/canvas/controllers/ConditionBadgeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/DeleteNodeController.d.ts +2 -0
- package/dist/chrome/canvas/controllers/DeleteNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/DragAdjustNodeController.d.ts +12 -0
- package/dist/chrome/canvas/controllers/DragAdjustNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/HoverNodeController.d.ts +7 -0
- package/dist/chrome/canvas/controllers/HoverNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/LintBadgeController.d.ts +8 -0
- package/dist/chrome/canvas/controllers/LintBadgeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/NameNodeController.d.ts +7 -0
- package/dist/chrome/canvas/controllers/NameNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/RotateHandleController.d.ts +13 -0
- package/dist/chrome/canvas/controllers/RotateHandleController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/ToolNodeController.d.ts +8 -0
- package/dist/chrome/canvas/controllers/ToolNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/controllers/UniformPaddingNodeController.d.ts +2 -0
- package/dist/chrome/canvas/controllers/UniformPaddingNodeController.d.ts.map +1 -0
- package/dist/chrome/canvas/dialogs/SectionPickerDialog.d.ts +8 -0
- package/dist/chrome/canvas/dialogs/SectionPickerDialog.d.ts.map +1 -0
- package/dist/chrome/canvas/gap/GapDragControl.d.ts +2 -0
- package/dist/chrome/canvas/gap/GapDragControl.d.ts.map +1 -0
- package/dist/chrome/canvas/gap/gapScale.d.ts +14 -0
- package/dist/chrome/canvas/gap/gapScale.d.ts.map +1 -0
- package/dist/chrome/canvas/gap/useGapDrag.d.ts +38 -0
- package/dist/chrome/canvas/gap/useGapDrag.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/AnimatedButton.d.ts +17 -0
- package/dist/chrome/canvas/node-tools/AnimatedButton.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/ComponentPreview.d.ts +17 -0
- package/dist/chrome/canvas/node-tools/ComponentPreview.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/ContainerSettingsNodeTool.d.ts +2 -0
- package/dist/chrome/canvas/node-tools/ContainerSettingsNodeTool.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/ContainerSettingsTopNodeTool.d.ts +4 -0
- package/dist/chrome/canvas/node-tools/ContainerSettingsTopNodeTool.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/DeleteNodeButton.d.ts +12 -0
- package/dist/chrome/canvas/node-tools/DeleteNodeButton.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/DuplicateNodeButton.d.ts +6 -0
- package/dist/chrome/canvas/node-tools/DuplicateNodeButton.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/ImageMediaTool.d.ts +2 -0
- package/dist/chrome/canvas/node-tools/ImageMediaTool.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/NodeDialog.d.ts +15 -0
- package/dist/chrome/canvas/node-tools/NodeDialog.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/NodeInlineTooltip.d.ts +19 -0
- package/dist/chrome/canvas/node-tools/NodeInlineTooltip.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/SelectMapTool.d.ts +2 -0
- package/dist/chrome/canvas/node-tools/SelectMapTool.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/SelectParentNodeTool.d.ts +8 -0
- package/dist/chrome/canvas/node-tools/SelectParentNodeTool.d.ts.map +1 -0
- package/dist/chrome/canvas/node-tools/TextSettingsTopNodeTool.d.ts +2 -0
- package/dist/chrome/canvas/node-tools/TextSettingsTopNodeTool.d.ts.map +1 -0
- package/dist/chrome/canvas/overlays/ContainerPaddingOverlay.d.ts +2 -0
- package/dist/chrome/canvas/overlays/ContainerPaddingOverlay.d.ts.map +1 -0
- package/dist/chrome/canvas/overlays/GlobalSectionIndicator.d.ts +2 -0
- package/dist/chrome/canvas/overlays/GlobalSectionIndicator.d.ts.map +1 -0
- package/dist/chrome/canvas/overlays/MeasurementLines.d.ts +7 -0
- package/dist/chrome/canvas/overlays/MeasurementLines.d.ts.map +1 -0
- package/dist/chrome/canvas/overlays/PaddingOverlay.d.ts +10 -0
- package/dist/chrome/canvas/overlays/PaddingOverlay.d.ts.map +1 -0
- package/dist/chrome/canvas/overlays/SpacingOverlay.d.ts +11 -0
- package/dist/chrome/canvas/overlays/SpacingOverlay.d.ts.map +1 -0
- package/dist/chrome/canvas/state/canvasUtils.d.ts +18 -0
- package/dist/chrome/canvas/state/canvasUtils.d.ts.map +1 -0
- package/dist/chrome/canvas/state/edgeResizeState.d.ts +16 -0
- package/dist/chrome/canvas/state/edgeResizeState.d.ts.map +1 -0
- package/dist/chrome/canvas/state/nodeGeometry.d.ts +38 -0
- package/dist/chrome/canvas/state/nodeGeometry.d.ts.map +1 -0
- package/dist/chrome/canvas/state/nodeNameChipStyles.d.ts +6 -0
- package/dist/chrome/canvas/state/nodeNameChipStyles.d.ts.map +1 -0
- package/dist/chrome/canvas/state/nodeOverlayPosition.d.ts +15 -0
- package/dist/chrome/canvas/state/nodeOverlayPosition.d.ts.map +1 -0
- package/dist/chrome/canvas/state/rotateActiveState.d.ts +14 -0
- package/dist/chrome/canvas/state/rotateActiveState.d.ts.map +1 -0
- package/dist/chrome/editor-chrome.d.ts +24 -0
- package/dist/chrome/editor-chrome.d.ts.map +1 -0
- package/dist/chrome/floating/FloatingPanel.d.ts +134 -0
- package/dist/chrome/floating/FloatingPanel.d.ts.map +1 -0
- package/dist/chrome/floating/FloatingWidget.d.ts +12 -0
- package/dist/chrome/floating/FloatingWidget.d.ts.map +1 -0
- package/dist/chrome/hooks/editorShortcutGuards.d.ts +19 -0
- package/dist/chrome/hooks/editorShortcutGuards.d.ts.map +1 -0
- package/dist/chrome/hooks/unifiedDelete.d.ts +21 -0
- package/dist/chrome/hooks/unifiedDelete.d.ts.map +1 -0
- package/dist/chrome/hooks/useAutoOpenSidebar.d.ts +8 -0
- package/dist/chrome/hooks/useAutoOpenSidebar.d.ts.map +1 -0
- package/dist/chrome/hooks/useCanvasPan.d.ts +18 -0
- package/dist/chrome/hooks/useCanvasPan.d.ts.map +1 -0
- package/dist/chrome/hooks/useComponentSync.d.ts +2 -0
- package/dist/chrome/hooks/useComponentSync.d.ts.map +1 -0
- package/dist/chrome/hooks/useCreateComponent.d.ts +24 -0
- package/dist/chrome/hooks/useCreateComponent.d.ts.map +1 -0
- package/dist/chrome/hooks/useDragGesture.d.ts +44 -0
- package/dist/chrome/hooks/useDragGesture.d.ts.map +1 -0
- package/dist/chrome/hooks/useDraggableWindow.d.ts +27 -0
- package/dist/chrome/hooks/useDraggableWindow.d.ts.map +1 -0
- package/dist/chrome/hooks/useEditorActivePage.d.ts +10 -0
- package/dist/chrome/hooks/useEditorActivePage.d.ts.map +1 -0
- package/dist/chrome/hooks/useImageDrop.d.ts +35 -0
- package/dist/chrome/hooks/useImageDrop.d.ts.map +1 -0
- package/dist/chrome/hooks/useInsertTarget.d.ts +16 -0
- package/dist/chrome/hooks/useInsertTarget.d.ts.map +1 -0
- package/dist/chrome/hooks/usePanelSearch.d.ts +24 -0
- package/dist/chrome/hooks/usePanelSearch.d.ts.map +1 -0
- package/dist/chrome/hooks/useResizable.d.ts +45 -0
- package/dist/chrome/hooks/useResizable.d.ts.map +1 -0
- package/dist/chrome/hooks/useShowOnLoadAutoReveal.d.ts +2 -0
- package/dist/chrome/hooks/useShowOnLoadAutoReveal.d.ts.map +1 -0
- package/dist/chrome/hooks/useUnifiedDelete.d.ts +10 -0
- package/dist/chrome/hooks/useUnifiedDelete.d.ts.map +1 -0
- package/dist/chrome/inline-tools/TextEditor.d.ts +10 -0
- package/dist/chrome/inline-tools/TextEditor.d.ts.map +1 -0
- package/dist/chrome/inline-tools/TiptapContext.d.ts +12 -0
- package/dist/chrome/inline-tools/TiptapContext.d.ts.map +1 -0
- package/dist/chrome/inline-tools/VariablePopover.d.ts +16 -0
- package/dist/chrome/inline-tools/VariablePopover.d.ts.map +1 -0
- package/dist/chrome/inline-tools/VariableSuggestion.d.ts +6 -0
- package/dist/chrome/inline-tools/VariableSuggestion.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/InlineEditToolbar.d.ts +12 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/InlineEditToolbar.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/PortalToolbarBelowNode.d.ts +14 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/PortalToolbarBelowNode.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/TiptapRichTextContextMenu.d.ts +27 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/TiptapRichTextContextMenu.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/FontPanel.d.ts +11 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/FontPanel.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/LinkPanel.d.ts +9 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/LinkPanel.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/MorePanel.d.ts +14 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/MorePanel.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/StylesPanel.d.ts +8 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/StylesPanel.d.ts.map +1 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/VariableInsertPanel.d.ts +20 -0
- package/dist/chrome/inline-tools/inline-edit-toolbar/panels/VariableInsertPanel.d.ts.map +1 -0
- package/dist/chrome/inline-tools/openLinkPanelEvent.d.ts +3 -0
- package/dist/chrome/inline-tools/openLinkPanelEvent.d.ts.map +1 -0
- package/dist/chrome/inline-tools/useRegisterTiptapContext.d.ts +2 -0
- package/dist/chrome/inline-tools/useRegisterTiptapContext.d.ts.map +1 -0
- package/dist/chrome/palette/CommandPalette.d.ts +2 -0
- package/dist/chrome/palette/CommandPalette.d.ts.map +1 -0
- package/dist/chrome/palette/CommandPalette.test.d.ts +2 -0
- package/dist/chrome/palette/CommandPalette.test.d.ts.map +1 -0
- package/dist/chrome/palette/CommandPaletteRoot.d.ts +2 -0
- package/dist/chrome/palette/CommandPaletteRoot.d.ts.map +1 -0
- package/dist/chrome/palette/index.d.ts +11 -0
- package/dist/chrome/palette/index.d.ts.map +1 -0
- package/dist/chrome/palette/useCommandPalette.d.ts +7 -0
- package/dist/chrome/palette/useCommandPalette.d.ts.map +1 -0
- package/dist/chrome/palette/useCommandPaletteResults.d.ts +36 -0
- package/dist/chrome/palette/useCommandPaletteResults.d.ts.map +1 -0
- package/dist/chrome/popovers/AnchoredPopover.d.ts +44 -0
- package/dist/chrome/popovers/AnchoredPopover.d.ts.map +1 -0
- package/dist/chrome/popovers/ToolbarPortalDropdown.d.ts +17 -0
- package/dist/chrome/popovers/ToolbarPortalDropdown.d.ts.map +1 -0
- package/dist/chrome/popovers/getPortalTarget.d.ts +7 -0
- package/dist/chrome/popovers/getPortalTarget.d.ts.map +1 -0
- package/dist/chrome/popovers/overlayZIndex.d.ts +42 -0
- package/dist/chrome/popovers/overlayZIndex.d.ts.map +1 -0
- package/dist/chrome/popovers/useAnchoredPopover.d.ts +49 -0
- package/dist/chrome/popovers/useAnchoredPopover.d.ts.map +1 -0
- package/dist/chrome/popovers/useClampToViewport.d.ts +8 -0
- package/dist/chrome/popovers/useClampToViewport.d.ts.map +1 -0
- package/dist/chrome/primitives/AddElementButton.d.ts +7 -0
- package/dist/chrome/primitives/AddElementButton.d.ts.map +1 -0
- package/dist/chrome/primitives/ChevronTrigger.d.ts +12 -0
- package/dist/chrome/primitives/ChevronTrigger.d.ts.map +1 -0
- package/dist/chrome/primitives/Chip.d.ts +60 -0
- package/dist/chrome/primitives/Chip.d.ts.map +1 -0
- package/dist/chrome/primitives/EditorEmptyLeafHint.d.ts +5 -0
- package/dist/chrome/primitives/EditorEmptyLeafHint.d.ts.map +1 -0
- package/dist/chrome/primitives/EditorEmptyLeafHintView.d.ts +21 -0
- package/dist/chrome/primitives/EditorEmptyLeafHintView.d.ts.map +1 -0
- package/dist/chrome/primitives/EditorSidebarPrimaryCta.d.ts +16 -0
- package/dist/chrome/primitives/EditorSidebarPrimaryCta.d.ts.map +1 -0
- package/dist/chrome/primitives/FilterDropdown.d.ts +28 -0
- package/dist/chrome/primitives/FilterDropdown.d.ts.map +1 -0
- package/dist/chrome/primitives/InlineClearButton.d.ts +18 -0
- package/dist/chrome/primitives/InlineClearButton.d.ts.map +1 -0
- package/dist/chrome/primitives/LabeledAddChip.d.ts +18 -0
- package/dist/chrome/primitives/LabeledAddChip.d.ts.map +1 -0
- package/dist/chrome/primitives/LoadingBar.d.ts +38 -0
- package/dist/chrome/primitives/LoadingBar.d.ts.map +1 -0
- package/dist/chrome/primitives/MiniPreviewTile.d.ts +32 -0
- package/dist/chrome/primitives/MiniPreviewTile.d.ts.map +1 -0
- package/dist/chrome/primitives/PanelBody.d.ts +15 -0
- package/dist/chrome/primitives/PanelBody.d.ts.map +1 -0
- package/dist/chrome/primitives/PanelHeaderRow.d.ts +11 -0
- package/dist/chrome/primitives/PanelHeaderRow.d.ts.map +1 -0
- package/dist/chrome/primitives/PanelLoadingState.d.ts +9 -0
- package/dist/chrome/primitives/PanelLoadingState.d.ts.map +1 -0
- package/dist/chrome/primitives/SearchInput.d.ts +15 -0
- package/dist/chrome/primitives/SearchInput.d.ts.map +1 -0
- package/dist/chrome/primitives/SearchableMenuPopover.d.ts +59 -0
- package/dist/chrome/primitives/SearchableMenuPopover.d.ts.map +1 -0
- package/dist/chrome/primitives/SidebarFlyoutSurface.d.ts +10 -0
- package/dist/chrome/primitives/SidebarFlyoutSurface.d.ts.map +1 -0
- package/dist/chrome/primitives/SidebarTabPanel.d.ts +15 -0
- package/dist/chrome/primitives/SidebarTabPanel.d.ts.map +1 -0
- package/dist/chrome/primitives/SidebarTabsPane.d.ts +21 -0
- package/dist/chrome/primitives/SidebarTabsPane.d.ts.map +1 -0
- package/dist/chrome/primitives/ToolbarIconButton.d.ts +26 -0
- package/dist/chrome/primitives/ToolbarIconButton.d.ts.map +1 -0
- package/dist/chrome/primitives/ToolboxInsertHintTooltip.d.ts +12 -0
- package/dist/chrome/primitives/ToolboxInsertHintTooltip.d.ts.map +1 -0
- package/dist/chrome/primitives/layout/AutoHideScrollbar.d.ts +10 -0
- package/dist/chrome/primitives/layout/AutoHideScrollbar.d.ts.map +1 -0
- package/dist/chrome/primitives/layout/ConfirmDialog.d.ts +14 -0
- package/dist/chrome/primitives/layout/ConfirmDialog.d.ts.map +1 -0
- package/dist/chrome/primitives/layout/tooltipSurface.d.ts +5 -0
- package/dist/chrome/primitives/layout/tooltipSurface.d.ts.map +1 -0
- package/dist/chrome/rendering/InlineRenderContext.d.ts +8 -0
- package/dist/chrome/rendering/InlineRenderContext.d.ts.map +1 -0
- package/dist/chrome/rendering/InlineToolsRenderer.d.ts +27 -0
- package/dist/chrome/rendering/InlineToolsRenderer.d.ts.map +1 -0
- package/dist/chrome/rendering/RenderNode.d.ts +4 -0
- package/dist/chrome/rendering/RenderNode.d.ts.map +1 -0
- package/dist/chrome/rendering/RenderNodeControl.d.ts +19 -0
- package/dist/chrome/rendering/RenderNodeControl.d.ts.map +1 -0
- package/dist/chrome/rendering/RenderNodeControlInline.d.ts +26 -0
- package/dist/chrome/rendering/RenderNodeControlInline.d.ts.map +1 -0
- package/dist/chrome/rendering/RenderNodeDataStates.d.ts +2 -0
- package/dist/chrome/rendering/RenderNodeDataStates.d.ts.map +1 -0
- package/dist/chrome/rendering/toolboxMenuAtom.d.ts +54 -0
- package/dist/chrome/rendering/toolboxMenuAtom.d.ts.map +1 -0
- package/dist/chrome/shell/BesideDropIndicator.d.ts +2 -0
- package/dist/chrome/shell/BesideDropIndicator.d.ts.map +1 -0
- package/dist/chrome/shell/ChromeErrorBoundary.d.ts +34 -0
- package/dist/chrome/shell/ChromeErrorBoundary.d.ts.map +1 -0
- package/dist/chrome/shell/CustomEventHandlers.d.ts +13 -0
- package/dist/chrome/shell/CustomEventHandlers.d.ts.map +1 -0
- package/dist/chrome/shell/DragPreviewLayer.d.ts +11 -0
- package/dist/chrome/shell/DragPreviewLayer.d.ts.map +1 -0
- package/dist/chrome/shell/DropZoneIndicator.d.ts +9 -0
- package/dist/chrome/shell/DropZoneIndicator.d.ts.map +1 -0
- package/dist/chrome/shell/EditorLoader.d.ts +2 -0
- package/dist/chrome/shell/EditorLoader.d.ts.map +1 -0
- package/dist/chrome/shell/EditorSaveBanner.d.ts +2 -0
- package/dist/chrome/shell/EditorSaveBanner.d.ts.map +1 -0
- package/dist/chrome/shell/EditorSelectionDomContext.d.ts +13 -0
- package/dist/chrome/shell/EditorSelectionDomContext.d.ts.map +1 -0
- package/dist/chrome/shell/GlobalSectionPickerDialog.d.ts +2 -0
- package/dist/chrome/shell/GlobalSectionPickerDialog.d.ts.map +1 -0
- package/dist/chrome/shell/MarkdownText.d.ts +20 -0
- package/dist/chrome/shell/MarkdownText.d.ts.map +1 -0
- package/dist/chrome/shell/PreviewPanel.d.ts +30 -0
- package/dist/chrome/shell/PreviewPanel.d.ts.map +1 -0
- package/dist/chrome/shell/alignmentInference.d.ts +18 -0
- package/dist/chrome/shell/alignmentInference.d.ts.map +1 -0
- package/dist/chrome/shell/applyPeerClassInherit.d.ts +20 -0
- package/dist/chrome/shell/applyPeerClassInherit.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/applyAutomaticMorph.d.ts +3 -0
- package/dist/chrome/shell/automatic/applyAutomaticMorph.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/automaticIntent.d.ts +71 -0
- package/dist/chrome/shell/automatic/automaticIntent.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/constants.d.ts +10 -0
- package/dist/chrome/shell/automatic/constants.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/detectors/detectCardChild.d.ts +3 -0
- package/dist/chrome/shell/automatic/detectors/detectCardChild.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/detectors/detectFallback.d.ts +3 -0
- package/dist/chrome/shell/automatic/detectors/detectFallback.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/detectors/detectGrandparent.d.ts +3 -0
- package/dist/chrome/shell/automatic/detectors/detectGrandparent.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/detectors/detectStructural.d.ts +3 -0
- package/dist/chrome/shell/automatic/detectors/detectStructural.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/executors/morphToCard.d.ts +6 -0
- package/dist/chrome/shell/automatic/executors/morphToCard.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/executors/morphToContent.d.ts +6 -0
- package/dist/chrome/shell/automatic/executors/morphToContent.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/executors/morphToPlainContainer.d.ts +6 -0
- package/dist/chrome/shell/automatic/executors/morphToPlainContainer.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/executors/morphToSection.d.ts +6 -0
- package/dist/chrome/shell/automatic/executors/morphToSection.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/executors/morphToSegment.d.ts +6 -0
- package/dist/chrome/shell/automatic/executors/morphToSegment.d.ts.map +1 -0
- package/dist/chrome/shell/automatic/helpers.d.ts +12 -0
- package/dist/chrome/shell/automatic/helpers.d.ts.map +1 -0
- package/dist/chrome/shell/besideConstants.d.ts +11 -0
- package/dist/chrome/shell/besideConstants.d.ts.map +1 -0
- package/dist/chrome/shell/besideDrop.d.ts +8 -0
- package/dist/chrome/shell/besideDrop.d.ts.map +1 -0
- package/dist/chrome/shell/coerceRootSectionDropTowardPageCanvas.d.ts +3 -0
- package/dist/chrome/shell/coerceRootSectionDropTowardPageCanvas.d.ts.map +1 -0
- package/dist/chrome/shell/findPosition2D.d.ts +18 -0
- package/dist/chrome/shell/findPosition2D.d.ts.map +1 -0
- package/dist/chrome/shell/findPositionQueryRef.d.ts +7 -0
- package/dist/chrome/shell/findPositionQueryRef.d.ts.map +1 -0
- package/dist/chrome/shell/layoutInference.d.ts +31 -0
- package/dist/chrome/shell/layoutInference.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/alignCrossAxisZones.d.ts +11 -0
- package/dist/chrome/shell/spatial/alignCrossAxisZones.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/detectAlignCrossFromDrag.d.ts +6 -0
- package/dist/chrome/shell/spatial/detectAlignCrossFromDrag.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/detectBeside.d.ts +14 -0
- package/dist/chrome/shell/spatial/detectBeside.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/dropCleanup.d.ts +3 -0
- package/dist/chrome/shell/spatial/dropCleanup.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/executeSpatialDrop.d.ts +18 -0
- package/dist/chrome/shell/spatial/executeSpatialDrop.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/mergedActions.d.ts +10 -0
- package/dist/chrome/shell/spatial/mergedActions.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/reorderConstants.d.ts +9 -0
- package/dist/chrome/shell/spatial/reorderConstants.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/reorderMainAxis.d.ts +32 -0
- package/dist/chrome/shell/spatial/reorderMainAxis.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/spatialIntent.d.ts +29 -0
- package/dist/chrome/shell/spatial/spatialIntent.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/spatialPlacement.d.ts +19 -0
- package/dist/chrome/shell/spatial/spatialPlacement.d.ts.map +1 -0
- package/dist/chrome/shell/spatial/spatialSession.d.ts +37 -0
- package/dist/chrome/shell/spatial/spatialSession.d.ts.map +1 -0
- package/dist/chrome/static/runtime/InjectedHeadTags.d.ts +18 -0
- package/dist/chrome/static/runtime/InjectedHeadTags.d.ts.map +1 -0
- package/dist/chrome/toolbar/AccordionContext.d.ts +5 -0
- package/dist/chrome/toolbar/AccordionContext.d.ts.map +1 -0
- package/dist/chrome/toolbar/BreakpointBadge.d.ts +13 -0
- package/dist/chrome/toolbar/BreakpointBadge.d.ts.map +1 -0
- package/dist/chrome/toolbar/DeviceOffline.d.ts +2 -0
- package/dist/chrome/toolbar/DeviceOffline.d.ts.map +1 -0
- package/dist/chrome/toolbar/EditorEmptyState.d.ts +12 -0
- package/dist/chrome/toolbar/EditorEmptyState.d.ts.map +1 -0
- package/dist/chrome/toolbar/InspectorTab.d.ts +36 -0
- package/dist/chrome/toolbar/InspectorTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/Label.d.ts +72 -0
- package/dist/chrome/toolbar/Label.d.ts.map +1 -0
- package/dist/chrome/toolbar/SidebarLayersPanel.d.ts +2 -0
- package/dist/chrome/toolbar/SidebarLayersPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/SidebarSwipeHint.d.ts +7 -0
- package/dist/chrome/toolbar/SidebarSwipeHint.d.ts.map +1 -0
- package/dist/chrome/toolbar/Tab.d.ts +11 -0
- package/dist/chrome/toolbar/Tab.d.ts.map +1 -0
- package/dist/chrome/toolbar/TabBarCollapseToggle.d.ts +10 -0
- package/dist/chrome/toolbar/TabBarCollapseToggle.d.ts.map +1 -0
- package/dist/chrome/toolbar/TabBarDarkModeToggle.d.ts +2 -0
- package/dist/chrome/toolbar/TabBarDarkModeToggle.d.ts.map +1 -0
- package/dist/chrome/toolbar/ToolbarDropdown.d.ts +2 -0
- package/dist/chrome/toolbar/ToolbarDropdown.d.ts.map +1 -0
- package/dist/chrome/toolbar/ToolbarItem.d.ts +45 -0
- package/dist/chrome/toolbar/ToolbarItem.d.ts.map +1 -0
- package/dist/chrome/toolbar/ToolbarSection.d.ts +2 -0
- package/dist/chrome/toolbar/ToolbarSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/ToolbarStyle.d.ts +51 -0
- package/dist/chrome/toolbar/ToolbarStyle.d.ts.map +1 -0
- package/dist/chrome/toolbar/ToolbarWrapper.d.ts +8 -0
- package/dist/chrome/toolbar/ToolbarWrapper.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/BreakpointChip.d.ts +19 -0
- package/dist/chrome/toolbar/breakpoint-chip/BreakpointChip.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/ChipContextMenu.d.ts +32 -0
- package/dist/chrome/toolbar/breakpoint-chip/ChipContextMenu.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/ChipPopover.d.ts +2 -0
- package/dist/chrome/toolbar/breakpoint-chip/ChipPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/SectionOverrideDot.d.ts +7 -0
- package/dist/chrome/toolbar/breakpoint-chip/SectionOverrideDot.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/atoms.d.ts +147 -0
- package/dist/chrome/toolbar/breakpoint-chip/atoms.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/commands.d.ts +43 -0
- package/dist/chrome/toolbar/breakpoint-chip/commands.d.ts.map +1 -0
- package/dist/chrome/toolbar/breakpoint-chip/useSectionHasAnyOverride.d.ts +9 -0
- package/dist/chrome/toolbar/breakpoint-chip/useSectionHasAnyOverride.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ClientIconLoader.d.ts +5 -0
- package/dist/chrome/toolbar/dialogs/ClientIconLoader.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ColorPickerDialog.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/ColorPickerDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ColorPickerSidebarDialog.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/ColorPickerSidebarDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/DesignVarDialog.d.ts +82 -0
- package/dist/chrome/toolbar/dialogs/DesignVarDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Dialog.d.ts +20 -0
- package/dist/chrome/toolbar/dialogs/Dialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/DraggablePortalDialog.d.ts +13 -0
- package/dist/chrome/toolbar/dialogs/DraggablePortalDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/FontFamilyDialog.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/FontFamilyDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/IconPickerPanel.d.ts +15 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/IconPickerPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconCell.d.ts +14 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconCell.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconGrid.d.ts +12 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconGrid.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconsTab.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/IconsTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/MediaTab.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/components/MediaTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/constants/commonIcons.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/constants/commonIcons.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/hooks/useIconDialog.d.ts +61 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/hooks/useIconDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/utils/deriveCategories.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/IconDialog/utils/deriveCategories.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/IconLoader.d.ts +4 -0
- package/dist/chrome/toolbar/dialogs/IconLoader.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/components/CropCanvas.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/components/CropCanvas.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/components/CropControlsPanel.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/components/CropControlsPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/hooks/useImageCrop.d.ts +73 -0
- package/dist/chrome/toolbar/dialogs/ImageCrop/hooks/useImageCrop.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/ImageCropModal.d.ts +10 -0
- package/dist/chrome/toolbar/dialogs/ImageCropModal.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerHeader.d.ts +10 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerHeader.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerManager.d.ts +26 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerManager.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerNode.d.ts +8 -0
- package/dist/chrome/toolbar/dialogs/Layers/LayerNode.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/Layers.d.ts +6 -0
- package/dist/chrome/toolbar/dialogs/Layers/Layers.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/hooks/useLayerDragDrop.d.ts +27 -0
- package/dist/chrome/toolbar/dialogs/Layers/hooks/useLayerDragDrop.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/hooks/useLayerMove.d.ts +17 -0
- package/dist/chrome/toolbar/dialogs/Layers/hooks/useLayerMove.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/siblingMoveOps.d.ts +13 -0
- package/dist/chrome/toolbar/dialogs/Layers/siblingMoveOps.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/Layers/utils.d.ts +55 -0
- package/dist/chrome/toolbar/dialogs/Layers/utils.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/LayersDialog.d.ts +7 -0
- package/dist/chrome/toolbar/dialogs/LayersDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/LeftSidebarDialog.d.ts +41 -0
- package/dist/chrome/toolbar/dialogs/LeftSidebarDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/PatternDialog.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/PatternDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/TooltipDialog.d.ts +3 -0
- package/dist/chrome/toolbar/dialogs/TooltipDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/colorPickerConstants.d.ts +12 -0
- package/dist/chrome/toolbar/dialogs/colorPickerConstants.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/colorPickerSections.d.ts +25 -0
- package/dist/chrome/toolbar/dialogs/colorPickerSections.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/dialogAtoms.d.ts +276 -0
- package/dist/chrome/toolbar/dialogs/dialogAtoms.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/toolHooks.d.ts +11 -0
- package/dist/chrome/toolbar/dialogs/toolHooks.d.ts.map +1 -0
- package/dist/chrome/toolbar/dialogs/useColorPickerState.d.ts +23 -0
- package/dist/chrome/toolbar/dialogs/useColorPickerState.d.ts.map +1 -0
- package/dist/chrome/toolbar/index.d.ts +7 -0
- package/dist/chrome/toolbar/index.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/LayoutIconGenerator.d.ts +17 -0
- package/dist/chrome/toolbar/inputs/LayoutIconGenerator.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/Notice.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/Notice.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/ActionChipRow.d.ts +21 -0
- package/dist/chrome/toolbar/inputs/action/ActionChipRow.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/ActionEditorPanel.d.ts +19 -0
- package/dist/chrome/toolbar/inputs/action/ActionEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/ActionInput.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/action/ActionInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/ActionsAddPicker.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/action/ActionsAddPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/ActionsInput.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/action/ActionsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/HandlerChipRow.d.ts +22 -0
- package/dist/chrome/toolbar/inputs/action/HandlerChipRow.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/HandlerEditorPanel.d.ts +21 -0
- package/dist/chrome/toolbar/inputs/action/HandlerEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/HandlersAddPicker.d.ts +4 -0
- package/dist/chrome/toolbar/inputs/action/HandlersAddPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/HandlersInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/action/HandlersInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/LinkInput.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/action/LinkInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/PeekTargetButton.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/action/PeekTargetButton.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/handlerEvents.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/action/handlerEvents.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/shared/StateKeyPickerInput.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/action/shared/StateKeyPickerInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/shared/TargetPickerInput.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/action/shared/TargetPickerInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/CartSubForm.d.ts +5 -0
- package/dist/chrome/toolbar/inputs/action/subforms/CartSubForm.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ClipboardSubForms.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ClipboardSubForms.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ConversionFields.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ConversionFields.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/LinkSubForm.d.ts +6 -0
- package/dist/chrome/toolbar/inputs/action/subforms/LinkSubForm.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/LocalStorageSubForms.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/action/subforms/LocalStorageSubForms.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ShowHideSubForm.d.ts +5 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ShowHideSubForm.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/StateSubForms.d.ts +20 -0
- package/dist/chrome/toolbar/inputs/action/subforms/StateSubForms.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ThemeSubForm.d.ts +6 -0
- package/dist/chrome/toolbar/inputs/action/subforms/ThemeSubForm.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/action/useElementPicker.d.ts +17 -0
- package/dist/chrome/toolbar/inputs/action/useElementPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsInput.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/advanced/AnimationsPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ButtonInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/advanced/ButtonInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/CSSEditorInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/advanced/CSSEditorInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ClassNameInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/advanced/ClassNameInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExport.d.ts +4 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExport.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExportPanel.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExportPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExportPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/ComponentImportExportPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionChipRow.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionChipRow.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionEditorPanel.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionsAddPicker.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionsAddPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionsInput.d.ts +34 -0
- package/dist/chrome/toolbar/inputs/advanced/ConditionsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerOverflowSectionPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerOverflowSectionPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerOverflowSectionPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerOverflowSectionPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerTypeInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/advanced/ContainerTypeInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/DataAttributesPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/advanced/DataAttributesPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/DataAttributesPopover.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/advanced/DataAttributesPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/DesignVarSelector.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/advanced/DesignVarSelector.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/EffectsClassInput.d.ts +23 -0
- package/dist/chrome/toolbar/inputs/advanced/EffectsClassInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/HTMLCodeInput.d.ts +19 -0
- package/dist/chrome/toolbar/inputs/advanced/HTMLCodeInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/NodeAiContextInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/advanced/NodeAiContextInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/NodeAiContextPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/advanced/NodeAiContextPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/PropertiesInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/advanced/PropertiesInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/TailwindInput.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/advanced/TailwindInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/VariableTextInput.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/advanced/VariableTextInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/designVarConstants.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/advanced/designVarConstants.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/advanced/useDesignVarOptions.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/advanced/useDesignVarOptions.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/bundle/BundleRow.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/bundle/BundleRow.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/bundle/BundleRowPanel.d.ts +16 -0
- package/dist/chrome/toolbar/inputs/bundle/BundleRowPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundFocalPointPicker.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundFocalPointPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundImageInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundImageInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundImagePanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/color/BackgroundImagePanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ColorInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/color/ColorInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ColorInputPopover.d.ts +16 -0
- package/dist/chrome/toolbar/inputs/color/ColorInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ColorPanel.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/color/ColorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ColorPanelBody.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/color/ColorPanelBody.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/CreateTokenDialog.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/color/CreateTokenDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/DesignSystemPalette.d.ts +16 -0
- package/dist/chrome/toolbar/inputs/color/DesignSystemPalette.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/GradientInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/color/GradientInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/GradientInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/color/GradientInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/GradientPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/color/GradientPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ImageSettingsPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/color/ImageSettingsPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/PatternInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/color/PatternInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/PatternInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/color/PatternInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/PatternPanel.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/color/PatternPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/PatternPanelBody.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/color/PatternPanelBody.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/PatternsDialogInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/color/PatternsDialogInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/ShadowInput.d.ts +7 -0
- package/dist/chrome/toolbar/inputs/color/ShadowInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/color/TokenPicker.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/color/TokenPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/conditions/ActionConditionsEditor.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/conditions/ActionConditionsEditor.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/NumberSettingsInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/form-element/NumberSettingsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/NumberSettingsPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/form-element/NumberSettingsPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/PropertiesInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/form-element/PropertiesInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/PropertiesPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/form-element/PropertiesPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/TextareaSettingsInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/form-element/TextareaSettingsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/TextareaSettingsPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/form-element/TextareaSettingsPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/ValidationInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/form-element/ValidationInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/form-element/ValidationPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/form-element/ValidationPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/FlexDirectionInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/layout/FlexDirectionInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/GapInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/layout/GapInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/HeightInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/layout/HeightInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/LayoutPresetInput.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/layout/LayoutPresetInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/LayoutPresetPanel.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/layout/LayoutPresetPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/SizeInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/layout/SizeInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/WidthInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/layout/WidthInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/hooks/useLayoutPreset.d.ts +25 -0
- package/dist/chrome/toolbar/inputs/layout/hooks/useLayoutPreset.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/layout/presets/layoutPresets.d.ts +38 -0
- package/dist/chrome/toolbar/inputs/layout/presets/layoutPresets.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/IconDialogInput.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/media/IconDialogInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/IconInput.d.ts +17 -0
- package/dist/chrome/toolbar/inputs/media/IconInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/ImageUploadInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/media/ImageUploadInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/IpsumGenerator.d.ts +5 -0
- package/dist/chrome/toolbar/inputs/media/IpsumGenerator.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/MediaInput.d.ts +32 -0
- package/dist/chrome/toolbar/inputs/media/MediaInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerBody.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerBody.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerModal.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/media/MediaManagerModal.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaEditModal.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaEditModal.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaGrid.d.ts +28 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaGrid.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaPreviewModal.d.ts +11 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaPreviewModal.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/AddModeCluster.d.ts +20 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/AddModeCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/CompactSearchBar.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/CompactSearchBar.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/FolderCluster.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/FolderCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/HiddenFileInputs.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/HiddenFileInputs.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ItemCountText.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ItemCountText.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/KindFilterCluster.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/KindFilterCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/MediaToolbar.d.ts +29 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/MediaToolbar.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SearchToggle.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SearchToggle.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SelectionCluster.d.ts +19 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SelectionCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SortCluster.d.ts +15 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SortCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SvgInputMode.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/SvgInputMode.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ToolbarIconButton.d.ts +17 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ToolbarIconButton.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/UrlInputMode.d.ts +11 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/UrlInputMode.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ViewModeCluster.d.ts +7 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/ViewModeCluster.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/styles.d.ts +5 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/styles.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/useCompactSearch.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/media/components/MediaToolbar/useCompactSearch.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/types.d.ts +15 -0
- package/dist/chrome/toolbar/inputs/media/hooks/types.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useAiGeneration.d.ts +49 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useAiGeneration.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaDeleteState.d.ts +24 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaDeleteState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaEditingState.d.ts +29 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaEditingState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaFilters.d.ts +35 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaFilters.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaKeyboardShortcuts.d.ts +27 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaKeyboardShortcuts.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaListState.d.ts +83 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaListState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaManager.d.ts +112 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaManager.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaPreviewState.d.ts +8 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaPreviewState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaSelectionState.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaSelectionState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaUpload.d.ts +42 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaUpload.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaViewState.d.ts +18 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useMediaViewState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useRegisterMediaContext.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/media/hooks/useRegisterMediaContext.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/media/utils/media-helpers.d.ts +75 -0
- package/dist/chrome/toolbar/inputs/media/utils/media-helpers.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifierChipList.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifierChipList.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersAddPicker.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersAddPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersPickerBody.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersPickerBody.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersPickerPanel.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/modifiers/ModifiersPickerPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/SaveModifierPanel.d.ts +10 -0
- package/dist/chrome/toolbar/inputs/modifiers/SaveModifierPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/SaveModifierPanelBody.d.ts +6 -0
- package/dist/chrome/toolbar/inputs/modifiers/SaveModifierPanelBody.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/modifiers/useModifiers.d.ts +30 -0
- package/dist/chrome/toolbar/inputs/modifiers/useModifiers.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/multi-toggle/MultiToggleInput.d.ts +7 -0
- package/dist/chrome/toolbar/inputs/multi-toggle/MultiToggleInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/preset/CraftListEditor.d.ts +54 -0
- package/dist/chrome/toolbar/inputs/preset/CraftListEditor.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/preset/ListEditor.d.ts +41 -0
- package/dist/chrome/toolbar/inputs/preset/ListEditor.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/preset/PresetAddChildList.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/preset/PresetAddChildList.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/shorthand/ShorthandInput.d.ts +14 -0
- package/dist/chrome/toolbar/inputs/shorthand/ShorthandInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/state/ComputedBindingChip.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/state/ComputedBindingChip.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingEditorPanel.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingsAddPicker.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingsAddPicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingsInput.d.ts +7 -0
- package/dist/chrome/toolbar/inputs/state/StateBindingsInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/state/VisibilityKeyChip.d.ts +6 -0
- package/dist/chrome/toolbar/inputs/state/VisibilityKeyChip.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/CodeEditor.d.ts +33 -0
- package/dist/chrome/toolbar/inputs/typography/CodeEditor.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/FontFamilyAltInput.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/typography/FontFamilyAltInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/FontFamilyInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/typography/FontFamilyInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TextStyleEditorPanel.d.ts +24 -0
- package/dist/chrome/toolbar/inputs/typography/TextStyleEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TextStylePicker.d.ts +21 -0
- package/dist/chrome/toolbar/inputs/typography/TextStylePicker.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TextStylePickerPanel.d.ts +23 -0
- package/dist/chrome/toolbar/inputs/typography/TextStylePickerPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TypeInput.d.ts +2 -0
- package/dist/chrome/toolbar/inputs/typography/TypeInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TypographyPresetInput.d.ts +7 -0
- package/dist/chrome/toolbar/inputs/typography/TypographyPresetInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/TypographyPresetSelect.d.ts +20 -0
- package/dist/chrome/toolbar/inputs/typography/TypographyPresetSelect.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/htmlVariableCompletions.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/typography/htmlVariableCompletions.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/typography/textStyleDraft.d.ts +20 -0
- package/dist/chrome/toolbar/inputs/typography/textStyleDraft.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/CalcDialog.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/universal-input/CalcDialog.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/SubgroupComponents.d.ts +22 -0
- package/dist/chrome/toolbar/inputs/universal-input/SubgroupComponents.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/TypeSelector.d.ts +15 -0
- package/dist/chrome/toolbar/inputs/universal-input/TypeSelector.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/UnifiedDropdown.d.ts +24 -0
- package/dist/chrome/toolbar/inputs/universal-input/UnifiedDropdown.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/UniversalInputControlled.d.ts +21 -0
- package/dist/chrome/toolbar/inputs/universal-input/UniversalInputControlled.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/UniversalInputView.d.ts +67 -0
- package/dist/chrome/toolbar/inputs/universal-input/UniversalInputView.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/VarEditor.d.ts +9 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/VarEditor.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/VarList.d.ts +13 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/VarList.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/index.d.ts +26 -0
- package/dist/chrome/toolbar/inputs/universal-input/VarPicker/index.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/config.d.ts +15 -0
- package/dist/chrome/toolbar/inputs/universal-input/config.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/designTokens.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/universal-input/designTokens.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useControlledInputState.d.ts +45 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useControlledInputState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useDesignVars.d.ts +3 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useDesignVars.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useStyleGuideTokens.d.ts +25 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useStyleGuideTokens.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useTokenUsage.d.ts +12 -0
- package/dist/chrome/toolbar/inputs/universal-input/hooks/useTokenUsage.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/index.d.ts +5 -0
- package/dist/chrome/toolbar/inputs/universal-input/index.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/layouts.d.ts +59 -0
- package/dist/chrome/toolbar/inputs/universal-input/layouts.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/styleTokenRegistry.d.ts +44 -0
- package/dist/chrome/toolbar/inputs/universal-input/styleTokenRegistry.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/types.d.ts +54 -0
- package/dist/chrome/toolbar/inputs/universal-input/types.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/useInputHandlers.d.ts +35 -0
- package/dist/chrome/toolbar/inputs/universal-input/useInputHandlers.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/useUniversalInputState.d.ts +103 -0
- package/dist/chrome/toolbar/inputs/universal-input/useUniversalInputState.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/universal-input/utils.d.ts +4 -0
- package/dist/chrome/toolbar/inputs/universal-input/utils.d.ts.map +1 -0
- package/dist/chrome/toolbar/inputs/useContainerLayoutManager.d.ts +6 -0
- package/dist/chrome/toolbar/inputs/useContainerLayoutManager.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/AccordionAddMenu.d.ts +11 -0
- package/dist/chrome/toolbar/inspector/AccordionAddMenu.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/AutoChildListGroups.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/AutoChildListGroups.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/ImageGroupSettings.d.ts +4 -0
- package/dist/chrome/toolbar/inspector/ImageGroupSettings.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/InspectorRegistry.d.ts +4 -0
- package/dist/chrome/toolbar/inspector/InspectorRegistry.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/PropertyRenderer.d.ts +13 -0
- package/dist/chrome/toolbar/inspector/PropertyRenderer.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/PropertySection.d.ts +12 -0
- package/dist/chrome/toolbar/inspector/PropertySection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/RegistrySettings.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/RegistrySettings.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/customInputs.d.ts +13 -0
- package/dist/chrome/toolbar/inspector/customInputs.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/helpers.d.ts +33 -0
- package/dist/chrome/toolbar/inspector/helpers.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/hooks/usePopoverAutoOpen.d.ts +7 -0
- package/dist/chrome/toolbar/inspector/hooks/usePopoverAutoOpen.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/hooks/usePopoverPosition.d.ts +12 -0
- package/dist/chrome/toolbar/inspector/hooks/usePopoverPosition.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/InspectorPinContext.d.ts +18 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/InspectorPinContext.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/InspectorPinDock.d.ts +6 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/InspectorPinDock.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/SectionPinButton.d.ts +5 -0
- package/dist/chrome/toolbar/inspector/inspectorPin/SectionPinButton.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/AudioMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/AudioMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/BackgroundMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/BackgroundMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ButtonMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ButtonMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerMainTab.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerOverflowSection.d.ts +6 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerOverflowSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerScrollEffectSection.d.ts +6 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerScrollEffectSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerStateSection.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ContainerStateSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/DataMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/DataMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/DataSourceSectionSlot.d.ts +7 -0
- package/dist/chrome/toolbar/inspector/mainTabs/DataSourceSectionSlot.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/EmbedMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/EmbedMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FooterMainTab.d.ts +8 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FooterMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FormElementMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FormElementMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FormMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/FormMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/HeaderMainTab.d.ts +8 -0
- package/dist/chrome/toolbar/inspector/mainTabs/HeaderMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/IconMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/IconMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ImageMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ImageMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ImageSettingsSection.d.ts +14 -0
- package/dist/chrome/toolbar/inspector/mainTabs/ImageSettingsSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/LinkMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/LinkMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/MapMainTab.d.ts +27 -0
- package/dist/chrome/toolbar/inspector/mainTabs/MapMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/MapPointMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/MapPointMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/NodeAiContextSection.d.ts +5 -0
- package/dist/chrome/toolbar/inspector/mainTabs/NodeAiContextSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/TextMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/TextMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/mainTabs/VideoMainTab.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/mainTabs/VideoMainTab.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/popoverModeRegistry.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/popoverModeRegistry.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/popoverOpenRequestAtom.d.ts +41 -0
- package/dist/chrome/toolbar/inspector/popoverOpenRequestAtom.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/propertyContext.d.ts +7 -0
- package/dist/chrome/toolbar/inspector/propertyContext.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/propertyHasValue.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/propertyHasValue.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/PermissionsSection.d.ts +2 -0
- package/dist/chrome/toolbar/inspector/registry/PermissionsSection.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/atoms.d.ts +80 -0
- package/dist/chrome/toolbar/inspector/registry/atoms.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/LayoutPresetSlot.d.ts +9 -0
- package/dist/chrome/toolbar/inspector/registry/properties/LayoutPresetSlot.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/advanced.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/advanced.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/alignment.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/alignment.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/appearance.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/appearance.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/aria.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/aria.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/background.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/background.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/display.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/display.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/EffectRowInputPopover.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/EffectRowInputPopover.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/effectTypes.d.ts +65 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/effectTypes.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/AnimationEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/AnimationEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/BackdropEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/BackdropEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/FilterEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/FilterEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/ScrollEffectEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/ScrollEffectEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/TransformEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/TransformEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/TransitionEditorPanel.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects-builder/rows/TransitionEditorPanel.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/effects.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/imageSettings.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/imageSettings.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/interactions.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/interactions.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/layout.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/layout.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/modifiers.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/modifiers.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/preset.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/preset.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/register.d.ts +14 -0
- package/dist/chrome/toolbar/inspector/registry/properties/register.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/sectionDefs.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/sectionDefs.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/typography.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/typography.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/properties/useLayoutMode.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/registry/properties/useLayoutMode.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/propertyDefs.d.ts +240 -0
- package/dist/chrome/toolbar/inspector/registry/propertyDefs.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/propertyRegistry.d.ts +46 -0
- package/dist/chrome/toolbar/inspector/registry/propertyRegistry.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/settingsRegistry.d.ts +23 -0
- package/dist/chrome/toolbar/inspector/registry/settingsRegistry.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/registry/types.d.ts +38 -0
- package/dist/chrome/toolbar/inspector/registry/types.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/sessionAddedAtom.d.ts +27 -0
- package/dist/chrome/toolbar/inspector/sessionAddedAtom.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/types.d.ts +36 -0
- package/dist/chrome/toolbar/inspector/types.d.ts.map +1 -0
- package/dist/chrome/toolbar/inspector/usePropertyHasValue.d.ts +3 -0
- package/dist/chrome/toolbar/inspector/usePropertyHasValue.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/ButtonItem.d.ts +3 -0
- package/dist/chrome/toolbar/items/ButtonItem.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/ClassInput/BreakpointBuckets.d.ts +25 -0
- package/dist/chrome/toolbar/items/ClassInput/BreakpointBuckets.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/ClassInput/ClassSearchInput.d.ts +9 -0
- package/dist/chrome/toolbar/items/ClassInput/ClassSearchInput.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/ClassInput/classItemUtils.d.ts +43 -0
- package/dist/chrome/toolbar/items/ClassInput/classItemUtils.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/ClassItem.d.ts +7 -0
- package/dist/chrome/toolbar/items/ClassItem.d.ts.map +1 -0
- package/dist/chrome/toolbar/items/SelectOptionsItem.d.ts +3 -0
- package/dist/chrome/toolbar/items/SelectOptionsItem.d.ts.map +1 -0
- package/dist/chrome/toolbar/phToolbarDashedSelection.d.ts +6 -0
- package/dist/chrome/toolbar/phToolbarDashedSelection.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/ActionRow.d.ts +11 -0
- package/dist/chrome/toolbar/primitives/ActionRow.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/ItemSelector.d.ts +22 -0
- package/dist/chrome/toolbar/primitives/ItemSelector.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/MenuIcon.d.ts +8 -0
- package/dist/chrome/toolbar/primitives/MenuIcon.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/ParseTree.d.ts +4 -0
- package/dist/chrome/toolbar/primitives/ParseTree.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/Spinner.d.ts +4 -0
- package/dist/chrome/toolbar/primitives/Spinner.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/ToolbarDashedButton.d.ts +15 -0
- package/dist/chrome/toolbar/primitives/ToolbarDashedButton.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/ToolbarSegmentedControl.d.ts +40 -0
- package/dist/chrome/toolbar/primitives/ToolbarSegmentedControl.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/componentConverters.d.ts +26 -0
- package/dist/chrome/toolbar/primitives/componentConverters.d.ts.map +1 -0
- package/dist/chrome/toolbar/primitives/tableBodyControls.d.ts +20 -0
- package/dist/chrome/toolbar/primitives/tableBodyControls.d.ts.map +1 -0
- package/dist/chrome/toolbar/toolbarInputAttrs.d.ts +11 -0
- package/dist/chrome/toolbar/toolbarInputAttrs.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/constants.d.ts +7 -0
- package/dist/chrome/viewport/ComponentCanvasItem/constants.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useCanvasItemDrag.d.ts +28 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useCanvasItemDrag.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useCanvasItemResize.d.ts +25 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useCanvasItemResize.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useLiveDomPin.d.ts +28 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useLiveDomPin.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useStateCardPin.d.ts +10 -0
- package/dist/chrome/viewport/ComponentCanvasItem/hooks/useStateCardPin.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/index.d.ts +45 -0
- package/dist/chrome/viewport/ComponentCanvasItem/index.d.ts.map +1 -0
- package/dist/chrome/viewport/ComponentCanvasItem/utils/cardCollision.d.ts +20 -0
- package/dist/chrome/viewport/ComponentCanvasItem/utils/cardCollision.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/ToolboxContextual.d.ts +12 -0
- package/dist/chrome/viewport/ToolboxContextual/ToolboxContextual.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useMenuDismissal.d.ts +33 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useMenuDismissal.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useMenuPosition.d.ts +12 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useMenuPosition.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useToolboxMenuModel.d.ts +13 -0
- package/dist/chrome/viewport/ToolboxContextual/hooks/useToolboxMenuModel.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/utils/clipboardChecks.d.ts +7 -0
- package/dist/chrome/viewport/ToolboxContextual/utils/clipboardChecks.d.ts.map +1 -0
- package/dist/chrome/viewport/ToolboxContextual/utils/menuClasses.d.ts +7 -0
- package/dist/chrome/viewport/ToolboxContextual/utils/menuClasses.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/Viewport.d.ts +5 -0
- package/dist/chrome/viewport/Viewport/Viewport.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/constants.d.ts +33 -0
- package/dist/chrome/viewport/Viewport/constants.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useBreakpointMarkerDrag.d.ts +30 -0
- package/dist/chrome/viewport/Viewport/hooks/useBreakpointMarkerDrag.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useCanvasEdgeResize.d.ts +22 -0
- package/dist/chrome/viewport/Viewport/hooks/useCanvasEdgeResize.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useInitialPageNavigation.d.ts +18 -0
- package/dist/chrome/viewport/Viewport/hooks/useInitialPageNavigation.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/usePageLoadIndicator.d.ts +12 -0
- package/dist/chrome/viewport/Viewport/hooks/usePageLoadIndicator.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useUnsavedChangesWarning.d.ts +7 -0
- package/dist/chrome/viewport/Viewport/hooks/useUnsavedChangesWarning.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useViewportContextMenu.d.ts +14 -0
- package/dist/chrome/viewport/Viewport/hooks/useViewportContextMenu.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/hooks/useViewportSetupEffects.d.ts +2 -0
- package/dist/chrome/viewport/Viewport/hooks/useViewportSetupEffects.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/BreakpointMarkers.d.ts +14 -0
- package/dist/chrome/viewport/Viewport/parts/BreakpointMarkers.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/CanvasEdgeHandles.d.ts +11 -0
- package/dist/chrome/viewport/Viewport/parts/CanvasEdgeHandles.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceFrameChrome.d.ts +17 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceFrameChrome.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceFrameDecorations.d.ts +12 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceFrameDecorations.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceGuides.d.ts +6 -0
- package/dist/chrome/viewport/Viewport/parts/DeviceGuides.d.ts.map +1 -0
- package/dist/chrome/viewport/Viewport/parts/PreviewEditButton.d.ts +18 -0
- package/dist/chrome/viewport/Viewport/parts/PreviewEditButton.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/BreakpointSwitcher.d.ts +2 -0
- package/dist/chrome/viewport/ViewportTopBar/BreakpointSwitcher.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/HeaderItem.d.ts +12 -0
- package/dist/chrome/viewport/ViewportTopBar/HeaderItem.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/SaveIndicator.d.ts +3 -0
- package/dist/chrome/viewport/ViewportTopBar/SaveIndicator.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/SideBySideRow.d.ts +7 -0
- package/dist/chrome/viewport/ViewportTopBar/SideBySideRow.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/ViewportTopBar.d.ts +2 -0
- package/dist/chrome/viewport/ViewportTopBar/ViewportTopBar.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/useComponentVisible.d.ts +6 -0
- package/dist/chrome/viewport/ViewportTopBar/useComponentVisible.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/useDarkMode.d.ts +14 -0
- package/dist/chrome/viewport/ViewportTopBar/useDarkMode.d.ts.map +1 -0
- package/dist/chrome/viewport/ViewportTopBar/useTopBarComponents.d.ts +12 -0
- package/dist/chrome/viewport/ViewportTopBar/useTopBarComponents.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/CanvasAnnotationLayer.d.ts +17 -0
- package/dist/chrome/viewport/canvas/CanvasAnnotationLayer.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/CanvasFloatingToolbar.d.ts +13 -0
- package/dist/chrome/viewport/canvas/CanvasFloatingToolbar.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/CanvasScopeBand.d.ts +2 -0
- package/dist/chrome/viewport/canvas/CanvasScopeBand.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/CanvasZoom.d.ts +41 -0
- package/dist/chrome/viewport/canvas/CanvasZoom.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/ComponentCanvasViewport.d.ts +6 -0
- package/dist/chrome/viewport/canvas/ComponentCanvasViewport.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/DeviceScrollbar.d.ts +11 -0
- package/dist/chrome/viewport/canvas/DeviceScrollbar.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/DeviceSelector.d.ts +6 -0
- package/dist/chrome/viewport/canvas/DeviceSelector.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/SideBySideFrame.d.ts +20 -0
- package/dist/chrome/viewport/canvas/SideBySideFrame.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/ViewportMeta.d.ts +2 -0
- package/dist/chrome/viewport/canvas/ViewportMeta.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/ViewportScopeCoachmark.d.ts +2 -0
- package/dist/chrome/viewport/canvas/ViewportScopeCoachmark.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/deviceFrames.d.ts +50 -0
- package/dist/chrome/viewport/canvas/deviceFrames.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/editorCanvasLayout.d.ts +10 -0
- package/dist/chrome/viewport/canvas/editorCanvasLayout.d.ts.map +1 -0
- package/dist/chrome/viewport/canvas/useCanvasModeBody.d.ts +15 -0
- package/dist/chrome/viewport/canvas/useCanvasModeBody.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/components/DesignSystemAccordion.d.ts +13 -0
- package/dist/chrome/viewport/design-system/components/DesignSystemAccordion.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/components/StylesTab.d.ts +7 -0
- package/dist/chrome/viewport/design-system/components/StylesTab.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/defaults.d.ts +3 -0
- package/dist/chrome/viewport/design-system/hooks/defaults.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/types.d.ts +51 -0
- package/dist/chrome/viewport/design-system/hooks/types.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/useDesignSystem.d.ts +55 -0
- package/dist/chrome/viewport/design-system/hooks/useDesignSystem.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/useDesignSystemUI.d.ts +7 -0
- package/dist/chrome/viewport/design-system/hooks/useDesignSystemUI.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/usePaletteState.d.ts +27 -0
- package/dist/chrome/viewport/design-system/hooks/usePaletteState.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/useStyleGuideState.d.ts +15 -0
- package/dist/chrome/viewport/design-system/hooks/useStyleGuideState.d.ts.map +1 -0
- package/dist/chrome/viewport/design-system/hooks/useTypographyState.d.ts +12 -0
- package/dist/chrome/viewport/design-system/hooks/useTypographyState.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/useInsertFlyout.d.ts +52 -0
- package/dist/chrome/viewport/hooks/useInsertFlyout.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/useOpenNodeContextMenu.d.ts +9 -0
- package/dist/chrome/viewport/hooks/useOpenNodeContextMenu.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/usePageCreation.d.ts +27 -0
- package/dist/chrome/viewport/hooks/usePageCreation.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/useRect.d.ts +24 -0
- package/dist/chrome/viewport/hooks/useRect.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/useRegisterSelectionContext.d.ts +2 -0
- package/dist/chrome/viewport/hooks/useRegisterSelectionContext.d.ts.map +1 -0
- package/dist/chrome/viewport/hooks/useViewportClickDeselect.d.ts +8 -0
- package/dist/chrome/viewport/hooks/useViewportClickDeselect.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/ComponentSettings.d.ts +2 -0
- package/dist/chrome/viewport/modals/ComponentSettings.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/ModifiersModal.d.ts +7 -0
- package/dist/chrome/viewport/modals/ModifiersModal.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/SectionsSettings.d.ts +4 -0
- package/dist/chrome/viewport/modals/SectionsSettings.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/ThemeSettingsPanel.d.ts +10 -0
- package/dist/chrome/viewport/modals/ThemeSettingsPanel.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/AccessTab.d.ts +21 -0
- package/dist/chrome/viewport/modals/page-settings/AccessTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/AdvancedTab.d.ts +18 -0
- package/dist/chrome/viewport/modals/page-settings/AdvancedTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/BasicTab.d.ts +21 -0
- package/dist/chrome/viewport/modals/page-settings/BasicTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/HeadCodeTab.d.ts +7 -0
- package/dist/chrome/viewport/modals/page-settings/HeadCodeTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/OpenGraphTab.d.ts +15 -0
- package/dist/chrome/viewport/modals/page-settings/OpenGraphTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/PageSettingsModal.d.ts +4 -0
- package/dist/chrome/viewport/modals/page-settings/PageSettingsModal.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/SEOTab.d.ts +14 -0
- package/dist/chrome/viewport/modals/page-settings/SEOTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/SchemaTab.d.ts +9 -0
- package/dist/chrome/viewport/modals/page-settings/SchemaTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/ThemeOverridesTab.d.ts +12 -0
- package/dist/chrome/viewport/modals/page-settings/ThemeOverridesTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/TwitterCardTab.d.ts +13 -0
- package/dist/chrome/viewport/modals/page-settings/TwitterCardTab.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/draft.d.ts +7 -0
- package/dist/chrome/viewport/modals/page-settings/draft.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/extraTabs.d.ts +6 -0
- package/dist/chrome/viewport/modals/page-settings/extraTabs.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/fields.d.ts +37 -0
- package/dist/chrome/viewport/modals/page-settings/fields.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/schema/RawJsonEntry.d.ts +8 -0
- package/dist/chrome/viewport/modals/page-settings/schema/RawJsonEntry.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaEntryCard.d.ts +11 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaEntryCard.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaEntryForm.d.ts +9 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaEntryForm.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaFieldRenderer.d.ts +12 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaFieldRenderer.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaTypePicker.d.ts +11 -0
- package/dist/chrome/viewport/modals/page-settings/schema/SchemaTypePicker.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/types.d.ts +50 -0
- package/dist/chrome/viewport/modals/page-settings/types.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/useBuiltInTabs.d.ts +23 -0
- package/dist/chrome/viewport/modals/page-settings/useBuiltInTabs.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/page-settings/usePageSettingsPersistence.d.ts +26 -0
- package/dist/chrome/viewport/modals/page-settings/usePageSettingsPersistence.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/CategoryDetailView.d.ts +17 -0
- package/dist/chrome/viewport/modals/sections-settings/CategoryDetailView.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/CustomSectionsGrid.d.ts +4 -0
- package/dist/chrome/viewport/modals/sections-settings/CustomSectionsGrid.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/MyBlocksCategoryView.d.ts +17 -0
- package/dist/chrome/viewport/modals/sections-settings/MyBlocksCategoryView.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/SearchResultsView.d.ts +5 -0
- package/dist/chrome/viewport/modals/sections-settings/SearchResultsView.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/blockHelpers.d.ts +17 -0
- package/dist/chrome/viewport/modals/sections-settings/blockHelpers.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/categoryWireframes.d.ts +3 -0
- package/dist/chrome/viewport/modals/sections-settings/categoryWireframes.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/sections-settings/components.d.ts +32 -0
- package/dist/chrome/viewport/modals/sections-settings/components.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/SettingsShell.d.ts +28 -0
- package/dist/chrome/viewport/modals/settings/SettingsShell.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/SettingsTabChrome.d.ts +52 -0
- package/dist/chrome/viewport/modals/settings/SettingsTabChrome.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/registry.d.ts +4 -0
- package/dist/chrome/viewport/modals/settings/registry.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/settingsControlClasses.d.ts +11 -0
- package/dist/chrome/viewport/modals/settings/settingsControlClasses.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/types.d.ts +27 -0
- package/dist/chrome/viewport/modals/settings/types.d.ts.map +1 -0
- package/dist/chrome/viewport/modals/settings/useSettingsController.d.ts +22 -0
- package/dist/chrome/viewport/modals/settings/useSettingsController.d.ts.map +1 -0
- package/dist/chrome/viewport/nav/EditorMenuNav.d.ts +23 -0
- package/dist/chrome/viewport/nav/EditorMenuNav.d.ts.map +1 -0
- package/dist/chrome/viewport/nav/EditorNavigation.d.ts +9 -0
- package/dist/chrome/viewport/nav/EditorNavigation.d.ts.map +1 -0
- package/dist/chrome/viewport/nav/ImportExportPanel.d.ts +5 -0
- package/dist/chrome/viewport/nav/ImportExportPanel.d.ts.map +1 -0
- package/dist/chrome/viewport/nav/NodeBreadcrumb.d.ts +2 -0
- package/dist/chrome/viewport/nav/NodeBreadcrumb.d.ts.map +1 -0
- package/dist/chrome/viewport/nav/ToolboxTabs.d.ts +2 -0
- package/dist/chrome/viewport/nav/ToolboxTabs.d.ts.map +1 -0
- package/dist/chrome/viewport/pickers/ComponentSelector.d.ts +6 -0
- package/dist/chrome/viewport/pickers/ComponentSelector.d.ts.map +1 -0
- package/dist/chrome/viewport/pickers/ContextMenuInsertComponentFlyout.d.ts +8 -0
- package/dist/chrome/viewport/pickers/ContextMenuInsertComponentFlyout.d.ts.map +1 -0
- package/dist/chrome/viewport/pickers/EditorListPicker.d.ts +30 -0
- package/dist/chrome/viewport/pickers/EditorListPicker.d.ts.map +1 -0
- package/dist/chrome/viewport/pickers/PageSelector.d.ts +18 -0
- package/dist/chrome/viewport/pickers/PageSelector.d.ts.map +1 -0
- package/dist/chrome/viewport/pickers/StandaloneImagePicker.d.ts +9 -0
- package/dist/chrome/viewport/pickers/StandaloneImagePicker.d.ts.map +1 -0
- package/dist/chrome/viewport/state/api.d.ts +10 -0
- package/dist/chrome/viewport/state/api.d.ts.map +1 -0
- package/dist/chrome/viewport/state/atoms.d.ts +753 -0
- package/dist/chrome/viewport/state/atoms.d.ts.map +1 -0
- package/dist/chrome/viewport/state/buildToolboxInsertDescriptors.d.ts +31 -0
- package/dist/chrome/viewport/state/buildToolboxInsertDescriptors.d.ts.map +1 -0
- package/dist/chrome/viewport/state/duplicateNodeById.d.ts +10 -0
- package/dist/chrome/viewport/state/duplicateNodeById.d.ts.map +1 -0
- package/dist/chrome/viewport/state/nodeOps.d.ts +20 -0
- package/dist/chrome/viewport/state/nodeOps.d.ts.map +1 -0
- package/dist/chrome/viewport/state/propSystem.d.ts +26 -0
- package/dist/chrome/viewport/state/propSystem.d.ts.map +1 -0
- package/dist/chrome/viewport/state/viewportExports.d.ts +13 -0
- package/dist/chrome/viewport/state/viewportExports.d.ts.map +1 -0
- package/dist/chrome/viewport/toolbox/DragAdjust.d.ts +16 -0
- package/dist/chrome/viewport/toolbox/DragAdjust.d.ts.map +1 -0
- package/dist/chrome/viewport/toolbox/customComponents.d.ts +13 -0
- package/dist/chrome/viewport/toolbox/customComponents.d.ts.map +1 -0
- package/dist/chrome/viewport/toolbox/resolveToolboxIcon.d.ts +8 -0
- package/dist/chrome/viewport/toolbox/resolveToolboxIcon.d.ts.map +1 -0
- package/dist/chrome/viewport/toolbox/savedComponentsToolbox.d.ts +6 -0
- package/dist/chrome/viewport/toolbox/savedComponentsToolbox.d.ts.map +1 -0
- package/dist/chrome/viewport/toolbox/toolboxUtils.d.ts +93 -0
- package/dist/chrome/viewport/toolbox/toolboxUtils.d.ts.map +1 -0
- package/dist/chrome/viewport/viewportDevicePresets.d.ts +174 -0
- package/dist/chrome/viewport/viewportDevicePresets.d.ts.map +1 -0
- package/dist/chunks/ActionEditorPanel-B0i89bmE.js +88 -0
- package/dist/chunks/ActionInput-BAnMJFmV.js +925 -0
- package/dist/chunks/ActionsAddPicker-B4lWISlo.js +48 -0
- package/dist/chunks/AnimationEditorPanel-10sy_Gu9.js +25 -0
- package/dist/chunks/AnimationsInput-BwIg9RRT.js +292 -0
- package/dist/chunks/AnimationsInputPopover-D_mgH0Fo.js +70 -0
- package/dist/chunks/AnimationsPanel-C8KM4qzh.js +24 -0
- package/dist/chunks/Audio.presets-Dfy9hkkl.js +13 -0
- package/dist/chunks/Audio.render-4Z1EBVY9.js +59 -0
- package/dist/chunks/Audio.render-DVRzXbAU.js +22 -0
- package/dist/chunks/AudioMainTab-CmqL869Q.js +69 -0
- package/dist/chunks/BackdropEditorPanel-Cy-YiNlb.js +25 -0
- package/dist/chunks/BackgroundImageInputPopover-BwfeSxko.js +93 -0
- package/dist/chunks/BackgroundImagePanel-BrzYJY3H.js +98 -0
- package/dist/chunks/BackgroundMainTab-CHAIrTjf.js +9 -0
- package/dist/chunks/BundleRowPanel-Czf-Ge8c.js +31 -0
- package/dist/chunks/Button.modifiers-CduEfqha.js +213 -0
- package/dist/chunks/Button.presets-zjEMODS2.js +15 -0
- package/dist/chunks/ButtonMainTab-xw9YbePR.js +42 -0
- package/dist/chunks/CSSEditorInput-CboK8r0F.js +73 -0
- package/dist/chunks/ClassNameInput-F0Elm8ug.js +717 -0
- package/dist/chunks/CodeEditor-DBNpuBny.js +33370 -0
- package/dist/chunks/ColorPanel-CxnVRl9s.js +186 -0
- package/dist/chunks/ColorPickerDialog-DPpzgy4-.js +269 -0
- package/dist/chunks/ColorPickerSidebarDialog-Ba051knL.js +231 -0
- package/dist/chunks/ComponentImportExportPanel-C35BHYgs.js +160 -0
- package/dist/chunks/ComponentImportExportPopover-BQXabD4P.js +26 -0
- package/dist/chunks/ConditionEditorPanel-yU2Qc_dQ.js +41 -0
- package/dist/chunks/ConditionsAddPicker-CR0Csz7K.js +51 -0
- package/dist/chunks/ConditionsInput-D73bEU2r.js +471 -0
- package/dist/chunks/Container.modifiers-CRoX1vnb.js +186 -0
- package/dist/chunks/Container.presets-cHwcdPTn.js +2387 -0
- package/dist/chunks/ContainerMainTab-DRQEISlP.js +92 -0
- package/dist/chunks/ContainerOverflowSectionPanel-vD4aCNtT.js +119 -0
- package/dist/chunks/ContainerOverflowSectionPopover-BU5rAXVC.js +24 -0
- package/dist/chunks/ContainerPaddingOverlay-d02HWvB3.js +334 -0
- package/dist/chunks/ContainerScrollEffectSection-DKYCjFgT.js +122 -0
- package/dist/chunks/ContainerStateSection-Dw52EGuB.js +476 -0
- package/dist/chunks/ConversionFields-DeGceLBu.js +135 -0
- package/dist/chunks/Data.render-DME-AYqT.js +208 -0
- package/dist/chunks/Data.render-numzlO1T.js +10 -0
- package/dist/chunks/DataAttributesPanel-Dy4s_EP4.js +124 -0
- package/dist/chunks/DataMainTab-2bnBi8kg.js +22 -0
- package/dist/chunks/DataSourceSectionSlot-BlFhGBSs.js +10 -0
- package/dist/chunks/DesignSystemPalette-BfIADDMo.js +425 -0
- package/dist/chunks/EditorEmptyLeafHintView-CLhj72YC.js +78 -0
- package/dist/chunks/EditorEmptyLeafHintView-aDyijk_Q.js +78 -0
- package/dist/chunks/EffectRowInputPopover-CpHA1i8S.js +53 -0
- package/dist/chunks/EffectsClassInput-QHrc1Zo2.js +315 -0
- package/dist/chunks/Embed.presets-5gAGeLmY.js +77 -0
- package/dist/chunks/Embed.render-5iM9e_vo.js +17 -0
- package/dist/chunks/Embed.render-C-MQatZM.js +160 -0
- package/dist/chunks/EmbedMainTab-PhaMBfhi.js +224 -0
- package/dist/chunks/FilterEditorPanel-BQS4dAO0.js +25 -0
- package/dist/chunks/FlexDirectionInput-FDBAupz-.js +78 -0
- package/dist/chunks/FontFamilyDialog-C_QelNY-.js +244 -0
- package/dist/chunks/FontFamilyInput-CTGfFHQR.js +110 -0
- package/dist/chunks/FooterMainTab-BcYz8WAd.js +9 -0
- package/dist/chunks/Form.presets-CAttzFdR.js +124 -0
- package/dist/chunks/Form.render-BHU2opdL.js +85 -0
- package/dist/chunks/Form.render-vW9SGjzD.js +54 -0
- package/dist/chunks/FormElement.modifiers-bDzb1IcJ.js +90 -0
- package/dist/chunks/FormElement.presets-BWaYDNHP.js +80 -0
- package/dist/chunks/FormElement.render-C2pe8cfJ.js +36 -0
- package/dist/chunks/FormElement.render-C7v0YFFO.js +184 -0
- package/dist/chunks/FormElementMainTab-jcFSO2Sz.js +467 -0
- package/dist/chunks/FormMainTab-CzinfV3h.js +239 -0
- package/dist/chunks/GradientInputPopover-BwY7NsQD.js +102 -0
- package/dist/chunks/GradientPanel-BE3kS5F_.js +192 -0
- package/dist/chunks/HTMLCodeInput-Dcpq9cvV.js +69 -0
- package/dist/chunks/HTMLCodeInput-QxUeBeFD.js +69 -0
- package/dist/chunks/HandlerEditorPanel-BAh0dcK5.js +92 -0
- package/dist/chunks/HandlersAddPicker-7PX37KeU.js +98 -0
- package/dist/chunks/HandlersInput-DPRxKTZ8.js +130 -0
- package/dist/chunks/HeaderMainTab-70qMVEse.js +9 -0
- package/dist/chunks/Icon.presets-L3cvVaul.js +25 -0
- package/dist/chunks/IconMainTab-DoiCF-Hs.js +24 -0
- package/dist/chunks/IconPickerPanel-BXCr_9S2.js +666 -0
- package/dist/chunks/Image.modifiers-DvGhsu_E.js +147 -0
- package/dist/chunks/Image.presets-CzQlMYAL.js +15 -0
- package/dist/chunks/ImageMainTab-CQY5c-b4.js +63 -0
- package/dist/chunks/ImageSettingsPanel-CT5fi4i-.js +232 -0
- package/dist/chunks/LayersDialog-Peap9kGv.js +29 -0
- package/dist/chunks/LayoutPresetPanel-Cie8RE_5.js +80 -0
- package/dist/chunks/LayoutPresetSlot-DYMrcaLx.js +16 -0
- package/dist/chunks/Link.modifiers-t0fAoO_d.js +76 -0
- package/dist/chunks/Link.presets-Q5HuImJf.js +28 -0
- package/dist/chunks/LinkMainTab-p7uaP39b.js +12 -0
- package/dist/chunks/Map.presets-B2kRlC9t.js +35 -0
- package/dist/chunks/Map.render-CeQLi9sD.js +83 -0
- package/dist/chunks/Map.render-cPRevWqC.js +82 -0
- package/dist/chunks/MapLeaflet-Bk16z6pC.js +6588 -0
- package/dist/chunks/MapLeaflet-C50pNBXE.js +6588 -0
- package/dist/chunks/MapMainTab-J_5EKOpa.js +163 -0
- package/dist/chunks/MapPoint.render-Bhgst-aB.js +35 -0
- package/dist/chunks/MapPoint.render-BrPX3Atl.js +16 -0
- package/dist/chunks/MapPointMainTab-BSQAyDuZ.js +59 -0
- package/dist/chunks/ModifierChipList-BSNhhejh.js +32 -0
- package/dist/chunks/ModifiersAddPicker-DXSSdWpx.js +71 -0
- package/dist/chunks/ModifiersModal-BnWIL5Y2.js +329 -0
- package/dist/chunks/ModifiersPickerPanel-C9YlQggG.js +241 -0
- package/dist/chunks/NodeAiContextInputPopover-Brcd2Cr8.js +65 -0
- package/dist/chunks/NodeAiContextPanel-BZSjQInG.js +79 -0
- package/dist/chunks/NumberSettingsPanel-Dx1tHSak.js +55 -0
- package/dist/chunks/PageSettingsModal-BAyIXQV3.js +36495 -0
- package/dist/chunks/PageSettingsModal-DzskODMD.js +2673 -0
- package/dist/chunks/PatternDialog-Cg6ogjGC.js +371 -0
- package/dist/chunks/PatternInputPopover-D3Nuin-m.js +99 -0
- package/dist/chunks/PatternPanel-Cp7uNwee.js +349 -0
- package/dist/chunks/PermissionsSection-BtFgUGY6.js +82 -0
- package/dist/chunks/PresetAddChildList-OaT25XNr.js +34 -0
- package/dist/chunks/PropertiesInput-DdycjHj1.js +124 -0
- package/dist/chunks/PropertiesPanel-DOxkd-Va.js +75 -0
- package/dist/chunks/SaveModifierPanel-Dlst8-Dg.js +129 -0
- package/dist/chunks/ScrollEffectEditorPanel-CN0l6WB3.js +25 -0
- package/dist/chunks/ScrollTrigger-_OOxKH1-.js +1096 -0
- package/dist/chunks/StateBindingEditorPanel-k7cjk6Te.js +99 -0
- package/dist/chunks/StateBindingsAddPicker-BU2wA3Cb.js +88 -0
- package/dist/chunks/StateBindingsInput-f7sDvcME.js +101 -0
- package/dist/chunks/Text.modifiers-2qwU02ak.js +127 -0
- package/dist/chunks/Text.presets-w5j-y10t.js +43 -0
- package/dist/chunks/TextEditor-CWc-QZ4V.js +41641 -0
- package/dist/chunks/TextEditor-x6YeTb2I.js +20936 -0
- package/dist/chunks/TextMainTab-BlHWyauy.js +160 -0
- package/dist/chunks/TextStyleEditorPanel-CPf4Vsr9.js +377 -0
- package/dist/chunks/TextStylePickerPanel-D_-pqkbw.js +139 -0
- package/dist/chunks/TextareaSettingsPanel-t6wbVGMH.js +49 -0
- package/dist/chunks/TooltipDialog-CXA1xwF9.js +52 -0
- package/dist/chunks/TransformEditorPanel-D1n4DLb8.js +25 -0
- package/dist/chunks/TransitionEditorPanel-TBG9Re7r.js +25 -0
- package/dist/chunks/TypographyPresetInput-Cj4kRkkz.js +296 -0
- package/dist/chunks/ValidationPanel-DQBVeNbr.js +55 -0
- package/dist/chunks/Video.presets-meQg3IRc.js +14 -0
- package/dist/chunks/Video.render-CO2KnPq3.js +21 -0
- package/dist/chunks/Video.render-hzXLYbfK.js +178 -0
- package/dist/chunks/VideoMainTab-Cy2iNn77.js +172 -0
- package/dist/chunks/YouTube.esm-8QEFjc__.js +744 -0
- package/dist/chunks/YouTube.esm-lJySjQYa.js +744 -0
- package/dist/chunks/babel-BiNGUQjF.js +7217 -0
- package/dist/chunks/estree-DHtz7lo4.js +4528 -0
- package/dist/chunks/googleFonts-BYQpUGJj.js +323 -0
- package/dist/chunks/helpers-Bnp6O4wY.js +18 -0
- package/dist/chunks/html-asrO2y6j.js +2893 -0
- package/dist/chunks/index-BXQjySgQ.js +6264 -0
- package/dist/chunks/index-CjiZ2FIa.js +93 -0
- package/dist/chunks/index-CqghQcGP.js +2041 -0
- package/dist/chunks/index-bwsxNJ-0.js +339 -0
- package/dist/chunks/index-lNS44FHV.js +71639 -0
- package/dist/chunks/index.esm-D_S2hDar.js +644 -0
- package/dist/chunks/index.module-C7TzJyO2.js +46 -0
- package/dist/chunks/loadBuiltinCatalogs-Dj5D0pXN.js +25 -0
- package/dist/chunks/loremIpsum-BCDkCRY8.js +102 -0
- package/dist/chunks/overlayZIndex-Ce-Yb9P5.js +3332 -0
- package/dist/chunks/postcss-Dx69sUOI.js +4741 -0
- package/dist/chunks/standalone-uA6N_bR1.js +2458 -0
- package/dist/chunks/useLayoutPreset-C1i4ig-r.js +526 -0
- package/dist/chunks/useModifiers-BUaftv28.js +177 -0
- package/dist/chunks/useMounted-rNZRezIb.js +10 -0
- package/dist/chunks/usePopoverAutoOpen-BJbJARN-.js +24 -0
- package/dist/chunks/viewer-Dg-Nplli.js +10741 -0
- package/dist/compile-css/api.d.ts +69 -0
- package/dist/compile-css/api.d.ts.map +1 -0
- package/dist/compile-css/assets/animationCss.d.ts +7 -0
- package/dist/compile-css/assets/animationCss.d.ts.map +1 -0
- package/dist/compile-css/assets/spatialCss.d.ts +2 -0
- package/dist/compile-css/assets/spatialCss.d.ts.map +1 -0
- package/dist/compile-css/assets/themeCss.d.ts +2 -0
- package/dist/compile-css/assets/themeCss.d.ts.map +1 -0
- package/dist/compile-css/candidates.d.ts +2 -0
- package/dist/compile-css/candidates.d.ts.map +1 -0
- package/dist/compile-css/compiler.d.ts +15 -0
- package/dist/compile-css/compiler.d.ts.map +1 -0
- package/dist/compile-css/daisyui/classMap.d.ts +2 -0
- package/dist/compile-css/daisyui/classMap.d.ts.map +1 -0
- package/dist/compile-css/daisyui/loader.d.ts +4 -0
- package/dist/compile-css/daisyui/loader.d.ts.map +1 -0
- package/dist/compile-css/daisyui/purgeRules.d.ts +14 -0
- package/dist/compile-css/daisyui/purgeRules.d.ts.map +1 -0
- package/dist/compile-css/index.d.ts +28 -0
- package/dist/compile-css/index.d.ts.map +1 -0
- package/dist/compile-css/transforms/minify.d.ts +2 -0
- package/dist/compile-css/transforms/minify.d.ts.map +1 -0
- package/dist/compile-css/transforms/stripKeyframes.d.ts +10 -0
- package/dist/compile-css/transforms/stripKeyframes.d.ts.map +1 -0
- package/dist/compile-css/transforms/unwrapLayers.d.ts +2 -0
- package/dist/compile-css/transforms/unwrapLayers.d.ts.map +1 -0
- package/dist/components/Audio/Audio.body.d.ts +12 -0
- package/dist/components/Audio/Audio.body.d.ts.map +1 -0
- package/dist/components/Audio/Audio.craft.d.ts +4 -0
- package/dist/components/Audio/Audio.craft.d.ts.map +1 -0
- package/dist/components/Audio/Audio.d.ts +9 -0
- package/dist/components/Audio/Audio.d.ts.map +1 -0
- package/dist/components/Audio/Audio.presets.d.ts +3 -0
- package/dist/components/Audio/Audio.presets.d.ts.map +1 -0
- package/dist/components/Audio/Audio.render.d.ts +3 -0
- package/dist/components/Audio/Audio.render.d.ts.map +1 -0
- package/dist/components/Audio/Audio.toHTML.d.ts +3 -0
- package/dist/components/Audio/Audio.toHTML.d.ts.map +1 -0
- package/dist/components/Automatic/Automatic.craft.d.ts +2 -0
- package/dist/components/Automatic/Automatic.craft.d.ts.map +1 -0
- package/dist/components/Background/Background.body.d.ts +46 -0
- package/dist/components/Background/Background.body.d.ts.map +1 -0
- package/dist/components/Background/Background.craft.d.ts +4 -0
- package/dist/components/Background/Background.craft.d.ts.map +1 -0
- package/dist/components/Background/Background.d.ts +66 -0
- package/dist/components/Background/Background.d.ts.map +1 -0
- package/dist/components/Background/Background.render.d.ts +6 -0
- package/dist/components/Background/Background.render.d.ts.map +1 -0
- package/dist/components/Background/Background.toHTML.d.ts +3 -0
- package/dist/components/Background/Background.toHTML.d.ts.map +1 -0
- package/dist/components/Background/headInjection.d.ts +7 -0
- package/dist/components/Background/headInjection.d.ts.map +1 -0
- package/dist/components/Background/useBackgroundEffects.d.ts +12 -0
- package/dist/components/Background/useBackgroundEffects.d.ts.map +1 -0
- package/dist/components/Button/Button.body.d.ts +20 -0
- package/dist/components/Button/Button.body.d.ts.map +1 -0
- package/dist/components/Button/Button.craft.d.ts +4 -0
- package/dist/components/Button/Button.craft.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.modifiers.d.ts +3 -0
- package/dist/components/Button/Button.modifiers.d.ts.map +1 -0
- package/dist/components/Button/Button.presets.d.ts +3 -0
- package/dist/components/Button/Button.presets.d.ts.map +1 -0
- package/dist/components/Button/Button.render.d.ts +3 -0
- package/dist/components/Button/Button.render.d.ts.map +1 -0
- package/dist/components/Button/Button.toHTML.d.ts +3 -0
- package/dist/components/Button/Button.toHTML.d.ts.map +1 -0
- package/dist/components/Container/Container.body.d.ts +95 -0
- package/dist/components/Container/Container.body.d.ts.map +1 -0
- package/dist/components/Container/Container.craft.d.ts +4 -0
- package/dist/components/Container/Container.craft.d.ts.map +1 -0
- package/dist/components/Container/Container.d.ts +17 -0
- package/dist/components/Container/Container.d.ts.map +1 -0
- package/dist/components/Container/Container.modifiers.d.ts +3 -0
- package/dist/components/Container/Container.modifiers.d.ts.map +1 -0
- package/dist/components/Container/Container.presets.d.ts +3 -0
- package/dist/components/Container/Container.presets.d.ts.map +1 -0
- package/dist/components/Container/Container.render.d.ts +4 -0
- package/dist/components/Container/Container.render.d.ts.map +1 -0
- package/dist/components/Container/Container.toHTML.d.ts +3 -0
- package/dist/components/Container/Container.toHTML.d.ts.map +1 -0
- package/dist/components/Container/Container.viewerBody.d.ts +5 -0
- package/dist/components/Container/Container.viewerBody.d.ts.map +1 -0
- package/dist/components/Container/HorizontalOverflowThumbOverlay.d.ts +10 -0
- package/dist/components/Container/HorizontalOverflowThumbOverlay.d.ts.map +1 -0
- package/dist/components/Container/applyContainerOverflowUX.d.ts +22 -0
- package/dist/components/Container/applyContainerOverflowUX.d.ts.map +1 -0
- package/dist/components/Container/containerPropHelpers.d.ts +53 -0
- package/dist/components/Container/containerPropHelpers.d.ts.map +1 -0
- package/dist/components/Container/presets/banners.d.ts +2 -0
- package/dist/components/Container/presets/banners.d.ts.map +1 -0
- package/dist/components/Container/presets/buttonGroup.d.ts +14 -0
- package/dist/components/Container/presets/buttonGroup.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/base.d.ts +3 -0
- package/dist/components/Container/presets/catalog/base.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/buttons.d.ts +3 -0
- package/dist/components/Container/presets/catalog/buttons.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/components.d.ts +3 -0
- package/dist/components/Container/presets/catalog/components.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/dividers.d.ts +3 -0
- package/dist/components/Container/presets/catalog/dividers.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/grids.d.ts +3 -0
- package/dist/components/Container/presets/catalog/grids.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/images.d.ts +3 -0
- package/dist/components/Container/presets/catalog/images.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/index.d.ts +12 -0
- package/dist/components/Container/presets/catalog/index.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/lists.d.ts +3 -0
- package/dist/components/Container/presets/catalog/lists.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/navigation.d.ts +3 -0
- package/dist/components/Container/presets/catalog/navigation.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/overlays.d.ts +3 -0
- package/dist/components/Container/presets/catalog/overlays.d.ts.map +1 -0
- package/dist/components/Container/presets/catalog/tables.d.ts +3 -0
- package/dist/components/Container/presets/catalog/tables.d.ts.map +1 -0
- package/dist/components/Container/presets/gallery.d.ts +6 -0
- package/dist/components/Container/presets/gallery.d.ts.map +1 -0
- package/dist/components/Container/presets/lists.d.ts +12 -0
- package/dist/components/Container/presets/lists.d.ts.map +1 -0
- package/dist/components/Container/presets/navigation/MobileMenu.d.ts +2 -0
- package/dist/components/Container/presets/navigation/MobileMenu.d.ts.map +1 -0
- package/dist/components/Container/presets/navigation/Navbar.d.ts +2 -0
- package/dist/components/Container/presets/navigation/Navbar.d.ts.map +1 -0
- package/dist/components/Container/presets/navigation/NavbarMega.d.ts +2 -0
- package/dist/components/Container/presets/navigation/NavbarMega.d.ts.map +1 -0
- package/dist/components/Container/presets/overlays.d.ts +27 -0
- package/dist/components/Container/presets/overlays.d.ts.map +1 -0
- package/dist/components/Container/presets/structure.d.ts +4 -0
- package/dist/components/Container/presets/structure.d.ts.map +1 -0
- package/dist/components/Container/useContainerScrollEffect.d.ts +23 -0
- package/dist/components/Container/useContainerScrollEffect.d.ts.map +1 -0
- package/dist/components/Data/Data.body.d.ts +7 -0
- package/dist/components/Data/Data.body.d.ts.map +1 -0
- package/dist/components/Data/Data.craft.d.ts +2 -0
- package/dist/components/Data/Data.craft.d.ts.map +1 -0
- package/dist/components/Data/Data.d.ts +13 -0
- package/dist/components/Data/Data.d.ts.map +1 -0
- package/dist/components/Data/Data.render.d.ts +3 -0
- package/dist/components/Data/Data.render.d.ts.map +1 -0
- package/dist/components/Data/Data.toHTML.d.ts +3 -0
- package/dist/components/Data/Data.toHTML.d.ts.map +1 -0
- package/dist/components/Embed/Embed.body.d.ts +43 -0
- package/dist/components/Embed/Embed.body.d.ts.map +1 -0
- package/dist/components/Embed/Embed.craft.d.ts +4 -0
- package/dist/components/Embed/Embed.craft.d.ts.map +1 -0
- package/dist/components/Embed/Embed.d.ts +13 -0
- package/dist/components/Embed/Embed.d.ts.map +1 -0
- package/dist/components/Embed/Embed.presets.d.ts +3 -0
- package/dist/components/Embed/Embed.presets.d.ts.map +1 -0
- package/dist/components/Embed/Embed.render.d.ts +3 -0
- package/dist/components/Embed/Embed.render.d.ts.map +1 -0
- package/dist/components/Embed/Embed.toHTML.d.ts +3 -0
- package/dist/components/Embed/Embed.toHTML.d.ts.map +1 -0
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.render.d.ts +3 -0
- package/dist/components/Footer/Footer.render.d.ts.map +1 -0
- package/dist/components/Form/Form.craft.d.ts +4 -0
- package/dist/components/Form/Form.craft.d.ts.map +1 -0
- package/dist/components/Form/Form.d.ts +11 -0
- package/dist/components/Form/Form.d.ts.map +1 -0
- package/dist/components/Form/Form.presets.d.ts +3 -0
- package/dist/components/Form/Form.presets.d.ts.map +1 -0
- package/dist/components/Form/Form.render.d.ts +10 -0
- package/dist/components/Form/Form.render.d.ts.map +1 -0
- package/dist/components/Form/Form.toHTML.d.ts +3 -0
- package/dist/components/Form/Form.toHTML.d.ts.map +1 -0
- package/dist/components/Form/submitFormProduction.d.ts +17 -0
- package/dist/components/Form/submitFormProduction.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.body.d.ts +55 -0
- package/dist/components/FormElement/FormElement.body.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.craft.d.ts +4 -0
- package/dist/components/FormElement/FormElement.craft.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.d.ts +22 -0
- package/dist/components/FormElement/FormElement.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.modifiers.d.ts +3 -0
- package/dist/components/FormElement/FormElement.modifiers.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.presets.d.ts +3 -0
- package/dist/components/FormElement/FormElement.presets.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.render.d.ts +3 -0
- package/dist/components/FormElement/FormElement.render.d.ts.map +1 -0
- package/dist/components/FormElement/FormElement.toHTML.d.ts +3 -0
- package/dist/components/FormElement/FormElement.toHTML.d.ts.map +1 -0
- package/dist/components/Header/Header.d.ts +3 -0
- package/dist/components/Header/Header.d.ts.map +1 -0
- package/dist/components/Header/Header.render.d.ts +3 -0
- package/dist/components/Header/Header.render.d.ts.map +1 -0
- package/dist/components/Icon/Icon.body.d.ts +10 -0
- package/dist/components/Icon/Icon.body.d.ts.map +1 -0
- package/dist/components/Icon/Icon.craft.d.ts +4 -0
- package/dist/components/Icon/Icon.craft.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +5 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/Icon.presets.d.ts +3 -0
- package/dist/components/Icon/Icon.presets.d.ts.map +1 -0
- package/dist/components/Icon/Icon.render.d.ts +3 -0
- package/dist/components/Icon/Icon.render.d.ts.map +1 -0
- package/dist/components/Icon/Icon.toHTML.d.ts +3 -0
- package/dist/components/Icon/Icon.toHTML.d.ts.map +1 -0
- package/dist/components/Image/Image.body.d.ts +31 -0
- package/dist/components/Image/Image.body.d.ts.map +1 -0
- package/dist/components/Image/Image.craft.d.ts +4 -0
- package/dist/components/Image/Image.craft.d.ts.map +1 -0
- package/dist/components/Image/Image.d.ts +15 -0
- package/dist/components/Image/Image.d.ts.map +1 -0
- package/dist/components/Image/Image.modifiers.d.ts +3 -0
- package/dist/components/Image/Image.modifiers.d.ts.map +1 -0
- package/dist/components/Image/Image.presets.d.ts +3 -0
- package/dist/components/Image/Image.presets.d.ts.map +1 -0
- package/dist/components/Image/Image.render.d.ts +5 -0
- package/dist/components/Image/Image.render.d.ts.map +1 -0
- package/dist/components/Image/Image.toHTML.d.ts +3 -0
- package/dist/components/Image/Image.toHTML.d.ts.map +1 -0
- package/dist/components/Image/imageProps.d.ts +21 -0
- package/dist/components/Image/imageProps.d.ts.map +1 -0
- package/dist/components/Link/Link.body.d.ts +17 -0
- package/dist/components/Link/Link.body.d.ts.map +1 -0
- package/dist/components/Link/Link.craft.d.ts +4 -0
- package/dist/components/Link/Link.craft.d.ts.map +1 -0
- package/dist/components/Link/Link.d.ts +5 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/Link.modifiers.d.ts +3 -0
- package/dist/components/Link/Link.modifiers.d.ts.map +1 -0
- package/dist/components/Link/Link.presets.d.ts +3 -0
- package/dist/components/Link/Link.presets.d.ts.map +1 -0
- package/dist/components/Link/Link.render.d.ts +3 -0
- package/dist/components/Link/Link.render.d.ts.map +1 -0
- package/dist/components/Link/Link.toHTML.d.ts +3 -0
- package/dist/components/Link/Link.toHTML.d.ts.map +1 -0
- package/dist/components/Map/Map.body.d.ts +13 -0
- package/dist/components/Map/Map.body.d.ts.map +1 -0
- package/dist/components/Map/Map.craft.d.ts +4 -0
- package/dist/components/Map/Map.craft.d.ts.map +1 -0
- package/dist/components/Map/Map.d.ts +24 -0
- package/dist/components/Map/Map.d.ts.map +1 -0
- package/dist/components/Map/Map.presets.d.ts +3 -0
- package/dist/components/Map/Map.presets.d.ts.map +1 -0
- package/dist/components/Map/Map.render.d.ts +14 -0
- package/dist/components/Map/Map.render.d.ts.map +1 -0
- package/dist/components/Map/Map.toHTML.d.ts +3 -0
- package/dist/components/Map/Map.toHTML.d.ts.map +1 -0
- package/dist/components/Map/MapLeaflet.d.ts +17 -0
- package/dist/components/Map/MapLeaflet.d.ts.map +1 -0
- package/dist/components/MapPoint/MapPoint.body.d.ts +11 -0
- package/dist/components/MapPoint/MapPoint.body.d.ts.map +1 -0
- package/dist/components/MapPoint/MapPoint.craft.d.ts +4 -0
- package/dist/components/MapPoint/MapPoint.craft.d.ts.map +1 -0
- package/dist/components/MapPoint/MapPoint.d.ts +13 -0
- package/dist/components/MapPoint/MapPoint.d.ts.map +1 -0
- package/dist/components/MapPoint/MapPoint.render.d.ts +3 -0
- package/dist/components/MapPoint/MapPoint.render.d.ts.map +1 -0
- package/dist/components/MapPoint/MapPoint.toHTML.d.ts +3 -0
- package/dist/components/MapPoint/MapPoint.toHTML.d.ts.map +1 -0
- package/dist/components/Text/Text.body.d.ts +18 -0
- package/dist/components/Text/Text.body.d.ts.map +1 -0
- package/dist/components/Text/Text.craft.d.ts +4 -0
- package/dist/components/Text/Text.craft.d.ts.map +1 -0
- package/dist/components/Text/Text.d.ts +14 -0
- package/dist/components/Text/Text.d.ts.map +1 -0
- package/dist/components/Text/Text.modifiers.d.ts +3 -0
- package/dist/components/Text/Text.modifiers.d.ts.map +1 -0
- package/dist/components/Text/Text.presets.d.ts +3 -0
- package/dist/components/Text/Text.presets.d.ts.map +1 -0
- package/dist/components/Text/Text.render.d.ts +3 -0
- package/dist/components/Text/Text.render.d.ts.map +1 -0
- package/dist/components/Text/Text.toHTML.d.ts +3 -0
- package/dist/components/Text/Text.toHTML.d.ts.map +1 -0
- package/dist/components/Video/Video.body.d.ts +17 -0
- package/dist/components/Video/Video.body.d.ts.map +1 -0
- package/dist/components/Video/Video.craft.d.ts +4 -0
- package/dist/components/Video/Video.craft.d.ts.map +1 -0
- package/dist/components/Video/Video.d.ts +10 -0
- package/dist/components/Video/Video.d.ts.map +1 -0
- package/dist/components/Video/Video.presets.d.ts +3 -0
- package/dist/components/Video/Video.presets.d.ts.map +1 -0
- package/dist/components/Video/Video.render.d.ts +3 -0
- package/dist/components/Video/Video.render.d.ts.map +1 -0
- package/dist/components/Video/Video.toHTML.d.ts +3 -0
- package/dist/components/Video/Video.toHTML.d.ts.map +1 -0
- package/dist/components/_emptyHintIcons.d.ts +16 -0
- package/dist/components/_emptyHintIcons.d.ts.map +1 -0
- package/dist/components/definitions.d.ts +21 -0
- package/dist/components/definitions.d.ts.map +1 -0
- package/dist/components/layoutCanvasCanMoveIn.d.ts +3 -0
- package/dist/components/layoutCanvasCanMoveIn.d.ts.map +1 -0
- package/dist/components/resolvers/editor.d.ts +9 -0
- package/dist/components/resolvers/editor.d.ts.map +1 -0
- package/dist/components/resolvers/renders.d.ts +32 -0
- package/dist/components/resolvers/renders.d.ts.map +1 -0
- package/dist/components/resolvers/viewer.d.ts +3 -0
- package/dist/components/resolvers/viewer.d.ts.map +1 -0
- package/dist/components/selectors.d.ts +74 -0
- package/dist/components/selectors.d.ts.map +1 -0
- package/dist/components/shared/iconProp.d.ts +40 -0
- package/dist/components/shared/iconProp.d.ts.map +1 -0
- package/dist/components/types.d.ts +129 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/core/apiConfig.d.ts +10 -0
- package/dist/core/apiConfig.d.ts.map +1 -0
- package/dist/core/builtinComponentDefs.d.ts +6 -0
- package/dist/core/builtinComponentDefs.d.ts.map +1 -0
- package/dist/core/builtinDefsLookup.d.ts +6 -0
- package/dist/core/builtinDefsLookup.d.ts.map +1 -0
- package/dist/core/cloneTree.d.ts +6 -0
- package/dist/core/cloneTree.d.ts.map +1 -0
- package/dist/core/componentHooks.d.ts +27 -0
- package/dist/core/componentHooks.d.ts.map +1 -0
- package/dist/core/componentRegistry.d.ts +13 -0
- package/dist/core/componentRegistry.d.ts.map +1 -0
- package/dist/core/context.d.ts +55 -0
- package/dist/core/context.d.ts.map +1 -0
- package/dist/core/cssAllowlist.d.ts +19 -0
- package/dist/core/cssAllowlist.d.ts.map +1 -0
- package/dist/core/events.d.ts +15 -0
- package/dist/core/events.d.ts.map +1 -0
- package/dist/core/presetRegistry.d.ts +8 -0
- package/dist/core/presetRegistry.d.ts.map +1 -0
- package/dist/core/saveCoordinator.d.ts +54 -0
- package/dist/core/saveCoordinator.d.ts.map +1 -0
- package/dist/core/saveErrors.d.ts +18 -0
- package/dist/core/saveErrors.d.ts.map +1 -0
- package/dist/core/savedComponents.d.ts +9 -0
- package/dist/core/savedComponents.d.ts.map +1 -0
- package/dist/core/shims/empty.d.ts +3 -0
- package/dist/core/shims/empty.d.ts.map +1 -0
- package/dist/core/shims/next-dynamic.d.ts +10 -0
- package/dist/core/shims/next-dynamic.d.ts.map +1 -0
- package/dist/core/shims/next.d.ts +33 -0
- package/dist/core/shims/next.d.ts.map +1 -0
- package/dist/core/shims/recoil.d.ts +13 -0
- package/dist/core/shims/recoil.d.ts.map +1 -0
- package/dist/core/store.d.ts +39 -0
- package/dist/core/store.d.ts.map +1 -0
- package/dist/core/tailwindBrowser.d.ts +30 -0
- package/dist/core/tailwindBrowser.d.ts.map +1 -0
- package/dist/core/theme.d.ts +4 -0
- package/dist/core/theme.d.ts.map +1 -0
- package/dist/core/themeInline.generated.d.ts +9 -0
- package/dist/core/themeInline.generated.d.ts.map +1 -0
- package/dist/core/tiptapExtensions/VariableNode.d.ts +60 -0
- package/dist/core/tiptapExtensions/VariableNode.d.ts.map +1 -0
- package/dist/core/tiptapExtensions/VariableNodeView.d.ts +3 -0
- package/dist/core/tiptapExtensions/VariableNodeView.d.ts.map +1 -0
- package/dist/core/tiptapExtensions/pagehubTextTiptapExtensions.d.ts +10 -0
- package/dist/core/tiptapExtensions/pagehubTextTiptapExtensions.d.ts.map +1 -0
- package/dist/define/blocksProvider.d.ts +75 -0
- package/dist/define/blocksProvider.d.ts.map +1 -0
- package/dist/define/builtins.d.ts +3 -0
- package/dist/define/builtins.d.ts.map +1 -0
- package/dist/define/catalogRegistry.d.ts +25 -0
- package/dist/define/catalogRegistry.d.ts.map +1 -0
- package/dist/define/componentAllowlist.d.ts +31 -0
- package/dist/define/componentAllowlist.d.ts.map +1 -0
- package/dist/define/context.d.ts +14 -0
- package/dist/define/context.d.ts.map +1 -0
- package/dist/define/defineComponent.d.ts +15 -0
- package/dist/define/defineComponent.d.ts.map +1 -0
- package/dist/define/helpers.d.ts +9 -0
- package/dist/define/helpers.d.ts.map +1 -0
- package/dist/define/loadBuiltinCatalogs.d.ts +12 -0
- package/dist/define/loadBuiltinCatalogs.d.ts.map +1 -0
- package/dist/define/processors/forEditor.d.ts +14 -0
- package/dist/define/processors/forEditor.d.ts.map +1 -0
- package/dist/define/processors/forStatic.d.ts +8 -0
- package/dist/define/processors/forStatic.d.ts.map +1 -0
- package/dist/define/processors/forViewer.d.ts +8 -0
- package/dist/define/processors/forViewer.d.ts.map +1 -0
- package/dist/define/types.d.ts +197 -0
- package/dist/define/types.d.ts.map +1 -0
- package/dist/define/validation.d.ts +3 -0
- package/dist/define/validation.d.ts.map +1 -0
- package/dist/doc/index.d.ts +15 -0
- package/dist/doc/index.d.ts.map +1 -0
- package/dist/doc/liveDoc.d.ts +32 -0
- package/dist/doc/liveDoc.d.ts.map +1 -0
- package/dist/doc/staticDoc.d.ts +25 -0
- package/dist/doc/staticDoc.d.ts.map +1 -0
- package/dist/doc/types.d.ts +99 -0
- package/dist/doc/types.d.ts.map +1 -0
- package/dist/editor.css +1 -0
- package/dist/editor.d.ts +44 -0
- package/dist/editor.d.ts.map +1 -0
- package/dist/entry/init.d.ts +14 -0
- package/dist/entry/init.d.ts.map +1 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/pagehub-viewer.js +9 -0
- package/dist/pagehub-viewer.umd.cjs +574 -0
- package/dist/pagehub.js +123 -0
- package/dist/pagehub.umd.cjs +1130 -0
- package/dist/registry/SlotRenderer.d.ts +9 -0
- package/dist/registry/SlotRenderer.d.ts.map +1 -0
- package/dist/registry/annotationBackref.d.ts +14 -0
- package/dist/registry/annotationBackref.d.ts.map +1 -0
- package/dist/registry/builtins/annotation.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/annotation.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/c2def.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/c2def.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/canvas-context.clipboard.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/canvas-context.clipboard.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/canvas-context.mutation.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/canvas-context.mutation.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/canvas-context.navigation.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/canvas-context.navigation.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/canvas-context.selection.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/canvas-context.selection.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/canvas-context.test-helpers.d.ts +61 -0
- package/dist/registry/builtins/canvas-context.test-helpers.d.ts.map +1 -0
- package/dist/registry/builtins/commands/ai.d.ts +3 -0
- package/dist/registry/builtins/commands/ai.d.ts.map +1 -0
- package/dist/registry/builtins/commands/canvas.d.ts +3 -0
- package/dist/registry/builtins/commands/canvas.d.ts.map +1 -0
- package/dist/registry/builtins/commands/component.d.ts +3 -0
- package/dist/registry/builtins/commands/component.d.ts.map +1 -0
- package/dist/registry/builtins/commands/editor.d.ts +3 -0
- package/dist/registry/builtins/commands/editor.d.ts.map +1 -0
- package/dist/registry/builtins/commands/helpers.d.ts +24 -0
- package/dist/registry/builtins/commands/helpers.d.ts.map +1 -0
- package/dist/registry/builtins/commands/index.d.ts +3 -0
- package/dist/registry/builtins/commands/index.d.ts.map +1 -0
- package/dist/registry/builtins/commands/node-runs.d.ts +35 -0
- package/dist/registry/builtins/commands/node-runs.d.ts.map +1 -0
- package/dist/registry/builtins/commands/node.d.ts +3 -0
- package/dist/registry/builtins/commands/node.d.ts.map +1 -0
- package/dist/registry/builtins/commands/overlay.d.ts +3 -0
- package/dist/registry/builtins/commands/overlay.d.ts.map +1 -0
- package/dist/registry/builtins/commands/site-tools.d.ts +3 -0
- package/dist/registry/builtins/commands/site-tools.d.ts.map +1 -0
- package/dist/registry/builtins/commands/text.d.ts +8 -0
- package/dist/registry/builtins/commands/text.d.ts.map +1 -0
- package/dist/registry/builtins/keybindings.d.ts +3 -0
- package/dist/registry/builtins/keybindings.d.ts.map +1 -0
- package/dist/registry/builtins/media.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/media.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/menus.d.ts +6 -0
- package/dist/registry/builtins/menus.d.ts.map +1 -0
- package/dist/registry/builtins/navmenu.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/navmenu.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/sections.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/sections.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/sidebar.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/sidebar.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/slots.d.ts +5 -0
- package/dist/registry/builtins/slots.d.ts.map +1 -0
- package/dist/registry/builtins/tiptap.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/tiptap.behavior.test.d.ts.map +1 -0
- package/dist/registry/builtins/topbar.behavior.test.d.ts +2 -0
- package/dist/registry/builtins/topbar.behavior.test.d.ts.map +1 -0
- package/dist/registry/commands.d.ts +31 -0
- package/dist/registry/commands.d.ts.map +1 -0
- package/dist/registry/commands.test.d.ts +2 -0
- package/dist/registry/commands.test.d.ts.map +1 -0
- package/dist/registry/context.d.ts +17 -0
- package/dist/registry/context.d.ts.map +1 -0
- package/dist/registry/context.test.d.ts +2 -0
- package/dist/registry/context.test.d.ts.map +1 -0
- package/dist/registry/dispatcher.d.ts +18 -0
- package/dist/registry/dispatcher.d.ts.map +1 -0
- package/dist/registry/dispatcher.test.d.ts +2 -0
- package/dist/registry/dispatcher.test.d.ts.map +1 -0
- package/dist/registry/editorBackref.d.ts +21 -0
- package/dist/registry/editorBackref.d.ts.map +1 -0
- package/dist/registry/hooks/useOverlay.d.ts +10 -0
- package/dist/registry/hooks/useOverlay.d.ts.map +1 -0
- package/dist/registry/hooks/useRegisterOverlayContext.d.ts +2 -0
- package/dist/registry/hooks/useRegisterOverlayContext.d.ts.map +1 -0
- package/dist/registry/hooks.d.ts +14 -0
- package/dist/registry/hooks.d.ts.map +1 -0
- package/dist/registry/index.d.ts +41 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/keybindings.d.ts +26 -0
- package/dist/registry/keybindings.d.ts.map +1 -0
- package/dist/registry/keybindings.test.d.ts +2 -0
- package/dist/registry/keybindings.test.d.ts.map +1 -0
- package/dist/registry/mediaBackref.d.ts +18 -0
- package/dist/registry/mediaBackref.d.ts.map +1 -0
- package/dist/registry/menus.d.ts +18 -0
- package/dist/registry/menus.d.ts.map +1 -0
- package/dist/registry/menus.test.d.ts +2 -0
- package/dist/registry/menus.test.d.ts.map +1 -0
- package/dist/registry/mouseOverTracker.d.ts +8 -0
- package/dist/registry/mouseOverTracker.d.ts.map +1 -0
- package/dist/registry/overlayStack.d.ts +58 -0
- package/dist/registry/overlayStack.d.ts.map +1 -0
- package/dist/registry/overlayStack.test.d.ts +2 -0
- package/dist/registry/overlayStack.test.d.ts.map +1 -0
- package/dist/registry/provider.d.ts +23 -0
- package/dist/registry/provider.d.ts.map +1 -0
- package/dist/registry/sectionsBackref.d.ts +13 -0
- package/dist/registry/sectionsBackref.d.ts.map +1 -0
- package/dist/registry/selectionContext.d.ts +28 -0
- package/dist/registry/selectionContext.d.ts.map +1 -0
- package/dist/registry/sidebarBackref.d.ts +12 -0
- package/dist/registry/sidebarBackref.d.ts.map +1 -0
- package/dist/registry/slots.d.ts +19 -0
- package/dist/registry/slots.d.ts.map +1 -0
- package/dist/registry/slots.test.d.ts +2 -0
- package/dist/registry/slots.test.d.ts.map +1 -0
- package/dist/registry/stubTypes.d.ts +49 -0
- package/dist/registry/stubTypes.d.ts.map +1 -0
- package/dist/registry/tiptapBackref.d.ts +10 -0
- package/dist/registry/tiptapBackref.d.ts.map +1 -0
- package/dist/registry/types.d.ts +182 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/render/react/PagehubRoot.d.ts +14 -0
- package/dist/render/react/PagehubRoot.d.ts.map +1 -0
- package/dist/render/react/RenderCtx.d.ts +51 -0
- package/dist/render/react/RenderCtx.d.ts.map +1 -0
- package/dist/render/react/RenderTree.d.ts +31 -0
- package/dist/render/react/RenderTree.d.ts.map +1 -0
- package/dist/render/react/contexts.d.ts +47 -0
- package/dist/render/react/contexts.d.ts.map +1 -0
- package/dist/render/react/index.d.ts +9 -0
- package/dist/render/react/index.d.ts.map +1 -0
- package/dist/render/react/resolver.d.ts +4 -0
- package/dist/render/react/resolver.d.ts.map +1 -0
- package/dist/render/static/fonts.d.ts +8 -0
- package/dist/render/static/fonts.d.ts.map +1 -0
- package/dist/render/static/index.d.ts +6 -0
- package/dist/render/static/index.d.ts.map +1 -0
- package/dist/render/static/renderToHTML.d.ts +3 -0
- package/dist/render/static/renderToHTML.d.ts.map +1 -0
- package/dist/render/static/resolver.d.ts +3 -0
- package/dist/render/static/resolver.d.ts.map +1 -0
- package/dist/render/static/runtime/alpine.inline.d.ts +4 -0
- package/dist/render/static/runtime/alpine.inline.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/actions.d.ts +2 -0
- package/dist/render/static/runtime/chunks/actions.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/aux.d.ts +2 -0
- package/dist/render/static/runtime/chunks/aux.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/bootstrap.d.ts +2 -0
- package/dist/render/static/runtime/chunks/bootstrap.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/cart.d.ts +2 -0
- package/dist/render/static/runtime/chunks/cart.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/conditions.d.ts +2 -0
- package/dist/render/static/runtime/chunks/conditions.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/forms.d.ts +2 -0
- package/dist/render/static/runtime/chunks/forms.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/items.d.ts +2 -0
- package/dist/render/static/runtime/chunks/items.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/repeater.d.ts +2 -0
- package/dist/render/static/runtime/chunks/repeater.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/state.d.ts +2 -0
- package/dist/render/static/runtime/chunks/state.d.ts.map +1 -0
- package/dist/render/static/runtime/chunks/stringifyChunk.d.ts +33 -0
- package/dist/render/static/runtime/chunks/stringifyChunk.d.ts.map +1 -0
- package/dist/render/static/runtime/gsapCdn.d.ts +3 -0
- package/dist/render/static/runtime/gsapCdn.d.ts.map +1 -0
- package/dist/render/static/runtime/horizontalScroll.d.ts +3 -0
- package/dist/render/static/runtime/horizontalScroll.d.ts.map +1 -0
- package/dist/render/static/runtime/intersectionObserver.d.ts +12 -0
- package/dist/render/static/runtime/intersectionObserver.d.ts.map +1 -0
- package/dist/render/static/runtime/overflowUx.d.ts +3 -0
- package/dist/render/static/runtime/overflowUx.d.ts.map +1 -0
- package/dist/render/static/runtime/scrollTimeline.d.ts +3 -0
- package/dist/render/static/runtime/scrollTimeline.d.ts.map +1 -0
- package/dist/render/static/runtime/staticPublishRuntime.d.ts +42 -0
- package/dist/render/static/runtime/staticPublishRuntime.d.ts.map +1 -0
- package/dist/render/static/themeCss.d.ts +4 -0
- package/dist/render/static/themeCss.d.ts.map +1 -0
- package/dist/render/static/types.d.ts +111 -0
- package/dist/render/static/types.d.ts.map +1 -0
- package/dist/render/static/walker.d.ts +5 -0
- package/dist/render/static/walker.d.ts.map +1 -0
- package/dist/sdk-editor-css-stub +1 -0
- package/dist/types/ai.d.ts +33 -0
- package/dist/types/ai.d.ts.map +1 -0
- package/dist/types/callbacks.d.ts +81 -0
- package/dist/types/callbacks.d.ts.map +1 -0
- package/dist/types/config.d.ts +88 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/events.d.ts +44 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/features.d.ts +93 -0
- package/dist/types/features.d.ts.map +1 -0
- package/dist/types/index.d.ts +38 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/instance.d.ts +70 -0
- package/dist/types/instance.d.ts.map +1 -0
- package/dist/types/locale.d.ts +7 -0
- package/dist/types/locale.d.ts.map +1 -0
- package/dist/types/page.d.ts +67 -0
- package/dist/types/page.d.ts.map +1 -0
- package/dist/types/save.d.ts +28 -0
- package/dist/types/save.d.ts.map +1 -0
- package/dist/types/theme.d.ts +17 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/utils/RouteParamsContext.d.ts +15 -0
- package/dist/utils/RouteParamsContext.d.ts.map +1 -0
- package/dist/utils/accessibility.d.ts +167 -0
- package/dist/utils/accessibility.d.ts.map +1 -0
- package/dist/utils/action.d.ts +284 -0
- package/dist/utils/action.d.ts.map +1 -0
- package/dist/utils/actions/conversion.d.ts +8 -0
- package/dist/utils/actions/conversion.d.ts.map +1 -0
- package/dist/utils/actions/customHandlers.d.ts +15 -0
- package/dist/utils/actions/customHandlers.d.ts.map +1 -0
- package/dist/utils/actions/dispatcher.d.ts +5 -0
- package/dist/utils/actions/dispatcher.d.ts.map +1 -0
- package/dist/utils/actions/gates.d.ts +31 -0
- package/dist/utils/actions/gates.d.ts.map +1 -0
- package/dist/utils/actions/handlerCode.d.ts +17 -0
- package/dist/utils/actions/handlerCode.d.ts.map +1 -0
- package/dist/utils/actions/handlers/agent.d.ts +4 -0
- package/dist/utils/actions/handlers/agent.d.ts.map +1 -0
- package/dist/utils/actions/handlers/cart.d.ts +7 -0
- package/dist/utils/actions/handlers/cart.d.ts.map +1 -0
- package/dist/utils/actions/handlers/clipboard.d.ts +4 -0
- package/dist/utils/actions/handlers/clipboard.d.ts.map +1 -0
- package/dist/utils/actions/handlers/download.d.ts +4 -0
- package/dist/utils/actions/handlers/download.d.ts.map +1 -0
- package/dist/utils/actions/handlers/link.d.ts +4 -0
- package/dist/utils/actions/handlers/link.d.ts.map +1 -0
- package/dist/utils/actions/handlers/localStorage.d.ts +4 -0
- package/dist/utils/actions/handlers/localStorage.d.ts.map +1 -0
- package/dist/utils/actions/handlers/modal.d.ts +3 -0
- package/dist/utils/actions/handlers/modal.d.ts.map +1 -0
- package/dist/utils/actions/handlers/showHide.d.ts +3 -0
- package/dist/utils/actions/handlers/showHide.d.ts.map +1 -0
- package/dist/utils/actions/handlers/state.d.ts +7 -0
- package/dist/utils/actions/handlers/state.d.ts.map +1 -0
- package/dist/utils/actions/handlers/theme.d.ts +3 -0
- package/dist/utils/actions/handlers/theme.d.ts.map +1 -0
- package/dist/utils/actions/internal.d.ts +45 -0
- package/dist/utils/actions/internal.d.ts.map +1 -0
- package/dist/utils/actions/interval.d.ts +3 -0
- package/dist/utils/actions/interval.d.ts.map +1 -0
- package/dist/utils/actions/load.d.ts +26 -0
- package/dist/utils/actions/load.d.ts.map +1 -0
- package/dist/utils/anchors/anchorContext.d.ts +16 -0
- package/dist/utils/anchors/anchorContext.d.ts.map +1 -0
- package/dist/utils/anchors/resolveAnchorsInAction.d.ts +5 -0
- package/dist/utils/anchors/resolveAnchorsInAction.d.ts.map +1 -0
- package/dist/utils/anchors/resolveAnchorsViaCraft.d.ts +7 -0
- package/dist/utils/anchors/resolveAnchorsViaCraft.d.ts.map +1 -0
- package/dist/utils/animations/animations.d.ts +24 -0
- package/dist/utils/animations/animations.d.ts.map +1 -0
- package/dist/utils/animations/scrollAnimAttach.d.ts +21 -0
- package/dist/utils/animations/scrollAnimAttach.d.ts.map +1 -0
- package/dist/utils/applyAttrs.d.ts +14 -0
- package/dist/utils/applyAttrs.d.ts.map +1 -0
- package/dist/utils/atoms/external.d.ts +5 -0
- package/dist/utils/atoms/external.d.ts.map +1 -0
- package/dist/utils/atoms.d.ts +1217 -0
- package/dist/utils/atoms.d.ts.map +1 -0
- package/dist/utils/background.d.ts +9 -0
- package/dist/utils/background.d.ts.map +1 -0
- package/dist/utils/breakpointRewrite.d.ts +61 -0
- package/dist/utils/breakpointRewrite.d.ts.map +1 -0
- package/dist/utils/buildInlineCopyAssistantOpenState.d.ts +32 -0
- package/dist/utils/buildInlineCopyAssistantOpenState.d.ts.map +1 -0
- package/dist/utils/cdn.d.ts +40 -0
- package/dist/utils/cdn.d.ts.map +1 -0
- package/dist/utils/cloneState.d.ts +17 -0
- package/dist/utils/cloneState.d.ts.map +1 -0
- package/dist/utils/component/componentCanvas.d.ts +51 -0
- package/dist/utils/component/componentCanvas.d.ts.map +1 -0
- package/dist/utils/component/componentIsolation.d.ts +63 -0
- package/dist/utils/component/componentIsolation.d.ts.map +1 -0
- package/dist/utils/component/componentStateNodes.d.ts +29 -0
- package/dist/utils/component/componentStateNodes.d.ts.map +1 -0
- package/dist/utils/component/componentUtils.d.ts +19 -0
- package/dist/utils/component/componentUtils.d.ts.map +1 -0
- package/dist/utils/component/liveComponentRegistry.d.ts +5 -0
- package/dist/utils/component/liveComponentRegistry.d.ts.map +1 -0
- package/dist/utils/compressionAsync.d.ts +17 -0
- package/dist/utils/compressionAsync.d.ts.map +1 -0
- package/dist/utils/conditions/clientScript.d.ts +2 -0
- package/dist/utils/conditions/clientScript.d.ts.map +1 -0
- package/dist/utils/conditions/computedState.d.ts +107 -0
- package/dist/utils/conditions/computedState.d.ts.map +1 -0
- package/dist/utils/conditions/context.d.ts +6 -0
- package/dist/utils/conditions/context.d.ts.map +1 -0
- package/dist/utils/conditions/evaluate.d.ts +12 -0
- package/dist/utils/conditions/evaluate.d.ts.map +1 -0
- package/dist/utils/conditions/stateBuiltinModifiers.d.ts +3 -0
- package/dist/utils/conditions/stateBuiltinModifiers.d.ts.map +1 -0
- package/dist/utils/conditions/stateModifiers.d.ts +23 -0
- package/dist/utils/conditions/stateModifiers.d.ts.map +1 -0
- package/dist/utils/conditions/types.d.ts +65 -0
- package/dist/utils/conditions/types.d.ts.map +1 -0
- package/dist/utils/conditions/useConditionalVisibility.d.ts +10 -0
- package/dist/utils/conditions/useConditionalVisibility.d.ts.map +1 -0
- package/dist/utils/conditions/withConditionalVisibility.d.ts +9 -0
- package/dist/utils/conditions/withConditionalVisibility.d.ts.map +1 -0
- package/dist/utils/craft.d.ts +4 -0
- package/dist/utils/craft.d.ts.map +1 -0
- package/dist/utils/data/dataSourceContext.d.ts +59 -0
- package/dist/utils/data/dataSourceContext.d.ts.map +1 -0
- package/dist/utils/data/resolveNestedItems.d.ts +31 -0
- package/dist/utils/data/resolveNestedItems.d.ts.map +1 -0
- package/dist/utils/data/routeParamsDataSource.d.ts +7 -0
- package/dist/utils/data/routeParamsDataSource.d.ts.map +1 -0
- package/dist/utils/data/storefrontDataSource.d.ts +39 -0
- package/dist/utils/data/storefrontDataSource.d.ts.map +1 -0
- package/dist/utils/data/useDataSource.d.ts +56 -0
- package/dist/utils/data/useDataSource.d.ts.map +1 -0
- package/dist/utils/defaults.d.ts +55 -0
- package/dist/utils/defaults.d.ts.map +1 -0
- package/dist/utils/design/PaletteContext.d.ts +8 -0
- package/dist/utils/design/PaletteContext.d.ts.map +1 -0
- package/dist/utils/design/RuntimeVarsContext.d.ts +19 -0
- package/dist/utils/design/RuntimeVarsContext.d.ts.map +1 -0
- package/dist/utils/design/color/classString.d.ts +29 -0
- package/dist/utils/design/color/classString.d.ts.map +1 -0
- package/dist/utils/design/color/formatStorage.d.ts +9 -0
- package/dist/utils/design/color/formatStorage.d.ts.map +1 -0
- package/dist/utils/design/color/guards.d.ts +13 -0
- package/dist/utils/design/color/guards.d.ts.map +1 -0
- package/dist/utils/design/color/index.d.ts +22 -0
- package/dist/utils/design/color/index.d.ts.map +1 -0
- package/dist/utils/design/color/isPaletteSelected.d.ts +11 -0
- package/dist/utils/design/color/isPaletteSelected.d.ts.map +1 -0
- package/dist/utils/design/color/opacity.d.ts +22 -0
- package/dist/utils/design/color/opacity.d.ts.map +1 -0
- package/dist/utils/design/color/paletteNames.d.ts +25 -0
- package/dist/utils/design/color/paletteNames.d.ts.map +1 -0
- package/dist/utils/design/color/parseValue.d.ts +6 -0
- package/dist/utils/design/color/parseValue.d.ts.map +1 -0
- package/dist/utils/design/color/resolveCssVariable.d.ts +11 -0
- package/dist/utils/design/color/resolveCssVariable.d.ts.map +1 -0
- package/dist/utils/design/color/resolveDisplay.d.ts +9 -0
- package/dist/utils/design/color/resolveDisplay.d.ts.map +1 -0
- package/dist/utils/design/color/rgba.d.ts +9 -0
- package/dist/utils/design/color/rgba.d.ts.map +1 -0
- package/dist/utils/design/color/tailwindHex.d.ts +9 -0
- package/dist/utils/design/color/tailwindHex.d.ts.map +1 -0
- package/dist/utils/design/color/types.d.ts +12 -0
- package/dist/utils/design/color/types.d.ts.map +1 -0
- package/dist/utils/design/color/uiPrimitives.d.ts +6 -0
- package/dist/utils/design/color/uiPrimitives.d.ts.map +1 -0
- package/dist/utils/design/contentColor.d.ts +41 -0
- package/dist/utils/design/contentColor.d.ts.map +1 -0
- package/dist/utils/design/designSystemVars.d.ts +66 -0
- package/dist/utils/design/designSystemVars.d.ts.map +1 -0
- package/dist/utils/design/emitBrowserThemeCss.d.ts +3 -0
- package/dist/utils/design/emitBrowserThemeCss.d.ts.map +1 -0
- package/dist/utils/design/emitThemeCss.d.ts +3 -0
- package/dist/utils/design/emitThemeCss.d.ts.map +1 -0
- package/dist/utils/design/palette.d.ts +51 -0
- package/dist/utils/design/palette.d.ts.map +1 -0
- package/dist/utils/design/resolveTheme.d.ts +12 -0
- package/dist/utils/design/resolveTheme.d.ts.map +1 -0
- package/dist/utils/design/tokenSource.d.ts +74 -0
- package/dist/utils/design/tokenSource.d.ts.map +1 -0
- package/dist/utils/design/variables.d.ts +74 -0
- package/dist/utils/design/variables.d.ts.map +1 -0
- package/dist/utils/dom.d.ts +4 -0
- package/dist/utils/dom.d.ts.map +1 -0
- package/dist/utils/editorVariableOptions.d.ts +29 -0
- package/dist/utils/editorVariableOptions.d.ts.map +1 -0
- package/dist/utils/errors.d.ts +80 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/fonts/curatedGoogleFontFamilies.d.ts +25 -0
- package/dist/utils/fonts/curatedGoogleFontFamilies.d.ts.map +1 -0
- package/dist/utils/fonts/fontLoader.d.ts +17 -0
- package/dist/utils/fonts/fontLoader.d.ts.map +1 -0
- package/dist/utils/fonts/googleFonts.d.ts +85 -0
- package/dist/utils/fonts/googleFonts.d.ts.map +1 -0
- package/dist/utils/formatToolbarCode.d.ts +6 -0
- package/dist/utils/formatToolbarCode.d.ts.map +1 -0
- package/dist/utils/hasOverflowAncestor.d.ts +6 -0
- package/dist/utils/hasOverflowAncestor.d.ts.map +1 -0
- package/dist/utils/hooks/useAccessibility.d.ts +43 -0
- package/dist/utils/hooks/useAccessibility.d.ts.map +1 -0
- package/dist/utils/hooks/useAiEnabled.d.ts +7 -0
- package/dist/utils/hooks/useAiEnabled.d.ts.map +1 -0
- package/dist/utils/hooks/useDefaultTab.d.ts +2 -0
- package/dist/utils/hooks/useDefaultTab.d.ts.map +1 -0
- package/dist/utils/hooks/useDragOverDetection.d.ts +13 -0
- package/dist/utils/hooks/useDragOverDetection.d.ts.map +1 -0
- package/dist/utils/hooks/useEditorToolbarOverlayLayout.d.ts +3 -0
- package/dist/utils/hooks/useEditorToolbarOverlayLayout.d.ts.map +1 -0
- package/dist/utils/hooks/useHorizontalDragScroll.d.ts +30 -0
- package/dist/utils/hooks/useHorizontalDragScroll.d.ts.map +1 -0
- package/dist/utils/hooks/useLazyBackground.d.ts +14 -0
- package/dist/utils/hooks/useLazyBackground.d.ts.map +1 -0
- package/dist/utils/hooks/useMounted.d.ts +10 -0
- package/dist/utils/hooks/useMounted.d.ts.map +1 -0
- package/dist/utils/hooks/useNodeType.d.ts +32 -0
- package/dist/utils/hooks/useNodeType.d.ts.map +1 -0
- package/dist/utils/hooks/useScrollEffect.d.ts +16 -0
- package/dist/utils/hooks/useScrollEffect.d.ts.map +1 -0
- package/dist/utils/hooks/useScrollToActiveTab.d.ts +2 -0
- package/dist/utils/hooks/useScrollToActiveTab.d.ts.map +1 -0
- package/dist/utils/icons/IconSvgMapContext.d.ts +14 -0
- package/dist/utils/icons/IconSvgMapContext.d.ts.map +1 -0
- package/dist/utils/icons/collectIconRefs.d.ts +11 -0
- package/dist/utils/icons/collectIconRefs.d.ts.map +1 -0
- package/dist/utils/icons/iconResolver.d.ts +35 -0
- package/dist/utils/icons/iconResolver.d.ts.map +1 -0
- package/dist/utils/icons/serverResolve.d.ts +12 -0
- package/dist/utils/icons/serverResolve.d.ts.map +1 -0
- package/dist/utils/imageDimensions.d.ts +33 -0
- package/dist/utils/imageDimensions.d.ts.map +1 -0
- package/dist/utils/isVisuallyEmptyRichText.d.ts +8 -0
- package/dist/utils/isVisuallyEmptyRichText.d.ts.map +1 -0
- package/dist/utils/itemContext.d.ts +10 -0
- package/dist/utils/itemContext.d.ts.map +1 -0
- package/dist/utils/keyboard/index.d.ts +7 -0
- package/dist/utils/keyboard/index.d.ts.map +1 -0
- package/dist/utils/keyboard/isInsideTextEditingSurface.d.ts +18 -0
- package/dist/utils/keyboard/isInsideTextEditingSurface.d.ts.map +1 -0
- package/dist/utils/keyboard/isInsideTextEditingSurface.test.d.ts +2 -0
- package/dist/utils/keyboard/isInsideTextEditingSurface.test.d.ts.map +1 -0
- package/dist/utils/lazyNamed.d.ts +2 -0
- package/dist/utils/lazyNamed.d.ts.map +1 -0
- package/dist/utils/lint/htmlNestingLint.d.ts +4 -0
- package/dist/utils/lint/htmlNestingLint.d.ts.map +1 -0
- package/dist/utils/lint/responsiveLint.d.ts +33 -0
- package/dist/utils/lint/responsiveLint.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +26 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/lz.d.ts +5 -0
- package/dist/utils/lz.d.ts.map +1 -0
- package/dist/utils/media/errors.d.ts +21 -0
- package/dist/utils/media/errors.d.ts.map +1 -0
- package/dist/utils/media/media.d.ts +30 -0
- package/dist/utils/media/media.d.ts.map +1 -0
- package/dist/utils/media/preprocess.d.ts +21 -0
- package/dist/utils/media/preprocess.d.ts.map +1 -0
- package/dist/utils/media/registry.d.ts +54 -0
- package/dist/utils/media/registry.d.ts.map +1 -0
- package/dist/utils/media/transform.d.ts +11 -0
- package/dist/utils/media/transform.d.ts.map +1 -0
- package/dist/utils/media/upload.d.ts +41 -0
- package/dist/utils/media/upload.d.ts.map +1 -0
- package/dist/utils/modifierUtils.d.ts +67 -0
- package/dist/utils/modifierUtils.d.ts.map +1 -0
- package/dist/utils/motion.d.ts +9 -0
- package/dist/utils/motion.d.ts.map +1 -0
- package/dist/utils/nativeVideo.d.ts +26 -0
- package/dist/utils/nativeVideo.d.ts.map +1 -0
- package/dist/utils/normalizeDesignTags.d.ts +3 -0
- package/dist/utils/normalizeDesignTags.d.ts.map +1 -0
- package/dist/utils/page/pageManagement.d.ts +62 -0
- package/dist/utils/page/pageManagement.d.ts.map +1 -0
- package/dist/utils/page/pageNavigation.d.ts +76 -0
- package/dist/utils/page/pageNavigation.d.ts.map +1 -0
- package/dist/utils/parseHeadHTML.d.ts +14 -0
- package/dist/utils/parseHeadHTML.d.ts.map +1 -0
- package/dist/utils/pathPatternParams.d.ts +25 -0
- package/dist/utils/pathPatternParams.d.ts.map +1 -0
- package/dist/utils/phStorage.d.ts +10 -0
- package/dist/utils/phStorage.d.ts.map +1 -0
- package/dist/utils/relation.d.ts +14 -0
- package/dist/utils/relation.d.ts.map +1 -0
- package/dist/utils/rootNode.d.ts +9 -0
- package/dist/utils/rootNode.d.ts.map +1 -0
- package/dist/utils/runtimeMode.d.ts +3 -0
- package/dist/utils/runtimeMode.d.ts.map +1 -0
- package/dist/utils/sanitizeNodeMap.d.ts +28 -0
- package/dist/utils/sanitizeNodeMap.d.ts.map +1 -0
- package/dist/utils/seeds/loremIpsum.d.ts +20 -0
- package/dist/utils/seeds/loremIpsum.d.ts.map +1 -0
- package/dist/utils/seeds/nameGenerator.d.ts +4 -0
- package/dist/utils/seeds/nameGenerator.d.ts.map +1 -0
- package/dist/utils/seeds/siteMeta.d.ts +3 -0
- package/dist/utils/seeds/siteMeta.d.ts.map +1 -0
- package/dist/utils/seo/JsonLdScripts.d.ts +19 -0
- package/dist/utils/seo/JsonLdScripts.d.ts.map +1 -0
- package/dist/utils/seo/compileSchema.d.ts +9 -0
- package/dist/utils/seo/compileSchema.d.ts.map +1 -0
- package/dist/utils/seo/schemaTypes.d.ts +65 -0
- package/dist/utils/seo/schemaTypes.d.ts.map +1 -0
- package/dist/utils/state/dataHelpers.d.ts +15 -0
- package/dist/utils/state/dataHelpers.d.ts.map +1 -0
- package/dist/utils/state/showHideStore.d.ts +19 -0
- package/dist/utils/state/showHideStore.d.ts.map +1 -0
- package/dist/utils/state/stateRegistry.d.ts +77 -0
- package/dist/utils/state/stateRegistry.d.ts.map +1 -0
- package/dist/utils/state/urlQueryBridge.d.ts +35 -0
- package/dist/utils/state/urlQueryBridge.d.ts.map +1 -0
- package/dist/utils/staticHtml.d.ts +178 -0
- package/dist/utils/staticHtml.d.ts.map +1 -0
- package/dist/utils/submissions.d.ts +9 -0
- package/dist/utils/submissions.d.ts.map +1 -0
- package/dist/utils/swr.d.ts +11 -0
- package/dist/utils/swr.d.ts.map +1 -0
- package/dist/utils/tailwind/className.d.ts +148 -0
- package/dist/utils/tailwind/className.d.ts.map +1 -0
- package/dist/utils/tailwind/daisyuiToTailwind.d.ts +16 -0
- package/dist/utils/tailwind/daisyuiToTailwind.d.ts.map +1 -0
- package/dist/utils/tailwind/displayLabel.d.ts +7 -0
- package/dist/utils/tailwind/displayLabel.d.ts.map +1 -0
- package/dist/utils/tailwind/displayLabel.test.d.ts +2 -0
- package/dist/utils/tailwind/displayLabel.test.d.ts.map +1 -0
- package/dist/utils/tailwind/fontFamilyClass.d.ts +19 -0
- package/dist/utils/tailwind/fontFamilyClass.d.ts.map +1 -0
- package/dist/utils/tailwind/ringOutlineClassKey.d.ts +10 -0
- package/dist/utils/tailwind/ringOutlineClassKey.d.ts.map +1 -0
- package/dist/utils/tailwind/tailwind-styles.d.ts +219 -0
- package/dist/utils/tailwind/tailwind-styles.d.ts.map +1 -0
- package/dist/utils/tailwind/tailwind.d.ts +17 -0
- package/dist/utils/tailwind/tailwind.d.ts.map +1 -0
- package/dist/utils/treeSharding.d.ts +16 -0
- package/dist/utils/treeSharding.d.ts.map +1 -0
- package/dist/utils/useBlockCategories.d.ts +12 -0
- package/dist/utils/useBlockCategories.d.ts.map +1 -0
- package/dist/utils/useCategoryBlocks.d.ts +19 -0
- package/dist/utils/useCategoryBlocks.d.ts.map +1 -0
- package/dist/utils/usePanelUrl.d.ts +41 -0
- package/dist/utils/usePanelUrl.d.ts.map +1 -0
- package/dist/utils/useSectionTemplates.d.ts +15 -0
- package/dist/utils/useSectionTemplates.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +3 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/viewer.d.ts +30 -0
- package/dist/viewer.d.ts.map +1 -0
- package/package.json +325 -0
|
@@ -0,0 +1,2893 @@
|
|
|
1
|
+
var _n = Object.defineProperty;
|
|
2
|
+
var It = (e) => {
|
|
3
|
+
throw TypeError(e);
|
|
4
|
+
};
|
|
5
|
+
var Cn = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
+
var h = (e, t, r) => Cn(e, typeof t != "symbol" ? t + "" : t, r), Qe = (e, t, r) => t.has(e) || It("Cannot " + r);
|
|
7
|
+
var R = (e, t, r) => (Qe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ze = (e, t, r) => t.has(e) ? It("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Rt = (e, t, r, n) => (Qe(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Mt = (e, t, r) => (Qe(e, t, "access private method"), r);
|
|
8
|
+
var _r = Object.defineProperty, Cr = (e) => {
|
|
9
|
+
throw TypeError(e);
|
|
10
|
+
}, En = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Er = (e, t) => {
|
|
11
|
+
for (var r in t) _r(e, r, { get: t[r], enumerable: !0 });
|
|
12
|
+
}, qt = (e, t, r) => En(e, typeof t != "symbol" ? t + "" : t, r), vn = (e, t, r) => t.has(e) || Cr("Cannot " + r), Pe = (e, t, r) => (vn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Sn = (e, t, r) => t.has(e) ? Cr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), An = {};
|
|
13
|
+
Er(An, { languages: () => go, options: () => _o, parsers: () => hn, printers: () => Go });
|
|
14
|
+
var Ct = (e, t) => (r, n, ...a) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, a), Tn = String.prototype.replaceAll ?? function(e, t) {
|
|
15
|
+
return e.global ? this.replace(e, t) : this.split(e).join(t);
|
|
16
|
+
}, kn = Ct("replaceAll", function() {
|
|
17
|
+
if (typeof this == "string") return Tn;
|
|
18
|
+
}), w = kn;
|
|
19
|
+
function bn(e) {
|
|
20
|
+
return this[e < 0 ? this.length + e : e];
|
|
21
|
+
}
|
|
22
|
+
var wn = Ct("at", function() {
|
|
23
|
+
if (Array.isArray(this) || typeof this == "string") return bn;
|
|
24
|
+
}), re = wn, yn = () => {
|
|
25
|
+
}, Dn = yn, vr = "string", Sr = "array", Ar = "cursor", Et = "indent", vt = "align", Tr = "trim", St = "group", At = "fill", Tt = "if-break", kt = "indent-if-break", kr = "line-suffix", br = "line-suffix-boundary", ne = "line", wr = "label", bt = "break-parent", yr = /* @__PURE__ */ new Set([Ar, Et, vt, Tr, St, At, Tt, kt, kr, br, ne, wr, bt]);
|
|
26
|
+
function xn(e) {
|
|
27
|
+
if (typeof e == "string") return vr;
|
|
28
|
+
if (Array.isArray(e)) return Sr;
|
|
29
|
+
if (!e) return;
|
|
30
|
+
let { type: t } = e;
|
|
31
|
+
if (yr.has(t)) return t;
|
|
32
|
+
}
|
|
33
|
+
var Dr = xn, Nn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
34
|
+
function Ln(e) {
|
|
35
|
+
let t = e === null ? "null" : typeof e;
|
|
36
|
+
if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
|
|
37
|
+
Expected it to be 'string' or 'object'.`;
|
|
38
|
+
if (Dr(e)) throw new Error("doc is valid.");
|
|
39
|
+
let r = Object.prototype.toString.call(e);
|
|
40
|
+
if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
|
|
41
|
+
let n = Nn([...yr].map((a) => `'${a}'`));
|
|
42
|
+
return `Unexpected doc.type '${e.type}'.
|
|
43
|
+
Expected it to be ${n}.`;
|
|
44
|
+
}
|
|
45
|
+
var Bn = class extends Error {
|
|
46
|
+
constructor(t) {
|
|
47
|
+
super(Ln(t));
|
|
48
|
+
h(this, "name", "InvalidDocError");
|
|
49
|
+
this.doc = t;
|
|
50
|
+
}
|
|
51
|
+
}, On = Bn;
|
|
52
|
+
function xr(e, t) {
|
|
53
|
+
if (typeof e == "string") return t(e);
|
|
54
|
+
let r = /* @__PURE__ */ new Map();
|
|
55
|
+
return n(e);
|
|
56
|
+
function n(i) {
|
|
57
|
+
if (r.has(i)) return r.get(i);
|
|
58
|
+
let s = a(i);
|
|
59
|
+
return r.set(i, s), s;
|
|
60
|
+
}
|
|
61
|
+
function a(i) {
|
|
62
|
+
switch (Dr(i)) {
|
|
63
|
+
case Sr:
|
|
64
|
+
return t(i.map(n));
|
|
65
|
+
case At:
|
|
66
|
+
return t({ ...i, parts: i.parts.map(n) });
|
|
67
|
+
case Tt:
|
|
68
|
+
return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
|
|
69
|
+
case St: {
|
|
70
|
+
let { expandedStates: s, contents: o } = i;
|
|
71
|
+
return s ? (s = s.map(n), o = s[0]) : o = n(o), t({ ...i, contents: o, expandedStates: s });
|
|
72
|
+
}
|
|
73
|
+
case vt:
|
|
74
|
+
case Et:
|
|
75
|
+
case kt:
|
|
76
|
+
case wr:
|
|
77
|
+
case kr:
|
|
78
|
+
return t({ ...i, contents: n(i.contents) });
|
|
79
|
+
case vr:
|
|
80
|
+
case Ar:
|
|
81
|
+
case Tr:
|
|
82
|
+
case br:
|
|
83
|
+
case ne:
|
|
84
|
+
case bt:
|
|
85
|
+
return t(i);
|
|
86
|
+
default:
|
|
87
|
+
throw new On(i);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function F(e, t = Hn) {
|
|
92
|
+
return xr(e, (r) => typeof r == "string" ? ae(t, r.split(`
|
|
93
|
+
`)) : r);
|
|
94
|
+
}
|
|
95
|
+
var Fn = Dn;
|
|
96
|
+
function P(e) {
|
|
97
|
+
return { type: Et, contents: e };
|
|
98
|
+
}
|
|
99
|
+
function Pn(e, t) {
|
|
100
|
+
return { type: vt, contents: t, n: e };
|
|
101
|
+
}
|
|
102
|
+
function In(e) {
|
|
103
|
+
return Pn(Number.NEGATIVE_INFINITY, e);
|
|
104
|
+
}
|
|
105
|
+
var be = { type: bt };
|
|
106
|
+
function Nr(e) {
|
|
107
|
+
return { type: At, parts: e };
|
|
108
|
+
}
|
|
109
|
+
function k(e, t = {}) {
|
|
110
|
+
return Fn(t.expandedStates), { type: St, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
|
|
111
|
+
}
|
|
112
|
+
function Se(e, t = "", r = {}) {
|
|
113
|
+
return { type: Tt, breakContents: e, flatContents: t, groupId: r.groupId };
|
|
114
|
+
}
|
|
115
|
+
function Rn(e, t) {
|
|
116
|
+
return { type: kt, contents: e, groupId: t.groupId, negate: t.negate };
|
|
117
|
+
}
|
|
118
|
+
function ae(e, t) {
|
|
119
|
+
let r = [];
|
|
120
|
+
for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
|
|
121
|
+
return r;
|
|
122
|
+
}
|
|
123
|
+
var A = { type: ne }, b = { type: ne, soft: !0 }, Mn = { type: ne, hard: !0 }, S = [Mn, be], qn = { type: ne, hard: !0, literal: !0 }, Hn = [qn, be], Lr = Object.freeze({ character: "'", codePoint: 39 }), Br = Object.freeze({ character: '"', codePoint: 34 }), Un = Object.freeze({ preferred: Lr, alternate: Br }), Vn = Object.freeze({ preferred: Br, alternate: Lr });
|
|
124
|
+
function Wn(e, t) {
|
|
125
|
+
let { preferred: r, alternate: n } = t === !0 || t === "'" ? Un : Vn, { length: a } = e, i = 0, s = 0;
|
|
126
|
+
for (let o = 0; o < a; o++) {
|
|
127
|
+
let l = e.charCodeAt(o);
|
|
128
|
+
l === r.codePoint ? i++ : l === n.codePoint && s++;
|
|
129
|
+
}
|
|
130
|
+
return (i > s ? n : r).character;
|
|
131
|
+
}
|
|
132
|
+
var zn = Wn;
|
|
133
|
+
function $n(e) {
|
|
134
|
+
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
135
|
+
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
136
|
+
}
|
|
137
|
+
var x, We, Or, fr, jn = (fr = class {
|
|
138
|
+
constructor(e) {
|
|
139
|
+
Ze(this, We);
|
|
140
|
+
Ze(this, x);
|
|
141
|
+
Rt(this, x, new Set(e));
|
|
142
|
+
}
|
|
143
|
+
getLeadingWhitespaceCount(e) {
|
|
144
|
+
let t = R(this, x), r = 0;
|
|
145
|
+
for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
|
|
146
|
+
return r;
|
|
147
|
+
}
|
|
148
|
+
getTrailingWhitespaceCount(e) {
|
|
149
|
+
let t = R(this, x), r = 0;
|
|
150
|
+
for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
|
|
151
|
+
return r;
|
|
152
|
+
}
|
|
153
|
+
getLeadingWhitespace(e) {
|
|
154
|
+
let t = this.getLeadingWhitespaceCount(e);
|
|
155
|
+
return e.slice(0, t);
|
|
156
|
+
}
|
|
157
|
+
getTrailingWhitespace(e) {
|
|
158
|
+
let t = this.getTrailingWhitespaceCount(e);
|
|
159
|
+
return e.slice(e.length - t);
|
|
160
|
+
}
|
|
161
|
+
hasLeadingWhitespace(e) {
|
|
162
|
+
return R(this, x).has(e.charAt(0));
|
|
163
|
+
}
|
|
164
|
+
hasTrailingWhitespace(e) {
|
|
165
|
+
return R(this, x).has(re(0, e, -1));
|
|
166
|
+
}
|
|
167
|
+
trimStart(e) {
|
|
168
|
+
let t = this.getLeadingWhitespaceCount(e);
|
|
169
|
+
return e.slice(t);
|
|
170
|
+
}
|
|
171
|
+
trimEnd(e) {
|
|
172
|
+
let t = this.getTrailingWhitespaceCount(e);
|
|
173
|
+
return e.slice(0, e.length - t);
|
|
174
|
+
}
|
|
175
|
+
trim(e) {
|
|
176
|
+
return this.trimEnd(this.trimStart(e));
|
|
177
|
+
}
|
|
178
|
+
split(e, t = !1) {
|
|
179
|
+
let r = `[${$n([...R(this, x)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
|
|
180
|
+
return e.split(n);
|
|
181
|
+
}
|
|
182
|
+
hasWhitespaceCharacter(e) {
|
|
183
|
+
let t = R(this, x);
|
|
184
|
+
return Array.prototype.some.call(e, (r) => t.has(r));
|
|
185
|
+
}
|
|
186
|
+
hasNonWhitespaceCharacter(e) {
|
|
187
|
+
let t = R(this, x);
|
|
188
|
+
return Array.prototype.some.call(e, (r) => !t.has(r));
|
|
189
|
+
}
|
|
190
|
+
isWhitespaceOnly(e) {
|
|
191
|
+
let t = R(this, x);
|
|
192
|
+
return Array.prototype.every.call(e, (r) => t.has(r));
|
|
193
|
+
}
|
|
194
|
+
dedentString(e) {
|
|
195
|
+
let t = Mt(this, We, Or).call(this, e);
|
|
196
|
+
return t === 0 ? e : e.split(`
|
|
197
|
+
`).map((r) => r.slice(t)).join(`
|
|
198
|
+
`);
|
|
199
|
+
}
|
|
200
|
+
}, x = new WeakMap(), We = new WeakSet(), Or = function(e) {
|
|
201
|
+
let t = Number.POSITIVE_INFINITY;
|
|
202
|
+
for (let r of e.split(`
|
|
203
|
+
`)) {
|
|
204
|
+
if (r.length === 0) continue;
|
|
205
|
+
let n = this.getLeadingWhitespaceCount(r);
|
|
206
|
+
if (n === 0) return 0;
|
|
207
|
+
r.length !== n && n < t && (t = n);
|
|
208
|
+
}
|
|
209
|
+
return t === Number.POSITIVE_INFINITY ? 0 : t;
|
|
210
|
+
}, fr), Xn = jn, Gn = [" ", `
|
|
211
|
+
`, "\f", "\r", " "], Kn = new Xn(Gn), L = Kn, Yn = class extends Error {
|
|
212
|
+
constructor(t, r, n = "type") {
|
|
213
|
+
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);
|
|
214
|
+
h(this, "name", "UnexpectedNodeError");
|
|
215
|
+
this.node = t;
|
|
216
|
+
}
|
|
217
|
+
}, Jn = Yn, Qn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Zn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
218
|
+
function Fr(e, t, r) {
|
|
219
|
+
var n;
|
|
220
|
+
if (e.kind === "text" || e.kind === "comment") return null;
|
|
221
|
+
if (e.kind === "yaml" && delete t.value, e.kind === "attribute") {
|
|
222
|
+
let { fullName: a, value: i } = e;
|
|
223
|
+
a === "style" || a === "class" || a === "srcset" && (r.fullName === "img" || r.fullName === "source") || a === "allow" && r.fullName === "iframe" || a.startsWith("on") || a.startsWith("@") || a.startsWith(":") || a.startsWith(".") || a.startsWith("#") || a.startsWith("v-") || a === "vars" && r.fullName === "style" || (a === "setup" || a === "generic") && r.fullName === "script" || a === "slot-scope" || a.startsWith("(") || a.startsWith("[") || a.startsWith("*") || a.startsWith("bind") || a.startsWith("i18n") || a.startsWith("on-") || a.startsWith("ng-") || i != null && i.includes("{{") ? delete t.value : i && (t.value = w(0, i, /'|"|'/gu, '"'));
|
|
224
|
+
}
|
|
225
|
+
if (e.kind === "docType" && (t.value = w(0, e.value.toLowerCase(), /\s+/gu, " ")), e.kind === "angularControlFlowBlock" && ((n = e.parameters) == null ? void 0 : n.children)) for (let a of t.parameters.children) Zn.has(e.name) ? delete a.expression : a.expression = a.expression.trim();
|
|
226
|
+
e.kind === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.kind === "angularLetDeclarationInitializer" && delete t.value, e.kind === "element" && e.isVoid && !e.isSelfClosing && (t.isSelfClosing = !0);
|
|
227
|
+
}
|
|
228
|
+
Fr.ignoredProperties = Qn;
|
|
229
|
+
var ea = Fr;
|
|
230
|
+
function we(e, t = !0) {
|
|
231
|
+
return [P([b, e]), t ? b : ""];
|
|
232
|
+
}
|
|
233
|
+
function ie(e, t) {
|
|
234
|
+
let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
|
|
235
|
+
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression" || t.parser === "__ng_binding" || t.parser === "__ng_directive") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
236
|
+
}
|
|
237
|
+
async function B(e, t, r, n) {
|
|
238
|
+
r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
|
|
239
|
+
let a = !0;
|
|
240
|
+
n && (r.__onHtmlBindingRoot = (s, o) => {
|
|
241
|
+
a = n(s, o);
|
|
242
|
+
});
|
|
243
|
+
let i = await t(e, r, t);
|
|
244
|
+
return a ? k(i) : we(i);
|
|
245
|
+
}
|
|
246
|
+
function ta(e, t, r, n) {
|
|
247
|
+
let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
|
|
248
|
+
return /^\s*$/u.test(i) ? "" : B(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ie);
|
|
249
|
+
}
|
|
250
|
+
var ra = ta, na = Array.prototype.toReversed ?? function() {
|
|
251
|
+
return [...this].reverse();
|
|
252
|
+
}, aa = Ct("toReversed", function() {
|
|
253
|
+
if (Array.isArray(this)) return na;
|
|
254
|
+
}), ia = aa;
|
|
255
|
+
function sa() {
|
|
256
|
+
var r, n, a, i, s, o;
|
|
257
|
+
let e = globalThis, t = (n = (r = e.Deno) == null ? void 0 : r.build) == null ? void 0 : n.os;
|
|
258
|
+
return typeof t == "string" ? t === "windows" : ((i = (a = e.navigator) == null ? void 0 : a.platform) == null ? void 0 : i.startsWith("Win")) ?? ((o = (s = e.process) == null ? void 0 : s.platform) == null ? void 0 : o.startsWith("win")) ?? !1;
|
|
259
|
+
}
|
|
260
|
+
var oa = sa();
|
|
261
|
+
function Pr(e) {
|
|
262
|
+
if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
|
|
263
|
+
return e;
|
|
264
|
+
}
|
|
265
|
+
function ua(e) {
|
|
266
|
+
return e = Pr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
267
|
+
}
|
|
268
|
+
function la(e) {
|
|
269
|
+
e = Pr(e);
|
|
270
|
+
let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
271
|
+
return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
|
|
272
|
+
}
|
|
273
|
+
function ca(e) {
|
|
274
|
+
return oa ? la(e) : ua(e);
|
|
275
|
+
}
|
|
276
|
+
var pa = (e) => String(e).split(/[/\\]/u).pop(), ha = (e) => String(e).startsWith("file:");
|
|
277
|
+
function da(e) {
|
|
278
|
+
return Array.isArray(e) && e.length > 0;
|
|
279
|
+
}
|
|
280
|
+
var wt = da;
|
|
281
|
+
function Ht(e, t) {
|
|
282
|
+
if (!t) return;
|
|
283
|
+
let r = pa(t).toLowerCase();
|
|
284
|
+
return e.find(({ filenames: n }) => n == null ? void 0 : n.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n == null ? void 0 : n.some((a) => r.endsWith(a)));
|
|
285
|
+
}
|
|
286
|
+
function ma(e, t) {
|
|
287
|
+
if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t)) ?? e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t}`));
|
|
288
|
+
}
|
|
289
|
+
var et = void 0;
|
|
290
|
+
function Ut(e, t) {
|
|
291
|
+
if (t) {
|
|
292
|
+
if (ha(t)) try {
|
|
293
|
+
t = ca(t);
|
|
294
|
+
} catch {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
if (typeof t == "string") return e.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: t }));
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
function ga(e, t) {
|
|
301
|
+
var n;
|
|
302
|
+
let r = ia(0, e.plugins).flatMap((a) => a.languages ?? []);
|
|
303
|
+
return (n = ma(r, t.language) ?? Ht(r, t.physicalFile) ?? Ht(r, t.file) ?? Ut(r, t.physicalFile) ?? Ut(r, t.file) ?? (et == null ? void 0 : et(r, t.physicalFile))) == null ? void 0 : n.parsers[0];
|
|
304
|
+
}
|
|
305
|
+
var yt = ga, Ir = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
306
|
+
function fa(e) {
|
|
307
|
+
return !!(e != null && e[Ir]);
|
|
308
|
+
}
|
|
309
|
+
var ze = fa, le = 3;
|
|
310
|
+
function _a(e) {
|
|
311
|
+
let t = e.slice(0, le);
|
|
312
|
+
if (t !== "---" && t !== "+++") return;
|
|
313
|
+
let r = e.indexOf(`
|
|
314
|
+
`, le);
|
|
315
|
+
if (r === -1) return;
|
|
316
|
+
let n = e.slice(le, r).trim(), a = e.indexOf(`
|
|
317
|
+
${t}`, r), i = n;
|
|
318
|
+
if (i || (i = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && i === "yaml" && (a = e.indexOf(`
|
|
319
|
+
...`, r)), a === -1) return;
|
|
320
|
+
let s = a + 1 + le, o = e.charAt(s + 1);
|
|
321
|
+
if (!/\s?/u.test(o)) return;
|
|
322
|
+
let l = e.slice(0, s), c;
|
|
323
|
+
return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-le), raw: l, start: { line: 1, column: 0, index: 0 }, end: { index: l.length, get line() {
|
|
324
|
+
return c ?? (c = l.split(`
|
|
325
|
+
`)), c.length;
|
|
326
|
+
}, get column() {
|
|
327
|
+
return c ?? (c = l.split(`
|
|
328
|
+
`)), re(0, c, -1).length;
|
|
329
|
+
} }, [Ir]: !0 };
|
|
330
|
+
}
|
|
331
|
+
function Ca(e) {
|
|
332
|
+
let t = _a(e);
|
|
333
|
+
return t ? { frontMatter: t, get content() {
|
|
334
|
+
let { raw: r } = t;
|
|
335
|
+
return w(0, r, /[^\n]/gu, " ") + e.slice(r.length);
|
|
336
|
+
} } : { content: e };
|
|
337
|
+
}
|
|
338
|
+
var Ea = Ca, va = "inline", Vt = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, Sa = "normal", Wt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
339
|
+
function Aa(e) {
|
|
340
|
+
return e.kind === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
|
|
341
|
+
}
|
|
342
|
+
var ye = Aa, Ta = (e) => w(0, e, /^[\t\f\r ]*\n/gu, ""), Rr = (e) => Ta(L.trimEnd(e)), ka = (e) => {
|
|
343
|
+
let t = e, r = L.getLeadingWhitespace(t);
|
|
344
|
+
r && (t = t.slice(r.length));
|
|
345
|
+
let n = L.getTrailingWhitespace(t);
|
|
346
|
+
return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
|
|
347
|
+
};
|
|
348
|
+
function Mr(e, t) {
|
|
349
|
+
return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || te(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || xt(e, t) && !H(e, t) && e.kind !== "interpolation");
|
|
350
|
+
}
|
|
351
|
+
function $e(e) {
|
|
352
|
+
return e.kind === "attribute" || !e.parent || !e.prev ? !1 : ba(e.prev);
|
|
353
|
+
}
|
|
354
|
+
function ba(e) {
|
|
355
|
+
return e.kind === "comment" && e.value.trim() === "prettier-ignore";
|
|
356
|
+
}
|
|
357
|
+
function N(e) {
|
|
358
|
+
return e.kind === "text" || e.kind === "comment";
|
|
359
|
+
}
|
|
360
|
+
function H(e, t) {
|
|
361
|
+
return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || ye(e) && (e.name === "script" || e.name === "style"));
|
|
362
|
+
}
|
|
363
|
+
function wa(e, t) {
|
|
364
|
+
return e.children && !H(e, t);
|
|
365
|
+
}
|
|
366
|
+
function ya(e, t) {
|
|
367
|
+
return H(e, t) || e.kind === "interpolation" || qr(e);
|
|
368
|
+
}
|
|
369
|
+
function qr(e) {
|
|
370
|
+
return jr(e).startsWith("pre");
|
|
371
|
+
}
|
|
372
|
+
function Da(e, t) {
|
|
373
|
+
var a, i;
|
|
374
|
+
let r = n();
|
|
375
|
+
if (r && !e.prev && ((i = (a = e.parent) == null ? void 0 : a.tagDefinition) != null && i.ignoreFirstLf)) return e.kind === "interpolation";
|
|
376
|
+
return r;
|
|
377
|
+
function n() {
|
|
378
|
+
return ze(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : te(e.parent) ? !0 : !(!e.prev && (e.parent.kind === "root" || te(e) && e.parent || H(e.parent, t) || je(e.parent, t) || !Ra(e.parent.cssDisplay)) || e.prev && !Ha(e.prev.cssDisplay));
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
function xa(e, t) {
|
|
382
|
+
return ze(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : te(e.parent) ? !0 : !(!e.next && (e.parent.kind === "root" || te(e) && e.parent || H(e.parent, t) || je(e.parent, t) || !Ma(e.parent.cssDisplay)) || e.next && !qa(e.next.cssDisplay));
|
|
383
|
+
}
|
|
384
|
+
function Na(e, t) {
|
|
385
|
+
return Ua(e.cssDisplay) && !H(e, t);
|
|
386
|
+
}
|
|
387
|
+
function Ie(e) {
|
|
388
|
+
return ze(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
|
|
389
|
+
}
|
|
390
|
+
function La(e) {
|
|
391
|
+
return Hr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => Oa(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Vr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Wr(e.lastChild));
|
|
392
|
+
}
|
|
393
|
+
function Hr(e) {
|
|
394
|
+
return e.kind === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
|
|
395
|
+
}
|
|
396
|
+
function tt(e) {
|
|
397
|
+
return zr(e) || e.prev && Ba(e.prev) || Ur(e);
|
|
398
|
+
}
|
|
399
|
+
function Ba(e) {
|
|
400
|
+
return zr(e) || e.kind === "element" && e.fullName === "br" || Ur(e);
|
|
401
|
+
}
|
|
402
|
+
function Ur(e) {
|
|
403
|
+
return Vr(e) && Wr(e);
|
|
404
|
+
}
|
|
405
|
+
function Vr(e) {
|
|
406
|
+
return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.kind === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
|
|
407
|
+
}
|
|
408
|
+
function Wr(e) {
|
|
409
|
+
return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.kind === "root" || e.parent.endSourceSpan && e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
|
|
410
|
+
}
|
|
411
|
+
function zr(e) {
|
|
412
|
+
switch (e.kind) {
|
|
413
|
+
case "ieConditionalComment":
|
|
414
|
+
case "comment":
|
|
415
|
+
case "directive":
|
|
416
|
+
return !0;
|
|
417
|
+
case "element":
|
|
418
|
+
return ["script", "select"].includes(e.name);
|
|
419
|
+
}
|
|
420
|
+
return !1;
|
|
421
|
+
}
|
|
422
|
+
function Dt(e) {
|
|
423
|
+
return e.lastChild ? Dt(e.lastChild) : e;
|
|
424
|
+
}
|
|
425
|
+
function Oa(e) {
|
|
426
|
+
var t;
|
|
427
|
+
return (t = e.children) == null ? void 0 : t.some((r) => r.kind !== "text");
|
|
428
|
+
}
|
|
429
|
+
function $r(e) {
|
|
430
|
+
if (e) switch (e) {
|
|
431
|
+
case "module":
|
|
432
|
+
case "text/javascript":
|
|
433
|
+
case "text/babel":
|
|
434
|
+
case "text/jsx":
|
|
435
|
+
case "application/javascript":
|
|
436
|
+
return "babel";
|
|
437
|
+
case "application/x-typescript":
|
|
438
|
+
return "typescript";
|
|
439
|
+
case "text/markdown":
|
|
440
|
+
return "markdown";
|
|
441
|
+
case "text/html":
|
|
442
|
+
return "html";
|
|
443
|
+
case "text/x-handlebars-template":
|
|
444
|
+
return "glimmer";
|
|
445
|
+
default:
|
|
446
|
+
if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules") return "json";
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
function Fa(e, t) {
|
|
450
|
+
let { name: r, attrMap: n } = e;
|
|
451
|
+
if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
|
|
452
|
+
let { type: a, lang: i } = e.attrMap;
|
|
453
|
+
return !i && !a ? "babel" : yt(t, { language: i }) ?? $r(a);
|
|
454
|
+
}
|
|
455
|
+
function Pa(e, t) {
|
|
456
|
+
if (!xt(e, t)) return;
|
|
457
|
+
let { attrMap: r } = e;
|
|
458
|
+
if (Object.prototype.hasOwnProperty.call(r, "src")) return;
|
|
459
|
+
let { type: n, lang: a } = r;
|
|
460
|
+
return yt(t, { language: a }) ?? $r(n);
|
|
461
|
+
}
|
|
462
|
+
function Ia(e, t) {
|
|
463
|
+
if (e.name === "style") {
|
|
464
|
+
let { lang: r } = e.attrMap;
|
|
465
|
+
return r ? yt(t, { language: r }) : "css";
|
|
466
|
+
}
|
|
467
|
+
if (e.name === "mj-style" && t.parser === "mjml") return "css";
|
|
468
|
+
}
|
|
469
|
+
function zt(e, t) {
|
|
470
|
+
return Fa(e, t) ?? Ia(e, t) ?? Pa(e, t);
|
|
471
|
+
}
|
|
472
|
+
function De(e) {
|
|
473
|
+
return e === "block" || e === "list-item" || e.startsWith("table");
|
|
474
|
+
}
|
|
475
|
+
function Ra(e) {
|
|
476
|
+
return !De(e) && e !== "inline-block";
|
|
477
|
+
}
|
|
478
|
+
function Ma(e) {
|
|
479
|
+
return !De(e) && e !== "inline-block";
|
|
480
|
+
}
|
|
481
|
+
function qa(e) {
|
|
482
|
+
return !De(e);
|
|
483
|
+
}
|
|
484
|
+
function Ha(e) {
|
|
485
|
+
return !De(e);
|
|
486
|
+
}
|
|
487
|
+
function Ua(e) {
|
|
488
|
+
return !De(e) && e !== "inline-block";
|
|
489
|
+
}
|
|
490
|
+
function te(e) {
|
|
491
|
+
return jr(e).startsWith("pre");
|
|
492
|
+
}
|
|
493
|
+
function Va(e, t) {
|
|
494
|
+
let r = e;
|
|
495
|
+
for (; r; ) {
|
|
496
|
+
if (t(r)) return !0;
|
|
497
|
+
r = r.parent;
|
|
498
|
+
}
|
|
499
|
+
return !1;
|
|
500
|
+
}
|
|
501
|
+
function Wa(e, t) {
|
|
502
|
+
var n;
|
|
503
|
+
if (se(e, t)) return "block";
|
|
504
|
+
if (((n = e.prev) == null ? void 0 : n.kind) === "comment") {
|
|
505
|
+
let a = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
|
|
506
|
+
if (a) return a[1];
|
|
507
|
+
}
|
|
508
|
+
let r = !1;
|
|
509
|
+
if (e.kind === "element" && e.namespace === "svg") if (Va(e, (a) => a.fullName === "svg:foreignObject")) r = !0;
|
|
510
|
+
else return e.name === "svg" ? "inline-block" : "block";
|
|
511
|
+
switch (t.htmlWhitespaceSensitivity) {
|
|
512
|
+
case "strict":
|
|
513
|
+
return "inline";
|
|
514
|
+
case "ignore":
|
|
515
|
+
return "block";
|
|
516
|
+
default:
|
|
517
|
+
if (e.kind === "element" && (!e.namespace || r || ye(e)) && Object.prototype.hasOwnProperty.call(Vt, e.name)) return Vt[e.name];
|
|
518
|
+
}
|
|
519
|
+
return va;
|
|
520
|
+
}
|
|
521
|
+
function jr(e) {
|
|
522
|
+
return e.kind === "element" && (!e.namespace || ye(e)) && Object.prototype.hasOwnProperty.call(Wt, e.name) ? Wt[e.name] : Sa;
|
|
523
|
+
}
|
|
524
|
+
function Xr(e) {
|
|
525
|
+
return w(0, w(0, e, "'", "'"), """, '"');
|
|
526
|
+
}
|
|
527
|
+
function y(e) {
|
|
528
|
+
return Xr(e.value);
|
|
529
|
+
}
|
|
530
|
+
var za = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
531
|
+
function je(e, t) {
|
|
532
|
+
return se(e, t) && !za.has(e.fullName);
|
|
533
|
+
}
|
|
534
|
+
function se(e, t) {
|
|
535
|
+
return t.parser === "vue" && e.kind === "element" && e.parent.kind === "root" && e.fullName.toLowerCase() !== "html";
|
|
536
|
+
}
|
|
537
|
+
function xt(e, t) {
|
|
538
|
+
return se(e, t) && (je(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
|
|
539
|
+
}
|
|
540
|
+
function $a(e) {
|
|
541
|
+
let t = e.fullName;
|
|
542
|
+
return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
|
|
543
|
+
}
|
|
544
|
+
function ja(e, t) {
|
|
545
|
+
let r = e.parent;
|
|
546
|
+
if (!se(r, t)) return !1;
|
|
547
|
+
let n = r.fullName, a = e.fullName;
|
|
548
|
+
return n === "script" && a === "setup" || n === "style" && a === "vars";
|
|
549
|
+
}
|
|
550
|
+
function Gr(e, t = e.value) {
|
|
551
|
+
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? F(t) : F(L.dedentString(Rr(t)), S) : ae(A, L.split(t));
|
|
552
|
+
}
|
|
553
|
+
function Kr(e, t) {
|
|
554
|
+
return se(e, t) && e.name === "script";
|
|
555
|
+
}
|
|
556
|
+
function Xa(e) {
|
|
557
|
+
let { valueSpan: t, value: r } = e;
|
|
558
|
+
return t.end.offset - t.start.offset === r.length + 2;
|
|
559
|
+
}
|
|
560
|
+
function Yr(e, t) {
|
|
561
|
+
if (Xa(e)) return !1;
|
|
562
|
+
let { value: r } = e;
|
|
563
|
+
return /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r) || t.parser === "lwc" && r.startsWith("{") && r.endsWith("}");
|
|
564
|
+
}
|
|
565
|
+
var Jr = /\{\{(.+?)\}\}/su, Ga = ({ node: { value: e } }) => Jr.test(e);
|
|
566
|
+
async function Ka(e, t, r) {
|
|
567
|
+
let n = y(r.node), a = [];
|
|
568
|
+
for (let [i, s] of n.split(Jr).entries()) if (i % 2 === 0) a.push(F(s));
|
|
569
|
+
else try {
|
|
570
|
+
a.push(k(["{{", P([A, await B(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), A, "}}"]));
|
|
571
|
+
} catch {
|
|
572
|
+
a.push("{{", F(s), "}}");
|
|
573
|
+
}
|
|
574
|
+
return a;
|
|
575
|
+
}
|
|
576
|
+
var rt = (e) => (t, r, n) => B(y(n.node), t, { parser: e }, ie), Ya = [{ test(e) {
|
|
577
|
+
let t = e.node.fullName;
|
|
578
|
+
return t.startsWith("(") && t.endsWith(")") || t.startsWith("on-");
|
|
579
|
+
}, print: rt("__ng_action") }, { test(e) {
|
|
580
|
+
let t = e.node.fullName;
|
|
581
|
+
return t.startsWith("[") && t.endsWith("]") || /^bind(?:on)?-/u.test(t) || /^ng-(?:if|show|hide|class|style)$/u.test(t);
|
|
582
|
+
}, print: rt("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: rt("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ja }, { test: Ga, print: Ka }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
|
|
583
|
+
function Ja(e, t, { node: r }) {
|
|
584
|
+
let n = y(r);
|
|
585
|
+
return we(Nr(Gr(r, n.trim())), !n.includes("@@"));
|
|
586
|
+
}
|
|
587
|
+
var Qa = Ya, Za = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), ei = (e, t, r) => y(r.node).trim().split(/\s+/u).join(" "), ti = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"], ri = new Set(ti), ni = ({ node: e }, t) => ri.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), ai = (e, t, r) => B(y(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: !0 }, () => !1);
|
|
588
|
+
function ii(e) {
|
|
589
|
+
let t = [];
|
|
590
|
+
for (let r of e.split(";")) {
|
|
591
|
+
if (r = L.trim(r), !r) continue;
|
|
592
|
+
let [n, ...a] = L.split(r);
|
|
593
|
+
t.push({ name: n, value: a });
|
|
594
|
+
}
|
|
595
|
+
return t;
|
|
596
|
+
}
|
|
597
|
+
var si = ii, oi = ({ node: e }, t) => e.fullName === "allow" && !t.parentParser && e.parent.fullName === "iframe" && !e.value.includes("{{");
|
|
598
|
+
function ui(e, t, r) {
|
|
599
|
+
let { node: n } = r, a = si(y(n));
|
|
600
|
+
return a.length === 0 ? [""] : we(a.map(({ name: i, value: s }, o) => [[i, ...s].join(" "), o === a.length - 1 ? Se(";") : [";", A]]));
|
|
601
|
+
}
|
|
602
|
+
function $t(e) {
|
|
603
|
+
return e === " " || e === `
|
|
604
|
+
` || e === "\f" || e === "\r" || e === " ";
|
|
605
|
+
}
|
|
606
|
+
var li = /^[ \t\n\r\u000c]+/, ci = /^[, \t\n\r\u000c]+/, pi = /^[^ \t\n\r\u000c]+/, hi = /[,]+$/, jt = /^\d+$/, di = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
607
|
+
function mi(e) {
|
|
608
|
+
let t = e.length, r, n, a, i, s, o = 0, l;
|
|
609
|
+
function c(d) {
|
|
610
|
+
let C, v = d.exec(e.substring(o));
|
|
611
|
+
if (v) return [C] = v, o += C.length, C;
|
|
612
|
+
}
|
|
613
|
+
let p = [];
|
|
614
|
+
for (; ; ) {
|
|
615
|
+
if (c(ci), o >= t) {
|
|
616
|
+
if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
|
|
617
|
+
return p;
|
|
618
|
+
}
|
|
619
|
+
l = o, r = c(pi), n = [], r.slice(-1) === "," ? (r = r.replace(hi, ""), _()) : f();
|
|
620
|
+
}
|
|
621
|
+
function f() {
|
|
622
|
+
for (c(li), a = "", i = "in descriptor"; ; ) {
|
|
623
|
+
if (s = e.charAt(o), i === "in descriptor") if ($t(s)) a && (n.push(a), a = "", i = "after descriptor");
|
|
624
|
+
else if (s === ",") {
|
|
625
|
+
o += 1, a && n.push(a), _();
|
|
626
|
+
return;
|
|
627
|
+
} else if (s === "(") a += s, i = "in parens";
|
|
628
|
+
else if (s === "") {
|
|
629
|
+
a && n.push(a), _();
|
|
630
|
+
return;
|
|
631
|
+
} else a += s;
|
|
632
|
+
else if (i === "in parens") if (s === ")") a += s, i = "in descriptor";
|
|
633
|
+
else if (s === "") {
|
|
634
|
+
n.push(a), _();
|
|
635
|
+
return;
|
|
636
|
+
} else a += s;
|
|
637
|
+
else if (i === "after descriptor" && !$t(s)) if (s === "") {
|
|
638
|
+
_();
|
|
639
|
+
return;
|
|
640
|
+
} else i = "in descriptor", o -= 1;
|
|
641
|
+
o += 1;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
function _() {
|
|
645
|
+
let d = !1, C, v, O, I, V = {}, U, Fe, Y, ue, Je;
|
|
646
|
+
for (I = 0; I < n.length; I++) U = n[I], Fe = U[U.length - 1], Y = U.substring(0, U.length - 1), ue = parseInt(Y, 10), Je = parseFloat(Y), jt.test(Y) && Fe === "w" ? ((C || v) && (d = !0), ue === 0 ? d = !0 : C = ue) : di.test(Y) && Fe === "x" ? ((C || v || O) && (d = !0), Je < 0 ? d = !0 : v = Je) : jt.test(Y) && Fe === "h" ? ((O || v) && (d = !0), ue === 0 ? d = !0 : O = ue) : d = !0;
|
|
647
|
+
if (!d) V.source = { value: r, startOffset: l }, C && (V.width = { value: C }), v && (V.density = { value: v }), O && (V.height = { value: O }), p.push(V);
|
|
648
|
+
else throw new Error(`Invalid srcset descriptor found in "${e}" at "${U}".`);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
var gi = mi, fi = (e) => e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"), Qr = { width: "w", height: "h", density: "x" }, _i = Object.keys(Qr);
|
|
652
|
+
function Ci(e, t, r) {
|
|
653
|
+
let n = y(r.node), a = gi(n), i = _i.filter((d) => a.some((C) => Object.prototype.hasOwnProperty.call(C, d)));
|
|
654
|
+
if (i.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
|
|
655
|
+
let [s] = i, o = Qr[s], l = a.map((d) => d.source.value), c = Math.max(...l.map((d) => d.length)), p = a.map((d) => d[s] ? String(d[s].value) : ""), f = p.map((d) => {
|
|
656
|
+
let C = d.indexOf(".");
|
|
657
|
+
return C === -1 ? d.length : C;
|
|
658
|
+
}), _ = Math.max(...f);
|
|
659
|
+
return we(ae([",", A], l.map((d, C) => {
|
|
660
|
+
let v = [d], O = p[C];
|
|
661
|
+
if (O) {
|
|
662
|
+
let I = c - d.length + 1, V = _ - f[C], U = " ".repeat(I + V);
|
|
663
|
+
v.push(Se(U, " "), O + o);
|
|
664
|
+
}
|
|
665
|
+
return v;
|
|
666
|
+
})));
|
|
667
|
+
}
|
|
668
|
+
var Ei = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), vi = async (e, t, r) => we(await e(y(r.node), { parser: "css", __isHTMLStyleAttribute: !0 })), nt = /* @__PURE__ */ new WeakMap();
|
|
669
|
+
function Si(e, t) {
|
|
670
|
+
let { root: r } = e;
|
|
671
|
+
return nt.has(r) || nt.set(r, r.children.some((n) => Kr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), nt.get(r);
|
|
672
|
+
}
|
|
673
|
+
var oe = Si;
|
|
674
|
+
function Ai(e, t, r) {
|
|
675
|
+
let n = y(r.node);
|
|
676
|
+
return B(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ie);
|
|
677
|
+
}
|
|
678
|
+
function Ti(e, t, r, n) {
|
|
679
|
+
let a = y(r.node), i = oe(r, n) ? "babel-ts" : "babel";
|
|
680
|
+
return B(`function _(${a}) {}`, e, { parser: i, __isVueBindings: !0 });
|
|
681
|
+
}
|
|
682
|
+
async function ki(e, t, r, n) {
|
|
683
|
+
let a = y(r.node), { left: i, operator: s, right: o } = bi(a), l = oe(r, n);
|
|
684
|
+
return [k(await B(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await B(o, e, { parser: l ? "__ts_expression" : "__js_expression" })];
|
|
685
|
+
}
|
|
686
|
+
function bi(e) {
|
|
687
|
+
let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
|
|
688
|
+
if (!a) return;
|
|
689
|
+
let i = { for: a[3].trim() };
|
|
690
|
+
if (!i.for) return;
|
|
691
|
+
let s = w(0, a[1].trim(), n, ""), o = s.match(r);
|
|
692
|
+
o ? (i.alias = s.replace(r, ""), i.iterator1 = o[1].trim(), o[2] && (i.iterator2 = o[2].trim())) : i.alias = s;
|
|
693
|
+
let l = [i.alias, i.iterator1, i.iterator2];
|
|
694
|
+
if (!l.some((c, p) => !c && (p === 0 || l.slice(p + 1).some(Boolean)))) return { left: l.filter(Boolean).join(","), operator: a[2], right: i.for };
|
|
695
|
+
}
|
|
696
|
+
var wi = [{ test: (e) => e.node.fullName === "v-for", print: ki }, { test: (e, t) => e.node.fullName === "generic" && Kr(e.parent, t), print: Ai }, { test: ({ node: e }, t) => $a(e) || ja(e, t), print: Ti }, { test(e) {
|
|
697
|
+
let t = e.node.fullName;
|
|
698
|
+
return t.startsWith("@") || t.startsWith("v-on:");
|
|
699
|
+
}, print: yi }, { test(e) {
|
|
700
|
+
let t = e.node.fullName;
|
|
701
|
+
return t.startsWith(":") || t.startsWith(".") || t.startsWith("v-bind:");
|
|
702
|
+
}, print: Di }, { test: (e) => e.node.fullName.startsWith("v-"), print: Zr }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "vue" && e(r, n), print: t }));
|
|
703
|
+
async function yi(e, t, r, n) {
|
|
704
|
+
var s;
|
|
705
|
+
try {
|
|
706
|
+
return await Zr(e, t, r, n);
|
|
707
|
+
} catch (o) {
|
|
708
|
+
if (((s = o.cause) == null ? void 0 : s.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw o;
|
|
709
|
+
}
|
|
710
|
+
let a = y(r.node), i = oe(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
|
|
711
|
+
return B(a, e, { parser: i }, ie);
|
|
712
|
+
}
|
|
713
|
+
function Di(e, t, r, n) {
|
|
714
|
+
let a = y(r.node), i = oe(r, n) ? "__vue_ts_expression" : "__vue_expression";
|
|
715
|
+
return B(a, e, { parser: i }, ie);
|
|
716
|
+
}
|
|
717
|
+
function Zr(e, t, r, n) {
|
|
718
|
+
let a = y(r.node), i = oe(r, n) ? "__ts_expression" : "__js_expression";
|
|
719
|
+
return B(a, e, { parser: i }, ie);
|
|
720
|
+
}
|
|
721
|
+
var xi = wi, Ni = [{ test: fi, print: Ci }, { test: Ei, print: vi }, { test: ni, print: ai }, { test: Za, print: ei }, { test: oi, print: ui }, ...xi, ...Qa].map(({ test: e, print: t }) => ({ test: e, print: Bi(t) }));
|
|
722
|
+
function Li(e, t) {
|
|
723
|
+
var a;
|
|
724
|
+
let { node: r } = e, { value: n } = r;
|
|
725
|
+
if (n) return Yr(r, t) ? [r.rawName, "=", n] : (a = Ni.find(({ test: i }) => i(e, t))) == null ? void 0 : a.print;
|
|
726
|
+
}
|
|
727
|
+
function Bi(e) {
|
|
728
|
+
return async (t, r, n, a) => {
|
|
729
|
+
let i = await e(t, r, n, a);
|
|
730
|
+
if (i) return i = xr(i, (s) => typeof s == "string" ? w(0, s, '"', """) : s), [n.node.rawName, '="', k(i), '"'];
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
var Oi = Li, xe = (e) => e.sourceSpan.start.offset, Xe = (e) => e.sourceSpan.end.offset;
|
|
734
|
+
function ot(e, t) {
|
|
735
|
+
return [e.isSelfClosing ? "" : Fi(e, t), fe(e, t)];
|
|
736
|
+
}
|
|
737
|
+
function Fi(e, t) {
|
|
738
|
+
return e.lastChild && Ae(e.lastChild) ? "" : [Pi(e, t), Nt(e, t)];
|
|
739
|
+
}
|
|
740
|
+
function fe(e, t) {
|
|
741
|
+
return (e.next ? X(e.next) : Le(e.parent)) ? "" : [Ne(e, t), j(e, t)];
|
|
742
|
+
}
|
|
743
|
+
function Pi(e, t) {
|
|
744
|
+
return Le(e) ? Ne(e.lastChild, t) : "";
|
|
745
|
+
}
|
|
746
|
+
function j(e, t) {
|
|
747
|
+
return Ae(e) ? Nt(e.parent, t) : Ge(e) ? Lt(e.next, t) : "";
|
|
748
|
+
}
|
|
749
|
+
function Nt(e, t) {
|
|
750
|
+
if (en(e, t)) return "";
|
|
751
|
+
switch (e.kind) {
|
|
752
|
+
case "ieConditionalComment":
|
|
753
|
+
return "<!";
|
|
754
|
+
case "element":
|
|
755
|
+
if (e.hasHtmComponentClosingTag) return "<//";
|
|
756
|
+
default:
|
|
757
|
+
return `</${e.rawName}`;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
function Ne(e, t) {
|
|
761
|
+
if (en(e, t)) return "";
|
|
762
|
+
switch (e.kind) {
|
|
763
|
+
case "ieConditionalComment":
|
|
764
|
+
case "ieConditionalEndComment":
|
|
765
|
+
return "[endif]-->";
|
|
766
|
+
case "ieConditionalStartComment":
|
|
767
|
+
return "]><!-->";
|
|
768
|
+
case "interpolation":
|
|
769
|
+
return "}}";
|
|
770
|
+
case "angularIcuExpression":
|
|
771
|
+
return "}";
|
|
772
|
+
case "element":
|
|
773
|
+
if (e.isSelfClosing) return "/>";
|
|
774
|
+
default:
|
|
775
|
+
return ">";
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
function en(e, t) {
|
|
779
|
+
return !e.isSelfClosing && !e.endSourceSpan && ($e(e) || Mr(e.parent, t));
|
|
780
|
+
}
|
|
781
|
+
function X(e) {
|
|
782
|
+
return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !N(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
783
|
+
}
|
|
784
|
+
function Le(e) {
|
|
785
|
+
var t;
|
|
786
|
+
return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !N(Dt(e.lastChild)) && !te(e);
|
|
787
|
+
}
|
|
788
|
+
function Ae(e) {
|
|
789
|
+
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && N(Dt(e));
|
|
790
|
+
}
|
|
791
|
+
function Ge(e) {
|
|
792
|
+
return e.next && !N(e.next) && N(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
|
|
793
|
+
}
|
|
794
|
+
function Ii(e) {
|
|
795
|
+
let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
796
|
+
return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
|
|
797
|
+
}
|
|
798
|
+
function Ke(e) {
|
|
799
|
+
return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
800
|
+
}
|
|
801
|
+
function Ri(e, t, r) {
|
|
802
|
+
var p;
|
|
803
|
+
let { node: n } = e;
|
|
804
|
+
if (!wt(n.attrs)) return n.isSelfClosing ? " " : "";
|
|
805
|
+
let a = ((p = n.prev) == null ? void 0 : p.kind) === "comment" && Ii(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (f) => a.includes(f.rawName) : () => !1, s = e.map(({ node: f }) => i(f) ? F(t.originalText.slice(xe(f), Xe(f))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, l = t.singleAttributePerLine && n.attrs.length > 1 && !se(n, t) ? S : A, c = [P([o ? " " : A, ae(l, s)])];
|
|
806
|
+
return n.firstChild && Ke(n.firstChild) || n.isSelfClosing && Le(n.parent) || o ? c.push(n.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? A : b), c;
|
|
807
|
+
}
|
|
808
|
+
function Mi(e) {
|
|
809
|
+
return e.firstChild && Ke(e.firstChild) ? "" : Bt(e);
|
|
810
|
+
}
|
|
811
|
+
function ut(e, t, r) {
|
|
812
|
+
let { node: n } = e;
|
|
813
|
+
return [_e(n, t), Ri(e, t, r), n.isSelfClosing ? "" : Mi(n)];
|
|
814
|
+
}
|
|
815
|
+
function _e(e, t) {
|
|
816
|
+
return e.prev && Ge(e.prev) ? "" : [G(e, t), Lt(e, t)];
|
|
817
|
+
}
|
|
818
|
+
function G(e, t) {
|
|
819
|
+
return Ke(e) ? Bt(e.parent) : X(e) ? Ne(e.prev, t) : "";
|
|
820
|
+
}
|
|
821
|
+
var Xt = "<!doctype";
|
|
822
|
+
function Lt(e, t) {
|
|
823
|
+
switch (e.kind) {
|
|
824
|
+
case "ieConditionalComment":
|
|
825
|
+
case "ieConditionalStartComment":
|
|
826
|
+
return `<!--[if ${e.condition}`;
|
|
827
|
+
case "ieConditionalEndComment":
|
|
828
|
+
return "<!--<!";
|
|
829
|
+
case "interpolation":
|
|
830
|
+
return "{{";
|
|
831
|
+
case "docType": {
|
|
832
|
+
if (e.value === "html") {
|
|
833
|
+
let { filepath: n } = t;
|
|
834
|
+
if (n && /\.html?$/u.test(n)) return Xt;
|
|
835
|
+
}
|
|
836
|
+
let r = xe(e);
|
|
837
|
+
return t.originalText.slice(r, r + Xt.length);
|
|
838
|
+
}
|
|
839
|
+
case "angularIcuExpression":
|
|
840
|
+
return "{";
|
|
841
|
+
case "element":
|
|
842
|
+
if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
|
|
843
|
+
default:
|
|
844
|
+
return `<${e.rawName}`;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
function Bt(e) {
|
|
848
|
+
switch (e.kind) {
|
|
849
|
+
case "ieConditionalComment":
|
|
850
|
+
return "]>";
|
|
851
|
+
case "element":
|
|
852
|
+
if (e.condition) return "><!--<![endif]-->";
|
|
853
|
+
default:
|
|
854
|
+
return ">";
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
function qi(e, t) {
|
|
858
|
+
if (!e.endSourceSpan) return "";
|
|
859
|
+
let r = e.startSourceSpan.end.offset;
|
|
860
|
+
e.firstChild && Ke(e.firstChild) && (r -= Bt(e).length);
|
|
861
|
+
let n = e.endSourceSpan.start.offset;
|
|
862
|
+
return e.lastChild && Ae(e.lastChild) ? n += Nt(e, t).length : Le(e) && (n -= Ne(e.lastChild, t).length), t.originalText.slice(r, n);
|
|
863
|
+
}
|
|
864
|
+
var tn = qi, Hi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
865
|
+
function Ui(e, t) {
|
|
866
|
+
let { node: r } = e;
|
|
867
|
+
switch (r.kind) {
|
|
868
|
+
case "element":
|
|
869
|
+
if (H(r, t) || r.kind === "interpolation") return;
|
|
870
|
+
if (!r.isSelfClosing && xt(r, t)) {
|
|
871
|
+
let n = zt(r, t);
|
|
872
|
+
return n ? async (a, i) => {
|
|
873
|
+
let s = tn(r, t), o = /^\s*$/u.test(s), l = "";
|
|
874
|
+
return o || (l = await a(Rr(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [G(r, t), k(ut(e, t, i)), o ? "" : S, l, o ? "" : S, ot(r, t), j(r, t)];
|
|
875
|
+
} : void 0;
|
|
876
|
+
}
|
|
877
|
+
break;
|
|
878
|
+
case "text":
|
|
879
|
+
if (H(r.parent, t)) {
|
|
880
|
+
let n = zt(r.parent, t);
|
|
881
|
+
if (n) return async (a) => {
|
|
882
|
+
let i = n === "markdown" ? L.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
|
|
883
|
+
if (t.parser === "html" && n === "babel") {
|
|
884
|
+
let o = "script", { attrMap: l } = r.parent;
|
|
885
|
+
l && (l.type === "module" || (l.type === "text/babel" || l.type === "text/jsx") && l["data-type"] === "module") && (o = "module"), s.__babelSourceType = o;
|
|
886
|
+
}
|
|
887
|
+
return [be, G(r, t), await a(i, s), j(r, t)];
|
|
888
|
+
};
|
|
889
|
+
} else if (r.parent.kind === "interpolation") return async (n) => {
|
|
890
|
+
let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
|
|
891
|
+
return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = oe(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [P([A, await n(r.value, a)]), r.parent.next && X(r.parent.next) ? " " : A];
|
|
892
|
+
};
|
|
893
|
+
break;
|
|
894
|
+
case "attribute":
|
|
895
|
+
return Oi(e, t);
|
|
896
|
+
case "angularControlFlowBlockParameters":
|
|
897
|
+
return Hi.has(e.parent.name) ? ra : void 0;
|
|
898
|
+
case "angularLetDeclarationInitializer":
|
|
899
|
+
return (n) => B(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
var Vi = Ui, ce = null;
|
|
903
|
+
function Ce(e) {
|
|
904
|
+
if (ce !== null && typeof ce.property) {
|
|
905
|
+
let t = ce;
|
|
906
|
+
return ce = Ce.prototype = null, t;
|
|
907
|
+
}
|
|
908
|
+
return ce = Ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new Ce();
|
|
909
|
+
}
|
|
910
|
+
var Wi = 10;
|
|
911
|
+
for (let e = 0; e <= Wi; e++) Ce();
|
|
912
|
+
function zi(e) {
|
|
913
|
+
return Ce(e);
|
|
914
|
+
}
|
|
915
|
+
function $i(e, t = "type") {
|
|
916
|
+
zi(e);
|
|
917
|
+
function r(n) {
|
|
918
|
+
let a = n[t], i = e[a];
|
|
919
|
+
if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
|
|
920
|
+
return i;
|
|
921
|
+
}
|
|
922
|
+
return r;
|
|
923
|
+
}
|
|
924
|
+
var ji = $i, D = [["children"], []], Xi = { root: D[0], element: ["attrs", "children"], ieConditionalComment: D[0], ieConditionalStartComment: D[1], ieConditionalEndComment: D[1], interpolation: D[0], text: D[0], docType: D[1], comment: D[1], attribute: D[1], cdata: D[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: D[0], angularControlFlowBlockParameter: D[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: D[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Gi = ji(Xi, "kind"), Ki = Gi, Yi = "format", Ji = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Qi = /^\s*<!--\s*@(?:format|prettier)\s*-->/u, Zi = (e) => Qi.test(e), es = (e) => Ji.test(e), ts = (e) => `<!-- @${Yi} -->
|
|
925
|
+
|
|
926
|
+
${e}`, rs = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
|
|
927
|
+
function rn(e) {
|
|
928
|
+
let t = Xe(e);
|
|
929
|
+
return e.kind === "element" && !e.endSourceSpan && wt(e.children) ? Math.max(t, rn(re(0, e.children, -1))) : t;
|
|
930
|
+
}
|
|
931
|
+
function pe(e, t, r) {
|
|
932
|
+
let n = e.node;
|
|
933
|
+
if ($e(n)) {
|
|
934
|
+
let a = rn(n);
|
|
935
|
+
return [G(n, t), F(L.trimEnd(t.originalText.slice(xe(n) + (n.prev && Ge(n.prev) ? Lt(n).length : 0), a - (n.next && X(n.next) ? Ne(n, t).length : 0)))), j(n, t)];
|
|
936
|
+
}
|
|
937
|
+
return r();
|
|
938
|
+
}
|
|
939
|
+
function Re(e, t) {
|
|
940
|
+
return N(e) && N(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? tt(t) ? S : A : "" : tt(t) ? S : b : Ge(e) && ($e(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && X(t) ? "" : !t.isLeadingSpaceSensitive || tt(t) || X(t) && e.lastChild && Ae(e.lastChild) && e.lastChild.lastChild && Ae(e.lastChild.lastChild) ? S : t.hasLeadingSpaces ? A : b;
|
|
941
|
+
}
|
|
942
|
+
function Ot(e, t, r) {
|
|
943
|
+
let { node: n } = e;
|
|
944
|
+
if (Hr(n)) return [be, ...e.map(() => {
|
|
945
|
+
let i = e.node, s = i.prev ? Re(i.prev, i) : "";
|
|
946
|
+
return [s ? [s, Ie(i.prev) ? S : ""] : "", pe(e, t, r)];
|
|
947
|
+
}, "children")];
|
|
948
|
+
let a = n.children.map(() => Symbol(""));
|
|
949
|
+
return e.map(({ node: i, index: s }) => {
|
|
950
|
+
if (N(i)) {
|
|
951
|
+
if (i.prev && N(i.prev)) {
|
|
952
|
+
let d = Re(i.prev, i);
|
|
953
|
+
if (d) return Ie(i.prev) ? [S, S, pe(e, t, r)] : [d, pe(e, t, r)];
|
|
954
|
+
}
|
|
955
|
+
return pe(e, t, r);
|
|
956
|
+
}
|
|
957
|
+
let o = [], l = [], c = [], p = [], f = i.prev ? Re(i.prev, i) : "", _ = i.next ? Re(i, i.next) : "";
|
|
958
|
+
return f && (Ie(i.prev) ? o.push(S, S) : f === S ? o.push(S) : N(i.prev) ? l.push(f) : l.push(Se("", b, { groupId: a[s - 1] }))), _ && (Ie(i) ? N(i.next) && p.push(S, S) : _ === S ? N(i.next) && p.push(S) : c.push(_)), [...o, k([...l, k([pe(e, t, r), ...c], { id: a[s] })]), ...p];
|
|
959
|
+
}, "children");
|
|
960
|
+
}
|
|
961
|
+
function ns(e, t, r) {
|
|
962
|
+
let { node: n } = e, a = [];
|
|
963
|
+
if (os(e) && a.push("} "), a.push("@", n.name), is(n)) return a.push(";"), a;
|
|
964
|
+
if (n.parameters && a.push(" (", k(r("parameters")), ")"), !ss(n)) {
|
|
965
|
+
a.push(" {");
|
|
966
|
+
let i = nn(n);
|
|
967
|
+
n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(P([S, Ot(e, t, r)])), i && a.push(S, "}")) : i && a.push("}");
|
|
968
|
+
}
|
|
969
|
+
return k(a, { shouldBreak: !0 });
|
|
970
|
+
}
|
|
971
|
+
function nn(e) {
|
|
972
|
+
var t, r;
|
|
973
|
+
return !(((t = e.next) == null ? void 0 : t.kind) === "angularControlFlowBlock" && ((r = rs.get(e.name)) != null && r.has(e.next.name)));
|
|
974
|
+
}
|
|
975
|
+
var as = (e) => (e == null ? void 0 : e.kind) === "angularControlFlowBlock" && (e.name === "case" || e.name === "default"), is = (e) => (e == null ? void 0 : e.kind) === "angularControlFlowBlock" && e.name === "default never";
|
|
976
|
+
function ss(e) {
|
|
977
|
+
return as(e) && e.endSourceSpan && e.endSourceSpan.start.offset === e.endSourceSpan.end.offset;
|
|
978
|
+
}
|
|
979
|
+
function os(e) {
|
|
980
|
+
let { previous: t } = e;
|
|
981
|
+
return (t == null ? void 0 : t.kind) === "angularControlFlowBlock" && !$e(t) && !nn(t);
|
|
982
|
+
}
|
|
983
|
+
function us(e, t, r) {
|
|
984
|
+
return [P([b, ae([";", A], e.map(r, "children"))]), b];
|
|
985
|
+
}
|
|
986
|
+
function ls(e, t, r) {
|
|
987
|
+
let { node: n } = e;
|
|
988
|
+
return [_e(n, t), k([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", P([A, ae(A, e.map(r, "cases"))])] : "", b]), fe(n, t)];
|
|
989
|
+
}
|
|
990
|
+
function cs(e, t, r) {
|
|
991
|
+
let { node: n } = e;
|
|
992
|
+
return [n.value, " {", k([P([b, e.map(({ node: a, isLast: i }) => {
|
|
993
|
+
let s = [r()];
|
|
994
|
+
return a.kind === "text" && (a.hasLeadingSpaces && s.unshift(A), a.hasTrailingSpaces && !i && s.push(A)), s;
|
|
995
|
+
}, "expression")]), b]), "}"];
|
|
996
|
+
}
|
|
997
|
+
function ps(e, t, r) {
|
|
998
|
+
let { node: n } = e;
|
|
999
|
+
if (Mr(n, t)) return [G(n, t), k(ut(e, t, r)), F(tn(n, t)), ...ot(n, t), j(n, t)];
|
|
1000
|
+
let a = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (p) => k([k(ut(e, t, r), { id: i }), p, ot(n, t)]), o = (p) => a ? Rn(p, { groupId: i }) : (H(n, t) || je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : P(p), l = () => a ? Se(b, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? A : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? In(b) : b, c = () => (n.next ? X(n.next) : Le(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? Se(b, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? A : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : b;
|
|
1001
|
+
return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? A : "") : s([La(n) ? be : "", o([l(), Ot(e, t, r)]), c()]);
|
|
1002
|
+
}
|
|
1003
|
+
var q = (function(e) {
|
|
1004
|
+
return e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA", e;
|
|
1005
|
+
})({});
|
|
1006
|
+
function Ye(e, t = !0) {
|
|
1007
|
+
if (e[0] != ":") return [null, e];
|
|
1008
|
+
let r = e.indexOf(":", 1);
|
|
1009
|
+
if (r === -1) {
|
|
1010
|
+
if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
|
|
1011
|
+
return [null, e];
|
|
1012
|
+
}
|
|
1013
|
+
return [e.slice(1, r), e.slice(r + 1)];
|
|
1014
|
+
}
|
|
1015
|
+
function Gt(e) {
|
|
1016
|
+
return Ye(e)[1] === "ng-container";
|
|
1017
|
+
}
|
|
1018
|
+
function Kt(e) {
|
|
1019
|
+
return Ye(e)[1] === "ng-content";
|
|
1020
|
+
}
|
|
1021
|
+
function He(e) {
|
|
1022
|
+
return e === null ? null : Ye(e)[0];
|
|
1023
|
+
}
|
|
1024
|
+
function Ee(e, t) {
|
|
1025
|
+
return e ? `:${e}:${t}` : t;
|
|
1026
|
+
}
|
|
1027
|
+
var Yt = { name: "custom-elements" }, Jt = { name: "no-errors-schema" }, Q = (function(e) {
|
|
1028
|
+
return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e[e.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e;
|
|
1029
|
+
})({}), hs = /-+([a-z0-9])/g;
|
|
1030
|
+
function ds(e) {
|
|
1031
|
+
return e.replace(hs, (...t) => t[1].toUpperCase());
|
|
1032
|
+
}
|
|
1033
|
+
var Ue;
|
|
1034
|
+
function Qt() {
|
|
1035
|
+
return Ue || (Ue = {}, he(Q.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), he(Q.STYLE, ["*|style"]), he(Q.URL, ["*|formAction", "area|href", "a|href", "a|xlink:href", "form|action", "annotation|href", "annotation|xlink:href", "annotation-xml|href", "annotation-xml|xlink:href", "maction|href", "maction|xlink:href", "malignmark|href", "malignmark|xlink:href", "math|href", "math|xlink:href", "mroot|href", "mroot|xlink:href", "msqrt|href", "msqrt|xlink:href", "merror|href", "merror|xlink:href", "mfrac|href", "mfrac|xlink:href", "mglyph|href", "mglyph|xlink:href", "msub|href", "msub|xlink:href", "msup|href", "msup|xlink:href", "msubsup|href", "msubsup|xlink:href", "mmultiscripts|href", "mmultiscripts|xlink:href", "mprescripts|href", "mprescripts|xlink:href", "mi|href", "mi|xlink:href", "mn|href", "mn|xlink:href", "mo|href", "mo|xlink:href", "mpadded|href", "mpadded|xlink:href", "mphantom|href", "mphantom|xlink:href", "mrow|href", "mrow|xlink:href", "ms|href", "ms|xlink:href", "mspace|href", "mspace|xlink:href", "mstyle|href", "mstyle|xlink:href", "mtable|href", "mtable|xlink:href", "mtd|href", "mtd|xlink:href", "mtr|href", "mtr|xlink:href", "mtext|href", "mtext|xlink:href", "mover|href", "mover|xlink:href", "munder|href", "munder|xlink:href", "munderover|href", "munderover|xlink:href", "semantics|href", "semantics|xlink:href", "none|href", "none|xlink:href", "img|src", "video|src"]), he(Q.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src", "script|href", "script|xlink:href"]), he(Q.ATTRIBUTE_NO_BINDING, ["animate|attributeName", "animate|values", "animate|to", "animate|from", "set|to", "set|attributeName", "animateMotion|attributeName", "animateTransform|attributeName", "unknown|attributeName", "unknown|values", "unknown|to", "unknown|from", "iframe|sandbox", "iframe|allow", "iframe|allowFullscreen", "iframe|referrerPolicy", "iframe|csp", "iframe|fetchPriority", "unknown|sandbox", "unknown|allow", "unknown|allowFullscreen", "unknown|referrerPolicy", "unknown|csp", "unknown|fetchPriority"])), Ue;
|
|
1036
|
+
}
|
|
1037
|
+
function he(e, t) {
|
|
1038
|
+
for (let r of t) Ue[r.toLowerCase()] = e;
|
|
1039
|
+
}
|
|
1040
|
+
var ms = class {
|
|
1041
|
+
}, gs = "boolean", fs = "number", _s = "string", Cs = "object", Es = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], an = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), vs = Array.from(an).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), Ss = class extends ms {
|
|
1042
|
+
constructor() {
|
|
1043
|
+
super();
|
|
1044
|
+
h(this, "_schema", /* @__PURE__ */ new Map());
|
|
1045
|
+
h(this, "_eventSchema", /* @__PURE__ */ new Map());
|
|
1046
|
+
Es.forEach((t) => {
|
|
1047
|
+
let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [a, i] = t.split("|"), s = i.split(","), [o, l] = a.split("^");
|
|
1048
|
+
o.split(",").forEach((p) => {
|
|
1049
|
+
this._schema.set(p.toLowerCase(), r), this._eventSchema.set(p.toLowerCase(), n);
|
|
1050
|
+
});
|
|
1051
|
+
let c = l && this._schema.get(l.toLowerCase());
|
|
1052
|
+
if (c) {
|
|
1053
|
+
for (let [p, f] of c) r.set(p, f);
|
|
1054
|
+
for (let p of this._eventSchema.get(l.toLowerCase())) n.add(p);
|
|
1055
|
+
}
|
|
1056
|
+
s.forEach((p) => {
|
|
1057
|
+
if (p.length > 0) switch (p[0]) {
|
|
1058
|
+
case "*":
|
|
1059
|
+
n.add(p.substring(1));
|
|
1060
|
+
break;
|
|
1061
|
+
case "!":
|
|
1062
|
+
r.set(p.substring(1), gs);
|
|
1063
|
+
break;
|
|
1064
|
+
case "#":
|
|
1065
|
+
r.set(p.substring(1), fs);
|
|
1066
|
+
break;
|
|
1067
|
+
case "%":
|
|
1068
|
+
r.set(p.substring(1), Cs);
|
|
1069
|
+
break;
|
|
1070
|
+
default:
|
|
1071
|
+
r.set(p, _s);
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
hasProperty(t, r, n) {
|
|
1077
|
+
if (n.some((a) => a.name === Jt.name)) return !0;
|
|
1078
|
+
if (t.indexOf("-") > -1) {
|
|
1079
|
+
if (Gt(t) || Kt(t)) return !1;
|
|
1080
|
+
if (n.some((a) => a.name === Yt.name)) return !0;
|
|
1081
|
+
}
|
|
1082
|
+
return (this._schema.get(t.toLowerCase()) || this._schema.get("unknown")).has(r);
|
|
1083
|
+
}
|
|
1084
|
+
hasElement(t, r) {
|
|
1085
|
+
return r.some((n) => n.name === Jt.name) || t.indexOf("-") > -1 && (Gt(t) || Kt(t) || r.some((n) => n.name === Yt.name)) ? !0 : this._schema.has(t.toLowerCase());
|
|
1086
|
+
}
|
|
1087
|
+
securityContext(t, r, n) {
|
|
1088
|
+
n && (r = this.getMappedPropName(r)), t = t.toLowerCase(), r = r.toLowerCase();
|
|
1089
|
+
let a = Qt()[t + "|" + r];
|
|
1090
|
+
return a || (a = Qt()["*|" + r], a || Q.NONE);
|
|
1091
|
+
}
|
|
1092
|
+
getMappedPropName(t) {
|
|
1093
|
+
return an.get(t) ?? t;
|
|
1094
|
+
}
|
|
1095
|
+
getDefaultComponentElementName() {
|
|
1096
|
+
return "ng-component";
|
|
1097
|
+
}
|
|
1098
|
+
validateProperty(t) {
|
|
1099
|
+
return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...
|
|
1100
|
+
If '${t}' is a directive input, make sure the directive is imported by the current module.` } : { error: !1 };
|
|
1101
|
+
}
|
|
1102
|
+
validateAttribute(t) {
|
|
1103
|
+
return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...` } : { error: !1 };
|
|
1104
|
+
}
|
|
1105
|
+
allKnownElementNames() {
|
|
1106
|
+
return Array.from(this._schema.keys());
|
|
1107
|
+
}
|
|
1108
|
+
allKnownAttributesOfElement(t) {
|
|
1109
|
+
let r = this._schema.get(t.toLowerCase()) || this._schema.get("unknown");
|
|
1110
|
+
return Array.from(r.keys()).map((n) => vs.get(n) ?? n);
|
|
1111
|
+
}
|
|
1112
|
+
allKnownEventsOfElement(t) {
|
|
1113
|
+
return Array.from(this._eventSchema.get(t.toLowerCase()) ?? []);
|
|
1114
|
+
}
|
|
1115
|
+
normalizeAnimationStyleProperty(t) {
|
|
1116
|
+
return ds(t);
|
|
1117
|
+
}
|
|
1118
|
+
normalizeAnimationStyleValue(t, r, n) {
|
|
1119
|
+
let a = "", i = n.toString().trim(), s = null;
|
|
1120
|
+
if (As(t) && n !== 0 && n !== "0") if (typeof n == "number") a = "px";
|
|
1121
|
+
else {
|
|
1122
|
+
let o = n.match(/^[+-]?[\d\.]+([a-z]*)$/);
|
|
1123
|
+
o && o[1].length == 0 && (s = `Please provide a CSS unit value for ${r}:${n}`);
|
|
1124
|
+
}
|
|
1125
|
+
return { error: s, value: i + a };
|
|
1126
|
+
}
|
|
1127
|
+
};
|
|
1128
|
+
function As(e) {
|
|
1129
|
+
switch (e) {
|
|
1130
|
+
case "width":
|
|
1131
|
+
case "height":
|
|
1132
|
+
case "minWidth":
|
|
1133
|
+
case "minHeight":
|
|
1134
|
+
case "maxWidth":
|
|
1135
|
+
case "maxHeight":
|
|
1136
|
+
case "left":
|
|
1137
|
+
case "top":
|
|
1138
|
+
case "bottom":
|
|
1139
|
+
case "right":
|
|
1140
|
+
case "fontSize":
|
|
1141
|
+
case "outlineWidth":
|
|
1142
|
+
case "outlineOffset":
|
|
1143
|
+
case "paddingTop":
|
|
1144
|
+
case "paddingLeft":
|
|
1145
|
+
case "paddingBottom":
|
|
1146
|
+
case "paddingRight":
|
|
1147
|
+
case "marginTop":
|
|
1148
|
+
case "marginLeft":
|
|
1149
|
+
case "marginBottom":
|
|
1150
|
+
case "marginRight":
|
|
1151
|
+
case "borderRadius":
|
|
1152
|
+
case "borderWidth":
|
|
1153
|
+
case "borderTopWidth":
|
|
1154
|
+
case "borderLeftWidth":
|
|
1155
|
+
case "borderRightWidth":
|
|
1156
|
+
case "borderBottomWidth":
|
|
1157
|
+
case "textIndent":
|
|
1158
|
+
return !0;
|
|
1159
|
+
default:
|
|
1160
|
+
return !1;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
var g = class {
|
|
1164
|
+
constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = q.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: o = !1 } = {}) {
|
|
1165
|
+
h(this, "closedByChildren", {});
|
|
1166
|
+
h(this, "contentType");
|
|
1167
|
+
h(this, "closedByParent", !1);
|
|
1168
|
+
h(this, "implicitNamespacePrefix");
|
|
1169
|
+
h(this, "isVoid");
|
|
1170
|
+
h(this, "ignoreFirstLf");
|
|
1171
|
+
h(this, "canSelfClose");
|
|
1172
|
+
h(this, "preventNamespaceInheritance");
|
|
1173
|
+
e && e.length > 0 && e.forEach((l) => this.closedByChildren[l] = !0), this.isVoid = a, this.closedByParent = n || a, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = i, this.preventNamespaceInheritance = s, this.canSelfClose = o ?? a;
|
|
1174
|
+
}
|
|
1175
|
+
isClosedByChild(e) {
|
|
1176
|
+
return this.isVoid || e.toLowerCase() in this.closedByChildren;
|
|
1177
|
+
}
|
|
1178
|
+
getContentType(e) {
|
|
1179
|
+
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1180
|
+
}
|
|
1181
|
+
}, Zt, de;
|
|
1182
|
+
function lt(e) {
|
|
1183
|
+
return de || (Zt = new g({ canSelfClose: !0 }), de = Object.assign(/* @__PURE__ */ Object.create(null), { base: new g({ isVoid: !0 }), meta: new g({ isVoid: !0 }), area: new g({ isVoid: !0 }), embed: new g({ isVoid: !0 }), link: new g({ isVoid: !0 }), img: new g({ isVoid: !0 }), input: new g({ isVoid: !0 }), param: new g({ isVoid: !0 }), hr: new g({ isVoid: !0 }), br: new g({ isVoid: !0 }), source: new g({ isVoid: !0 }), track: new g({ isVoid: !0 }), wbr: new g({ isVoid: !0 }), p: new g({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new g({ closedByChildren: ["tbody", "tfoot"] }), tbody: new g({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new g({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new g({ closedByChildren: ["tr"], closedByParent: !0 }), td: new g({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new g({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new g({ isVoid: !0 }), svg: new g({ implicitNamespacePrefix: "svg" }), foreignObject: new g({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new g({ implicitNamespacePrefix: "math" }), li: new g({ closedByChildren: ["li"], closedByParent: !0 }), dt: new g({ closedByChildren: ["dt", "dd"] }), dd: new g({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new g({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new g({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new g({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new g({ ignoreFirstLf: !0 }), listing: new g({ ignoreFirstLf: !0 }), style: new g({ contentType: q.RAW_TEXT }), script: new g({ contentType: q.RAW_TEXT }), title: new g({ contentType: { default: q.ESCAPABLE_RAW_TEXT, svg: q.PARSABLE_DATA } }), textarea: new g({ contentType: q.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Ss().allKnownElementNames().forEach((t) => {
|
|
1184
|
+
!de[t] && He(t) === null && (de[t] = new g({ canSelfClose: !1 }));
|
|
1185
|
+
})), de[e] ?? Zt;
|
|
1186
|
+
}
|
|
1187
|
+
var ct = class sn {
|
|
1188
|
+
constructor(t, r, n, a) {
|
|
1189
|
+
this.file = t, this.offset = r, this.line = n, this.col = a;
|
|
1190
|
+
}
|
|
1191
|
+
toString() {
|
|
1192
|
+
return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
|
|
1193
|
+
}
|
|
1194
|
+
moveBy(t) {
|
|
1195
|
+
let r = this.file.content, n = r.length, a = this.offset, i = this.line, s = this.col;
|
|
1196
|
+
for (; a > 0 && t < 0; ) if (a--, t++, r.charCodeAt(a) == 10) {
|
|
1197
|
+
i--;
|
|
1198
|
+
let o = r.substring(0, a - 1).lastIndexOf(`
|
|
1199
|
+
`);
|
|
1200
|
+
s = o > 0 ? a - o : a;
|
|
1201
|
+
} else s--;
|
|
1202
|
+
for (; a < n && t > 0; ) {
|
|
1203
|
+
let o = r.charCodeAt(a);
|
|
1204
|
+
a++, t--, o == 10 ? (i++, s = 0) : s++;
|
|
1205
|
+
}
|
|
1206
|
+
return new sn(this.file, a, i, s);
|
|
1207
|
+
}
|
|
1208
|
+
getContext(t, r) {
|
|
1209
|
+
let n = this.file.content, a = this.offset;
|
|
1210
|
+
if (a != null) {
|
|
1211
|
+
a > n.length - 1 && (a = n.length - 1);
|
|
1212
|
+
let i = a, s = 0, o = 0;
|
|
1213
|
+
for (; s < t && a > 0 && (a--, s++, !(n[a] == `
|
|
1214
|
+
` && ++o == r)); ) ;
|
|
1215
|
+
for (s = 0, o = 0; s < t && i < n.length - 1 && (i++, s++, !(n[i] == `
|
|
1216
|
+
` && ++o == r)); ) ;
|
|
1217
|
+
return { before: n.substring(a, this.offset), after: n.substring(this.offset, i + 1) };
|
|
1218
|
+
}
|
|
1219
|
+
return null;
|
|
1220
|
+
}
|
|
1221
|
+
}, on = class {
|
|
1222
|
+
constructor(e, t) {
|
|
1223
|
+
this.content = e, this.url = t;
|
|
1224
|
+
}
|
|
1225
|
+
}, m = class {
|
|
1226
|
+
constructor(e, t, r = e, n = null) {
|
|
1227
|
+
this.start = e, this.end = t, this.fullStart = r, this.details = n;
|
|
1228
|
+
}
|
|
1229
|
+
toString() {
|
|
1230
|
+
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
1231
|
+
}
|
|
1232
|
+
}, er = (function(e) {
|
|
1233
|
+
return e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR", e;
|
|
1234
|
+
})({}), Z = class extends Error {
|
|
1235
|
+
constructor(e, t, r = er.ERROR, n) {
|
|
1236
|
+
super(t), this.span = e, this.msg = t, this.level = r, this.relatedError = n, Object.setPrototypeOf(this, new.target.prototype);
|
|
1237
|
+
}
|
|
1238
|
+
contextualMessage() {
|
|
1239
|
+
let e = this.span.start.getContext(100, 3);
|
|
1240
|
+
return e ? `${this.msg} ("${e.before}[${er[this.level]} ->]${e.after}")` : this.msg;
|
|
1241
|
+
}
|
|
1242
|
+
toString() {
|
|
1243
|
+
let e = this.span.details ? `, ${this.span.details}` : "";
|
|
1244
|
+
return `${this.contextualMessage()}: ${this.span.start}${e}`;
|
|
1245
|
+
}
|
|
1246
|
+
}, K = class {
|
|
1247
|
+
constructor(e, t) {
|
|
1248
|
+
this.sourceSpan = e, this.i18n = t;
|
|
1249
|
+
}
|
|
1250
|
+
}, Ts = class extends K {
|
|
1251
|
+
constructor(t, r, n, a) {
|
|
1252
|
+
super(r, a);
|
|
1253
|
+
h(this, "kind", "text");
|
|
1254
|
+
this.value = t, this.tokens = n;
|
|
1255
|
+
}
|
|
1256
|
+
visit(t, r) {
|
|
1257
|
+
return t.visitText(this, r);
|
|
1258
|
+
}
|
|
1259
|
+
}, ks = class extends K {
|
|
1260
|
+
constructor(t, r, n, a) {
|
|
1261
|
+
super(r, a);
|
|
1262
|
+
h(this, "kind", "cdata");
|
|
1263
|
+
this.value = t, this.tokens = n;
|
|
1264
|
+
}
|
|
1265
|
+
visit(t, r) {
|
|
1266
|
+
return t.visitCdata(this, r);
|
|
1267
|
+
}
|
|
1268
|
+
}, bs = class extends K {
|
|
1269
|
+
constructor(t, r, n, a, i, s) {
|
|
1270
|
+
super(a, s);
|
|
1271
|
+
h(this, "kind", "expansion");
|
|
1272
|
+
this.switchValue = t, this.type = r, this.cases = n, this.switchValueSourceSpan = i;
|
|
1273
|
+
}
|
|
1274
|
+
visit(t, r) {
|
|
1275
|
+
return t.visitExpansion(this, r);
|
|
1276
|
+
}
|
|
1277
|
+
}, ws = class {
|
|
1278
|
+
constructor(e, t, r, n, a) {
|
|
1279
|
+
h(this, "kind", "expansionCase");
|
|
1280
|
+
this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a;
|
|
1281
|
+
}
|
|
1282
|
+
visit(e, t) {
|
|
1283
|
+
return e.visitExpansionCase(this, t);
|
|
1284
|
+
}
|
|
1285
|
+
}, ys = class extends K {
|
|
1286
|
+
constructor(t, r, n, a, i, s, o) {
|
|
1287
|
+
super(n, o);
|
|
1288
|
+
h(this, "kind", "attribute");
|
|
1289
|
+
this.name = t, this.value = r, this.keySpan = a, this.valueSpan = i, this.valueTokens = s;
|
|
1290
|
+
}
|
|
1291
|
+
visit(t, r) {
|
|
1292
|
+
return t.visitAttribute(this, r);
|
|
1293
|
+
}
|
|
1294
|
+
get nameSpan() {
|
|
1295
|
+
return this.keySpan;
|
|
1296
|
+
}
|
|
1297
|
+
}, W = class extends K {
|
|
1298
|
+
constructor(t, r, n, a, i, s, o, l = null, c = null, p, f) {
|
|
1299
|
+
super(s, f);
|
|
1300
|
+
h(this, "kind", "element");
|
|
1301
|
+
this.name = t, this.attrs = r, this.directives = n, this.children = a, this.isSelfClosing = i, this.startSourceSpan = o, this.endSourceSpan = l, this.nameSpan = c, this.isVoid = p;
|
|
1302
|
+
}
|
|
1303
|
+
visit(t, r) {
|
|
1304
|
+
return t.visitElement(this, r);
|
|
1305
|
+
}
|
|
1306
|
+
}, Ds = class {
|
|
1307
|
+
constructor(e, t) {
|
|
1308
|
+
h(this, "kind", "comment");
|
|
1309
|
+
this.value = e, this.sourceSpan = t;
|
|
1310
|
+
}
|
|
1311
|
+
visit(e, t) {
|
|
1312
|
+
return e.visitComment(this, t);
|
|
1313
|
+
}
|
|
1314
|
+
}, xs = class {
|
|
1315
|
+
constructor(e, t) {
|
|
1316
|
+
h(this, "kind", "docType");
|
|
1317
|
+
this.value = e, this.sourceSpan = t;
|
|
1318
|
+
}
|
|
1319
|
+
visit(e, t) {
|
|
1320
|
+
return e.visitDocType(this, t);
|
|
1321
|
+
}
|
|
1322
|
+
}, J = class extends K {
|
|
1323
|
+
constructor(t, r, n, a, i, s, o = null, l) {
|
|
1324
|
+
super(a, l);
|
|
1325
|
+
h(this, "kind", "block");
|
|
1326
|
+
this.name = t, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = s, this.endSourceSpan = o;
|
|
1327
|
+
}
|
|
1328
|
+
visit(t, r) {
|
|
1329
|
+
return t.visitBlock(this, r);
|
|
1330
|
+
}
|
|
1331
|
+
}, M = class extends K {
|
|
1332
|
+
constructor(t, r, n, a, i, s, o, l, c, p = null, f) {
|
|
1333
|
+
super(l, f);
|
|
1334
|
+
h(this, "kind", "component");
|
|
1335
|
+
this.componentName = t, this.tagName = r, this.fullName = n, this.attrs = a, this.directives = i, this.children = s, this.isSelfClosing = o, this.startSourceSpan = c, this.endSourceSpan = p;
|
|
1336
|
+
}
|
|
1337
|
+
visit(t, r) {
|
|
1338
|
+
return t.visitComponent(this, r);
|
|
1339
|
+
}
|
|
1340
|
+
}, Ns = class {
|
|
1341
|
+
constructor(e, t, r, n, a = null) {
|
|
1342
|
+
h(this, "kind", "directive");
|
|
1343
|
+
this.name = e, this.attrs = t, this.sourceSpan = r, this.startSourceSpan = n, this.endSourceSpan = a;
|
|
1344
|
+
}
|
|
1345
|
+
visit(e, t) {
|
|
1346
|
+
return e.visitDirective(this, t);
|
|
1347
|
+
}
|
|
1348
|
+
}, tr = class {
|
|
1349
|
+
constructor(e, t) {
|
|
1350
|
+
h(this, "kind", "blockParameter");
|
|
1351
|
+
h(this, "startSourceSpan", null);
|
|
1352
|
+
h(this, "endSourceSpan", null);
|
|
1353
|
+
this.expression = e, this.sourceSpan = t;
|
|
1354
|
+
}
|
|
1355
|
+
visit(e, t) {
|
|
1356
|
+
return e.visitBlockParameter(this, t);
|
|
1357
|
+
}
|
|
1358
|
+
}, rr = class {
|
|
1359
|
+
constructor(e, t, r, n, a) {
|
|
1360
|
+
h(this, "kind", "letDeclaration");
|
|
1361
|
+
h(this, "startSourceSpan", null);
|
|
1362
|
+
h(this, "endSourceSpan", null);
|
|
1363
|
+
this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a;
|
|
1364
|
+
}
|
|
1365
|
+
visit(e, t) {
|
|
1366
|
+
return e.visitLetDeclaration(this, t);
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
function un(e, t, r = null) {
|
|
1370
|
+
let n = [], a = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
|
|
1371
|
+
return t.forEach((i) => {
|
|
1372
|
+
let s = a(i);
|
|
1373
|
+
s && n.push(s);
|
|
1374
|
+
}), n;
|
|
1375
|
+
}
|
|
1376
|
+
var Ls = class {
|
|
1377
|
+
constructor() {
|
|
1378
|
+
}
|
|
1379
|
+
visitElement(e, t) {
|
|
1380
|
+
this.visitChildren(t, (r) => {
|
|
1381
|
+
r(e.attrs), r(e.directives), r(e.children);
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
visitAttribute(e, t) {
|
|
1385
|
+
}
|
|
1386
|
+
visitText(e, t) {
|
|
1387
|
+
}
|
|
1388
|
+
visitCdata(e, t) {
|
|
1389
|
+
}
|
|
1390
|
+
visitComment(e, t) {
|
|
1391
|
+
}
|
|
1392
|
+
visitDocType(e, t) {
|
|
1393
|
+
}
|
|
1394
|
+
visitExpansion(e, t) {
|
|
1395
|
+
return this.visitChildren(t, (r) => {
|
|
1396
|
+
r(e.cases);
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
visitExpansionCase(e, t) {
|
|
1400
|
+
}
|
|
1401
|
+
visitBlock(e, t) {
|
|
1402
|
+
this.visitChildren(t, (r) => {
|
|
1403
|
+
r(e.parameters), r(e.children);
|
|
1404
|
+
});
|
|
1405
|
+
}
|
|
1406
|
+
visitBlockParameter(e, t) {
|
|
1407
|
+
}
|
|
1408
|
+
visitLetDeclaration(e, t) {
|
|
1409
|
+
}
|
|
1410
|
+
visitComponent(e, t) {
|
|
1411
|
+
this.visitChildren(t, (r) => {
|
|
1412
|
+
r(e.attrs), r(e.children);
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
visitDirective(e, t) {
|
|
1416
|
+
this.visitChildren(t, (r) => {
|
|
1417
|
+
r(e.attrs);
|
|
1418
|
+
});
|
|
1419
|
+
}
|
|
1420
|
+
visitChildren(e, t) {
|
|
1421
|
+
let r = [], n = this;
|
|
1422
|
+
function a(i) {
|
|
1423
|
+
i && r.push(un(n, i, e));
|
|
1424
|
+
}
|
|
1425
|
+
return t(a), Array.prototype.concat.apply([], r);
|
|
1426
|
+
}
|
|
1427
|
+
}, Te = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
1428
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" };
|
|
1429
|
+
Te.ngsp = "";
|
|
1430
|
+
var u = (function(e) {
|
|
1431
|
+
return e[e.TAG_OPEN_START = 0] = "TAG_OPEN_START", e[e.TAG_OPEN_END = 1] = "TAG_OPEN_END", e[e.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e[e.TAG_CLOSE = 3] = "TAG_CLOSE", e[e.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e[e.TEXT = 5] = "TEXT", e[e.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e[e.RAW_TEXT = 7] = "RAW_TEXT", e[e.INTERPOLATION = 8] = "INTERPOLATION", e[e.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e[e.COMMENT_START = 10] = "COMMENT_START", e[e.COMMENT_END = 11] = "COMMENT_END", e[e.CDATA_START = 12] = "CDATA_START", e[e.CDATA_END = 13] = "CDATA_END", e[e.ATTR_NAME = 14] = "ATTR_NAME", e[e.ATTR_QUOTE = 15] = "ATTR_QUOTE", e[e.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e[e.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e[e.DOC_TYPE_START = 18] = "DOC_TYPE_START", e[e.DOC_TYPE_END = 19] = "DOC_TYPE_END", e[e.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e[e.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e[e.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e[e.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e[e.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e[e.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e[e.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e[e.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e[e.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e[e.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e[e.LET_START = 30] = "LET_START", e[e.LET_VALUE = 31] = "LET_VALUE", e[e.LET_END = 32] = "LET_END", e[e.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e[e.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e[e.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e[e.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e[e.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e[e.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e[e.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e[e.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e[e.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e[e.EOF = 42] = "EOF", e;
|
|
1432
|
+
})({});
|
|
1433
|
+
function Ve(e) {
|
|
1434
|
+
return e >= 9 && e <= 32 || e == 160;
|
|
1435
|
+
}
|
|
1436
|
+
function Be(e) {
|
|
1437
|
+
return 48 <= e && e <= 57;
|
|
1438
|
+
}
|
|
1439
|
+
function ke(e) {
|
|
1440
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
1441
|
+
}
|
|
1442
|
+
function Bs(e) {
|
|
1443
|
+
return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Be(e);
|
|
1444
|
+
}
|
|
1445
|
+
function ve(e) {
|
|
1446
|
+
return e === 10 || e === 13;
|
|
1447
|
+
}
|
|
1448
|
+
function nr(e) {
|
|
1449
|
+
return 48 <= e && e <= 55;
|
|
1450
|
+
}
|
|
1451
|
+
function at(e) {
|
|
1452
|
+
return e === 39 || e === 34 || e === 96;
|
|
1453
|
+
}
|
|
1454
|
+
var Os = class {
|
|
1455
|
+
constructor(e, t, r) {
|
|
1456
|
+
this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
|
|
1457
|
+
}
|
|
1458
|
+
};
|
|
1459
|
+
function Fs(e, t, r, n = {}) {
|
|
1460
|
+
let a = new Ms(new on(e, t), r, n);
|
|
1461
|
+
return a.tokenize(), new Os($s(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
|
|
1462
|
+
}
|
|
1463
|
+
var Ps = /\r\n?/g;
|
|
1464
|
+
function z(e) {
|
|
1465
|
+
return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
|
|
1466
|
+
}
|
|
1467
|
+
function ar(e) {
|
|
1468
|
+
return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
|
|
1469
|
+
}
|
|
1470
|
+
function Is(e, t) {
|
|
1471
|
+
return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
|
|
1472
|
+
}
|
|
1473
|
+
var pt = (function(e) {
|
|
1474
|
+
return e.HEX = "hexadecimal", e.DEC = "decimal", e;
|
|
1475
|
+
})(pt || {}), Rs = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], me = { start: "{{", end: "}}" }, Ms = class {
|
|
1476
|
+
constructor(e, t, r) {
|
|
1477
|
+
h(this, "_cursor");
|
|
1478
|
+
h(this, "_tokenizeIcu");
|
|
1479
|
+
h(this, "_leadingTriviaCodePoints");
|
|
1480
|
+
h(this, "_canSelfClose");
|
|
1481
|
+
h(this, "_allowHtmComponentClosingTags");
|
|
1482
|
+
h(this, "_currentTokenStart", null);
|
|
1483
|
+
h(this, "_currentTokenType", null);
|
|
1484
|
+
h(this, "_expansionCaseStack", []);
|
|
1485
|
+
h(this, "_openDirectiveCount", 0);
|
|
1486
|
+
h(this, "_inInterpolation", !1);
|
|
1487
|
+
h(this, "_preserveLineEndings");
|
|
1488
|
+
h(this, "_i18nNormalizeLineEndingsInICUs");
|
|
1489
|
+
h(this, "_fullNameStack", []);
|
|
1490
|
+
h(this, "_tokenizeBlocks");
|
|
1491
|
+
h(this, "_tokenizeLet");
|
|
1492
|
+
h(this, "_selectorlessEnabled");
|
|
1493
|
+
h(this, "tokens", []);
|
|
1494
|
+
h(this, "errors", []);
|
|
1495
|
+
h(this, "nonNormalizedIcuExpressions", []);
|
|
1496
|
+
this._getTagContentType = t, this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
|
|
1497
|
+
let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1498
|
+
this._cursor = r.escapedString ? new js(e, n) : new ln(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0, this._selectorlessEnabled = r.selectorlessEnabled ?? !1;
|
|
1499
|
+
try {
|
|
1500
|
+
this._cursor.init();
|
|
1501
|
+
} catch (a) {
|
|
1502
|
+
this.handleError(a);
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
_processCarriageReturns(e) {
|
|
1506
|
+
return this._preserveLineEndings ? e : e.replace(Ps, `
|
|
1507
|
+
`);
|
|
1508
|
+
}
|
|
1509
|
+
tokenize() {
|
|
1510
|
+
for (; this._cursor.peek() !== 0; ) {
|
|
1511
|
+
let e = this._cursor.clone();
|
|
1512
|
+
try {
|
|
1513
|
+
if (this._attemptCharCode(60)) if (this._attemptCharCode(33)) this._attemptStr("[CDATA[") ? this._consumeCdata(e) : this._attemptStr("--") ? this._consumeComment(e) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e) : this._consumeBogusComment(e);
|
|
1514
|
+
else if (this._attemptCharCode(47)) this._consumeTagClose(e);
|
|
1515
|
+
else {
|
|
1516
|
+
let t = this._cursor.clone();
|
|
1517
|
+
this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
|
|
1518
|
+
}
|
|
1519
|
+
else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._isLetStart() ? this._consumeLetDeclaration(e) : this._tokenizeBlocks && this._isBlockStart() ? this._consumeBlockStart(e) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(u.TEXT, u.INTERPOLATION, () => this._isTextEnd(), () => this._isTagStart());
|
|
1520
|
+
} catch (t) {
|
|
1521
|
+
this.handleError(t);
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
this._beginToken(u.EOF), this._endToken([]);
|
|
1525
|
+
}
|
|
1526
|
+
_getBlockName() {
|
|
1527
|
+
let e = !1, t = this._cursor.clone();
|
|
1528
|
+
return this._attemptCharCodeUntilFn((r) => Ve(r) ? !e : zs(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
|
|
1529
|
+
}
|
|
1530
|
+
_consumeBlockStart(e) {
|
|
1531
|
+
this._requireCharCode(64), this._beginToken(u.BLOCK_OPEN_START, e);
|
|
1532
|
+
let t = this._endToken([this._getBlockName()]);
|
|
1533
|
+
if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(E), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(E);
|
|
1534
|
+
else {
|
|
1535
|
+
t.type = u.INCOMPLETE_BLOCK_OPEN;
|
|
1536
|
+
return;
|
|
1537
|
+
}
|
|
1538
|
+
if (t.parts[0] === "default never" && this._attemptCharCode(59)) {
|
|
1539
|
+
this._beginToken(u.BLOCK_OPEN_END), this._endToken([]), this._beginToken(u.BLOCK_CLOSE), this._endToken([]);
|
|
1540
|
+
return;
|
|
1541
|
+
}
|
|
1542
|
+
this._attemptCharCode(123) ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([])) : this._isBlockStart() && (t.parts[0] === "case" || t.parts[0] === "default") ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([]), this._beginToken(u.BLOCK_CLOSE), this._endToken([])) : t.type = u.INCOMPLETE_BLOCK_OPEN;
|
|
1543
|
+
}
|
|
1544
|
+
_consumeBlockEnd(e) {
|
|
1545
|
+
this._beginToken(u.BLOCK_CLOSE, e), this._endToken([]);
|
|
1546
|
+
}
|
|
1547
|
+
_consumeBlockParameters() {
|
|
1548
|
+
for (this._attemptCharCodeUntilFn(sr); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
|
|
1549
|
+
this._beginToken(u.BLOCK_PARAMETER);
|
|
1550
|
+
let e = this._cursor.clone(), t = null, r = 0;
|
|
1551
|
+
for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
|
|
1552
|
+
let n = this._cursor.peek();
|
|
1553
|
+
if (n === 92) this._cursor.advance();
|
|
1554
|
+
else if (n === t) t = null;
|
|
1555
|
+
else if (t === null && at(n)) t = n;
|
|
1556
|
+
else if (n === 40 && t === null) r++;
|
|
1557
|
+
else if (n === 41 && t === null) {
|
|
1558
|
+
if (r === 0) break;
|
|
1559
|
+
r > 0 && r--;
|
|
1560
|
+
}
|
|
1561
|
+
this._cursor.advance();
|
|
1562
|
+
}
|
|
1563
|
+
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(sr);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
_consumeLetDeclaration(e) {
|
|
1567
|
+
if (this._requireStr("@let"), this._beginToken(u.LET_START, e), Ve(this._cursor.peek())) this._attemptCharCodeUntilFn(E);
|
|
1568
|
+
else {
|
|
1569
|
+
let r = this._endToken([this._cursor.getChars(e)]);
|
|
1570
|
+
r.type = u.INCOMPLETE_LET;
|
|
1571
|
+
return;
|
|
1572
|
+
}
|
|
1573
|
+
let t = this._endToken([this._getLetDeclarationName()]);
|
|
1574
|
+
if (this._attemptCharCodeUntilFn(E), !this._attemptCharCode(61)) {
|
|
1575
|
+
t.type = u.INCOMPLETE_LET;
|
|
1576
|
+
return;
|
|
1577
|
+
}
|
|
1578
|
+
this._attemptCharCodeUntilFn((r) => E(r) && !ve(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(u.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = u.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
|
|
1579
|
+
}
|
|
1580
|
+
_getLetDeclarationName() {
|
|
1581
|
+
let e = this._cursor.clone(), t = !1;
|
|
1582
|
+
return this._attemptCharCodeUntilFn((r) => ke(r) || r === 36 || r === 95 || t && Be(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
|
|
1583
|
+
}
|
|
1584
|
+
_consumeLetDeclarationValue() {
|
|
1585
|
+
let e = this._cursor.clone();
|
|
1586
|
+
for (this._beginToken(u.LET_VALUE, e); this._cursor.peek() !== 0; ) {
|
|
1587
|
+
let t = this._cursor.peek();
|
|
1588
|
+
if (t === 59) break;
|
|
1589
|
+
at(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
|
|
1590
|
+
}
|
|
1591
|
+
this._endToken([this._cursor.getChars(e)]);
|
|
1592
|
+
}
|
|
1593
|
+
_tokenizeExpansionForm() {
|
|
1594
|
+
if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
|
|
1595
|
+
if (Vs(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
|
|
1596
|
+
if (this._cursor.peek() === 125) {
|
|
1597
|
+
if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
|
|
1598
|
+
if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
|
|
1599
|
+
}
|
|
1600
|
+
return !1;
|
|
1601
|
+
}
|
|
1602
|
+
_beginToken(e, t = this._cursor.clone()) {
|
|
1603
|
+
this._currentTokenStart = t, this._currentTokenType = e;
|
|
1604
|
+
}
|
|
1605
|
+
_endToken(e, t) {
|
|
1606
|
+
if (this._currentTokenStart === null) throw new Z(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
|
|
1607
|
+
if (this._currentTokenType === null) throw new Z(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
|
|
1608
|
+
let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
|
|
1609
|
+
return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1610
|
+
}
|
|
1611
|
+
_createError(e, t) {
|
|
1612
|
+
this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
|
|
1613
|
+
let r = new Z(t, e);
|
|
1614
|
+
return this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1615
|
+
}
|
|
1616
|
+
handleError(e) {
|
|
1617
|
+
if (e instanceof Ft && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Z) this.errors.push(e);
|
|
1618
|
+
else throw e;
|
|
1619
|
+
}
|
|
1620
|
+
_attemptCharCode(e) {
|
|
1621
|
+
return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
|
|
1622
|
+
}
|
|
1623
|
+
_attemptCharCodeCaseInsensitive(e) {
|
|
1624
|
+
return Ws(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
|
|
1625
|
+
}
|
|
1626
|
+
_requireCharCode(e) {
|
|
1627
|
+
let t = this._cursor.clone();
|
|
1628
|
+
if (!this._attemptCharCode(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1629
|
+
}
|
|
1630
|
+
_attemptStr(e) {
|
|
1631
|
+
let t = e.length;
|
|
1632
|
+
if (this._cursor.charsLeft() < t) return !1;
|
|
1633
|
+
let r = this._cursor.clone();
|
|
1634
|
+
for (let n = 0; n < t; n++) if (!this._attemptCharCode(e.charCodeAt(n))) return this._cursor = r, !1;
|
|
1635
|
+
return !0;
|
|
1636
|
+
}
|
|
1637
|
+
_attemptStrCaseInsensitive(e) {
|
|
1638
|
+
for (let t = 0; t < e.length; t++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t))) return !1;
|
|
1639
|
+
return !0;
|
|
1640
|
+
}
|
|
1641
|
+
_requireStr(e) {
|
|
1642
|
+
let t = this._cursor.clone();
|
|
1643
|
+
if (!this._attemptStr(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1644
|
+
}
|
|
1645
|
+
_requireStrCaseInsensitive(e) {
|
|
1646
|
+
let t = this._cursor.clone();
|
|
1647
|
+
if (!this._attemptStrCaseInsensitive(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1648
|
+
}
|
|
1649
|
+
_attemptCharCodeUntilFn(e) {
|
|
1650
|
+
for (; !e(this._cursor.peek()); ) this._cursor.advance();
|
|
1651
|
+
}
|
|
1652
|
+
_requireCharCodeUntilFn(e, t) {
|
|
1653
|
+
let r = this._cursor.clone();
|
|
1654
|
+
if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(r));
|
|
1655
|
+
}
|
|
1656
|
+
_attemptUntilChar(e) {
|
|
1657
|
+
for (; this._cursor.peek() !== e; ) this._cursor.advance();
|
|
1658
|
+
}
|
|
1659
|
+
_readChar() {
|
|
1660
|
+
let e = String.fromCodePoint(this._cursor.peek());
|
|
1661
|
+
return this._cursor.advance(), e;
|
|
1662
|
+
}
|
|
1663
|
+
_peekStr(e) {
|
|
1664
|
+
let t = e.length;
|
|
1665
|
+
if (this._cursor.charsLeft() < t) return !1;
|
|
1666
|
+
let r = this._cursor.clone();
|
|
1667
|
+
for (let n = 0; n < t; n++) {
|
|
1668
|
+
if (r.peek() !== e.charCodeAt(n)) return !1;
|
|
1669
|
+
r.advance();
|
|
1670
|
+
}
|
|
1671
|
+
return !0;
|
|
1672
|
+
}
|
|
1673
|
+
_isBlockStart() {
|
|
1674
|
+
return this._cursor.peek() === 64 && Rs.some((e) => this._peekStr(e));
|
|
1675
|
+
}
|
|
1676
|
+
_isLetStart() {
|
|
1677
|
+
return this._cursor.peek() === 64 && this._peekStr("@let");
|
|
1678
|
+
}
|
|
1679
|
+
_consumeEntity(e) {
|
|
1680
|
+
this._beginToken(u.ENCODED_ENTITY);
|
|
1681
|
+
let t = this._cursor.clone();
|
|
1682
|
+
if (this._cursor.advance(), this._attemptCharCode(35)) {
|
|
1683
|
+
let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
|
|
1684
|
+
if (this._attemptCharCodeUntilFn(Hs), this._cursor.peek() != 59) {
|
|
1685
|
+
this._cursor.advance();
|
|
1686
|
+
let i = r ? pt.HEX : pt.DEC;
|
|
1687
|
+
throw this._createError(Is(i, this._cursor.getChars(t)), this._cursor.getSpan());
|
|
1688
|
+
}
|
|
1689
|
+
let a = this._cursor.getChars(n);
|
|
1690
|
+
this._cursor.advance();
|
|
1691
|
+
try {
|
|
1692
|
+
let i = parseInt(a, r ? 16 : 10);
|
|
1693
|
+
this._endToken([String.fromCodePoint(i), this._cursor.getChars(t)]);
|
|
1694
|
+
} catch {
|
|
1695
|
+
throw this._createError(ar(this._cursor.getChars(t)), this._cursor.getSpan());
|
|
1696
|
+
}
|
|
1697
|
+
} else {
|
|
1698
|
+
let r = this._cursor.clone();
|
|
1699
|
+
if (this._attemptCharCodeUntilFn(Us), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
|
|
1700
|
+
else {
|
|
1701
|
+
let n = this._cursor.getChars(r);
|
|
1702
|
+
this._cursor.advance();
|
|
1703
|
+
let a = Te.hasOwnProperty(n) && Te[n];
|
|
1704
|
+
if (!a) throw this._createError(ar(n), this._cursor.getSpan(t));
|
|
1705
|
+
this._endToken([a, `&${n};`]);
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
_consumeRawText(e, t) {
|
|
1710
|
+
this._beginToken(e ? u.ESCAPABLE_RAW_TEXT : u.RAW_TEXT);
|
|
1711
|
+
let r = [];
|
|
1712
|
+
for (; ; ) {
|
|
1713
|
+
let n = this._cursor.clone(), a = t();
|
|
1714
|
+
if (this._cursor = n, a) break;
|
|
1715
|
+
e && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(r.join(""))]), r.length = 0, this._consumeEntity(u.ESCAPABLE_RAW_TEXT), this._beginToken(u.ESCAPABLE_RAW_TEXT)) : r.push(this._readChar());
|
|
1716
|
+
}
|
|
1717
|
+
this._endToken([this._processCarriageReturns(r.join(""))]);
|
|
1718
|
+
}
|
|
1719
|
+
_consumeComment(e) {
|
|
1720
|
+
this._beginToken(u.COMMENT_START, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("-->")), this._beginToken(u.COMMENT_END), this._requireStr("-->"), this._endToken([]);
|
|
1721
|
+
}
|
|
1722
|
+
_consumeBogusComment(e) {
|
|
1723
|
+
this._beginToken(u.COMMENT_START, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(u.COMMENT_END), this._cursor.advance(), this._endToken([]);
|
|
1724
|
+
}
|
|
1725
|
+
_consumeCdata(e) {
|
|
1726
|
+
this._beginToken(u.CDATA_START, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("]]>")), this._beginToken(u.CDATA_END), this._requireStr("]]>"), this._endToken([]);
|
|
1727
|
+
}
|
|
1728
|
+
_consumeDocType(e) {
|
|
1729
|
+
this._beginToken(u.DOC_TYPE_START, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(u.DOC_TYPE_END), this._cursor.advance(), this._endToken([]);
|
|
1730
|
+
}
|
|
1731
|
+
_consumePrefixAndName(e) {
|
|
1732
|
+
let t = this._cursor.clone(), r = "";
|
|
1733
|
+
for (; this._cursor.peek() !== 58 && !qs(this._cursor.peek()); ) this._cursor.advance();
|
|
1734
|
+
let n;
|
|
1735
|
+
this._cursor.peek() === 58 ? (r = this._cursor.getChars(t), this._cursor.advance(), n = this._cursor.clone()) : n = t, this._requireCharCodeUntilFn(e, r === "" ? 0 : 1);
|
|
1736
|
+
let a = this._cursor.getChars(n);
|
|
1737
|
+
return [r, a];
|
|
1738
|
+
}
|
|
1739
|
+
_consumeSingleLineComment() {
|
|
1740
|
+
this._attemptCharCodeUntilFn((e) => ve(e) || e === 0), this._attemptCharCodeUntilFn(E);
|
|
1741
|
+
}
|
|
1742
|
+
_consumeMultiLineComment() {
|
|
1743
|
+
this._attemptCharCodeUntilFn((e) => {
|
|
1744
|
+
if (e === 0) return !0;
|
|
1745
|
+
if (e === 42) {
|
|
1746
|
+
let t = this._cursor.clone();
|
|
1747
|
+
return t.advance(), t.peek() === 47;
|
|
1748
|
+
}
|
|
1749
|
+
return !1;
|
|
1750
|
+
}), this._attemptStr("*/") && this._attemptCharCodeUntilFn(E);
|
|
1751
|
+
}
|
|
1752
|
+
_consumeTagOpen(e) {
|
|
1753
|
+
let t, r, n, a, i = [];
|
|
1754
|
+
try {
|
|
1755
|
+
if (this._selectorlessEnabled && Me(this._cursor.peek())) a = this._consumeComponentOpenStart(e), [n, r, t] = a.parts, r && (n += `:${r}`), t && (n += `:${t}`), this._attemptCharCodeUntilFn(E);
|
|
1756
|
+
else {
|
|
1757
|
+
if (!ke(this._cursor.peek())) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(e));
|
|
1758
|
+
a = this._consumeTagOpenStart(e), r = a.parts[0], t = n = a.parts[1], this._attemptCharCodeUntilFn(E);
|
|
1759
|
+
}
|
|
1760
|
+
for (; ; ) {
|
|
1761
|
+
if (this._attemptStr("//")) {
|
|
1762
|
+
this._consumeSingleLineComment();
|
|
1763
|
+
continue;
|
|
1764
|
+
}
|
|
1765
|
+
if (this._attemptStr("/*")) {
|
|
1766
|
+
this._consumeMultiLineComment();
|
|
1767
|
+
continue;
|
|
1768
|
+
}
|
|
1769
|
+
if (ur(this._cursor.peek())) break;
|
|
1770
|
+
if (this._selectorlessEnabled && this._cursor.peek() === 64) {
|
|
1771
|
+
let o = this._cursor.clone(), l = o.clone();
|
|
1772
|
+
l.advance(), Me(l.peek()) && this._consumeDirective(o, l);
|
|
1773
|
+
} else {
|
|
1774
|
+
let o = this._consumeAttribute();
|
|
1775
|
+
i.push(o);
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
a.type === u.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd();
|
|
1779
|
+
} catch (o) {
|
|
1780
|
+
if (o instanceof Z) {
|
|
1781
|
+
a ? a.type = a.type === u.COMPONENT_OPEN_START ? u.INCOMPLETE_COMPONENT_OPEN : u.INCOMPLETE_TAG_OPEN : (this._beginToken(u.TEXT, e), this._endToken(["<"]));
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
throw o;
|
|
1785
|
+
}
|
|
1786
|
+
if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === u.TAG_OPEN_END_VOID) return;
|
|
1787
|
+
let s = this._getTagContentType(t, r, this._fullNameStack.length > 0, i);
|
|
1788
|
+
this._handleFullNameStackForTagOpen(r, t), s === q.RAW_TEXT ? this._consumeRawTextWithTagClose(r, a, n, !1) : s === q.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, a, n, !0);
|
|
1789
|
+
}
|
|
1790
|
+
_consumeRawTextWithTagClose(e, t, r, n) {
|
|
1791
|
+
this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(E), !this._attemptStrCaseInsensitive(e && t.type !== u.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(E), this._attemptCharCode(62))), this._beginToken(t.type === u.COMPONENT_OPEN_START ? u.COMPONENT_CLOSE : u.TAG_CLOSE), this._requireCharCodeUntilFn((a) => a === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
|
|
1792
|
+
}
|
|
1793
|
+
_consumeTagOpenStart(e) {
|
|
1794
|
+
this._beginToken(u.TAG_OPEN_START, e);
|
|
1795
|
+
let t = this._consumePrefixAndName($);
|
|
1796
|
+
return this._endToken(t);
|
|
1797
|
+
}
|
|
1798
|
+
_consumeComponentOpenStart(e) {
|
|
1799
|
+
this._beginToken(u.COMPONENT_OPEN_START, e);
|
|
1800
|
+
let t = this._consumeComponentName();
|
|
1801
|
+
return this._endToken(t);
|
|
1802
|
+
}
|
|
1803
|
+
_consumeComponentName() {
|
|
1804
|
+
let e = this._cursor.clone();
|
|
1805
|
+
for (; or(this._cursor.peek()); ) this._cursor.advance();
|
|
1806
|
+
let t = this._cursor.getChars(e), r = "", n = "";
|
|
1807
|
+
return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName($)), [t, r, n];
|
|
1808
|
+
}
|
|
1809
|
+
_consumeAttribute() {
|
|
1810
|
+
let [e, t] = this._consumeAttributeName(), r;
|
|
1811
|
+
return this._attemptCharCodeUntilFn(E), this._attemptCharCode(61) && (this._attemptCharCodeUntilFn(E), r = this._consumeAttributeValue()), this._attemptCharCodeUntilFn(E), { prefix: e, name: t, value: r };
|
|
1812
|
+
}
|
|
1813
|
+
_consumeAttributeName() {
|
|
1814
|
+
let e = this._cursor.peek();
|
|
1815
|
+
if (e === 39 || e === 34) throw this._createError(z(e), this._cursor.getSpan());
|
|
1816
|
+
this._beginToken(u.ATTR_NAME);
|
|
1817
|
+
let t;
|
|
1818
|
+
if (this._openDirectiveCount > 0) {
|
|
1819
|
+
let n = 0;
|
|
1820
|
+
t = (a) => {
|
|
1821
|
+
if (this._openDirectiveCount > 0) {
|
|
1822
|
+
if (a === 40) n++;
|
|
1823
|
+
else if (a === 41) {
|
|
1824
|
+
if (n === 0) return !0;
|
|
1825
|
+
n--;
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
return $(a);
|
|
1829
|
+
};
|
|
1830
|
+
} else if (e === 91) {
|
|
1831
|
+
let n = 0;
|
|
1832
|
+
t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ? $(a) : ve(a));
|
|
1833
|
+
} else t = $;
|
|
1834
|
+
let r = this._consumePrefixAndName(t);
|
|
1835
|
+
return this._endToken(r), r;
|
|
1836
|
+
}
|
|
1837
|
+
_consumeAttributeValue() {
|
|
1838
|
+
let e;
|
|
1839
|
+
if (this._cursor.peek() === 39 || this._cursor.peek() === 34) {
|
|
1840
|
+
let t = this._cursor.peek();
|
|
1841
|
+
this._consumeQuote(t);
|
|
1842
|
+
let r = () => this._cursor.peek() === t;
|
|
1843
|
+
e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, r, r), this._consumeQuote(t);
|
|
1844
|
+
} else {
|
|
1845
|
+
let t = () => $(this._cursor.peek());
|
|
1846
|
+
e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, t, t);
|
|
1847
|
+
}
|
|
1848
|
+
return e;
|
|
1849
|
+
}
|
|
1850
|
+
_consumeQuote(e) {
|
|
1851
|
+
this._beginToken(u.ATTR_QUOTE), this._requireCharCode(e), this._endToken([String.fromCodePoint(e)]);
|
|
1852
|
+
}
|
|
1853
|
+
_consumeTagOpenEnd() {
|
|
1854
|
+
let e = this._attemptCharCode(47) ? u.TAG_OPEN_END_VOID : u.TAG_OPEN_END;
|
|
1855
|
+
this._beginToken(e), this._requireCharCode(62), this._endToken([]);
|
|
1856
|
+
}
|
|
1857
|
+
_consumeComponentOpenEnd() {
|
|
1858
|
+
let e = this._attemptCharCode(47) ? u.COMPONENT_OPEN_END_VOID : u.COMPONENT_OPEN_END;
|
|
1859
|
+
this._beginToken(e), this._requireCharCode(62), this._endToken([]);
|
|
1860
|
+
}
|
|
1861
|
+
_consumeTagClose(e) {
|
|
1862
|
+
if (this._selectorlessEnabled) {
|
|
1863
|
+
let t = e.clone();
|
|
1864
|
+
for (; t.peek() !== 62 && !Me(t.peek()); ) t.advance();
|
|
1865
|
+
if (Me(t.peek())) {
|
|
1866
|
+
this._beginToken(u.COMPONENT_CLOSE, e);
|
|
1867
|
+
let r = this._consumeComponentName();
|
|
1868
|
+
this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken(r);
|
|
1869
|
+
return;
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
if (this._beginToken(u.TAG_CLOSE, e), this._attemptCharCodeUntilFn(E), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken([]);
|
|
1873
|
+
else {
|
|
1874
|
+
let [t, r] = this._consumePrefixAndName($);
|
|
1875
|
+
this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
_consumeExpansionFormStart() {
|
|
1879
|
+
this._beginToken(u.EXPANSION_FORM_START), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(u.EXPANSION_FORM_START), this._beginToken(u.RAW_TEXT);
|
|
1880
|
+
let e = this._readUntil(44), t = this._processCarriageReturns(e);
|
|
1881
|
+
if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t]);
|
|
1882
|
+
else {
|
|
1883
|
+
let n = this._endToken([e]);
|
|
1884
|
+
t !== e && this.nonNormalizedIcuExpressions.push(n);
|
|
1885
|
+
}
|
|
1886
|
+
this._requireCharCode(44), this._attemptCharCodeUntilFn(E), this._beginToken(u.RAW_TEXT);
|
|
1887
|
+
let r = this._readUntil(44);
|
|
1888
|
+
this._endToken([r]), this._requireCharCode(44), this._attemptCharCodeUntilFn(E);
|
|
1889
|
+
}
|
|
1890
|
+
_consumeExpansionCaseStart() {
|
|
1891
|
+
this._beginToken(u.EXPANSION_CASE_VALUE);
|
|
1892
|
+
let e = this._readUntil(123).trim();
|
|
1893
|
+
this._endToken([e]), this._attemptCharCodeUntilFn(E), this._beginToken(u.EXPANSION_CASE_EXP_START), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(E), this._expansionCaseStack.push(u.EXPANSION_CASE_EXP_START);
|
|
1894
|
+
}
|
|
1895
|
+
_consumeExpansionCaseEnd() {
|
|
1896
|
+
this._beginToken(u.EXPANSION_CASE_EXP_END), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(E), this._expansionCaseStack.pop();
|
|
1897
|
+
}
|
|
1898
|
+
_consumeExpansionFormEnd() {
|
|
1899
|
+
this._beginToken(u.EXPANSION_FORM_END), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
|
|
1900
|
+
}
|
|
1901
|
+
_consumeWithInterpolation(e, t, r, n) {
|
|
1902
|
+
this._beginToken(e);
|
|
1903
|
+
let a = [];
|
|
1904
|
+
for (; !r(); ) {
|
|
1905
|
+
let s = this._cursor.clone();
|
|
1906
|
+
this._attemptStr(me.start) ? (this._endToken([this._processCarriageReturns(a.join(""))], s), a.length = 0, this._consumeInterpolation(t, s, n), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(a.join(""))]), a.length = 0, this._consumeEntity(e), this._beginToken(e)) : a.push(this._readChar());
|
|
1907
|
+
}
|
|
1908
|
+
this._inInterpolation = !1;
|
|
1909
|
+
let i = this._processCarriageReturns(a.join(""));
|
|
1910
|
+
return this._endToken([i]), i;
|
|
1911
|
+
}
|
|
1912
|
+
_consumeInterpolation(e, t, r) {
|
|
1913
|
+
let n = [];
|
|
1914
|
+
this._beginToken(e, t), n.push(me.start);
|
|
1915
|
+
let a = this._cursor.clone(), i = null, s = !1;
|
|
1916
|
+
for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
|
|
1917
|
+
let o = this._cursor.clone();
|
|
1918
|
+
if (this._isTagStart()) {
|
|
1919
|
+
this._cursor = o, n.push(this._getProcessedChars(a, o)), this._endToken(n);
|
|
1920
|
+
return;
|
|
1921
|
+
}
|
|
1922
|
+
if (i === null) if (this._attemptStr(me.end)) {
|
|
1923
|
+
n.push(this._getProcessedChars(a, o)), n.push(me.end), this._endToken(n);
|
|
1924
|
+
return;
|
|
1925
|
+
} else this._attemptStr("//") && (s = !0);
|
|
1926
|
+
let l = this._cursor.peek();
|
|
1927
|
+
this._cursor.advance(), l === 92 ? this._cursor.advance() : l === i ? i = null : !s && i === null && at(l) && (i = l);
|
|
1928
|
+
}
|
|
1929
|
+
n.push(this._getProcessedChars(a, this._cursor)), this._endToken(n);
|
|
1930
|
+
}
|
|
1931
|
+
_consumeDirective(e, t) {
|
|
1932
|
+
for (this._requireCharCode(64), this._cursor.advance(); or(this._cursor.peek()); ) this._cursor.advance();
|
|
1933
|
+
this._beginToken(u.DIRECTIVE_NAME, e);
|
|
1934
|
+
let r = this._cursor.getChars(t);
|
|
1935
|
+
if (this._endToken([r]), this._attemptCharCodeUntilFn(E), this._cursor.peek() === 40) {
|
|
1936
|
+
for (this._openDirectiveCount++, this._beginToken(u.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(E); !ur(this._cursor.peek()) && this._cursor.peek() !== 41; ) this._consumeAttribute();
|
|
1937
|
+
if (this._attemptCharCodeUntilFn(E), this._openDirectiveCount--, this._cursor.peek() !== 41) {
|
|
1938
|
+
if (this._cursor.peek() === 62 || this._cursor.peek() === 47) return;
|
|
1939
|
+
throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(e));
|
|
1940
|
+
}
|
|
1941
|
+
this._beginToken(u.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(E);
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
_getProcessedChars(e, t) {
|
|
1945
|
+
return this._processCarriageReturns(t.getChars(e));
|
|
1946
|
+
}
|
|
1947
|
+
_isTextEnd() {
|
|
1948
|
+
return !!(this._isTagStart() || this._cursor.peek() === 0 || this._tokenizeIcu && !this._inInterpolation && (this.isExpansionFormStart() || this._cursor.peek() === 125 && this._isInExpansionCase()) || this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansion() && (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === 125));
|
|
1949
|
+
}
|
|
1950
|
+
_isTagStart() {
|
|
1951
|
+
if (this._cursor.peek() === 60) {
|
|
1952
|
+
let e = this._cursor.clone();
|
|
1953
|
+
e.advance();
|
|
1954
|
+
let t = e.peek();
|
|
1955
|
+
if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33) return !0;
|
|
1956
|
+
}
|
|
1957
|
+
return !1;
|
|
1958
|
+
}
|
|
1959
|
+
_readUntil(e) {
|
|
1960
|
+
let t = this._cursor.clone();
|
|
1961
|
+
return this._attemptUntilChar(e), this._cursor.getChars(t);
|
|
1962
|
+
}
|
|
1963
|
+
_isInExpansion() {
|
|
1964
|
+
return this._isInExpansionCase() || this._isInExpansionForm();
|
|
1965
|
+
}
|
|
1966
|
+
_isInExpansionCase() {
|
|
1967
|
+
return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === u.EXPANSION_CASE_EXP_START;
|
|
1968
|
+
}
|
|
1969
|
+
_isInExpansionForm() {
|
|
1970
|
+
return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === u.EXPANSION_FORM_START;
|
|
1971
|
+
}
|
|
1972
|
+
isExpansionFormStart() {
|
|
1973
|
+
if (this._cursor.peek() !== 123) return !1;
|
|
1974
|
+
let e = this._cursor.clone(), t = this._attemptStr(me.start);
|
|
1975
|
+
return this._cursor = e, !t;
|
|
1976
|
+
}
|
|
1977
|
+
_handleFullNameStackForTagOpen(e, t) {
|
|
1978
|
+
let r = Ee(e, t);
|
|
1979
|
+
(this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
|
|
1980
|
+
}
|
|
1981
|
+
_handleFullNameStackForTagClose(e, t) {
|
|
1982
|
+
let r = Ee(e, t);
|
|
1983
|
+
this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
|
|
1984
|
+
}
|
|
1985
|
+
};
|
|
1986
|
+
function E(e) {
|
|
1987
|
+
return !Ve(e) || e === 0;
|
|
1988
|
+
}
|
|
1989
|
+
function $(e) {
|
|
1990
|
+
return Ve(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
|
|
1991
|
+
}
|
|
1992
|
+
function qs(e) {
|
|
1993
|
+
return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
|
|
1994
|
+
}
|
|
1995
|
+
function Hs(e) {
|
|
1996
|
+
return e === 59 || e === 0 || !Bs(e);
|
|
1997
|
+
}
|
|
1998
|
+
function Us(e) {
|
|
1999
|
+
return e === 59 || e === 0 || !(ke(e) || Be(e));
|
|
2000
|
+
}
|
|
2001
|
+
function Vs(e) {
|
|
2002
|
+
return e !== 125;
|
|
2003
|
+
}
|
|
2004
|
+
function Ws(e, t) {
|
|
2005
|
+
return ir(e) === ir(t);
|
|
2006
|
+
}
|
|
2007
|
+
function ir(e) {
|
|
2008
|
+
return e >= 97 && e <= 122 ? e - 97 + 65 : e;
|
|
2009
|
+
}
|
|
2010
|
+
function zs(e) {
|
|
2011
|
+
return ke(e) || Be(e) || e === 95;
|
|
2012
|
+
}
|
|
2013
|
+
function sr(e) {
|
|
2014
|
+
return e !== 59 && E(e);
|
|
2015
|
+
}
|
|
2016
|
+
function Me(e) {
|
|
2017
|
+
return e === 95 || e >= 65 && e <= 90;
|
|
2018
|
+
}
|
|
2019
|
+
function or(e) {
|
|
2020
|
+
return ke(e) || Be(e) || e === 95;
|
|
2021
|
+
}
|
|
2022
|
+
function ur(e) {
|
|
2023
|
+
return e === 47 || e === 62 || e === 60 || e === 0;
|
|
2024
|
+
}
|
|
2025
|
+
function $s(e) {
|
|
2026
|
+
let t = [], r;
|
|
2027
|
+
for (let n = 0; n < e.length; n++) {
|
|
2028
|
+
let a = e[n];
|
|
2029
|
+
r && r.type === u.TEXT && a.type === u.TEXT || r && r.type === u.ATTR_VALUE_TEXT && a.type === u.ATTR_VALUE_TEXT ? (r.parts[0] += a.parts[0], r.sourceSpan.end = a.sourceSpan.end) : (r = a, t.push(r));
|
|
2030
|
+
}
|
|
2031
|
+
return t;
|
|
2032
|
+
}
|
|
2033
|
+
var ln = class ht {
|
|
2034
|
+
constructor(t, r) {
|
|
2035
|
+
h(this, "state");
|
|
2036
|
+
h(this, "file");
|
|
2037
|
+
h(this, "input");
|
|
2038
|
+
h(this, "end");
|
|
2039
|
+
if (t instanceof ht) {
|
|
2040
|
+
this.file = t.file, this.input = t.input, this.end = t.end;
|
|
2041
|
+
let n = t.state;
|
|
2042
|
+
this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
|
|
2043
|
+
} else {
|
|
2044
|
+
if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
|
|
2045
|
+
this.file = t, this.input = t.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.startCol };
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
clone() {
|
|
2049
|
+
return new ht(this);
|
|
2050
|
+
}
|
|
2051
|
+
peek() {
|
|
2052
|
+
return this.state.peek;
|
|
2053
|
+
}
|
|
2054
|
+
charsLeft() {
|
|
2055
|
+
return this.end - this.state.offset;
|
|
2056
|
+
}
|
|
2057
|
+
diff(t) {
|
|
2058
|
+
return this.state.offset - t.state.offset;
|
|
2059
|
+
}
|
|
2060
|
+
advance() {
|
|
2061
|
+
this.advanceState(this.state);
|
|
2062
|
+
}
|
|
2063
|
+
init() {
|
|
2064
|
+
this.updatePeek(this.state);
|
|
2065
|
+
}
|
|
2066
|
+
getSpan(t, r) {
|
|
2067
|
+
t = t || this;
|
|
2068
|
+
let n = t;
|
|
2069
|
+
if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
|
|
2070
|
+
let a = this.locationFromCursor(t);
|
|
2071
|
+
return new m(a, this.locationFromCursor(this), n !== t ? this.locationFromCursor(n) : a);
|
|
2072
|
+
}
|
|
2073
|
+
getChars(t) {
|
|
2074
|
+
return this.input.substring(t.state.offset, this.state.offset);
|
|
2075
|
+
}
|
|
2076
|
+
charAt(t) {
|
|
2077
|
+
return this.input.charCodeAt(t);
|
|
2078
|
+
}
|
|
2079
|
+
advanceState(t) {
|
|
2080
|
+
if (t.offset >= this.end) throw this.state = t, new Ft('Unexpected character "EOF"', this);
|
|
2081
|
+
let r = this.charAt(t.offset);
|
|
2082
|
+
r === 10 ? (t.line++, t.column = 0) : ve(r) || t.column++, t.offset++, this.updatePeek(t);
|
|
2083
|
+
}
|
|
2084
|
+
updatePeek(t) {
|
|
2085
|
+
t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
|
|
2086
|
+
}
|
|
2087
|
+
locationFromCursor(t) {
|
|
2088
|
+
return new ct(t.file, t.state.offset, t.state.line, t.state.column);
|
|
2089
|
+
}
|
|
2090
|
+
}, js = class dt extends ln {
|
|
2091
|
+
constructor(r, n) {
|
|
2092
|
+
var t = (...Tu) => (super(...Tu), h(this, "internalState"), this);
|
|
2093
|
+
r instanceof dt ? (t(r), this.internalState = { ...r.internalState }) : (t(r, n), this.internalState = this.state);
|
|
2094
|
+
}
|
|
2095
|
+
advance() {
|
|
2096
|
+
this.state = this.internalState, super.advance(), this.processEscapeSequence();
|
|
2097
|
+
}
|
|
2098
|
+
init() {
|
|
2099
|
+
super.init(), this.processEscapeSequence();
|
|
2100
|
+
}
|
|
2101
|
+
clone() {
|
|
2102
|
+
return new dt(this);
|
|
2103
|
+
}
|
|
2104
|
+
getChars(r) {
|
|
2105
|
+
let n = r.clone(), a = "";
|
|
2106
|
+
for (; n.internalState.offset < this.internalState.offset; ) a += String.fromCodePoint(n.peek()), n.advance();
|
|
2107
|
+
return a;
|
|
2108
|
+
}
|
|
2109
|
+
processEscapeSequence() {
|
|
2110
|
+
let r = () => this.internalState.peek;
|
|
2111
|
+
if (r() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), r() === 110) this.state.peek = 10;
|
|
2112
|
+
else if (r() === 114) this.state.peek = 13;
|
|
2113
|
+
else if (r() === 118) this.state.peek = 11;
|
|
2114
|
+
else if (r() === 116) this.state.peek = 9;
|
|
2115
|
+
else if (r() === 98) this.state.peek = 8;
|
|
2116
|
+
else if (r() === 102) this.state.peek = 12;
|
|
2117
|
+
else if (r() === 117) if (this.advanceState(this.internalState), r() === 123) {
|
|
2118
|
+
this.advanceState(this.internalState);
|
|
2119
|
+
let n = this.clone(), a = 0;
|
|
2120
|
+
for (; r() !== 125; ) this.advanceState(this.internalState), a++;
|
|
2121
|
+
this.state.peek = this.decodeHexDigits(n, a);
|
|
2122
|
+
} else {
|
|
2123
|
+
let n = this.clone();
|
|
2124
|
+
this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(n, 4);
|
|
2125
|
+
}
|
|
2126
|
+
else if (r() === 120) {
|
|
2127
|
+
this.advanceState(this.internalState);
|
|
2128
|
+
let n = this.clone();
|
|
2129
|
+
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(n, 2);
|
|
2130
|
+
} else if (nr(r())) {
|
|
2131
|
+
let n = "", a = 0, i = this.clone();
|
|
2132
|
+
for (; nr(r()) && a < 3; ) i = this.clone(), n += String.fromCodePoint(r()), this.advanceState(this.internalState), a++;
|
|
2133
|
+
this.state.peek = parseInt(n, 8), this.internalState = i.internalState;
|
|
2134
|
+
} else ve(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
|
|
2135
|
+
}
|
|
2136
|
+
decodeHexDigits(r, n) {
|
|
2137
|
+
let a = this.input.slice(r.internalState.offset, r.internalState.offset + n), i = parseInt(a, 16);
|
|
2138
|
+
if (isNaN(i)) throw r.state = r.internalState, new Ft("Invalid hexadecimal escape sequence", r);
|
|
2139
|
+
return i;
|
|
2140
|
+
}
|
|
2141
|
+
}, Ft = class extends Error {
|
|
2142
|
+
constructor(e, t) {
|
|
2143
|
+
super(e), this.msg = e, this.cursor = t, Object.setPrototypeOf(this, new.target.prototype);
|
|
2144
|
+
}
|
|
2145
|
+
}, T = class cn extends Z {
|
|
2146
|
+
static create(t, r, n) {
|
|
2147
|
+
return new cn(t, r, n);
|
|
2148
|
+
}
|
|
2149
|
+
constructor(t, r, n) {
|
|
2150
|
+
super(r, n), this.elementName = t;
|
|
2151
|
+
}
|
|
2152
|
+
}, Xs = class {
|
|
2153
|
+
constructor(e, t) {
|
|
2154
|
+
this.rootNodes = e, this.errors = t;
|
|
2155
|
+
}
|
|
2156
|
+
}, Gs = class {
|
|
2157
|
+
constructor(e) {
|
|
2158
|
+
this.getTagDefinition = e;
|
|
2159
|
+
}
|
|
2160
|
+
parse(e, t, r, n = !1, a) {
|
|
2161
|
+
let i = (d) => (C, ...v) => d(C.toLowerCase(), ...v), s = n ? this.getTagDefinition : i(this.getTagDefinition), o = (d) => s(d).getContentType(), l = n ? a : i(a), c = Fs(e, t, a ? (d, C, v, O) => {
|
|
2162
|
+
let I = l(d, C, v, O);
|
|
2163
|
+
return I !== void 0 ? I : o(d);
|
|
2164
|
+
} : o, r), p = r && r.canSelfClose || !1, f = r && r.allowHtmComponentClosingTags || !1, _ = new Ks(c.tokens, s, p, f, n);
|
|
2165
|
+
return _.build(), new Xs(_.rootNodes, [...c.errors, ..._.errors]);
|
|
2166
|
+
}
|
|
2167
|
+
}, Ks = class pn {
|
|
2168
|
+
constructor(t, r, n, a, i) {
|
|
2169
|
+
h(this, "_index", -1);
|
|
2170
|
+
h(this, "_peek");
|
|
2171
|
+
h(this, "_containerStack", []);
|
|
2172
|
+
h(this, "rootNodes", []);
|
|
2173
|
+
h(this, "errors", []);
|
|
2174
|
+
this.tokens = t, this.tagDefinitionResolver = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._advance();
|
|
2175
|
+
}
|
|
2176
|
+
build() {
|
|
2177
|
+
for (; this._peek.type !== u.EOF; ) this._peek.type === u.TAG_OPEN_START || this._peek.type === u.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === u.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === u.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === u.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === u.TEXT || this._peek.type === u.RAW_TEXT || this._peek.type === u.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === u.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === u.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === u.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === u.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === u.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === u.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === u.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === u.COMPONENT_OPEN_START || this._peek.type === u.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === u.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance();
|
|
2178
|
+
for (let t of this._containerStack) t instanceof J && this.errors.push(T.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
|
|
2179
|
+
}
|
|
2180
|
+
_advance() {
|
|
2181
|
+
let t = this._peek;
|
|
2182
|
+
return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], t;
|
|
2183
|
+
}
|
|
2184
|
+
_advanceIf(t) {
|
|
2185
|
+
return this._peek.type === t ? this._advance() : null;
|
|
2186
|
+
}
|
|
2187
|
+
_consumeCdata(t) {
|
|
2188
|
+
let r = this._advance(), n = this._getText(r), a = this._advanceIf(u.CDATA_END);
|
|
2189
|
+
this._addToParent(new ks(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
|
|
2190
|
+
}
|
|
2191
|
+
_consumeComment(t) {
|
|
2192
|
+
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.COMMENT_END), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new m(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2193
|
+
this._addToParent(new Ds(a, i));
|
|
2194
|
+
}
|
|
2195
|
+
_consumeDocType(t) {
|
|
2196
|
+
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.DOC_TYPE_END), a = r != null ? r.parts[0].trim() : null, i = new m(t.sourceSpan.start, (n || r || t).sourceSpan.end);
|
|
2197
|
+
this._addToParent(new xs(a, i));
|
|
2198
|
+
}
|
|
2199
|
+
_consumeExpansion(t) {
|
|
2200
|
+
let r = this._advance(), n = this._advance(), a = [];
|
|
2201
|
+
for (; this._peek.type === u.EXPANSION_CASE_VALUE; ) {
|
|
2202
|
+
let s = this._parseExpansionCase();
|
|
2203
|
+
if (!s) return;
|
|
2204
|
+
a.push(s);
|
|
2205
|
+
}
|
|
2206
|
+
if (this._peek.type !== u.EXPANSION_FORM_END) {
|
|
2207
|
+
this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
|
|
2208
|
+
return;
|
|
2209
|
+
}
|
|
2210
|
+
let i = new m(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2211
|
+
this._addToParent(new bs(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
|
|
2212
|
+
}
|
|
2213
|
+
_parseExpansionCase() {
|
|
2214
|
+
let t = this._advance();
|
|
2215
|
+
if (this._peek.type !== u.EXPANSION_CASE_EXP_START) return this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
|
|
2216
|
+
let r = this._advance(), n = this._collectExpansionExpTokens(r);
|
|
2217
|
+
if (!n) return null;
|
|
2218
|
+
let a = this._advance();
|
|
2219
|
+
n.push({ type: u.EOF, parts: [], sourceSpan: a.sourceSpan });
|
|
2220
|
+
let i = new pn(n, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
|
|
2221
|
+
if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
|
|
2222
|
+
let s = new m(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), o = new m(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
|
|
2223
|
+
return new ws(t.parts[0], i.rootNodes, s, t.sourceSpan, o);
|
|
2224
|
+
}
|
|
2225
|
+
_collectExpansionExpTokens(t) {
|
|
2226
|
+
let r = [], n = [u.EXPANSION_CASE_EXP_START];
|
|
2227
|
+
for (; ; ) {
|
|
2228
|
+
if ((this._peek.type === u.EXPANSION_FORM_START || this._peek.type === u.EXPANSION_CASE_EXP_START) && n.push(this._peek.type), this._peek.type === u.EXPANSION_CASE_EXP_END) if (lr(n, u.EXPANSION_CASE_EXP_START)) {
|
|
2229
|
+
if (n.pop(), n.length === 0) return r;
|
|
2230
|
+
} else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2231
|
+
if (this._peek.type === u.EXPANSION_FORM_END) if (lr(n, u.EXPANSION_FORM_START)) n.pop();
|
|
2232
|
+
else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2233
|
+
if (this._peek.type === u.EOF) return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2234
|
+
r.push(this._advance());
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
_getText(t) {
|
|
2238
|
+
let r = t.parts[0];
|
|
2239
|
+
if (r.length > 0 && r[0] == `
|
|
2240
|
+
`) {
|
|
2241
|
+
var n;
|
|
2242
|
+
let a = this._getClosestElementLikeParent();
|
|
2243
|
+
a != null && a.children.length == 0 && !((n = this._getTagDefinition(a)) === null || n === void 0) && n.ignoreFirstLf && (r = r.substring(1));
|
|
2244
|
+
}
|
|
2245
|
+
return r;
|
|
2246
|
+
}
|
|
2247
|
+
_consumeText(t) {
|
|
2248
|
+
let r = [t], n = t.sourceSpan, a = t.parts[0];
|
|
2249
|
+
if (a.length > 0 && a[0] === `
|
|
2250
|
+
`) {
|
|
2251
|
+
var i;
|
|
2252
|
+
let s = this._getContainer();
|
|
2253
|
+
s != null && s.children.length === 0 && !((i = this._getTagDefinition(s)) === null || i === void 0) && i.ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
|
|
2254
|
+
}
|
|
2255
|
+
for (; this._peek.type === u.INTERPOLATION || this._peek.type === u.TEXT || this._peek.type === u.ENCODED_ENTITY; ) t = this._advance(), r.push(t), t.type === u.INTERPOLATION ? a += t.parts.join("").replace(/&([^;]+);/g, cr) : t.type === u.ENCODED_ENTITY ? a += t.parts[0] : a += t.parts.join("");
|
|
2256
|
+
if (a.length > 0) {
|
|
2257
|
+
let s = t.sourceSpan;
|
|
2258
|
+
this._addToParent(new Ts(a, new m(n.start, s.end, n.fullStart, n.details), r));
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
_closeVoidElement() {
|
|
2262
|
+
var t;
|
|
2263
|
+
let r = this._getContainer();
|
|
2264
|
+
r !== null && !((t = this._getTagDefinition(r)) === null || t === void 0) && t.isVoid && this._containerStack.pop();
|
|
2265
|
+
}
|
|
2266
|
+
_consumeElementStartTag(t) {
|
|
2267
|
+
var r;
|
|
2268
|
+
let n = [], a = [];
|
|
2269
|
+
this._consumeAttributesAndDirectives(n, a);
|
|
2270
|
+
let i = this._getElementFullName(t, this._getClosestElementLikeParent()), s = this._getTagDefinition(i), o = !1;
|
|
2271
|
+
if (this._peek.type === u.TAG_OPEN_END_VOID) {
|
|
2272
|
+
this._advance(), o = !0;
|
|
2273
|
+
let v = this._getTagDefinition(i);
|
|
2274
|
+
this.canSelfClose || v != null && v.canSelfClose || He(i) !== null || v != null && v.isVoid || this.errors.push(T.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
|
|
2275
|
+
} else this._peek.type === u.TAG_OPEN_END && (this._advance(), o = !1);
|
|
2276
|
+
let l = this._peek.sourceSpan.fullStart, c = new m(t.sourceSpan.start, l, t.sourceSpan.fullStart), p = new m(t.sourceSpan.start, l, t.sourceSpan.fullStart), f = new m(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), _ = new W(i, n, a, [], o, c, p, void 0, f, (s == null ? void 0 : s.isVoid) ?? !1), d = this._getContainer(), C = d !== null && !!(!((r = this._getTagDefinition(d)) === null || r === void 0) && r.isClosedByChild(_.name));
|
|
2277
|
+
this._pushContainer(_, C), o ? this._popContainer(i, W, c) : t.type === u.INCOMPLETE_TAG_OPEN && (this._popContainer(i, W, null), this.errors.push(T.create(i, c, `Opening tag "${i}" not terminated.`)));
|
|
2278
|
+
}
|
|
2279
|
+
_consumeComponentStartTag(t) {
|
|
2280
|
+
var r;
|
|
2281
|
+
let n = t.parts[0], a = [], i = [];
|
|
2282
|
+
this._consumeAttributesAndDirectives(a, i);
|
|
2283
|
+
let s = this._getClosestElementLikeParent(), o = this._getComponentTagName(t, s), l = this._getComponentFullName(t, s), c = this._peek.type === u.COMPONENT_OPEN_END_VOID;
|
|
2284
|
+
this._advance();
|
|
2285
|
+
let p = this._peek.sourceSpan.fullStart, f = new m(t.sourceSpan.start, p, t.sourceSpan.fullStart), _ = new M(n, o, l, a, i, [], c, f, new m(t.sourceSpan.start, p, t.sourceSpan.fullStart), void 0), d = this._getContainer(), C = d !== null && _.tagName !== null && !!(!((r = this._getTagDefinition(d)) === null || r === void 0) && r.isClosedByChild(_.tagName));
|
|
2286
|
+
this._pushContainer(_, C), c ? this._popContainer(l, M, f) : t.type === u.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(l, M, null), this.errors.push(T.create(l, f, `Opening tag "${l}" not terminated.`)));
|
|
2287
|
+
}
|
|
2288
|
+
_consumeAttributesAndDirectives(t, r) {
|
|
2289
|
+
for (; this._peek.type === u.ATTR_NAME || this._peek.type === u.DIRECTIVE_NAME; ) this._peek.type === u.DIRECTIVE_NAME ? r.push(this._consumeDirective(this._peek)) : t.push(this._consumeAttr(this._advance()));
|
|
2290
|
+
}
|
|
2291
|
+
_consumeComponentEndTag(t) {
|
|
2292
|
+
let r = this._getComponentFullName(t, this._getClosestElementLikeParent());
|
|
2293
|
+
if (!this._popContainer(r, M, t.sourceSpan)) {
|
|
2294
|
+
let n = this._containerStack[this._containerStack.length - 1], a;
|
|
2295
|
+
n instanceof M && n.componentName === t.parts[0] ? a = `, did you mean "${n.fullName}"?` : a = ". It may happen when the tag has already been closed by another tag.";
|
|
2296
|
+
let i = `Unexpected closing tag "${r}"${a}`;
|
|
2297
|
+
this.errors.push(T.create(r, t.sourceSpan, i));
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
_getTagDefinition(t) {
|
|
2301
|
+
return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof W ? this.tagDefinitionResolver(t.name) : t instanceof M && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
|
|
2302
|
+
}
|
|
2303
|
+
_pushContainer(t, r) {
|
|
2304
|
+
r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
|
|
2305
|
+
}
|
|
2306
|
+
_consumeElementEndTag(t) {
|
|
2307
|
+
var r;
|
|
2308
|
+
let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t, this._getClosestElementLikeParent());
|
|
2309
|
+
if (n && !((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid) this.errors.push(T.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
|
|
2310
|
+
else if (!this._popContainer(n, W, t.sourceSpan)) {
|
|
2311
|
+
let a = `Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
|
|
2312
|
+
this.errors.push(T.create(n, t.sourceSpan, a));
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
_popContainer(t, r, n) {
|
|
2316
|
+
let a = !1;
|
|
2317
|
+
for (let s = this._containerStack.length - 1; s >= 0; s--) {
|
|
2318
|
+
var i;
|
|
2319
|
+
let o = this._containerStack[s], l = o instanceof M ? o.fullName : o.name;
|
|
2320
|
+
if (He(l) ? l === t : (l === t || t === null) && o instanceof r) return o.endSourceSpan = n, o.sourceSpan.end = n !== null ? n.end : o.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
|
|
2321
|
+
(o instanceof J || !(!((i = this._getTagDefinition(o)) === null || i === void 0) && i.closedByParent)) && (a = !0);
|
|
2322
|
+
}
|
|
2323
|
+
return !1;
|
|
2324
|
+
}
|
|
2325
|
+
_consumeAttr(t) {
|
|
2326
|
+
let r = Ee(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
|
|
2327
|
+
this._peek.type === u.ATTR_QUOTE && (a = this._advance());
|
|
2328
|
+
let i = "", s = [], o, l;
|
|
2329
|
+
if (this._peek.type === u.ATTR_VALUE_TEXT) for (o = this._peek.sourceSpan, l = this._peek.sourceSpan.end; this._peek.type === u.ATTR_VALUE_TEXT || this._peek.type === u.ATTR_VALUE_INTERPOLATION || this._peek.type === u.ENCODED_ENTITY; ) {
|
|
2330
|
+
let p = this._advance();
|
|
2331
|
+
s.push(p), p.type === u.ATTR_VALUE_INTERPOLATION ? i += p.parts.join("").replace(/&([^;]+);/g, cr) : p.type === u.ENCODED_ENTITY ? i += p.parts[0] : i += p.parts.join(""), l = n = p.sourceSpan.end;
|
|
2332
|
+
}
|
|
2333
|
+
this._peek.type === u.ATTR_QUOTE && (l = n = this._advance().sourceSpan.end);
|
|
2334
|
+
let c = o && l && new m((a == null ? void 0 : a.sourceSpan.start) ?? o.start, l, (a == null ? void 0 : a.sourceSpan.fullStart) ?? o.fullStart);
|
|
2335
|
+
return new ys(r, i, new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
|
|
2336
|
+
}
|
|
2337
|
+
_consumeDirective(t) {
|
|
2338
|
+
let r = [], n = t.sourceSpan.end, a = null;
|
|
2339
|
+
if (this._advance(), this._peek.type === u.DIRECTIVE_OPEN) {
|
|
2340
|
+
for (n = this._peek.sourceSpan.end, this._advance(); this._peek.type === u.ATTR_NAME; ) r.push(this._consumeAttr(this._advance()));
|
|
2341
|
+
this._peek.type === u.DIRECTIVE_CLOSE ? (a = this._peek.sourceSpan, this._advance()) : this.errors.push(T.create(null, t.sourceSpan, "Unterminated directive definition"));
|
|
2342
|
+
}
|
|
2343
|
+
let i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new m(i.start, a === null ? t.sourceSpan.end : a.end, i.fullStart);
|
|
2344
|
+
return new Ns(t.parts[0], r, s, i, a);
|
|
2345
|
+
}
|
|
2346
|
+
_consumeBlockOpen(t) {
|
|
2347
|
+
let r = [];
|
|
2348
|
+
for (; this._peek.type === u.BLOCK_PARAMETER; ) {
|
|
2349
|
+
let o = this._advance();
|
|
2350
|
+
r.push(new tr(o.parts[0], o.sourceSpan));
|
|
2351
|
+
}
|
|
2352
|
+
this._peek.type === u.BLOCK_OPEN_END && this._advance();
|
|
2353
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new J(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2354
|
+
this._pushContainer(s, !1);
|
|
2355
|
+
}
|
|
2356
|
+
_consumeBlockClose(t) {
|
|
2357
|
+
let r = this._containerStack.length, n = this._containerStack[r - 1];
|
|
2358
|
+
if (!this._popContainer(null, J, t.sourceSpan)) {
|
|
2359
|
+
if (this._containerStack.length < r) {
|
|
2360
|
+
let a = n instanceof M ? n.fullName : n.name;
|
|
2361
|
+
this.errors.push(T.create(null, t.sourceSpan, `Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${a}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`));
|
|
2362
|
+
return;
|
|
2363
|
+
}
|
|
2364
|
+
this.errors.push(T.create(null, t.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "}" HTML entity instead.'));
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
_consumeIncompleteBlock(t) {
|
|
2368
|
+
let r = [];
|
|
2369
|
+
for (; this._peek.type === u.BLOCK_PARAMETER; ) {
|
|
2370
|
+
let o = this._advance();
|
|
2371
|
+
r.push(new tr(o.parts[0], o.sourceSpan));
|
|
2372
|
+
}
|
|
2373
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new J(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2374
|
+
this._pushContainer(s, !1), this._popContainer(null, J, null), this.errors.push(T.create(t.parts[0], a, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
2375
|
+
}
|
|
2376
|
+
_consumeLet(t) {
|
|
2377
|
+
let r = t.parts[0], n, a;
|
|
2378
|
+
if (this._peek.type !== u.LET_VALUE) {
|
|
2379
|
+
this.errors.push(T.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
|
|
2380
|
+
return;
|
|
2381
|
+
} else n = this._advance();
|
|
2382
|
+
if (this._peek.type !== u.LET_END) {
|
|
2383
|
+
this.errors.push(T.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
|
|
2384
|
+
return;
|
|
2385
|
+
} else a = this._advance();
|
|
2386
|
+
let i = a.sourceSpan.fullStart, s = new m(t.sourceSpan.start, i, t.sourceSpan.fullStart), o = t.sourceSpan.toString().lastIndexOf(r), l = new m(t.sourceSpan.start.moveBy(o), t.sourceSpan.end), c = new rr(r, n.parts[0], s, l, n.sourceSpan);
|
|
2387
|
+
this._addToParent(c);
|
|
2388
|
+
}
|
|
2389
|
+
_consumeIncompleteLet(t) {
|
|
2390
|
+
let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
|
|
2391
|
+
if (r.length > 0) {
|
|
2392
|
+
let a = t.sourceSpan.toString().lastIndexOf(r), i = new m(t.sourceSpan.start.moveBy(a), t.sourceSpan.end), s = new m(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new rr(r, "", t.sourceSpan, i, s);
|
|
2393
|
+
this._addToParent(o);
|
|
2394
|
+
}
|
|
2395
|
+
this.errors.push(T.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
2396
|
+
}
|
|
2397
|
+
_getContainer() {
|
|
2398
|
+
return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
|
|
2399
|
+
}
|
|
2400
|
+
_getClosestElementLikeParent() {
|
|
2401
|
+
for (let t = this._containerStack.length - 1; t > -1; t--) {
|
|
2402
|
+
let r = this._containerStack[t];
|
|
2403
|
+
if (r instanceof W || r instanceof M) return r;
|
|
2404
|
+
}
|
|
2405
|
+
return null;
|
|
2406
|
+
}
|
|
2407
|
+
_addToParent(t) {
|
|
2408
|
+
let r = this._getContainer();
|
|
2409
|
+
r === null ? this.rootNodes.push(t) : r.children.push(t);
|
|
2410
|
+
}
|
|
2411
|
+
_getElementFullName(t, r) {
|
|
2412
|
+
return Ee(this._getPrefix(t, r), t.parts[1]);
|
|
2413
|
+
}
|
|
2414
|
+
_getComponentFullName(t, r) {
|
|
2415
|
+
let n = t.parts[0], a = this._getComponentTagName(t, r);
|
|
2416
|
+
return a === null ? n : a.startsWith(":") ? n + a : `${n}:${a}`;
|
|
2417
|
+
}
|
|
2418
|
+
_getComponentTagName(t, r) {
|
|
2419
|
+
let n = this._getPrefix(t, r), a = t.parts[2];
|
|
2420
|
+
return !n && !a ? null : !n && a ? a : Ee(n, a || "ng-component");
|
|
2421
|
+
}
|
|
2422
|
+
_getPrefix(t, r) {
|
|
2423
|
+
var n;
|
|
2424
|
+
let a, i;
|
|
2425
|
+
if (t.type === u.COMPONENT_OPEN_START || t.type === u.INCOMPLETE_COMPONENT_OPEN || t.type === u.COMPONENT_CLOSE ? (a = t.parts[1], i = t.parts[2]) : (a = t.parts[0], i = t.parts[1]), a = a || ((n = this._getTagDefinition(i)) === null || n === void 0 ? void 0 : n.implicitNamespacePrefix) || "", !a && r) {
|
|
2426
|
+
let s = r instanceof W ? r.name : r.tagName;
|
|
2427
|
+
if (s !== null) {
|
|
2428
|
+
let o = Ye(s)[1], l = this._getTagDefinition(o);
|
|
2429
|
+
l !== null && !l.preventNamespaceInheritance && (a = He(s));
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
return a;
|
|
2433
|
+
}
|
|
2434
|
+
};
|
|
2435
|
+
function lr(e, t) {
|
|
2436
|
+
return e.length > 0 && e[e.length - 1] === t;
|
|
2437
|
+
}
|
|
2438
|
+
function cr(e, t) {
|
|
2439
|
+
return Te[t] !== void 0 ? Te[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.fromCodePoint(parseInt(t.slice(1), 10)) : e;
|
|
2440
|
+
}
|
|
2441
|
+
var Ys = class extends Gs {
|
|
2442
|
+
constructor() {
|
|
2443
|
+
super(lt);
|
|
2444
|
+
}
|
|
2445
|
+
parse(e, t, r, n = !1, a) {
|
|
2446
|
+
return super.parse(e, t, r, n, a);
|
|
2447
|
+
}
|
|
2448
|
+
}, it;
|
|
2449
|
+
function mt(e, t = {}) {
|
|
2450
|
+
let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: o = !1, enableAngularSelectorlessSyntax: l = !1 } = t;
|
|
2451
|
+
return it ?? (it = new Ys()), it.parse(e, "angular-html-parser", { tokenizeExpansionForms: s, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: o, selectorlessEnabled: l }, a, i);
|
|
2452
|
+
}
|
|
2453
|
+
var Js = [Zs, eo, ro, ao, io, uo, so, oo, lo, no];
|
|
2454
|
+
function Qs(e, t) {
|
|
2455
|
+
for (let r of Js) r(e, t);
|
|
2456
|
+
return e;
|
|
2457
|
+
}
|
|
2458
|
+
function Zs(e) {
|
|
2459
|
+
e.walk((t) => {
|
|
2460
|
+
if (t.kind === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].kind === "text" && t.children[0].value[0] === `
|
|
2461
|
+
`) {
|
|
2462
|
+
let r = t.children[0];
|
|
2463
|
+
r.value.length === 1 ? t.removeChild(r) : r.value = r.value.slice(1);
|
|
2464
|
+
}
|
|
2465
|
+
});
|
|
2466
|
+
}
|
|
2467
|
+
function eo(e) {
|
|
2468
|
+
let t = (r) => {
|
|
2469
|
+
var n, a;
|
|
2470
|
+
return r.kind === "element" && ((n = r.prev) == null ? void 0 : n.kind) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((a = r.firstChild) == null ? void 0 : a.kind) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
2471
|
+
};
|
|
2472
|
+
e.walk((r) => {
|
|
2473
|
+
if (r.children) for (let n = 0; n < r.children.length; n++) {
|
|
2474
|
+
let a = r.children[n];
|
|
2475
|
+
if (!t(a)) continue;
|
|
2476
|
+
let i = a.prev, s = a.firstChild;
|
|
2477
|
+
r.removeChild(i), n--;
|
|
2478
|
+
let o = new m(i.sourceSpan.start, s.sourceSpan.end), l = new m(o.start, a.sourceSpan.end);
|
|
2479
|
+
a.condition = i.condition, a.sourceSpan = l, a.startSourceSpan = o, a.removeChild(s);
|
|
2480
|
+
}
|
|
2481
|
+
});
|
|
2482
|
+
}
|
|
2483
|
+
function to(e, t, r) {
|
|
2484
|
+
e.walk((n) => {
|
|
2485
|
+
if (n.children) for (let a = 0; a < n.children.length; a++) {
|
|
2486
|
+
let i = n.children[a];
|
|
2487
|
+
if (i.kind !== "text" && !t(i)) continue;
|
|
2488
|
+
i.kind !== "text" && (i.kind = "text", i.value = r(i));
|
|
2489
|
+
let s = i.prev;
|
|
2490
|
+
!s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new m(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
|
|
2491
|
+
}
|
|
2492
|
+
});
|
|
2493
|
+
}
|
|
2494
|
+
function ro(e) {
|
|
2495
|
+
return to(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
|
|
2496
|
+
}
|
|
2497
|
+
function no(e) {
|
|
2498
|
+
let t = (r) => {
|
|
2499
|
+
var n, a;
|
|
2500
|
+
return r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !L.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.kind) === "text" && ((a = r.next) == null ? void 0 : a.kind) === "text";
|
|
2501
|
+
};
|
|
2502
|
+
e.walk((r) => {
|
|
2503
|
+
if (r.children) for (let n = 0; n < r.children.length; n++) {
|
|
2504
|
+
let a = r.children[n];
|
|
2505
|
+
if (!t(a)) continue;
|
|
2506
|
+
let i = a.prev, s = a.next;
|
|
2507
|
+
i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new m(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
|
|
2508
|
+
}
|
|
2509
|
+
});
|
|
2510
|
+
}
|
|
2511
|
+
function ao(e, t) {
|
|
2512
|
+
if (t.parser === "html") return;
|
|
2513
|
+
let r = /\{\{(.+?)\}\}/su;
|
|
2514
|
+
e.walk((n) => {
|
|
2515
|
+
if (wa(n, t)) for (let a of n.children) {
|
|
2516
|
+
if (a.kind !== "text") continue;
|
|
2517
|
+
let i = a.sourceSpan.start, s = null, o = a.value.split(r);
|
|
2518
|
+
for (let l = 0; l < o.length; l++, i = s) {
|
|
2519
|
+
let c = o[l];
|
|
2520
|
+
if (l % 2 === 0) {
|
|
2521
|
+
s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new m(i, s) });
|
|
2522
|
+
continue;
|
|
2523
|
+
}
|
|
2524
|
+
s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new m(i, s), children: c.length === 0 ? [] : [{ kind: "text", value: c, sourceSpan: new m(i.moveBy(2), s.moveBy(-2)) }] });
|
|
2525
|
+
}
|
|
2526
|
+
n.removeChild(a);
|
|
2527
|
+
}
|
|
2528
|
+
});
|
|
2529
|
+
}
|
|
2530
|
+
function io(e, t) {
|
|
2531
|
+
e.walk((r) => {
|
|
2532
|
+
let n = r.$children;
|
|
2533
|
+
if (!n) return;
|
|
2534
|
+
if (n.length === 0 || n.length === 1 && n[0].kind === "text" && L.trim(n[0].value).length === 0) {
|
|
2535
|
+
r.hasDanglingSpaces = n.length > 0, r.$children = [];
|
|
2536
|
+
return;
|
|
2537
|
+
}
|
|
2538
|
+
let a = ya(r, t), i = qr(r);
|
|
2539
|
+
if (!a) for (let s = 0; s < n.length; s++) {
|
|
2540
|
+
let o = n[s];
|
|
2541
|
+
if (o.kind !== "text") continue;
|
|
2542
|
+
let { leadingWhitespace: l, text: c, trailingWhitespace: p } = ka(o.value), f = o.prev, _ = o.next;
|
|
2543
|
+
c ? (o.value = c, o.sourceSpan = new m(o.sourceSpan.start.moveBy(l.length), o.sourceSpan.end.moveBy(-p.length)), l && (f && (f.hasTrailingSpaces = !0), o.hasLeadingSpaces = !0), p && (o.hasTrailingSpaces = !0, _ && (_.hasLeadingSpaces = !0))) : (r.removeChild(o), s--, (l || p) && (f && (f.hasTrailingSpaces = !0), _ && (_.hasLeadingSpaces = !0)));
|
|
2544
|
+
}
|
|
2545
|
+
r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
|
|
2546
|
+
});
|
|
2547
|
+
}
|
|
2548
|
+
function so(e) {
|
|
2549
|
+
e.walk((t) => {
|
|
2550
|
+
t.isSelfClosing = !t.children || t.kind === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
|
|
2551
|
+
});
|
|
2552
|
+
}
|
|
2553
|
+
function oo(e, t) {
|
|
2554
|
+
e.walk((r) => {
|
|
2555
|
+
r.kind === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
2556
|
+
});
|
|
2557
|
+
}
|
|
2558
|
+
function uo(e, t) {
|
|
2559
|
+
e.walk((r) => {
|
|
2560
|
+
r.cssDisplay = Wa(r, t);
|
|
2561
|
+
});
|
|
2562
|
+
}
|
|
2563
|
+
function lo(e, t) {
|
|
2564
|
+
e.walk((r) => {
|
|
2565
|
+
let { children: n } = r;
|
|
2566
|
+
if (n) {
|
|
2567
|
+
if (n.length === 0) {
|
|
2568
|
+
r.isDanglingSpaceSensitive = Na(r, t);
|
|
2569
|
+
return;
|
|
2570
|
+
}
|
|
2571
|
+
for (let a of n) a.isLeadingSpaceSensitive = Da(a, t), a.isTrailingSpaceSensitive = xa(a, t);
|
|
2572
|
+
for (let a = 0; a < n.length; a++) {
|
|
2573
|
+
let i = n[a];
|
|
2574
|
+
i.isLeadingSpaceSensitive = (a === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (a === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
});
|
|
2578
|
+
}
|
|
2579
|
+
var co = Qs;
|
|
2580
|
+
function po(e, t, r) {
|
|
2581
|
+
let { node: n } = e;
|
|
2582
|
+
switch (n.kind) {
|
|
2583
|
+
case "root":
|
|
2584
|
+
return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(Ot(e, t, r)), S];
|
|
2585
|
+
case "element":
|
|
2586
|
+
case "ieConditionalComment":
|
|
2587
|
+
return ps(e, t, r);
|
|
2588
|
+
case "angularControlFlowBlock":
|
|
2589
|
+
return ns(e, t, r);
|
|
2590
|
+
case "angularControlFlowBlockParameters":
|
|
2591
|
+
return us(e, t, r);
|
|
2592
|
+
case "angularControlFlowBlockParameter":
|
|
2593
|
+
return L.trim(n.expression);
|
|
2594
|
+
case "angularLetDeclaration":
|
|
2595
|
+
return k(["@let ", k([n.id, " =", k(P([A, r("init")]))]), ";"]);
|
|
2596
|
+
case "angularLetDeclarationInitializer":
|
|
2597
|
+
return n.value;
|
|
2598
|
+
case "angularIcuExpression":
|
|
2599
|
+
return ls(e, t, r);
|
|
2600
|
+
case "angularIcuCase":
|
|
2601
|
+
return cs(e, t, r);
|
|
2602
|
+
case "ieConditionalStartComment":
|
|
2603
|
+
case "ieConditionalEndComment":
|
|
2604
|
+
return [_e(n), fe(n)];
|
|
2605
|
+
case "interpolation":
|
|
2606
|
+
return [_e(n, t), ...e.map(r, "children"), fe(n, t)];
|
|
2607
|
+
case "text": {
|
|
2608
|
+
if (n.parent.kind === "interpolation") {
|
|
2609
|
+
let o = /\n[^\S\n]*$/u, l = o.test(n.value), c = l ? n.value.replace(o, "") : n.value;
|
|
2610
|
+
return [F(c), l ? S : ""];
|
|
2611
|
+
}
|
|
2612
|
+
let a = G(n, t), i = Gr(n), s = j(n, t);
|
|
2613
|
+
return i[0] = [a, i[0]], i.push([i.pop(), s]), Nr(i);
|
|
2614
|
+
}
|
|
2615
|
+
case "docType":
|
|
2616
|
+
return [k([_e(n, t), " ", w(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe(n, t)];
|
|
2617
|
+
case "comment":
|
|
2618
|
+
return [G(n, t), F(t.originalText.slice(xe(n), Xe(n))), j(n, t)];
|
|
2619
|
+
case "attribute": {
|
|
2620
|
+
if (n.value === null) return n.rawName;
|
|
2621
|
+
let a = Xr(n.value), i = Yr(n, t) ? "" : zn(a, '"');
|
|
2622
|
+
return [n.rawName, "=", i, F(i === '"' ? w(0, a, '"', """) : w(0, a, "'", "'")), i];
|
|
2623
|
+
}
|
|
2624
|
+
case "frontMatter":
|
|
2625
|
+
case "cdata":
|
|
2626
|
+
default:
|
|
2627
|
+
throw new Jn(n, "HTML");
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
var ho = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: co, print: po, insertPragma: ts, massageAstNode: ea, embed: Vi, getVisitorKeys: Ki }, mo = ho, go = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], pr = { bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, hr = "HTML", fo = { bracketSameLine: pr.bracketSameLine, htmlWhitespaceSensitivity: { category: hr, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: pr.singleAttributePerLine, vueIndentScriptAndStyle: { category: hr, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, _o = fo, hn = {};
|
|
2631
|
+
Er(hn, { angular: () => $o, html: () => Vo, lwc: () => Xo, mjml: () => zo, vue: () => jo });
|
|
2632
|
+
function Co(e, t) {
|
|
2633
|
+
let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
|
|
2634
|
+
return Object.assign(r, t);
|
|
2635
|
+
}
|
|
2636
|
+
var Eo = Co, vo = { canSelfClose: !0, normalizeTagName: !1, normalizeAttributeName: !1, allowHtmComponentClosingTags: !1, isTagNameCaseSensitive: !1, shouldParseFrontMatter: !0 };
|
|
2637
|
+
function dn(e) {
|
|
2638
|
+
return { ...vo, ...e };
|
|
2639
|
+
}
|
|
2640
|
+
function mn(e) {
|
|
2641
|
+
let { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, shouldParseAsRawText: a, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s } = e;
|
|
2642
|
+
return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ? q.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s };
|
|
2643
|
+
}
|
|
2644
|
+
var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), So = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fencedframe", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]), qe = { attrs: !0, children: !0, cases: !0, expression: !0 }, dr = /* @__PURE__ */ new Set(["parent"]), ee, gt, ft, Ao = class ge {
|
|
2645
|
+
constructor(t = {}) {
|
|
2646
|
+
Sn(this, ee), qt(this, "kind"), qt(this, "parent");
|
|
2647
|
+
for (let r of /* @__PURE__ */ new Set([...dr, ...Object.keys(t)])) this.setProperty(r, t[r]);
|
|
2648
|
+
if (ze(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
|
|
2649
|
+
}
|
|
2650
|
+
setProperty(t, r) {
|
|
2651
|
+
if (this[t] !== r) {
|
|
2652
|
+
if (t in qe && (r = r.map((n) => this.createChild(n))), !dr.has(t)) {
|
|
2653
|
+
this[t] = r;
|
|
2654
|
+
return;
|
|
2655
|
+
}
|
|
2656
|
+
Object.defineProperty(this, t, { value: r, enumerable: !1, configurable: !0 });
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
map(t) {
|
|
2660
|
+
let r;
|
|
2661
|
+
for (let n in qe) {
|
|
2662
|
+
let a = this[n];
|
|
2663
|
+
if (a) {
|
|
2664
|
+
let i = ko(a, (s) => s.map(t));
|
|
2665
|
+
r !== a && (r || (r = new ge({ parent: this.parent })), r.setProperty(n, i));
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
if (r) for (let n in this) n in qe || (r[n] = this[n]);
|
|
2669
|
+
return t(r || this);
|
|
2670
|
+
}
|
|
2671
|
+
walk(t) {
|
|
2672
|
+
for (let r in qe) {
|
|
2673
|
+
let n = this[r];
|
|
2674
|
+
if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
|
|
2675
|
+
}
|
|
2676
|
+
t(this);
|
|
2677
|
+
}
|
|
2678
|
+
createChild(t) {
|
|
2679
|
+
let r = t instanceof ge ? t.clone() : new ge(t);
|
|
2680
|
+
return r.setProperty("parent", this), r;
|
|
2681
|
+
}
|
|
2682
|
+
insertChildBefore(t, r) {
|
|
2683
|
+
let n = this.$children;
|
|
2684
|
+
n.splice(n.indexOf(t), 0, this.createChild(r));
|
|
2685
|
+
}
|
|
2686
|
+
removeChild(t) {
|
|
2687
|
+
let r = this.$children;
|
|
2688
|
+
r.splice(r.indexOf(t), 1);
|
|
2689
|
+
}
|
|
2690
|
+
replaceChild(t, r) {
|
|
2691
|
+
let n = this.$children;
|
|
2692
|
+
n[n.indexOf(t)] = this.createChild(r);
|
|
2693
|
+
}
|
|
2694
|
+
clone() {
|
|
2695
|
+
return new ge(this);
|
|
2696
|
+
}
|
|
2697
|
+
get $children() {
|
|
2698
|
+
return this[Pe(this, ee, gt)];
|
|
2699
|
+
}
|
|
2700
|
+
set $children(t) {
|
|
2701
|
+
this[Pe(this, ee, gt)] = t;
|
|
2702
|
+
}
|
|
2703
|
+
get firstChild() {
|
|
2704
|
+
var t;
|
|
2705
|
+
return (t = this.$children) == null ? void 0 : t[0];
|
|
2706
|
+
}
|
|
2707
|
+
get lastChild() {
|
|
2708
|
+
return re(1, this.$children, -1);
|
|
2709
|
+
}
|
|
2710
|
+
get prev() {
|
|
2711
|
+
let t = Pe(this, ee, ft);
|
|
2712
|
+
return t[t.indexOf(this) - 1];
|
|
2713
|
+
}
|
|
2714
|
+
get next() {
|
|
2715
|
+
let t = Pe(this, ee, ft);
|
|
2716
|
+
return t[t.indexOf(this) + 1];
|
|
2717
|
+
}
|
|
2718
|
+
get rawName() {
|
|
2719
|
+
return this.hasExplicitNamespace ? this.fullName : this.name;
|
|
2720
|
+
}
|
|
2721
|
+
get fullName() {
|
|
2722
|
+
return this.namespace ? this.namespace + ":" + this.name : this.name;
|
|
2723
|
+
}
|
|
2724
|
+
get attrMap() {
|
|
2725
|
+
return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
|
|
2726
|
+
}
|
|
2727
|
+
};
|
|
2728
|
+
ee = /* @__PURE__ */ new WeakSet(), gt = function() {
|
|
2729
|
+
return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children";
|
|
2730
|
+
}, ft = function() {
|
|
2731
|
+
var e;
|
|
2732
|
+
return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
|
|
2733
|
+
};
|
|
2734
|
+
var To = Ao;
|
|
2735
|
+
function ko(e, t) {
|
|
2736
|
+
let r = e.map(t);
|
|
2737
|
+
return r.some((n, a) => n !== e[a]) ? r : e;
|
|
2738
|
+
}
|
|
2739
|
+
var bo = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: yo }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: Do }, { regex: /^<!\s*\[endif\]$/u, parse: xo }];
|
|
2740
|
+
function wo(e, t) {
|
|
2741
|
+
if (e.value) for (let { regex: r, parse: n } of bo) {
|
|
2742
|
+
let a = e.value.match(r);
|
|
2743
|
+
if (a) return n(e, a, t);
|
|
2744
|
+
}
|
|
2745
|
+
return null;
|
|
2746
|
+
}
|
|
2747
|
+
function yo(e, t, r) {
|
|
2748
|
+
let { openingTagSuffix: n, condition: a, data: i } = t.groups, s = 4 + n.length, o = e.sourceSpan.start.moveBy(s), l = o.moveBy(i.length), [c, p] = (() => {
|
|
2749
|
+
try {
|
|
2750
|
+
return [!0, r(i, o).children];
|
|
2751
|
+
} catch {
|
|
2752
|
+
return [!1, [{ kind: "text", value: i, sourceSpan: new m(o, l) }]];
|
|
2753
|
+
}
|
|
2754
|
+
})();
|
|
2755
|
+
return { kind: "ieConditionalComment", complete: c, children: p, condition: w(0, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new m(e.sourceSpan.start, o), endSourceSpan: new m(l, e.sourceSpan.end) };
|
|
2756
|
+
}
|
|
2757
|
+
function Do(e, t) {
|
|
2758
|
+
let { condition: r } = t.groups;
|
|
2759
|
+
return { kind: "ieConditionalStartComment", condition: w(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
|
|
2760
|
+
}
|
|
2761
|
+
function xo(e) {
|
|
2762
|
+
return { kind: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
|
|
2763
|
+
}
|
|
2764
|
+
var No = class extends Ls {
|
|
2765
|
+
visitExpansionCase(e, t) {
|
|
2766
|
+
t.parseOptions.name === "angular" && this.visitChildren(t, (r) => {
|
|
2767
|
+
r(e.expression);
|
|
2768
|
+
});
|
|
2769
|
+
}
|
|
2770
|
+
visit(e, { parseOptions: t }) {
|
|
2771
|
+
Po(e), Io(e, t), Mo(e, t), Ro(e);
|
|
2772
|
+
}
|
|
2773
|
+
};
|
|
2774
|
+
function Lo(e, t, r, n) {
|
|
2775
|
+
un(new No(), e.children, { parseOptions: r }), t && e.children.unshift(t);
|
|
2776
|
+
let a = new To(e);
|
|
2777
|
+
return a.walk((i) => {
|
|
2778
|
+
if (i.kind === "comment") {
|
|
2779
|
+
let s = wo(i, n);
|
|
2780
|
+
s && i.parent.replaceChild(i, s);
|
|
2781
|
+
}
|
|
2782
|
+
Bo(i), Oo(i), Fo(i);
|
|
2783
|
+
}), a;
|
|
2784
|
+
}
|
|
2785
|
+
function Bo(e) {
|
|
2786
|
+
if (e.kind === "block") {
|
|
2787
|
+
if (e.name = w(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !wt(e.parameters)) {
|
|
2788
|
+
delete e.parameters;
|
|
2789
|
+
return;
|
|
2790
|
+
}
|
|
2791
|
+
for (let t of e.parameters) t.kind = "angularControlFlowBlockParameter";
|
|
2792
|
+
e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new m(e.parameters[0].sourceSpan.start, re(0, e.parameters, -1).sourceSpan.end) };
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
function Oo(e) {
|
|
2796
|
+
e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new m(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
|
|
2797
|
+
}
|
|
2798
|
+
function Fo(e) {
|
|
2799
|
+
e.kind === "expansion" && (e.kind = "angularIcuExpression"), e.kind === "expansionCase" && (e.kind = "angularIcuCase");
|
|
2800
|
+
}
|
|
2801
|
+
function mr(e, t) {
|
|
2802
|
+
let r = e.toLowerCase();
|
|
2803
|
+
return t(r) ? r : e;
|
|
2804
|
+
}
|
|
2805
|
+
function gr(e) {
|
|
2806
|
+
let t = e.name.startsWith(":") ? e.name.slice(1).split(":")[0] : null, r = e.nameSpan.toString(), n = t !== null && r.startsWith(`${t}:`), a = n ? r.slice(t.length + 1) : r;
|
|
2807
|
+
e.name = a, e.namespace = t, e.hasExplicitNamespace = n;
|
|
2808
|
+
}
|
|
2809
|
+
function Po(e) {
|
|
2810
|
+
switch (e.kind) {
|
|
2811
|
+
case "element":
|
|
2812
|
+
gr(e);
|
|
2813
|
+
for (let t of e.attrs) gr(t), t.valueSpan ? (t.value = t.valueSpan.toString(), /["']/u.test(t.value[0]) && (t.value = t.value.slice(1, -1))) : t.value = null;
|
|
2814
|
+
break;
|
|
2815
|
+
case "comment":
|
|
2816
|
+
e.value = e.sourceSpan.toString().slice(4, -3);
|
|
2817
|
+
break;
|
|
2818
|
+
case "text":
|
|
2819
|
+
e.value = e.sourceSpan.toString();
|
|
2820
|
+
break;
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
function Io(e, t) {
|
|
2824
|
+
if (e.kind === "element") {
|
|
2825
|
+
let r = lt(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
|
|
2826
|
+
!e.namespace || e.namespace === r.implicitNamespacePrefix || ye(e) ? e.tagDefinition = r : e.tagDefinition = lt("");
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
function Ro(e) {
|
|
2830
|
+
e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new m(e.sourceSpan.start, e.endSourceSpan.end));
|
|
2831
|
+
}
|
|
2832
|
+
function Mo(e, t) {
|
|
2833
|
+
if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || ye(e)) && (e.name = mr(e.name, (r) => So.has(r))), t.normalizeAttributeName)) for (let r of e.attrs) r.namespace || (r.name = mr(r.name, (n) => st.has(e.name) && (st.get("*").has(n) || st.get(e.name).has(n))));
|
|
2834
|
+
}
|
|
2835
|
+
function gn(e, t) {
|
|
2836
|
+
let { rootNodes: r, errors: n } = mt(e, mn(t));
|
|
2837
|
+
return n.length > 0 && _t(n[0]), { parseOptions: t, rootNodes: r };
|
|
2838
|
+
}
|
|
2839
|
+
function qo(e, t) {
|
|
2840
|
+
let r = mn(t), { rootNodes: n, errors: a } = mt(e, r);
|
|
2841
|
+
if (n.some((l) => l.kind === "docType" && l.value === "html" || l.kind === "element" && l.name.toLowerCase() === "html")) return gn(e, Pt);
|
|
2842
|
+
let i, s = () => i ?? (i = mt(e, { ...r, getTagContentType: void 0 })), o = (l) => {
|
|
2843
|
+
let { offset: c } = l.startSourceSpan.start;
|
|
2844
|
+
return s().rootNodes.find((p) => p.kind === "element" && p.startSourceSpan.start.offset === c) ?? l;
|
|
2845
|
+
};
|
|
2846
|
+
for (let [l, c] of n.entries()) if (c.kind === "element") {
|
|
2847
|
+
if (c.isVoid) a = s().errors, n[l] = o(c);
|
|
2848
|
+
else if (Ho(c)) {
|
|
2849
|
+
let { endSourceSpan: p, startSourceSpan: f } = c, _ = s().errors.find((d) => d.span.start.offset > f.start.offset && d.span.start.offset < p.end.offset);
|
|
2850
|
+
_ && _t(_), n[l] = o(c);
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
return a.length > 0 && _t(a[0]), { parseOptions: t, rootNodes: n };
|
|
2854
|
+
}
|
|
2855
|
+
function Ho(e) {
|
|
2856
|
+
var r;
|
|
2857
|
+
if (e.kind !== "element" || e.name !== "template") return !1;
|
|
2858
|
+
let t = (r = e.attrs.find((n) => n.name === "lang")) == null ? void 0 : r.value;
|
|
2859
|
+
return !t || t === "html";
|
|
2860
|
+
}
|
|
2861
|
+
function _t(e) {
|
|
2862
|
+
let { msg: t, span: { start: r, end: n } } = e;
|
|
2863
|
+
throw Eo(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
|
|
2864
|
+
}
|
|
2865
|
+
function Uo(e, t, r, n, a, i) {
|
|
2866
|
+
let { offset: s } = n, o = w(0, t.slice(0, s), /[^\n]/gu, " ") + r, l = fn(o, e, { ...a, shouldParseFrontMatter: !1 }, i);
|
|
2867
|
+
l.sourceSpan = new m(n, re(0, l.children, -1).sourceSpan.end);
|
|
2868
|
+
let c = l.children[0];
|
|
2869
|
+
return c.length === s ? l.children.shift() : (c.sourceSpan = new m(c.sourceSpan.start.moveBy(s), c.sourceSpan.end), c.value = c.value.slice(s)), l;
|
|
2870
|
+
}
|
|
2871
|
+
function fn(e, t, r, n = {}) {
|
|
2872
|
+
let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? Ea(e) : { content: e }, s = new on(e, n.filepath), o = new ct(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r), f = { kind: "root", sourceSpan: new m(o, l), children: p }, _;
|
|
2873
|
+
if (a) {
|
|
2874
|
+
let [d, C] = [a.start, a.end].map((v) => new ct(s, v.index, v.line - 1, v.column));
|
|
2875
|
+
_ = { ...a, kind: "frontMatter", sourceSpan: new m(d, C) };
|
|
2876
|
+
}
|
|
2877
|
+
return Lo(f, _, c, (d, C) => Uo(t, e, d, C, c, n));
|
|
2878
|
+
}
|
|
2879
|
+
var Pt = dn({ name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 });
|
|
2880
|
+
function Oe(e) {
|
|
2881
|
+
let t = dn(e), r = t.name === "vue" ? qo : gn;
|
|
2882
|
+
return { parse: (n, a) => fn(n, r, t, a), hasPragma: Zi, hasIgnorePragma: es, astFormat: "html", locStart: xe, locEnd: Xe };
|
|
2883
|
+
}
|
|
2884
|
+
var Vo = Oe(Pt), Wo = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), zo = Oe({ ...Pt, name: "mjml", shouldParseAsRawText: (e) => Wo.has(e) }), $o = Oe({ name: "angular", tokenizeAngularBlocks: !0, tokenizeAngularLetDeclaration: !0 }), jo = Oe({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
|
|
2885
|
+
return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
|
|
2886
|
+
} }), Xo = Oe({ name: "lwc", canSelfClose: !1 }), Go = { html: mo };
|
|
2887
|
+
export {
|
|
2888
|
+
An as default,
|
|
2889
|
+
go as languages,
|
|
2890
|
+
_o as options,
|
|
2891
|
+
hn as parsers,
|
|
2892
|
+
Go as printers
|
|
2893
|
+
};
|