@volter/cyclotron 0.5.212 → 0.5.213
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/BUNDLED_NOTICES +375 -2995
- package/README.md +9 -5
- package/dist/.vite/manifest.json +529 -1764
- package/dist/assets/AudioViewer-B5pkIGXS.js +1 -0
- package/dist/assets/ImageViewer-BPVLEEQ2.js +1 -0
- package/dist/assets/JsonAssetDocument-DuVW9del.js +2 -0
- package/dist/assets/ProjectAuthoringBootstrap-CZJz4Svb.js +2 -0
- package/dist/assets/SourceAssetViewer-LwHBW53R.js +1 -0
- package/dist/assets/VideoViewer-Bfjjp4zH.js +1 -0
- package/dist/assets/{client-Dj2xr2fw.js → client-BLXKEWrR.js} +1 -1
- package/dist/assets/{index-Bc73pJIv.js → index-BKjLHm6K.js} +131 -131
- package/dist/assets/index-CJcVFJ-l.css +1 -0
- package/dist/assets/product-CaIfLQVS.js +1 -0
- package/dist/assets/story-capture-C3xmgE62.js +1 -0
- package/dist/assets/volter-sdk-DT0xmh2J.js +1407 -0
- package/dist/assets/volter-sdk-activation-events-B-WERmWU.js +1 -0
- package/dist/assets/volter-sdk-active-project-DvEsy8Q6.js +1 -0
- package/dist/assets/volter-sdk-adapter-editor-config-CQ5V6W-o.js +1 -0
- package/dist/assets/volter-sdk-animation-animation-clock-Cy7j_2qF.js +1 -0
- package/dist/assets/volter-sdk-animation-stage-transport-DoUDq6Gb.js +1 -0
- package/dist/assets/volter-sdk-api-base-Dr1bx5e0.js +1 -0
- package/dist/assets/volter-sdk-api-project-open-D4nPvIPU.js +1 -0
- package/dist/assets/volter-sdk-api-project-source-DoO7WBwQ.js +1 -0
- package/dist/assets/volter-sdk-api-settings-BEHgO5wf.js +1 -0
- package/dist/assets/volter-sdk-asset-capabilities-CGkNwaAe.js +1 -0
- package/dist/assets/volter-sdk-asset-document-write-policy-CzWM1HhK.js +1 -0
- package/dist/assets/volter-sdk-asset-editor-context-BkSK1vL1.js +1 -0
- package/dist/assets/volter-sdk-asset-thumbnails-zSmJgI_x.js +1 -0
- package/dist/assets/volter-sdk-asset-viewers-B-ICvlkR.js +1 -0
- package/dist/assets/volter-sdk-asset-workflow-project-content-C6Ow0R-F.js +1 -0
- package/dist/assets/volter-sdk-authoring-active-adapter-CKuWwxgH.js +1 -0
- package/dist/assets/volter-sdk-authoring-boundary-authoring-adapter-DTwFKBkS.js +1 -0
- package/dist/assets/volter-sdk-authoring-composite-authoring-adapter-iRSbSHpV.js +1 -0
- package/dist/assets/volter-sdk-authoring-consumer-actions-DK9-B-wg.js +1 -0
- package/dist/assets/volter-sdk-authoring-design-time-mount-registry-BQnWcBVe.js +1 -0
- package/dist/assets/volter-sdk-authoring-design-time-roots-BKSmkD7_.js +1 -0
- package/dist/assets/volter-sdk-authoring-layered-pick-C-YvuxEG.js +1 -0
- package/dist/assets/volter-sdk-authoring-no-authoring-adapter-Cv9DD6G0.js +1 -0
- package/dist/assets/volter-sdk-authoring-panel-authoring-BLOrFs8L.js +1 -0
- package/dist/assets/volter-sdk-authoring-react-design-canvas-style-Dr9i31o5.js +1 -0
- package/dist/assets/{volter-sdk-authoring-react-story-board-aeiEUlbU.js → volter-sdk-authoring-react-story-board-BlCQQM-8.js} +1 -1
- package/dist/assets/volter-sdk-authoring-seam-evidence-CjetY_ZG.js +1 -0
- package/dist/assets/volter-sdk-authoring-selection-scope-BxmbC71H.js +1 -0
- package/dist/assets/volter-sdk-authoring-shell-document-ops-DDb8oGx9.js +1 -0
- package/dist/assets/volter-sdk-authoring-stage-root-B50LLhnJ.js +1 -0
- package/dist/assets/volter-sdk-authoring-story-board-chrome-fit-BVV9fbcw.js +1 -0
- package/dist/assets/{volter-sdk-authoring-viewport-tool-context-DzsD6JQH.js → volter-sdk-authoring-viewport-tool-context-cQafPSkT.js} +1 -1
- package/dist/assets/volter-sdk-authoring-viewport-tool-owner-BppqL4f_.js +1 -0
- package/dist/assets/volter-sdk-authoring-world-session-state-BlpdiKod.js +1 -0
- package/dist/assets/volter-sdk-bitmap-label-BbtGPWgP.js +1 -0
- package/dist/assets/{volter-sdk-breakpoint-state-BPnDN_XU.js → volter-sdk-breakpoint-state-DCFuSvgm.js} +1 -1
- package/dist/assets/volter-sdk-bytes-codec-CrNeVT4e.js +1 -0
- package/dist/assets/volter-sdk-cancellation-reason-ByOH3mlF.js +1 -0
- package/dist/assets/volter-sdk-canvas-frames-BU8Rqr4J.js +1 -0
- package/dist/assets/volter-sdk-capture-size-D4cNT2XC.js +1 -0
- package/dist/assets/volter-sdk-chrome-registry-qHUiDauw.js +1 -0
- package/dist/assets/volter-sdk-command-result-text-2wzEhQ5t.js +1 -0
- package/dist/assets/volter-sdk-commands-C4RgHEOa.js +1 -0
- package/dist/assets/volter-sdk-component-board-registry-6gFZBkTP.js +1 -0
- package/dist/assets/volter-sdk-components-AssetEditorShell-CQVLedvW.js +1 -0
- package/dist/assets/volter-sdk-components-InspectorCanvasPreview-CN5ROhNT.js +1 -0
- package/dist/assets/volter-sdk-components-SurfaceStateOverlay-Cc9Ov1Ol.js +1 -0
- package/dist/assets/{volter-sdk-components-AssetEditorShell-BJL1am3b.js → volter-sdk-components-Toolbar-ZoV9Yq_A.js} +1 -1
- package/dist/assets/volter-sdk-components-TransientHint-BML2V3uu.js +1 -0
- package/dist/assets/volter-sdk-components-inspector-preview-section-BhDjhUyz.js +1 -0
- package/dist/assets/volter-sdk-components-use-after-paint-BVSO4qjV.js +1 -0
- package/dist/assets/volter-sdk-components-workspace-history-CThvGfsY.js +1 -0
- package/dist/assets/volter-sdk-content-entry-source-registry-CJLVq3tC.js +1 -0
- package/dist/assets/volter-sdk-contribution-surfaces-CeEDmriM.js +1 -0
- package/dist/assets/volter-sdk-contributions-x6j41XZp.js +1 -0
- package/dist/assets/volter-sdk-coverage-design-time-surfaces-D-tNGazo.js +1 -0
- package/dist/assets/volter-sdk-creation-site-registry-64gyrZPD.js +1 -0
- package/dist/assets/volter-sdk-css-numeric-style-CXeWqAoG.js +1 -0
- package/dist/assets/volter-sdk-declared-tools-BAzHxyUW.js +1 -0
- package/dist/assets/{volter-sdk-document-areas-x47hqeuC.js → volter-sdk-document-areas-4DXjy0el.js} +1 -1
- package/dist/assets/volter-sdk-document-layer-B4VYMPZ9.js +1 -0
- package/dist/assets/volter-sdk-document-open-registry-BLDMaEoN.js +1 -0
- package/dist/assets/volter-sdk-document-play-extension-Dv3fyS6K.js +1 -0
- package/dist/assets/volter-sdk-document-probe-drBhAyza.js +1 -0
- package/dist/assets/volter-sdk-document-stage-sessions-CtI9anAf.js +1 -0
- package/dist/assets/volter-sdk-document-viewports-BO0N7VyN.js +1 -0
- package/dist/assets/volter-sdk-editor-commands-BJ9Otxzu.js +1 -0
- package/dist/assets/volter-sdk-editor-console-BaGgfWmH.js +1 -0
- package/dist/assets/volter-sdk-editor-document-probe-D0ZhaXHx.js +1 -0
- package/dist/assets/volter-sdk-editor-mode-B07FDozS.js +1 -0
- package/dist/assets/volter-sdk-editor-runtime-D00Du7hG.js +1 -0
- package/dist/assets/volter-sdk-editor-server-response-C6kOPAsW.js +1 -0
- package/dist/assets/volter-sdk-editor-session-attribution-CggpIFb4.js +1 -0
- package/dist/assets/volter-sdk-editor-view-DEMsxlaT.js +1 -0
- package/dist/assets/volter-sdk-environment-images-OQtFG1kA.js +1 -0
- package/dist/assets/volter-sdk-extension-script-DanTHcyo.js +1 -0
- package/dist/assets/volter-sdk-eyedropper-session-BfVXtjzc.js +1 -0
- package/dist/assets/volter-sdk-files-file-provider-CXL6oCMd.js +1 -0
- package/dist/assets/volter-sdk-files-project-files-SBAE37py.js +1 -0
- package/dist/assets/volter-sdk-framed-document-capture-7TnE8pn1.js +1 -0
- package/dist/assets/volter-sdk-framed-document-driver-C0K3-SRt.js +1 -0
- package/dist/assets/volter-sdk-hierarchy-component-marks-BmJEMvvO.js +1 -0
- package/dist/assets/volter-sdk-hierarchy-kind-icon-CrwdpecY.js +1 -0
- package/dist/assets/{volter-sdk-hierarchy-node-rows-CNCdvWZM.js → volter-sdk-hierarchy-node-rows-FcK7_ULi.js} +1 -1
- package/dist/assets/{volter-sdk-hierarchy-projection-BXet4MmW.js → volter-sdk-hierarchy-projection-CKzUOZUa.js} +1 -1
- package/dist/assets/volter-sdk-hierarchy-row-media-Czg40Ddi.js +1 -0
- package/dist/assets/volter-sdk-hierarchy-row-model-BGzmcywF.js +1 -0
- package/dist/assets/volter-sdk-hierarchy-rows-VAI0psTR.js +1 -0
- package/dist/assets/volter-sdk-hierarchy-walk-CaVqG7v2.js +1 -0
- package/dist/assets/volter-sdk-history-history-delegate-DH_xBvdh.js +1 -0
- package/dist/assets/volter-sdk-history-history-service-D0n0Gl5Z.js +1 -0
- package/dist/assets/volter-sdk-history-persistence-coordinator-CcywAFdm.js +1 -0
- package/dist/assets/volter-sdk-history-resource-registry-DMTlnwGv.js +1 -0
- package/dist/assets/volter-sdk-history-snapshot-store-BVh1DtBp.js +1 -0
- package/dist/assets/volter-sdk-history-source-history-backend-ulJ-65tX.js +1 -0
- package/dist/assets/volter-sdk-hmr-registration-group-DvMQVKyO.js +1 -0
- package/dist/assets/volter-sdk-hmr-stable-react-context-BMVr5YVk.js +1 -0
- package/dist/assets/volter-sdk-host-D765Py2w.js +1 -0
- package/dist/assets/{volter-sdk-hotkeys-D8xO5kx0.js → volter-sdk-hotkeys-TesTKdAZ.js} +1 -1
- package/dist/assets/{volter-sdk-index-CTFkHN4C.js → volter-sdk-index-BABXozHr.js} +1 -1
- package/dist/assets/volter-sdk-inference-diagnostics-CsDbQ0M5.js +1 -0
- package/dist/assets/volter-sdk-inspection-document-subject-BMRD77Va.js +1 -0
- package/dist/assets/volter-sdk-inspection-group-icons-Wpz-YhkE.js +1 -0
- package/dist/assets/volter-sdk-inspection-model-BVOyStdc.js +1 -0
- package/dist/assets/volter-sdk-inspection-node-media-B8AL8_3F.js +1 -0
- package/dist/assets/volter-sdk-inspection-null-subject-d5bQZCbS.js +1 -0
- package/dist/assets/volter-sdk-inspector-property-grouping-BqrZkwo4.js +1 -0
- package/dist/assets/volter-sdk-inspector-section-registry-C6U15zvC.js +1 -0
- package/dist/assets/volter-sdk-js-heap-CcOnY0kf.js +1 -0
- package/dist/assets/{volter-sdk-keymap-presets-Vq8J3DoG.js → volter-sdk-keymap-presets-CSM-jVcZ.js} +1 -1
- package/dist/assets/volter-sdk-layout-arrangements-DHA3uifx.js +1 -0
- package/dist/assets/volter-sdk-layouts-4v9ECCn9.js +1 -0
- package/dist/assets/volter-sdk-light-explorer-model-CPuZjpiR.js +1 -0
- package/dist/assets/volter-sdk-live-seam-evidence-B_RyDaOp.js +1 -0
- package/dist/assets/volter-sdk-live-session-registry-C6gHroaH.js +1 -0
- package/dist/assets/{volter-sdk-manifest-project-DIThdJ0z.js → volter-sdk-manifest-project-CVVUDDuL.js} +1 -1
- package/dist/assets/volter-sdk-mount-css-scope-DaJoEo3v.js +1 -0
- package/dist/assets/volter-sdk-mount-failure-report-Cm92oiGJ.js +1 -0
- package/dist/assets/volter-sdk-native-selection-style-Bp4IBnA4.js +1 -0
- package/dist/assets/volter-sdk-photograph-notice-C6_gZGpW.js +1 -0
- package/dist/assets/volter-sdk-play-camera-flight-SwlYhOxW.js +1 -0
- package/dist/assets/volter-sdk-product-command-G8kKVJ-i.js +1 -0
- package/dist/assets/volter-sdk-progress-4GGmPvZn.js +1 -0
- package/dist/assets/volter-sdk-project-module-changes-DIrDIHeD.js +1 -0
- package/dist/assets/volter-sdk-project-module-url-BuAUWpus.js +1 -0
- package/dist/assets/volter-sdk-project-output-roots-BON7FOwQ.js +1 -0
- package/dist/assets/{volter-sdk-project-tab-census-Cos8L4lu.js → volter-sdk-project-tab-census-CO06UOh-.js} +1 -1
- package/dist/assets/volter-sdk-renderer-resource-counts-2kLiD8_S.js +1 -0
- package/dist/assets/volter-sdk-scoped-project-css-DA63CYkM.js +1 -0
- package/dist/assets/volter-sdk-selection-CSUq7EiY.js +1 -0
- package/dist/assets/volter-sdk-served-url-B_MypeId.js +1 -0
- package/dist/assets/volter-sdk-settings-settings-provider-CJuWxTB5.js +1 -0
- package/dist/assets/volter-sdk-settings-store-CEFKDj0h.js +1 -0
- package/dist/assets/volter-sdk-shell-store-Cl4sX9p4.js +1 -0
- package/dist/assets/volter-sdk-shell-store-door-DGjybg0J.js +1 -0
- package/dist/assets/volter-sdk-source-conflict-CV8Gk053.js +1 -0
- package/dist/assets/volter-sdk-stage-context-Cb0SaYhi.js +1 -0
- package/dist/assets/volter-sdk-stage-invalidation-VlBciYA0.js +1 -0
- package/dist/assets/volter-sdk-stage-store-registry-BpIy_QKq.js +1 -0
- package/dist/assets/{volter-sdk-startup-failure-CtJyTS-2.js → volter-sdk-startup-failure-C_8H4xuP.js} +1 -1
- package/dist/assets/{volter-sdk-stories-StoryPreviewMount-DjhZUmf-.js → volter-sdk-stories-StoryPreviewMount-BUX42gIR.js} +1 -1
- package/dist/assets/volter-sdk-stories-compose-project-stories-CkSd4Si5.js +1 -0
- package/dist/assets/volter-sdk-stories-scope-Dndn7MD8.js +1 -0
- package/dist/assets/volter-sdk-stories-story-declared-medium-Byi4XWeJ.js +1 -0
- package/dist/assets/volter-sdk-stories-story-dom-runtime-BS1VPvJ6.js +1 -0
- package/dist/assets/volter-sdk-stories-story-grouping-CpNh4cUf.js +1 -0
- package/dist/assets/{volter-sdk-story-document-openers-Df7Tcu2n.js → volter-sdk-story-document-openers-Ba5jQqay.js} +1 -1
- package/dist/assets/volter-sdk-surface-state-BhQ45ars.js +1 -0
- package/dist/assets/volter-sdk-tab-census-D0r0s37y.js +1 -0
- package/dist/assets/volter-sdk-tool-contribution-convention-JCXL6f2w.js +1 -0
- package/dist/assets/volter-sdk-transform-mode-request-Cwk_Kyty.js +1 -0
- package/dist/assets/volter-sdk-transient-hint-BOfFzAV8.js +1 -0
- package/dist/assets/{volter-sdk-types-BOfYN_tN.js → volter-sdk-types-CkT8l5N_.js} +1 -1
- package/dist/assets/volter-sdk-ui-source-file-region-resolver-Cfza3eEl.js +1 -0
- package/dist/assets/{volter-sdk-ui-source-inspect-gofMOHNR.js → volter-sdk-ui-source-inspect-CEjmAN75.js} +1 -1
- package/dist/assets/{volter-sdk-ui-source-source-write-backend-BgVis1yZ.js → volter-sdk-ui-source-source-write-backend-0njgRdI6.js} +1 -1
- package/dist/assets/volter-sdk-ui-source-tier-source-write-backend-CpsxorYU.js +1 -0
- package/dist/assets/volter-sdk-viewport-activation-timings-B3hRTu3A.js +1 -0
- package/dist/assets/volter-sdk-viewport-editor-controls-DDBd-VqO.js +1 -0
- package/dist/assets/volter-sdk-viewport-presentation-DRhiAH1h.js +1 -0
- package/dist/assets/volter-sdk-volter-contributions-nlGXjgJZ.js +1 -0
- package/dist/assets/volter-sdk-wait-until-CMvYQmO8.js +1 -0
- package/dist/assets/volter-sdk-widgets-design-system-BJOyO8sO.js +1 -0
- package/dist/assets/volter-sdk-widgets-editor-appearance-eVtkxsIm.js +1 -0
- package/dist/assets/volter-sdk-widgets-editor-material-BoQP_5SK.js +1 -0
- package/dist/assets/volter-sdk-widgets-icon-set-registry-CP0D74kc.js +1 -0
- package/dist/assets/volter-sdk-widgets-index-De34FpYu.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-AlignmentGrid-_GjMjIGb.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-AssetSlotPicker-B7vN7BEd.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-BorderEditor-E2J8cpyT.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ColorPicker-D6TERGKs.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-CurveEditor-CXR8n-CA.js +1 -0
- package/dist/assets/{volter-sdk-widgets-inspector-widgets-FilterEditor-DKkdim3n.js → volter-sdk-widgets-inspector-widgets-FilterEditor-CDvfWY4Q.js} +1 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-FontPicker-BgpW8FW8.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-GradientEditor-DOOBkXjY.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ScrubbableInput-1NXWR_gB.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ShadowEditor-Cd2-HwFn.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-color-utils-C4HuSjFu.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-curve-utils-DUU2CCtc.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-index-D5kwrOUQ.js +1 -0
- package/dist/assets/volter-sdk-widgets-inspector-widgets-shared-CkFN2SUn.js +1 -0
- package/dist/assets/volter-sdk-widgets-interactive-edit-scope-DynpKMMZ.js +1 -0
- package/dist/assets/{volter-sdk-widgets-palette-colors-Byzw9YHf.js → volter-sdk-widgets-palette-colors-DhL1I42R.js} +1 -1
- package/dist/assets/volter-sdk-widgets-patterns-Dialog-EUtcZi0Y.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-Fields-Bl_eaBej.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-List--NE_1N5-.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-StateSurface-BHXpv7qi.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-Surfaces-BdKa5HGV.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-Tabs-sFV7f1UP.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-Toolbar-CIr5Cs49.js +1 -0
- package/dist/assets/volter-sdk-widgets-patterns-Tree-C2YHfddf.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-AnchoredMenu-DCclspnW.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Button-B0YxR4ea.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-ColorInput-B1_SLTuc.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-DraftTextInput-CpHzPdt8.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-EditorIcon-Dw4knhya.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-FormControls-BAbRanmE.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-HoverPreview-Cj7jKNd4.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-JsonInput-C0DCI5bE.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Layout-gT4Z6mtt.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Menu-9EESAp9m.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-NumberInput-Dk-5zqJ8.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Panel-BQWJF-Pb.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-SectionHeader-DXvmafCK.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Text-yBrdWK2w.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-ThemeRootPortal-CRhefpUL.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Tooltip-D5Kcb-ZC.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-Vec3Input-DiG6PEIe.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-clamp-to-viewport-DhnSxXVK.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-editor-icons-e65mgyAk.js +1 -0
- package/dist/assets/volter-sdk-widgets-primitives-panel-header-styles-BVL0mN8g.js +1 -0
- package/dist/assets/volter-sdk-widgets-theme-C-_RU9Ov.js +1 -0
- package/dist/assets/volter-sdk-widgets-z-index-CrJJXeKL.js +1 -0
- package/dist/assets/volter-sdk-worker-call-metrics-BTfmngck.js +1 -0
- package/dist/assets/{volter-sdk-workspace-core-utilities-BaAh2Ei8.js → volter-sdk-workspace-core-utilities-DtHGK9PF.js} +1 -1
- package/dist/assets/volter-sdk-workspace-document-ids-COULA7c6.js +1 -0
- package/dist/assets/volter-sdk-workspace-document-registry-6m5csVP7.js +1 -0
- package/dist/assets/volter-sdk-workspace-document-restore-M8ifJMou.js +1 -0
- package/dist/assets/{volter-sdk-workspace-host-commands-72RdJeW4.js → volter-sdk-workspace-host-commands-8Qzej--P.js} +1 -1
- package/dist/assets/volter-sdk-workspace-static-panels-Ckk7qUuS.js +1 -0
- package/dist/assets/volter-sdk-workspace-status-registry-BdU0dZAt.js +1 -0
- package/dist/assets/volter-sdk-workspace-utility-registry-BHxymD2l.js +1 -0
- package/dist/assets/volter-sdk-world-canvas-viewport-state-CHO8s9gE.js +1 -0
- package/dist/assets/volter-sdk-world-pan-state-C-9xgzAh.js +1 -0
- package/dist/assets/volter-sdk-write-pipe-CJHg7J4i.js +1 -0
- package/dist/assets/{volter-shared-fontawesome-B-OhfZs4.js → volter-shared-fontawesome-BEv9WEZj.js} +1 -1
- package/dist/assets/{volter-shared-jsx-dev-runtime-akPt_-OI.js → volter-shared-jsx-dev-runtime-domcKDU3.js} +1 -1
- package/dist/assets/{volter-shared-jsx-runtime-CKQtDN6l.js → volter-shared-jsx-runtime-Cu7pVW-1.js} +1 -1
- package/dist/assets/{volter-shared-react-STQK0zHl.js → volter-shared-react-BLHga76C.js} +1 -1
- package/dist/assets/volter-shared-react-dom-client-vi6WsWu2.js +1 -0
- package/dist/assets/{volter-shared-react-dom-2aA0eyQg.js → volter-shared-react-dom-kzJVGsQd.js} +1 -1
- package/dist/assets/volter-shared-three-BWbOWtM5.js +4220 -0
- package/dist/volter-shared-modules.json +225 -225
- package/dist/volter-shared-react.json +6 -6
- package/dist/volter-shared-three.json +1 -1
- package/dist-node/cli.js +182 -127
- package/dist-node/create.js +18 -21
- package/package.json +16 -16
- package/src/index.ts +1 -2
- package/src/product-id.d.ts +4 -0
- package/starter/AGENTS.md +132 -157
- package/starter/game/levels/MainLevel.tsx +24 -0
- package/starter/game/prefabs/ground/Ground.tsx +24 -0
- package/starter/game/{levels → prefabs/ground}/ground.blend +0 -0
- package/starter/game/prefabs/ground/ground.glb +0 -0
- package/starter/game/prefabs/ground/ground.py +106 -0
- package/dist/assets/AudioViewer-EMpvKC-X.js +0 -1
- package/dist/assets/BVHLoader-CpdLvOHd.js +0 -1
- package/dist/assets/ColladaLoader-D1GMlAA9.js +0 -3
- package/dist/assets/EntityModelDocument-rYF-p8Fo.js +0 -1
- package/dist/assets/EnvironmentAssetDocument-DfykWLLS.js +0 -1
- package/dist/assets/FBXLoader-DKZ0UD3F.js +0 -1
- package/dist/assets/ImageViewer-B0OqXrVU.js +0 -1
- package/dist/assets/InspectorObjectPreview-CwCqdv76.js +0 -1
- package/dist/assets/JsonAssetDocument-PzzxK-v9.js +0 -2
- package/dist/assets/LiveModuleDocument-Bq9J5nMx.js +0 -1
- package/dist/assets/LutAssetDocument-CyzgDCYJ.js +0 -1
- package/dist/assets/MTLLoader-BOaPmAvY.js +0 -2
- package/dist/assets/ModelAssetDocument-8he5iZqV.js +0 -1
- package/dist/assets/OBJLoader-BLg7dmPe.js +0 -5
- package/dist/assets/Object3DDocumentToolbar-CLfEn5i-.js +0 -1
- package/dist/assets/Object3DDocumentToolbar-WK1RY6Gg.css +0 -1
- package/dist/assets/OrbitControls-DxYDYiEc.js +0 -1
- package/dist/assets/PLYLoader-bAg6lYzP.js +0 -2
- package/dist/assets/ProjectAuthoringBootstrap-FVTj-Ag9.js +0 -2
- package/dist/assets/QuarksAssetDocument-DBJQXZ9u.js +0 -2
- package/dist/assets/RectAreaLightUniformsLib-CQLblkbI.js +0 -1
- package/dist/assets/STLLoader-C8jImL_t.js +0 -1
- package/dist/assets/ShaderAssetDocument-C3QolcYl.js +0 -12
- package/dist/assets/SourceAssetViewer-xB9kAyPa.js +0 -1
- package/dist/assets/StageHost-BZBLHaPe.css +0 -1
- package/dist/assets/StageHost-xYvmzMBo.js +0 -1231
- package/dist/assets/TDSLoader-DLNvOc6c.js +0 -1
- package/dist/assets/ToolObject3DPreview-4XgGyXTu.js +0 -2
- package/dist/assets/VideoViewer-BruuQyu3.js +0 -1
- package/dist/assets/ViewportShadingMenu-amXbnRtl.js +0 -1
- package/dist/assets/animation-mixers.service-Ce1JMqA2.js +0 -1
- package/dist/assets/animation-timeline.utility-CzsUvu3v.js +0 -1
- package/dist/assets/asset-preview-CtqauM13.js +0 -4
- package/dist/assets/basis_transcoder-VXdx5NbI.wasm +0 -0
- package/dist/assets/basis_transcoder-o4Hde_L7.js +0 -19
- package/dist/assets/blender-base64-Cxqc4R5f.js +0 -1
- package/dist/assets/blender-display-shaders-BPmHILFy.lut +0 -0
- package/dist/assets/blender-emscripten-engine-Bl_j9xEY.js +0 -26
- package/dist/assets/blender-motion-worker-CtT2cV3V.js +0 -1
- package/dist/assets/blender-node-editor.document-lj1qK5Vu.js +0 -1
- package/dist/assets/blender-outliner-model-BqLWEXta.js +0 -7359
- package/dist/assets/blender-properties-model-DD-2sMKx.js +0 -1
- package/dist/assets/blender-properties-tab-BmudfsC3.js +0 -3
- package/dist/assets/blender-runtime.document-IVSATTnk.js +0 -13
- package/dist/assets/blender-screenshot.service-BRgdtDQC.js +0 -1
- package/dist/assets/blender-timeline.document-8jLaNF31.js +0 -1
- package/dist/assets/blender-uv-editor.document-BVcA7mi2.js +0 -1
- package/dist/assets/blender-version.status-B43F7DzT.js +0 -2
- package/dist/assets/blender-wali-engine-xLHhm0KZ.js +0 -2
- package/dist/assets/blender.environment-CG-pC7sk.js +0 -1
- package/dist/assets/blender.keymap-pRN8nlCs.js +0 -1
- package/dist/assets/blender.page-BYbkmFDE.js +0 -3
- package/dist/assets/blender.status-CcKJxsZ1.js +0 -1
- package/dist/assets/blender.style-DuFonR-j.js +0 -1
- package/dist/assets/chat.page-DzuAKPGP.js +0 -1
- package/dist/assets/city-EkhAOo5s.exr +0 -0
- package/dist/assets/courtyard-DqlebbpC.exr +0 -0
- package/dist/assets/draco_decoder-C32yEggz.wasm +0 -0
- package/dist/assets/draco_decoder-Z1_iN-Ht.wasm +0 -0
- package/dist/assets/draco_decoder-fzg4nYZr.js +0 -34
- package/dist/assets/draco_wasm_wrapper-DxJM36Ib.js +0 -117
- package/dist/assets/draco_wasm_wrapper-fZCQGLGb.js +0 -116
- package/dist/assets/editor-presentation-activity-CqJH4G9t.js +0 -1
- package/dist/assets/forest-P_CQY3b_.exr +0 -0
- package/dist/assets/index-C4uuH2ZE.css +0 -1
- package/dist/assets/index-DlAJXb_f.js +0 -952
- package/dist/assets/interior-Bo_lba15.exr +0 -0
- package/dist/assets/linear-resolve-B-MA5O31.js +0 -400
- package/dist/assets/live-mixers-B-bwLZ7c.js +0 -1
- package/dist/assets/maya.style-C3zx8RC5.js +0 -1
- package/dist/assets/model-inspection-_SFE7cp7.js +0 -1
- package/dist/assets/model.layout-CX-vaeBh.js +0 -1
- package/dist/assets/models.finder-DcOx-jsM.js +0 -1
- package/dist/assets/mtoon0-BNRZGBf8.blend +0 -0
- package/dist/assets/mtoon1-EgrxQlCc.blend +0 -0
- package/dist/assets/mtoon1_outline-xuubMJ8J.blend +0 -0
- package/dist/assets/mtoon_auto_setup-BF1c8USg.blend +0 -0
- package/dist/assets/night-CvV4Gybt.exr +0 -0
- package/dist/assets/object3d-document-session-registry-DvgzaByQ.js +0 -2
- package/dist/assets/output-pass-Bw2FZb8e.js +0 -85
- package/dist/assets/play-mode-BGq1Hn-c.js +0 -1
- package/dist/assets/play.page-DB2UjY0o.js +0 -1
- package/dist/assets/product-OBHh_Udv.js +0 -1
- package/dist/assets/properties-bone-constraints.inspector-NWLfoFX1.js +0 -1
- package/dist/assets/properties-bone.inspector-DybmNdBB.js +0 -1
- package/dist/assets/properties-collection.inspector-Cg7Jq6yG.js +0 -1
- package/dist/assets/properties-constraints.inspector-DY--pvLo.js +0 -1
- package/dist/assets/properties-data.inspector-CP1lurLb.js +0 -1
- package/dist/assets/properties-material.inspector-K8Qx5wr9.js +0 -1
- package/dist/assets/properties-modifiers.inspector-DOfP-8mX.js +0 -1
- package/dist/assets/properties-object.inspector-sqx6qMyu.js +0 -1
- package/dist/assets/properties-output.inspector-CUYUEC6S.js +0 -1
- package/dist/assets/properties-particles.inspector-oAWorORY.js +0 -1
- package/dist/assets/properties-physics.inspector-CQIHdcOy.js +0 -1
- package/dist/assets/properties-render.inspector-XTzdYo4u.js +0 -1
- package/dist/assets/properties-scene.inspector-BytOBuw9.js +0 -1
- package/dist/assets/properties-texture.inspector-2WNelhHG.js +0 -1
- package/dist/assets/properties-view-layer.inspector-DVSdqosc.js +0 -1
- package/dist/assets/properties-world.inspector-CHHm7g3j.js +0 -1
- package/dist/assets/regions-BlV6hTFd.js +0 -1
- package/dist/assets/sculpt.layout-BkvEflSA.js +0 -1
- package/dist/assets/session-addons-KcG0o7Xc.js +0 -76898
- package/dist/assets/shading.layout-V9LTFaVk.js +0 -1
- package/dist/assets/sky-precompute-worker-CPGW9t_C.js +0 -1
- package/dist/assets/spark.module-Cc-ZVx5e.js +0 -12120
- package/dist/assets/stage-keyboard-Rgvt63qI.js +0 -1
- package/dist/assets/stage-overlay-set-juTRuk99.js +0 -1
- package/dist/assets/stage-presence-markers-XsGUs3S-.js +0 -1
- package/dist/assets/stage-transform-tools-BE7m4omf.js +0 -1
- package/dist/assets/standard-viewport-dressing-asIXnD-w.js +0 -24
- package/dist/assets/std-scene-level-DeiReu6Z.js +0 -13
- package/dist/assets/std-scene.document-DyWMJhxA.js +0 -1
- package/dist/assets/story-capture-Y8_YS5DC.js +0 -1
- package/dist/assets/studio-CysTBGIb.exr +0 -0
- package/dist/assets/substance.style-CoQdG-kF.js +0 -1
- package/dist/assets/sunrise-Dj0psFrf.exr +0 -0
- package/dist/assets/sunset-Bw3x2Bot.exr +0 -0
- package/dist/assets/texture.layout-DASpHVht.js +0 -1
- package/dist/assets/three.module-JoAAxMWl.js +0 -4220
- package/dist/assets/three.page-Dy2q5JEV.js +0 -2
- package/dist/assets/transparent_z_write-xIRcVb2w.blend +0 -0
- package/dist/assets/transport-strip-cKO8FHd1.js +0 -1
- package/dist/assets/uv-editing.layout-CF_54oSA.js +0 -1
- package/dist/assets/volter-sdk-D8o6TU4A.js +0 -1407
- package/dist/assets/volter-sdk-activation-events-DVerKSly.js +0 -1
- package/dist/assets/volter-sdk-active-project-f6toeBI4.js +0 -1
- package/dist/assets/volter-sdk-adapter-editor-config-DpARQ4TT.js +0 -1
- package/dist/assets/volter-sdk-animation-animation-clock-BGyYYQu-.js +0 -1
- package/dist/assets/volter-sdk-animation-stage-transport-DWmyow46.js +0 -1
- package/dist/assets/volter-sdk-api-base-jDs2XVgE.js +0 -1
- package/dist/assets/volter-sdk-api-project-open-BAXokZLA.js +0 -1
- package/dist/assets/volter-sdk-api-project-source-D6FB4SmO.js +0 -1
- package/dist/assets/volter-sdk-api-settings-DqgndoPA.js +0 -1
- package/dist/assets/volter-sdk-asset-capabilities-B5mXIYBM.js +0 -1
- package/dist/assets/volter-sdk-asset-document-write-policy-B5aaFAwu.js +0 -1
- package/dist/assets/volter-sdk-asset-editor-context-BjtZQVgF.js +0 -1
- package/dist/assets/volter-sdk-asset-thumbnails-CROlpqPM.js +0 -1
- package/dist/assets/volter-sdk-asset-viewers-BejvElAX.js +0 -1
- package/dist/assets/volter-sdk-asset-workflow-project-content-D8h-TsJc.js +0 -1
- package/dist/assets/volter-sdk-authoring-active-adapter-DhKlZbyW.js +0 -1
- package/dist/assets/volter-sdk-authoring-boundary-authoring-adapter-xlppcGid.js +0 -1
- package/dist/assets/volter-sdk-authoring-composite-authoring-adapter-BfalSuB8.js +0 -1
- package/dist/assets/volter-sdk-authoring-consumer-actions-Hl6xkGAq.js +0 -1
- package/dist/assets/volter-sdk-authoring-design-time-mount-registry-2ZssbtYd.js +0 -1
- package/dist/assets/volter-sdk-authoring-design-time-roots-BNNZdEog.js +0 -1
- package/dist/assets/volter-sdk-authoring-layered-pick-AsUoH85M.js +0 -1
- package/dist/assets/volter-sdk-authoring-no-authoring-adapter-BX6sVPQX.js +0 -1
- package/dist/assets/volter-sdk-authoring-panel-authoring-BRs7fYSJ.js +0 -1
- package/dist/assets/volter-sdk-authoring-react-design-canvas-style-CdjO9_22.js +0 -1
- package/dist/assets/volter-sdk-authoring-seam-evidence-D58d2whR.js +0 -1
- package/dist/assets/volter-sdk-authoring-selection-scope-tqpilIPR.js +0 -1
- package/dist/assets/volter-sdk-authoring-shell-document-ops-ryosWWqt.js +0 -1
- package/dist/assets/volter-sdk-authoring-stage-root-yn7zP1QC.js +0 -1
- package/dist/assets/volter-sdk-authoring-story-board-chrome-fit-DgAAtVo8.js +0 -1
- package/dist/assets/volter-sdk-authoring-viewport-tool-owner-zIgbNhiQ.js +0 -1
- package/dist/assets/volter-sdk-authoring-world-session-state-DriMgIzp.js +0 -1
- package/dist/assets/volter-sdk-bitmap-label-Cwzw278F.js +0 -1
- package/dist/assets/volter-sdk-bytes-codec-CF2kvi68.js +0 -1
- package/dist/assets/volter-sdk-cancellation-reason-BQvS02ja.js +0 -1
- package/dist/assets/volter-sdk-canvas-frames-BkjDC0or.js +0 -1
- package/dist/assets/volter-sdk-capture-size-B3uOMPdw.js +0 -1
- package/dist/assets/volter-sdk-chrome-registry-Be1q89aJ.js +0 -1
- package/dist/assets/volter-sdk-command-result-text-DdPWoVLu.js +0 -1
- package/dist/assets/volter-sdk-commands-DI54EGoY.js +0 -1
- package/dist/assets/volter-sdk-component-board-registry-DtTf1V5m.js +0 -1
- package/dist/assets/volter-sdk-components-InspectorCanvasPreview-DpOxql_B.js +0 -1
- package/dist/assets/volter-sdk-components-SurfaceStateOverlay-BQ9KTVV1.js +0 -1
- package/dist/assets/volter-sdk-components-Toolbar-C6bwDRIc.js +0 -1
- package/dist/assets/volter-sdk-components-TransientHint-D3wtJ4fg.js +0 -1
- package/dist/assets/volter-sdk-components-inspector-preview-section-D1DnmKLE.js +0 -1
- package/dist/assets/volter-sdk-components-use-after-paint-ZgZgfmSR.js +0 -1
- package/dist/assets/volter-sdk-components-workspace-history-IZTWOoYh.js +0 -1
- package/dist/assets/volter-sdk-content-entry-source-registry-DV4a0g9R.js +0 -1
- package/dist/assets/volter-sdk-contribution-surfaces-BAzaKN1S.js +0 -1
- package/dist/assets/volter-sdk-contributions-D2D_badr.js +0 -1
- package/dist/assets/volter-sdk-coverage-design-time-surfaces-WtyoVY81.js +0 -1
- package/dist/assets/volter-sdk-creation-site-registry-DEJua1VB.js +0 -1
- package/dist/assets/volter-sdk-css-numeric-style-D1aEQUuP.js +0 -1
- package/dist/assets/volter-sdk-declared-tools-bEg2ZQju.js +0 -1
- package/dist/assets/volter-sdk-document-open-registry-BUdLp-BZ.js +0 -1
- package/dist/assets/volter-sdk-document-play-extension-BdtD2FcX.js +0 -1
- package/dist/assets/volter-sdk-document-probe-CvSMoXNj.js +0 -1
- package/dist/assets/volter-sdk-document-stage-sessions-BHE1T4gT.js +0 -1
- package/dist/assets/volter-sdk-document-viewports-BJqFXfe4.js +0 -1
- package/dist/assets/volter-sdk-editor-commands-CsYQVabs.js +0 -1
- package/dist/assets/volter-sdk-editor-console-lUTMRzeI.js +0 -1
- package/dist/assets/volter-sdk-editor-document-probe-BHRNXR9L.js +0 -1
- package/dist/assets/volter-sdk-editor-mode-BgYsrjin.js +0 -1
- package/dist/assets/volter-sdk-editor-runtime-CTy0Dw7-.js +0 -1
- package/dist/assets/volter-sdk-editor-server-response-oN9Horql.js +0 -1
- package/dist/assets/volter-sdk-editor-session-attribution-Ddoo0-e6.js +0 -1
- package/dist/assets/volter-sdk-editor-view-DEdcNl3N.js +0 -1
- package/dist/assets/volter-sdk-environment-images-Cbyno2vh.js +0 -1
- package/dist/assets/volter-sdk-extension-script-eemVEaFY.js +0 -1
- package/dist/assets/volter-sdk-eyedropper-session-BL5ceME-.js +0 -1
- package/dist/assets/volter-sdk-files-file-provider-D1vbGyMw.js +0 -1
- package/dist/assets/volter-sdk-files-project-files-CP9k503M.js +0 -1
- package/dist/assets/volter-sdk-framed-document-capture-DmqG4gUx.js +0 -1
- package/dist/assets/volter-sdk-framed-document-driver-B1ZAcb9l.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-component-marks-DjtdLv04.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-kind-icon-Dwlq9_xw.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-row-media-CnFXPw4O.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-row-model-TWxtUUdN.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-rows-3Hl6K3Br.js +0 -1
- package/dist/assets/volter-sdk-hierarchy-walk-DvIomDWH.js +0 -1
- package/dist/assets/volter-sdk-history-history-delegate-RfZBUw9Y.js +0 -1
- package/dist/assets/volter-sdk-history-history-service-BWYajIYW.js +0 -1
- package/dist/assets/volter-sdk-history-persistence-coordinator-CmebAufQ.js +0 -1
- package/dist/assets/volter-sdk-history-resource-registry-CgjY-ErS.js +0 -1
- package/dist/assets/volter-sdk-history-snapshot-store-6Cq4Qau6.js +0 -1
- package/dist/assets/volter-sdk-history-source-history-backend-CilZiNDq.js +0 -1
- package/dist/assets/volter-sdk-hmr-registration-group-idNaexWq.js +0 -1
- package/dist/assets/volter-sdk-hmr-stable-react-context-DhY9rjD6.js +0 -1
- package/dist/assets/volter-sdk-host-BcQCyyIe.js +0 -1
- package/dist/assets/volter-sdk-inference-diagnostics-c4Aju1Jg.js +0 -1
- package/dist/assets/volter-sdk-inspection-document-subject-i64BmR5X.js +0 -1
- package/dist/assets/volter-sdk-inspection-group-icons-CWwhjZWt.js +0 -1
- package/dist/assets/volter-sdk-inspection-model-BgZVa_7l.js +0 -1
- package/dist/assets/volter-sdk-inspection-node-media-DNYb7ZDG.js +0 -1
- package/dist/assets/volter-sdk-inspection-null-subject-hK6kZbB7.js +0 -1
- package/dist/assets/volter-sdk-inspector-property-grouping-B-4_nVMm.js +0 -1
- package/dist/assets/volter-sdk-inspector-section-registry-DIYAa_rQ.js +0 -1
- package/dist/assets/volter-sdk-js-heap-DDws540T.js +0 -1
- package/dist/assets/volter-sdk-layout-arrangements-DdjnA7ET.js +0 -1
- package/dist/assets/volter-sdk-layouts-DcV6NQNu.js +0 -1
- package/dist/assets/volter-sdk-light-explorer-model-BoB1GjBo.js +0 -1
- package/dist/assets/volter-sdk-live-seam-evidence-BOvNn-o8.js +0 -1
- package/dist/assets/volter-sdk-live-session-registry--ftGWuRg.js +0 -1
- package/dist/assets/volter-sdk-mount-css-scope-BTi-3JA9.js +0 -1
- package/dist/assets/volter-sdk-mount-failure-report-BeR90-6n.js +0 -1
- package/dist/assets/volter-sdk-native-selection-style-70aZpb0m.js +0 -1
- package/dist/assets/volter-sdk-photograph-notice-BwuWgyiq.js +0 -1
- package/dist/assets/volter-sdk-play-camera-flight-CaSiTxDt.js +0 -1
- package/dist/assets/volter-sdk-product-command-Cf1utO0M.js +0 -1
- package/dist/assets/volter-sdk-project-module-changes-CIKyvjy2.js +0 -1
- package/dist/assets/volter-sdk-project-module-url-XzZmS9zs.js +0 -1
- package/dist/assets/volter-sdk-project-output-roots-B4bC82T9.js +0 -1
- package/dist/assets/volter-sdk-renderer-resource-counts-S3R39qoy.js +0 -1
- package/dist/assets/volter-sdk-scoped-project-css-Ch7LkU2q.js +0 -1
- package/dist/assets/volter-sdk-selection-C2gFhPip.js +0 -1
- package/dist/assets/volter-sdk-served-url-DxzhEpXR.js +0 -1
- package/dist/assets/volter-sdk-serving-engine-BclAA7ZZ.js +0 -1
- package/dist/assets/volter-sdk-settings-settings-provider-DGc5Xf46.js +0 -1
- package/dist/assets/volter-sdk-settings-store-Bmx-a8f0.js +0 -1
- package/dist/assets/volter-sdk-shell-store-door-CQlHDF_i.js +0 -1
- package/dist/assets/volter-sdk-shell-store-e-X3-CSz.js +0 -1
- package/dist/assets/volter-sdk-source-conflict-DEn0Z5Vq.js +0 -1
- package/dist/assets/volter-sdk-stage-context-CwBngGWz.js +0 -1
- package/dist/assets/volter-sdk-stage-invalidation-Bt1Gs-b2.js +0 -1
- package/dist/assets/volter-sdk-stage-store-registry-DtSMhopZ.js +0 -1
- package/dist/assets/volter-sdk-stories-compose-project-stories-DfgTy2Bp.js +0 -1
- package/dist/assets/volter-sdk-stories-scope-4lTT6I0H.js +0 -1
- package/dist/assets/volter-sdk-stories-story-declared-medium-BFcKINTP.js +0 -1
- package/dist/assets/volter-sdk-stories-story-dom-runtime-wAz1MhyJ.js +0 -1
- package/dist/assets/volter-sdk-stories-story-grouping-bVoaiX0-.js +0 -1
- package/dist/assets/volter-sdk-surface-keyboard-5u3olsPL.js +0 -1
- package/dist/assets/volter-sdk-surface-state-F5vfsPyq.js +0 -1
- package/dist/assets/volter-sdk-tab-census-B95O0nem.js +0 -1
- package/dist/assets/volter-sdk-tool-contribution-convention-k_AVbxWl.js +0 -1
- package/dist/assets/volter-sdk-transform-mode-request-CKhq0gIu.js +0 -1
- package/dist/assets/volter-sdk-transient-hint-DQMQ2_Y5.js +0 -1
- package/dist/assets/volter-sdk-ui-source-file-region-resolver-2Gw755Lw.js +0 -1
- package/dist/assets/volter-sdk-ui-source-tier-source-write-backend-BsEnWjJv.js +0 -1
- package/dist/assets/volter-sdk-viewport-activation-timings--7x_AkVR.js +0 -1
- package/dist/assets/volter-sdk-viewport-editor-controls-CFuNGxo6.js +0 -1
- package/dist/assets/volter-sdk-viewport-presentation-CoiYwzFE.js +0 -1
- package/dist/assets/volter-sdk-volter-contributions-DjgbZdIJ.js +0 -1
- package/dist/assets/volter-sdk-wait-until-DRdtM37d.js +0 -1
- package/dist/assets/volter-sdk-widgets-design-system-CPmOMXke.js +0 -1
- package/dist/assets/volter-sdk-widgets-editor-appearance-B4Q93899.js +0 -1
- package/dist/assets/volter-sdk-widgets-editor-material-C6dqUruc.js +0 -1
- package/dist/assets/volter-sdk-widgets-icon-set-registry-BOtjeU-M.js +0 -1
- package/dist/assets/volter-sdk-widgets-index-C2FSk2KK.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-AlignmentGrid-ClaWmFsj.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-AssetSlotPicker-DIoRDT6D.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-BorderEditor-BcsoJNaT.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ColorPicker-p_xfUT04.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-CurveEditor-RbGdt95N.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-FontPicker-DxdmydaC.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-GradientEditor-DZ0Z3l2P.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ScrubbableInput-Byy_M7hB.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-ShadowEditor-C9aPdbrZ.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-color-utils-BJStispK.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-curve-utils-C_5eRE_F.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-index-BA3S0eIV.js +0 -1
- package/dist/assets/volter-sdk-widgets-inspector-widgets-shared-DHHUQexs.js +0 -1
- package/dist/assets/volter-sdk-widgets-interactive-edit-scope-CjuUPrEv.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Dialog-CQggdCbk.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Fields-D38At0E9.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-List-ewRDByTO.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-StateSurface-C8YqnN-5.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Surfaces-BjFrm6Mc.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Tabs-JZq1ce4h.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Toolbar-Bf61fc1T.js +0 -1
- package/dist/assets/volter-sdk-widgets-patterns-Tree-CwuVbaxj.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-AnchoredMenu-Ch2ujeLH.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Button-d2WNMADR.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-ColorInput-DP0WkwNs.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-DraftTextInput-D1g1A89b.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-EditorIcon-DAjALCvl.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-FormControls-KBDCYHsT.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-HoverPreview-D2qUt6_z.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-JsonInput-DLs3kN1L.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Layout-DshSsm_4.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Menu-Ch-3iDys.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-NumberInput-pdAN4aF3.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Panel-BNFSUDwP.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-SectionHeader-5Hv-rso1.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Text-CtWC8t_L.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-ThemeRootPortal-h0iinIvj.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Tooltip-Cllx19nM.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-Vec3Input-CurGarFa.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-clamp-to-viewport-0YxAdd5O.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-editor-icons-ExQE8_SP.js +0 -1
- package/dist/assets/volter-sdk-widgets-primitives-panel-header-styles-DGmxyx4E.js +0 -1
- package/dist/assets/volter-sdk-widgets-theme-DOfZnIVM.js +0 -1
- package/dist/assets/volter-sdk-widgets-z-index-BpB2pf-w.js +0 -1
- package/dist/assets/volter-sdk-worker-call-metrics-Cdo-WjAp.js +0 -1
- package/dist/assets/volter-sdk-workspace-document-ids-CWVlaP7n.js +0 -1
- package/dist/assets/volter-sdk-workspace-document-registry-DoKaj8Fe.js +0 -1
- package/dist/assets/volter-sdk-workspace-document-restore-BOPAH61D.js +0 -1
- package/dist/assets/volter-sdk-workspace-static-panels-DZr1Q4n1.js +0 -1
- package/dist/assets/volter-sdk-workspace-status-registry-pIvpW3QR.js +0 -1
- package/dist/assets/volter-sdk-workspace-utility-registry-BRzyLcLs.js +0 -1
- package/dist/assets/volter-sdk-world-canvas-viewport-state-DeMws4Bu.js +0 -1
- package/dist/assets/volter-sdk-world-pan-state-Dpul1S4k.js +0 -1
- package/dist/assets/volter-sdk-write-pipe-vbjHAGKf.js +0 -1
- package/dist/assets/volter-shared-react-dom-client-B6uCXsbq.js +0 -1
- package/dist/assets/volter-shared-three-DSLGcAKx.js +0 -1
- package/dist/assets/worker-DeeaIXW_.js +0 -10
- package/src/contributions.d.ts +0 -9
- package/starter/game/client/index.tsx +0 -52
- package/starter/game/levels/GroundEnvironment.tsx +0 -15
- package/starter/game/levels/GroundLevel.tsx +0 -35
- package/starter/game/levels/ground.canvas.ts +0 -11
- package/starter/game/levels/ground.glb +0 -0
- package/starter/game/levels/ground.py +0 -142
|
@@ -0,0 +1,1407 @@
|
|
|
1
|
+
function Cp(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Ome=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $me(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var nm={exports:{}},ue={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var U1;function GM(){if(U1)return ue;U1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),f=Symbol.iterator;function p(A){return A===null||typeof A!="object"?null:(A=f&&A[f]||A["@@iterator"],typeof A=="function"?A:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(A,$,M){this.props=A,this.context=$,this.refs=v,this.updater=M||h}g.prototype.isReactComponent={},g.prototype.setState=function(A,$){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,$,"setState")},g.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function w(){}w.prototype=g.prototype;function _(A,$,M){this.props=A,this.context=$,this.refs=v,this.updater=M||h}var R=_.prototype=new w;R.constructor=_,m(R,g.prototype),R.isPureReactComponent=!0;var x=Array.isArray;function y(){}var b={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function C(A,$,M){var K=M.ref;return{$$typeof:e,type:A,key:$,ref:K!==void 0?K:null,props:M}}function N(A,$){return C(A.type,$,A.props)}function q(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function H(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(M){return $[M]})}var F=/\/+/g;function T(A,$){return typeof A=="object"&&A!==null&&A.key!=null?H(""+A.key):$.toString(36)}function k(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(y,y):(A.status="pending",A.then(function($){A.status==="pending"&&(A.status="fulfilled",A.value=$)},function($){A.status==="pending"&&(A.status="rejected",A.reason=$)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function I(A,$,M,K,L){var D=typeof A;(D==="undefined"||D==="boolean")&&(A=null);var Y=!1;if(A===null)Y=!0;else switch(D){case"bigint":case"string":case"number":Y=!0;break;case"object":switch(A.$$typeof){case e:case t:Y=!0;break;case c:return Y=A._init,I(Y(A._payload),$,M,K,L)}}if(Y)return L=L(A),Y=K===""?"."+T(A,0):K,x(L)?(M="",Y!=null&&(M=Y.replace(F,"$&/")+"/"),I(L,$,M,"",function(ne){return ne})):L!=null&&(q(L)&&(L=N(L,M+(L.key==null||A&&A.key===L.key?"":(""+L.key).replace(F,"$&/")+"/")+Y)),$.push(L)),1;Y=0;var ee=K===""?".":K+":";if(x(A))for(var j=0;j<A.length;j++)K=A[j],D=ee+T(K,j),Y+=I(K,$,M,D,L);else if(j=p(A),typeof j=="function")for(A=j.call(A),j=0;!(K=A.next()).done;)K=K.value,D=ee+T(K,j++),Y+=I(K,$,M,D,L);else if(D==="object"){if(typeof A.then=="function")return I(k(A),$,M,K,L);throw $=String(A),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Y}function U(A,$,M){if(A==null)return A;var K=[],L=0;return I(A,K,"","",function(D){return $.call(M,D,L++)}),K}function G(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(M){(A._status===0||A._status===-1)&&(A._status=1,A._result=M)},function(M){(A._status===0||A._status===-1)&&(A._status=2,A._result=M)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var X=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},Z={map:U,forEach:function(A,$,M){U(A,function(){$.apply(this,arguments)},M)},count:function(A){var $=0;return U(A,function(){$++}),$},toArray:function(A){return U(A,function($){return $})||[]},only:function(A){if(!q(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return ue.Activity=d,ue.Children=Z,ue.Component=g,ue.Fragment=r,ue.Profiler=o,ue.PureComponent=_,ue.StrictMode=n,ue.Suspense=u,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,ue.__COMPILER_RUNTIME={__proto__:null,c:function(A){return b.H.useMemoCache(A)}},ue.cache=function(A){return function(){return A.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(A,$,M){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var K=m({},A.props),L=A.key;if($!=null)for(D in $.key!==void 0&&(L=""+$.key),$)!E.call($,D)||D==="key"||D==="__self"||D==="__source"||D==="ref"&&$.ref===void 0||(K[D]=$[D]);var D=arguments.length-2;if(D===1)K.children=M;else if(1<D){for(var Y=Array(D),ee=0;ee<D;ee++)Y[ee]=arguments[ee+2];K.children=Y}return C(A.type,L,K)},ue.createContext=function(A){return A={$$typeof:a,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:i,_context:A},A},ue.createElement=function(A,$,M){var K,L={},D=null;if($!=null)for(K in $.key!==void 0&&(D=""+$.key),$)E.call($,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(L[K]=$[K]);var Y=arguments.length-2;if(Y===1)L.children=M;else if(1<Y){for(var ee=Array(Y),j=0;j<Y;j++)ee[j]=arguments[j+2];L.children=ee}if(A&&A.defaultProps)for(K in Y=A.defaultProps,Y)L[K]===void 0&&(L[K]=Y[K]);return C(A,D,L)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(A){return{$$typeof:s,render:A}},ue.isValidElement=q,ue.lazy=function(A){return{$$typeof:c,_payload:{_status:-1,_result:A},_init:G}},ue.memo=function(A,$){return{$$typeof:l,type:A,compare:$===void 0?null:$}},ue.startTransition=function(A){var $=b.T,M={};b.T=M;try{var K=A(),L=b.S;L!==null&&L(M,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(y,X)}catch(D){X(D)}finally{$!==null&&M.types!==null&&($.types=M.types),b.T=$}},ue.unstable_useCacheRefresh=function(){return b.H.useCacheRefresh()},ue.use=function(A){return b.H.use(A)},ue.useActionState=function(A,$,M){return b.H.useActionState(A,$,M)},ue.useCallback=function(A,$){return b.H.useCallback(A,$)},ue.useContext=function(A){return b.H.useContext(A)},ue.useDebugValue=function(){},ue.useDeferredValue=function(A,$){return b.H.useDeferredValue(A,$)},ue.useEffect=function(A,$){return b.H.useEffect(A,$)},ue.useEffectEvent=function(A){return b.H.useEffectEvent(A)},ue.useId=function(){return b.H.useId()},ue.useImperativeHandle=function(A,$,M){return b.H.useImperativeHandle(A,$,M)},ue.useInsertionEffect=function(A,$){return b.H.useInsertionEffect(A,$)},ue.useLayoutEffect=function(A,$){return b.H.useLayoutEffect(A,$)},ue.useMemo=function(A,$){return b.H.useMemo(A,$)},ue.useOptimistic=function(A,$){return b.H.useOptimistic(A,$)},ue.useReducer=function(A,$,M){return b.H.useReducer(A,$,M)},ue.useRef=function(A){return b.H.useRef(A)},ue.useState=function(A){return b.H.useState(A)},ue.useSyncExternalStore=function(A,$,M){return b.H.useSyncExternalStore(A,$,M)},ue.useTransition=function(){return b.H.useTransition()},ue.version="19.2.7",ue}var V1;function u4(){return V1||(V1=1,nm.exports=GM()),nm.exports}var z=u4();const Ap=xc(z),qme=Cp({__proto__:null,default:Ap},[z]);/*!
|
|
10
|
+
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
11
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
12
|
+
* Copyright 2026 Fonticons, Inc.
|
|
13
|
+
*/function Pg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function KM(e){if(Array.isArray(e))return e}function YM(e){if(Array.isArray(e))return Pg(e)}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c4(n.key),n)}}function XM(e,t,r){return t&&JM(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fd(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=gy(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return a=u.done,u},e:function(u){s=!0,i=u},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw i}}}}function de(e,t,r){return(t=c4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(c){l=!0,o=c}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function tN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
15
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
16
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?W1(Object(r),!0).forEach(function(n){de(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pp(e,t){return KM(e)||eN(e,t)||gy(e,t)||tN()}function cr(e){return YM(e)||QM(e)||gy(e)||rN()}function nN(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function c4(e){var t=nN(e,"string");return typeof t=="symbol"?t:t+""}function Cf(e){"@babel/helpers - typeof";return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cf(e)}function gy(e,t){if(e){if(typeof e=="string")return Pg(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pg(e,t):void 0}}var G1=function(){},by={},d4={},f4=null,p4={mark:G1,measure:G1};try{typeof window<"u"&&(by=window),typeof document<"u"&&(d4=document),typeof MutationObserver<"u"&&(f4=MutationObserver),typeof performance<"u"&&(p4=performance)}catch{}var oN=by.navigator||{},K1=oN.userAgent,Y1=K1===void 0?"":K1,Hn=by,De=d4,Z1=f4,od=p4;Hn.document;var mn=!!De.documentElement&&!!De.head&&typeof De.addEventListener=="function"&&typeof De.createElement=="function",h4=~Y1.indexOf("MSIE")||~Y1.indexOf("Trident/"),om,iN=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,aN=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,m4={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},graphite:{"fa-thin":"thin",fagt:"thin"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},sN={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},g4=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ht="classic",Cc="duotone",b4="sharp",v4="sharp-duotone",y4="chisel",w4="etch",E4="graphite",_4="jelly",S4="jelly-duo",R4="jelly-fill",x4="notdog",C4="notdog-duo",A4="slab",P4="slab-press",T4="thumbprint",O4="utility",$4="utility-duo",q4="utility-fill",k4="whiteboard",lN="Classic",uN="Duotone",cN="Sharp",dN="Sharp Duotone",fN="Chisel",pN="Etch",hN="Graphite",mN="Jelly",gN="Jelly Duo",bN="Jelly Fill",vN="Notdog",yN="Notdog Duo",wN="Slab",EN="Slab Press",_N="Thumbprint",SN="Utility",RN="Utility Duo",xN="Utility Fill",CN="Whiteboard",M4=[ht,Cc,b4,v4,y4,w4,E4,_4,S4,R4,x4,C4,A4,P4,T4,O4,$4,q4,k4];om={},de(de(de(de(de(de(de(de(de(de(om,ht,lN),Cc,uN),b4,cN),v4,dN),y4,fN),w4,pN),E4,hN),_4,mN),S4,gN),R4,bN),de(de(de(de(de(de(de(de(de(om,x4,vN),C4,yN),A4,wN),P4,EN),T4,_N),O4,SN),$4,RN),q4,xN),k4,CN);var AN={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},graphite:{100:"fagt"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},PN={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Graphite":{100:"fagt",normal:"fagt"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},TN=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["graphite",{defaultShortPrefixId:"fagt",defaultStyleId:"thin",styleIds:["thin"],futureStyleIds:[],defaultFontWeight:100}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),ON={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},graphite:{thin:"fagt"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},N4=["fak","fa-kit","fakd","fa-kit-duotone"],J1={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},$N=["kit"],qN="kit",kN="kit-duotone",MN="Kit",NN="Kit Duotone";de(de({},qN,MN),kN,NN);var IN={kit:{"fa-kit":"fak"}},jN={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},DN={kit:{fak:"fa-kit"}},X1={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},im,id={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},LN=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],FN="classic",BN="duotone",zN="sharp",HN="sharp-duotone",UN="chisel",VN="etch",WN="graphite",GN="jelly",KN="jelly-duo",YN="jelly-fill",ZN="notdog",JN="notdog-duo",XN="slab",QN="slab-press",eI="thumbprint",tI="utility",rI="utility-duo",nI="utility-fill",oI="whiteboard",iI="Classic",aI="Duotone",sI="Sharp",lI="Sharp Duotone",uI="Chisel",cI="Etch",dI="Graphite",fI="Jelly",pI="Jelly Duo",hI="Jelly Fill",mI="Notdog",gI="Notdog Duo",bI="Slab",vI="Slab Press",yI="Thumbprint",wI="Utility",EI="Utility Duo",_I="Utility Fill",SI="Whiteboard";im={},de(de(de(de(de(de(de(de(de(de(im,FN,iI),BN,aI),zN,sI),HN,lI),UN,uI),VN,cI),WN,dI),GN,fI),KN,pI),YN,hI),de(de(de(de(de(de(de(de(de(im,ZN,mI),JN,gI),XN,bI),QN,vI),eI,yI),tI,wI),rI,EI),nI,_I),oI,SI);var RI="kit",xI="kit-duotone",CI="Kit",AI="Kit Duotone";de(de({},RI,CI),xI,AI);var PI={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},graphite:{"fa-thin":"fagt"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},TI={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],graphite:["fagt"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Tg={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},graphite:{fagt:"fa-thin"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},OI=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],I4=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fagt","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(LN,OI),$I=["solid","regular","light","thin","duotone","brands","semibold"],j4=[1,2,3,4,5,6,7,8,9,10],qI=j4.concat([11,12,13,14,15,16,17,18,19,20]),kI=["aw","fw","pull-left","pull-right"],MI=[].concat(cr(Object.keys(TI)),$I,kI,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",id.GROUP,id.SWAP_OPACITY,id.PRIMARY,id.SECONDARY]).concat(j4.map(function(e){return"".concat(e,"x")})).concat(qI.map(function(e){return"w-".concat(e)})),NI={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},dn="___FONT_AWESOME___",Og=16,D4="fa",L4="svg-inline--fa",xo="data-fa-i2svg",$g="data-fa-pseudo-element",II="data-fa-pseudo-element-pending",vy="data-prefix",yy="data-icon",Q1="fontawesome-i2svg",jI="async",DI=["HTML","HEAD","STYLE","SCRIPT"],F4=["::before","::after",":before",":after"],B4=(function(){try{return!0}catch{return!1}})();function Ac(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[ht]}})}var z4=Q({},m4);z4[ht]=Q(Q(Q(Q({},{"fa-duotone":"duotone"}),m4[ht]),J1.kit),J1["kit-duotone"]);var LI=Ac(z4),qg=Q({},ON);qg[ht]=Q(Q(Q(Q({},{duotone:"fad"}),qg[ht]),X1.kit),X1["kit-duotone"]);var e2=Ac(qg),kg=Q({},Tg);kg[ht]=Q(Q({},kg[ht]),DN.kit);var wy=Ac(kg),Mg=Q({},PI);Mg[ht]=Q(Q({},Mg[ht]),IN.kit);Ac(Mg);var FI=iN,H4="fa-layers-text",BI=aN,zI=Q({},AN);Ac(zI);var HI=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],am=sN,UI=[].concat(cr($N),cr(MI)),Pu=Hn.FontAwesomeConfig||{};function VI(e){var t=De.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function WI(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(De&&typeof De.querySelector=="function"){var GI=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];GI.forEach(function(e){var t=Pp(e,2),r=t[0],n=t[1],o=WI(VI(r));o!=null&&(Pu[n]=o)})}var U4={styleDefault:"solid",familyDefault:ht,cssPrefix:D4,replacementClass:L4,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Pu.familyPrefix&&(Pu.cssPrefix=Pu.familyPrefix);var Ei=Q(Q({},U4),Pu);Ei.autoReplaceSvg||(Ei.observeMutations=!1);var ie={};Object.keys(U4).forEach(function(e){Object.defineProperty(ie,e,{enumerable:!0,set:function(r){Ei[e]=r,Tu.forEach(function(n){return n(ie)})},get:function(){return Ei[e]}})});Object.defineProperty(ie,"familyPrefix",{enumerable:!0,set:function(t){Ei.cssPrefix=t,Tu.forEach(function(r){return r(ie)})},get:function(){return Ei.cssPrefix}});Hn.FontAwesomeConfig=ie;var Tu=[];function KI(e){return Tu.push(e),function(){Tu.splice(Tu.indexOf(e),1)}}var zo=Og,Rr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function YI(e){if(!(!e||!mn)){var t=De.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=De.head.childNodes,n=null,o=r.length-1;o>-1;o--){var i=r[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=i)}return De.head.insertBefore(t,n),e}}var ZI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function t2(){for(var e=12,t="";e-- >0;)t+=ZI[Math.random()*62|0];return t}function Vi(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function Ey(e){return e.classList?Vi(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function V4(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function JI(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(V4(e[r]),'" ')},"").trim()}function Tp(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function _y(e){return e.size!==Rr.size||e.x!==Rr.x||e.y!==Rr.y||e.rotate!==Rr.rotate||e.flipX||e.flipY}function XI(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(i," ").concat(a," ").concat(s)},l={transform:"translate(".concat(n/2*-1," -256)")};return{outer:o,inner:u,path:l}}function QI(e){var t=e.transform,r=e.width,n=r===void 0?Og:r,o=e.height,i=o===void 0?Og:o,a="";return h4?a+="translate(".concat(t.x/zo-n/2,"em, ").concat(t.y/zo-i/2,"em) "):a+="translate(calc(-50% + ".concat(t.x/zo,"em), calc(-50% + ").concat(t.y/zo,"em)) "),a+="scale(".concat(t.size/zo*(t.flipX?-1:1),", ").concat(t.size/zo*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}var e8=`:root, :host {
|
|
17
|
+
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
18
|
+
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
19
|
+
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
20
|
+
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
|
21
|
+
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
|
22
|
+
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
|
23
|
+
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
|
24
|
+
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
|
25
|
+
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
|
26
|
+
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
|
27
|
+
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
|
28
|
+
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
|
29
|
+
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
|
30
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
31
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
32
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
33
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
34
|
+
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
|
35
|
+
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
|
36
|
+
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
|
37
|
+
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
|
38
|
+
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
|
39
|
+
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
|
40
|
+
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
|
41
|
+
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
|
42
|
+
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
|
43
|
+
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
|
44
|
+
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
|
45
|
+
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
|
46
|
+
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
|
47
|
+
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
|
48
|
+
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.svg-inline--fa {
|
|
52
|
+
box-sizing: content-box;
|
|
53
|
+
display: var(--fa-display, inline-block);
|
|
54
|
+
height: 1em;
|
|
55
|
+
overflow: visible;
|
|
56
|
+
vertical-align: -0.125em;
|
|
57
|
+
width: var(--fa-width, 1.25em);
|
|
58
|
+
}
|
|
59
|
+
.svg-inline--fa.fa-2xs {
|
|
60
|
+
vertical-align: 0.1em;
|
|
61
|
+
}
|
|
62
|
+
.svg-inline--fa.fa-xs {
|
|
63
|
+
vertical-align: 0em;
|
|
64
|
+
}
|
|
65
|
+
.svg-inline--fa.fa-sm {
|
|
66
|
+
vertical-align: -0.0714285714em;
|
|
67
|
+
}
|
|
68
|
+
.svg-inline--fa.fa-lg {
|
|
69
|
+
vertical-align: -0.2em;
|
|
70
|
+
}
|
|
71
|
+
.svg-inline--fa.fa-xl {
|
|
72
|
+
vertical-align: -0.25em;
|
|
73
|
+
}
|
|
74
|
+
.svg-inline--fa.fa-2xl {
|
|
75
|
+
vertical-align: -0.3125em;
|
|
76
|
+
}
|
|
77
|
+
.svg-inline--fa.fa-pull-left,
|
|
78
|
+
.svg-inline--fa .fa-pull-start {
|
|
79
|
+
float: inline-start;
|
|
80
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
81
|
+
}
|
|
82
|
+
.svg-inline--fa.fa-pull-right,
|
|
83
|
+
.svg-inline--fa .fa-pull-end {
|
|
84
|
+
float: inline-end;
|
|
85
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
86
|
+
}
|
|
87
|
+
.svg-inline--fa.fa-li {
|
|
88
|
+
width: var(--fa-li-width, 2em);
|
|
89
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
90
|
+
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.fa-layers-counter, .fa-layers-text {
|
|
94
|
+
display: inline-block;
|
|
95
|
+
position: absolute;
|
|
96
|
+
text-align: center;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.fa-layers {
|
|
100
|
+
display: inline-block;
|
|
101
|
+
height: 1em;
|
|
102
|
+
position: relative;
|
|
103
|
+
text-align: center;
|
|
104
|
+
vertical-align: -0.125em;
|
|
105
|
+
width: var(--fa-width, 1.25em);
|
|
106
|
+
}
|
|
107
|
+
.fa-layers .svg-inline--fa {
|
|
108
|
+
inset: 0;
|
|
109
|
+
margin: auto;
|
|
110
|
+
position: absolute;
|
|
111
|
+
transform-origin: center center;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.fa-layers-text {
|
|
115
|
+
left: 50%;
|
|
116
|
+
top: 50%;
|
|
117
|
+
transform: translate(-50%, -50%);
|
|
118
|
+
transform-origin: center center;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.fa-layers-counter {
|
|
122
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
123
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
color: var(--fa-inverse, #fff);
|
|
126
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
127
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
128
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
131
|
+
right: var(--fa-right, 0);
|
|
132
|
+
text-overflow: ellipsis;
|
|
133
|
+
top: var(--fa-top, 0);
|
|
134
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
135
|
+
transform-origin: top right;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.fa-layers-bottom-right {
|
|
139
|
+
bottom: var(--fa-bottom, 0);
|
|
140
|
+
right: var(--fa-right, 0);
|
|
141
|
+
top: auto;
|
|
142
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
143
|
+
transform-origin: bottom right;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.fa-layers-bottom-left {
|
|
147
|
+
bottom: var(--fa-bottom, 0);
|
|
148
|
+
left: var(--fa-left, 0);
|
|
149
|
+
right: auto;
|
|
150
|
+
top: auto;
|
|
151
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
152
|
+
transform-origin: bottom left;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.fa-layers-top-right {
|
|
156
|
+
top: var(--fa-top, 0);
|
|
157
|
+
right: var(--fa-right, 0);
|
|
158
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
159
|
+
transform-origin: top right;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.fa-layers-top-left {
|
|
163
|
+
left: var(--fa-left, 0);
|
|
164
|
+
right: auto;
|
|
165
|
+
top: var(--fa-top, 0);
|
|
166
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
167
|
+
transform-origin: top left;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.fa-1x {
|
|
171
|
+
font-size: 1em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.fa-2x {
|
|
175
|
+
font-size: 2em;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.fa-3x {
|
|
179
|
+
font-size: 3em;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.fa-4x {
|
|
183
|
+
font-size: 4em;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.fa-5x {
|
|
187
|
+
font-size: 5em;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fa-6x {
|
|
191
|
+
font-size: 6em;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.fa-7x {
|
|
195
|
+
font-size: 7em;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.fa-8x {
|
|
199
|
+
font-size: 8em;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.fa-9x {
|
|
203
|
+
font-size: 9em;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.fa-10x {
|
|
207
|
+
font-size: 10em;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.fa-2xs {
|
|
211
|
+
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
|
|
212
|
+
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
213
|
+
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.fa-xs {
|
|
217
|
+
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
|
|
218
|
+
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
219
|
+
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.fa-sm {
|
|
223
|
+
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
|
|
224
|
+
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
225
|
+
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.fa-lg {
|
|
229
|
+
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
|
|
230
|
+
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
231
|
+
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.fa-xl {
|
|
235
|
+
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
|
|
236
|
+
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
237
|
+
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.fa-2xl {
|
|
241
|
+
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
|
|
242
|
+
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
243
|
+
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.fa-width-auto {
|
|
247
|
+
--fa-width: auto;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.fa-fw,
|
|
251
|
+
.fa-width-fixed {
|
|
252
|
+
--fa-width: 1.25em;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.fa-ul {
|
|
256
|
+
list-style-type: none;
|
|
257
|
+
margin-inline-start: var(--fa-li-margin, 2.5em);
|
|
258
|
+
padding-inline-start: 0;
|
|
259
|
+
}
|
|
260
|
+
.fa-ul > li {
|
|
261
|
+
position: relative;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.fa-li {
|
|
265
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
266
|
+
position: absolute;
|
|
267
|
+
text-align: center;
|
|
268
|
+
width: var(--fa-li-width, 2em);
|
|
269
|
+
line-height: inherit;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Heads Up: Bordered Icons will not be supported in the future!
|
|
273
|
+
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
|
274
|
+
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
|
275
|
+
*/
|
|
276
|
+
/* Notes:
|
|
277
|
+
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
|
278
|
+
* --@{v.$css-prefix}-border-padding =
|
|
279
|
+
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
|
280
|
+
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
|
281
|
+
*/
|
|
282
|
+
.fa-border {
|
|
283
|
+
border-color: var(--fa-border-color, #eee);
|
|
284
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
285
|
+
border-style: var(--fa-border-style, solid);
|
|
286
|
+
border-width: var(--fa-border-width, 0.0625em);
|
|
287
|
+
box-sizing: var(--fa-border-box-sizing, content-box);
|
|
288
|
+
padding: var(--fa-border-padding, 0.1875em 0.25em);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.fa-pull-left,
|
|
292
|
+
.fa-pull-start {
|
|
293
|
+
float: inline-start;
|
|
294
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.fa-pull-right,
|
|
298
|
+
.fa-pull-end {
|
|
299
|
+
float: inline-end;
|
|
300
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.fa-beat {
|
|
304
|
+
animation-name: fa-beat;
|
|
305
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
306
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
307
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
308
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
309
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.fa-bounce {
|
|
313
|
+
animation-name: fa-bounce;
|
|
314
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
315
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
316
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
317
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
318
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.fa-fade {
|
|
322
|
+
animation-name: fa-fade;
|
|
323
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
324
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
325
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
326
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
327
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.fa-beat-fade {
|
|
331
|
+
animation-name: fa-beat-fade;
|
|
332
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
333
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
334
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
335
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
336
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.fa-flip {
|
|
340
|
+
animation-name: fa-flip;
|
|
341
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
342
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
343
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
344
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
345
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.fa-shake {
|
|
349
|
+
animation-name: fa-shake;
|
|
350
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
351
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
352
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
353
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
354
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.fa-spin {
|
|
358
|
+
animation-name: fa-spin;
|
|
359
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
360
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
361
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
362
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
363
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.fa-spin-reverse {
|
|
367
|
+
--fa-animation-direction: reverse;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.fa-pulse,
|
|
371
|
+
.fa-spin-pulse {
|
|
372
|
+
animation-name: fa-spin;
|
|
373
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
374
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
375
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
376
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
@media (prefers-reduced-motion: reduce) {
|
|
380
|
+
.fa-beat,
|
|
381
|
+
.fa-bounce,
|
|
382
|
+
.fa-fade,
|
|
383
|
+
.fa-beat-fade,
|
|
384
|
+
.fa-flip,
|
|
385
|
+
.fa-pulse,
|
|
386
|
+
.fa-shake,
|
|
387
|
+
.fa-spin,
|
|
388
|
+
.fa-spin-pulse {
|
|
389
|
+
animation: none !important;
|
|
390
|
+
transition: none !important;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
@keyframes fa-beat {
|
|
394
|
+
0%, 90% {
|
|
395
|
+
transform: scale(1);
|
|
396
|
+
}
|
|
397
|
+
45% {
|
|
398
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
@keyframes fa-bounce {
|
|
402
|
+
0% {
|
|
403
|
+
transform: scale(1, 1) translateY(0);
|
|
404
|
+
}
|
|
405
|
+
10% {
|
|
406
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
407
|
+
}
|
|
408
|
+
30% {
|
|
409
|
+
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
410
|
+
}
|
|
411
|
+
50% {
|
|
412
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
413
|
+
}
|
|
414
|
+
57% {
|
|
415
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
416
|
+
}
|
|
417
|
+
64% {
|
|
418
|
+
transform: scale(1, 1) translateY(0);
|
|
419
|
+
}
|
|
420
|
+
100% {
|
|
421
|
+
transform: scale(1, 1) translateY(0);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
@keyframes fa-fade {
|
|
425
|
+
50% {
|
|
426
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
@keyframes fa-beat-fade {
|
|
430
|
+
0%, 100% {
|
|
431
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
432
|
+
transform: scale(1);
|
|
433
|
+
}
|
|
434
|
+
50% {
|
|
435
|
+
opacity: 1;
|
|
436
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
@keyframes fa-flip {
|
|
440
|
+
50% {
|
|
441
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
@keyframes fa-shake {
|
|
445
|
+
0% {
|
|
446
|
+
transform: rotate(-15deg);
|
|
447
|
+
}
|
|
448
|
+
4% {
|
|
449
|
+
transform: rotate(15deg);
|
|
450
|
+
}
|
|
451
|
+
8%, 24% {
|
|
452
|
+
transform: rotate(-18deg);
|
|
453
|
+
}
|
|
454
|
+
12%, 28% {
|
|
455
|
+
transform: rotate(18deg);
|
|
456
|
+
}
|
|
457
|
+
16% {
|
|
458
|
+
transform: rotate(-22deg);
|
|
459
|
+
}
|
|
460
|
+
20% {
|
|
461
|
+
transform: rotate(22deg);
|
|
462
|
+
}
|
|
463
|
+
32% {
|
|
464
|
+
transform: rotate(-12deg);
|
|
465
|
+
}
|
|
466
|
+
36% {
|
|
467
|
+
transform: rotate(12deg);
|
|
468
|
+
}
|
|
469
|
+
40%, 100% {
|
|
470
|
+
transform: rotate(0deg);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
@keyframes fa-spin {
|
|
474
|
+
0% {
|
|
475
|
+
transform: rotate(0deg);
|
|
476
|
+
}
|
|
477
|
+
100% {
|
|
478
|
+
transform: rotate(360deg);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
.fa-rotate-90 {
|
|
482
|
+
transform: rotate(90deg);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.fa-rotate-180 {
|
|
486
|
+
transform: rotate(180deg);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.fa-rotate-270 {
|
|
490
|
+
transform: rotate(270deg);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.fa-flip-horizontal {
|
|
494
|
+
transform: scale(-1, 1);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.fa-flip-vertical {
|
|
498
|
+
transform: scale(1, -1);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.fa-flip-both,
|
|
502
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
503
|
+
transform: scale(-1, -1);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.fa-rotate-by {
|
|
507
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.svg-inline--fa .fa-primary {
|
|
511
|
+
fill: var(--fa-primary-color, currentColor);
|
|
512
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.svg-inline--fa .fa-secondary {
|
|
516
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
517
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
521
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
525
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.svg-inline--fa mask .fa-primary,
|
|
529
|
+
.svg-inline--fa mask .fa-secondary {
|
|
530
|
+
fill: black;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.svg-inline--fa.fa-inverse {
|
|
534
|
+
fill: var(--fa-inverse, #fff);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.fa-stack {
|
|
538
|
+
display: inline-block;
|
|
539
|
+
height: 2em;
|
|
540
|
+
line-height: 2em;
|
|
541
|
+
position: relative;
|
|
542
|
+
vertical-align: middle;
|
|
543
|
+
width: 2.5em;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.fa-inverse {
|
|
547
|
+
color: var(--fa-inverse, #fff);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.svg-inline--fa.fa-stack-1x {
|
|
551
|
+
--fa-width: 1.25em;
|
|
552
|
+
height: 1em;
|
|
553
|
+
width: var(--fa-width);
|
|
554
|
+
}
|
|
555
|
+
.svg-inline--fa.fa-stack-2x {
|
|
556
|
+
--fa-width: 2.5em;
|
|
557
|
+
height: 2em;
|
|
558
|
+
width: var(--fa-width);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.fa-stack-1x,
|
|
562
|
+
.fa-stack-2x {
|
|
563
|
+
inset: 0;
|
|
564
|
+
margin: auto;
|
|
565
|
+
position: absolute;
|
|
566
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
567
|
+
}`;function W4(){var e=D4,t=L4,r=ie.cssPrefix,n=ie.replacementClass,o=e8;if(r!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(a,"--".concat(r,"-")).replace(s,".".concat(n))}return o}var r2=!1;function sm(){ie.autoAddCss&&!r2&&(YI(W4()),r2=!0)}var t8={mixout:function(){return{dom:{css:W4,insertCss:sm}}},hooks:function(){return{beforeDOMElementCreation:function(){sm()},beforeI2svg:function(){sm()}}}},fn=Hn||{};fn[dn]||(fn[dn]={});fn[dn].styles||(fn[dn].styles={});fn[dn].hooks||(fn[dn].hooks={});fn[dn].shims||(fn[dn].shims=[]);var lr=fn[dn],G4=[],K4=function(){De.removeEventListener("DOMContentLoaded",K4),Af=1,G4.map(function(t){return t()})},Af=!1;mn&&(Af=(De.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(De.readyState),Af||De.addEventListener("DOMContentLoaded",K4));function r8(e){mn&&(Af?setTimeout(e,0):G4.push(e))}function Pc(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?V4(e):"<".concat(t," ").concat(JI(n),">").concat(i.map(Pc).join(""),"</").concat(t,">")}function n2(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var lm=function(t,r,n,o){var i=Object.keys(t),a=i.length,s=r,u,l,c;for(n===void 0?(u=1,c=t[i[0]]):(u=0,c=n);u<a;u++)l=i[u],c=s(c,t[l],l,t);return c};function Y4(e){return cr(e).length!==1?null:e.codePointAt(0).toString(16)}function o2(e){return Object.keys(e).reduce(function(t,r){var n=e[r],o=!!n.icon;return o?t[n.iconName]=n.icon:t[r]=n,t},{})}function Ng(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,o=n===void 0?!1:n,i=o2(t);typeof lr.hooks.addPack=="function"&&!o?lr.hooks.addPack(e,o2(t)):lr.styles[e]=Q(Q({},lr.styles[e]||{}),i),e==="fas"&&Ng("fa",t)}var Ku=lr.styles,n8=lr.shims,Z4=Object.keys(wy),o8=Z4.reduce(function(e,t){return e[t]=Object.keys(wy[t]),e},{}),Sy=null,J4={},X4={},Q4={},eA={},tA={};function i8(e){return~UI.indexOf(e)}function a8(e,t){var r=t.split("-"),n=r[0],o=r.slice(1).join("-");return n===e&&o!==""&&!i8(o)?o:null}var rA=function(){var t=function(i){return lm(Ku,function(a,s,u){return a[u]=lm(s,i,{}),a},{})};J4=t(function(o,i,a){if(i[3]&&(o[i[3]]=a),i[2]){var s=i[2].filter(function(u){return typeof u=="number"});s.forEach(function(u){o[u.toString(16)]=a})}return o}),X4=t(function(o,i,a){if(o[a]=a,i[2]){var s=i[2].filter(function(u){return typeof u=="string"});s.forEach(function(u){o[u]=a})}return o}),tA=t(function(o,i,a){var s=i[2];return o[a]=a,s.forEach(function(u){o[u]=a}),o});var r="far"in Ku||ie.autoFetchSvg,n=lm(n8,function(o,i){var a=i[0],s=i[1],u=i[2];return s==="far"&&!r&&(s="fas"),typeof a=="string"&&(o.names[a]={prefix:s,iconName:u}),typeof a=="number"&&(o.unicodes[a.toString(16)]={prefix:s,iconName:u}),o},{names:{},unicodes:{}});Q4=n.names,eA=n.unicodes,Sy=Op(ie.styleDefault,{family:ie.familyDefault})};KI(function(e){Sy=Op(e.styleDefault,{family:ie.familyDefault})});rA();function Ry(e,t){return(J4[e]||{})[t]}function s8(e,t){return(X4[e]||{})[t]}function mo(e,t){return(tA[e]||{})[t]}function nA(e){return Q4[e]||{prefix:null,iconName:null}}function l8(e){var t=eA[e],r=Ry("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Un(){return Sy}var oA=function(){return{prefix:null,iconName:null,rest:[]}};function u8(e){var t=ht,r=Z4.reduce(function(n,o){return n[o]="".concat(ie.cssPrefix,"-").concat(o),n},{});return M4.forEach(function(n){(e.includes(r[n])||e.some(function(o){return o8[n].includes(o)}))&&(t=n)}),t}function Op(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?ht:r,o=LI[n][e];if(n===Cc&&!e)return"fad";var i=e2[n][e]||e2[n][o],a=e in lr.styles?e:null,s=i||a||null;return s}function c8(e){var t=[],r=null;return e.forEach(function(n){var o=a8(ie.cssPrefix,n);o?r=o:n&&t.push(n)}),{iconName:r,rest:t}}function i2(e){return e.sort().filter(function(t,r,n){return n.indexOf(t)===r})}var a2=I4.concat(N4);function $p(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,o=null,i=i2(e.filter(function(p){return a2.includes(p)})),a=i2(e.filter(function(p){return!a2.includes(p)})),s=i.filter(function(p){return o=p,!g4.includes(p)}),u=Pp(s,1),l=u[0],c=l===void 0?null:l,d=u8(i),f=Q(Q({},c8(a)),{},{prefix:Op(c,{family:d})});return Q(Q(Q({},f),h8({values:e,family:d,styles:Ku,config:ie,canonical:f,givenPrefix:o})),d8(n,o,f))}function d8(e,t,r){var n=r.prefix,o=r.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i=t==="fa"?nA(o):{},a=mo(n,o);return o=i.iconName||a||o,n=i.prefix||n,n==="far"&&!Ku.far&&Ku.fas&&!ie.autoFetchSvg&&(n="fas"),{prefix:n,iconName:o}}var f8=M4.filter(function(e){return e!==ht||e!==Cc}),p8=Object.keys(Tg).filter(function(e){return e!==ht}).map(function(e){return Object.keys(Tg[e])}).flat();function h8(e){var t=e.values,r=e.family,n=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,a=e.styles,s=a===void 0?{}:a,u=e.config,l=u===void 0?{}:u,c=r===Cc,d=t.includes("fa-duotone")||t.includes("fad"),f=l.familyDefault==="duotone",p=n.prefix==="fad"||n.prefix==="fa-duotone";if(!c&&(d||f||p)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&f8.includes(r)){var h=Object.keys(s).find(function(v){return p8.includes(v)});if(h||l.autoFetchSvg){var m=TN.get(r).defaultShortPrefixId;n.prefix=m,n.iconName=mo(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=Un()||"fas"),n}var m8=(function(){function e(){ZM(this,e),this.definitions={}}return XM(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(s){r.definitions[s]=Q(Q({},r.definitions[s]||{}),a[s]),Ng(s,a[s]);var u=wy[ht][s];u&&Ng(u,a[s]),rA()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var o=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(o).map(function(i){var a=o[i],s=a.prefix,u=a.iconName,l=a.icon,c=l[2];r[s]||(r[s]={}),c.length>0&&c.forEach(function(d){typeof d=="string"&&(r[s][d]=l)}),r[s][u]=l}),r}}])})(),s2=[],Qo={},di={},g8=Object.keys(di);function b8(e,t){var r=t.mixoutsTo;return s2=e,Qo={},Object.keys(di).forEach(function(n){g8.indexOf(n)===-1&&delete di[n]}),s2.forEach(function(n){var o=n.mixout?n.mixout():{};if(Object.keys(o).forEach(function(a){typeof o[a]=="function"&&(r[a]=o[a]),Cf(o[a])==="object"&&Object.keys(o[a]).forEach(function(s){r[a]||(r[a]={}),r[a][s]=o[a][s]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(a){Qo[a]||(Qo[a]=[]),Qo[a].push(i[a])})}n.provides&&n.provides(di)}),r}function Ig(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var i=Qo[e]||[];return i.forEach(function(a){t=a.apply(null,[t].concat(n))}),t}function Co(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Qo[e]||[];o.forEach(function(i){i.apply(null,r)})}function Vn(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return di[e]?di[e].apply(null,t):void 0}function jg(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||Un();if(t)return t=mo(r,t)||t,n2(iA.definitions,r,t)||n2(lr.styles,r,t)}var iA=new m8,v8=function(){ie.autoReplaceSvg=!1,ie.observeMutations=!1,Co("noAuto")},y8={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return mn?(Co("beforeI2svg",t),Vn("pseudoElements2svg",t),Vn("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;ie.autoReplaceSvg===!1&&(ie.autoReplaceSvg=!0),ie.observeMutations=!0,r8(function(){E8({autoReplaceSvgRoot:r}),Co("watch",t)})}},w8={icon:function(t){if(t===null)return null;if(Cf(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:mo(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=Op(t[0]);return{prefix:n,iconName:mo(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(ie.cssPrefix,"-"))>-1||t.match(FI))){var o=$p(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Un(),iconName:mo(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=Un();return{prefix:i,iconName:mo(i,t)||t}}}},Ut={noAuto:v8,config:ie,dom:y8,parse:w8,library:iA,findIconDefinition:jg,toHtml:Pc},E8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?De:r;(Object.keys(lr.styles).length>0||ie.autoFetchSvg)&&mn&&ie.autoReplaceSvg&&Ut.dom.i2svg({node:n})};function qp(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Pc(n)})}}),Object.defineProperty(e,"node",{get:function(){if(mn){var n=De.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function _8(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(_y(a)&&r.found&&!n.found){var s=r.width,u=r.height,l={x:s/u/2,y:.5};o.style=Tp(Q(Q({},i),{},{"transform-origin":"".concat(l.x+a.x/16,"em ").concat(l.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function S8(e){var t=e.prefix,r=e.iconName,n=e.children,o=e.attributes,i=e.symbol,a=i===!0?"".concat(t,"-").concat(ie.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Q(Q({},o),{},{id:a}),children:n}]}]}function R8(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(r){return r in e})}function xy(e){var t=e.icons,r=t.main,n=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,u=e.maskId,l=e.extra,c=e.watchable,d=c===void 0?!1:c,f=n.found?n:r,p=f.width,h=f.height,m=[ie.replacementClass,i?"".concat(ie.cssPrefix,"-").concat(i):""].filter(function(x){return l.classes.indexOf(x)===-1}).filter(function(x){return x!==""||!!x}).concat(l.classes).join(" "),v={children:[],attributes:Q(Q({},l.attributes),{},{"data-prefix":o,"data-icon":i,class:m,role:l.attributes.role||"img",viewBox:"0 0 ".concat(p," ").concat(h)})};!R8(l.attributes)&&!l.attributes["aria-hidden"]&&(v.attributes["aria-hidden"]="true"),d&&(v.attributes[xo]="");var g=Q(Q({},v),{},{prefix:o,iconName:i,main:r,mask:n,maskId:u,transform:a,symbol:s,styles:Q({},l.styles)}),w=n.found&&r.found?Vn("generateAbstractMask",g)||{children:[],attributes:{}}:Vn("generateAbstractIcon",g)||{children:[],attributes:{}},_=w.children,R=w.attributes;return g.children=_,g.attributes=R,s?S8(g):_8(g)}function l2(e){var t=e.content,r=e.width,n=e.height,o=e.transform,i=e.extra,a=e.watchable,s=a===void 0?!1:a,u=Q(Q({},i.attributes),{},{class:i.classes.join(" ")});s&&(u[xo]="");var l=Q({},i.styles);_y(o)&&(l.transform=QI({transform:o,width:r,height:n}),l["-webkit-transform"]=l.transform);var c=Tp(l);c.length>0&&(u.style=c);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),d}function x8(e){var t=e.content,r=e.extra,n=Q(Q({},r.attributes),{},{class:r.classes.join(" ")}),o=Tp(r.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var um=lr.styles;function Dg(e){var t=e[0],r=e[1],n=e.slice(4),o=Pp(n,1),i=o[0],a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(ie.cssPrefix,"-").concat(am.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(am.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(am.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}var C8={found:!1,width:512,height:512};function A8(e,t){!B4&&!ie.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Lg(e,t){var r=t;return t==="fa"&&ie.styleDefault!==null&&(t=Un()),new Promise(function(n,o){if(r==="fa"){var i=nA(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&um[t]&&um[t][e]){var a=um[t][e];return n(Dg(a))}A8(e,t),n(Q(Q({},C8),{},{icon:ie.showMissingIcons&&e?Vn("missingIconAbstract")||{}:{}}))})}var u2=function(){},Fg=ie.measurePerformance&&od&&od.mark&&od.measure?od:{mark:u2,measure:u2},fu='FA "7.2.0"',P8=function(t){return Fg.mark("".concat(fu," ").concat(t," begins")),function(){return aA(t)}},aA=function(t){Fg.mark("".concat(fu," ").concat(t," ends")),Fg.measure("".concat(fu," ").concat(t),"".concat(fu," ").concat(t," begins"),"".concat(fu," ").concat(t," ends"))},Cy={begin:P8,end:aA},Bd=function(){};function c2(e){var t=e.getAttribute?e.getAttribute(xo):null;return typeof t=="string"}function T8(e){var t=e.getAttribute?e.getAttribute(vy):null,r=e.getAttribute?e.getAttribute(yy):null;return t&&r}function O8(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ie.replacementClass)}function $8(){if(ie.autoReplaceSvg===!0)return zd.replace;var e=zd[ie.autoReplaceSvg];return e||zd.replace}function q8(e){return De.createElementNS("http://www.w3.org/2000/svg",e)}function k8(e){return De.createElement(e)}function sA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?q8:k8:r;if(typeof e=="string")return De.createTextNode(e);var o=n(e.tag);Object.keys(e.attributes||[]).forEach(function(a){o.setAttribute(a,e.attributes[a])});var i=e.children||[];return i.forEach(function(a){o.appendChild(sA(a,{ceFn:n}))}),o}function M8(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var zd={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(o){r.parentNode.insertBefore(sA(o),r)}),r.getAttribute(xo)===null&&ie.keepOriginalSource){var n=De.createComment(M8(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~Ey(r).indexOf(ie.replacementClass))return zd.replace(t);var o=new RegExp("".concat(ie.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(s,u){return u===ie.replacementClass||u.match(o)?s.toSvg.push(u):s.toNode.push(u),s},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",i.toNode.join(" "))}var a=n.map(function(s){return Pc(s)}).join(`
|
|
568
|
+
`);r.setAttribute(xo,""),r.innerHTML=a}};function d2(e){e()}function lA(e,t){var r=typeof t=="function"?t:Bd;if(e.length===0)r();else{var n=d2;ie.mutateApproach===jI&&(n=Hn.requestAnimationFrame||d2),n(function(){var o=$8(),i=Cy.begin("mutate");e.map(o),i(),r()})}}var Ay=!1;function uA(){Ay=!0}function Bg(){Ay=!1}var Pf=null;function f2(e){if(Z1&&ie.observeMutations){var t=e.treeCallback,r=t===void 0?Bd:t,n=e.nodeCallback,o=n===void 0?Bd:n,i=e.pseudoElementsCallback,a=i===void 0?Bd:i,s=e.observeMutationsRoot,u=s===void 0?De:s;Pf=new Z1(function(l){if(!Ay){var c=Un();Vi(l).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!c2(d.addedNodes[0])&&(ie.searchPseudoElements&&a(d.target),r(d.target)),d.type==="attributes"&&d.target.parentNode&&ie.searchPseudoElements&&a([d.target],!0),d.type==="attributes"&&c2(d.target)&&~HI.indexOf(d.attributeName))if(d.attributeName==="class"&&T8(d.target)){var f=$p(Ey(d.target)),p=f.prefix,h=f.iconName;d.target.setAttribute(vy,p||c),h&&d.target.setAttribute(yy,h)}else O8(d.target)&&o(d.target)})}}),mn&&Pf.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function N8(){Pf&&Pf.disconnect()}function I8(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,o){var i=o.split(":"),a=i[0],s=i.slice(1);return a&&s.length>0&&(n[a]=s.join(":").trim()),n},{})),r}function j8(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",o=$p(Ey(e));return o.prefix||(o.prefix=Un()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&n.length>0&&(o.iconName=s8(o.prefix,e.innerText)||Ry(o.prefix,Y4(e.innerText))),!o.iconName&&ie.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function D8(e){var t=Vi(e.attributes).reduce(function(r,n){return r.name!=="class"&&r.name!=="style"&&(r[n.name]=n.value),r},{});return t}function L8(){return{iconName:null,prefix:null,transform:Rr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function p2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=j8(e),n=r.iconName,o=r.prefix,i=r.rest,a=D8(e),s=Ig("parseNodeAttributes",{},e),u=t.styleParser?I8(e):[];return Q({iconName:n,prefix:o,transform:Rr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var F8=lr.styles;function cA(e){var t=ie.autoReplaceSvg==="nest"?p2(e,{styleParser:!1}):p2(e);return~t.extra.classes.indexOf(H4)?Vn("generateLayersText",e,t):Vn("generateSvgReplacementMutation",e,t)}function B8(){return[].concat(cr(N4),cr(I4))}function h2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!mn)return Promise.resolve();var r=De.documentElement.classList,n=function(d){return r.add("".concat(Q1,"-").concat(d))},o=function(d){return r.remove("".concat(Q1,"-").concat(d))},i=ie.autoFetchSvg?B8():g4.concat(Object.keys(F8));i.includes("fa")||i.push("fa");var a=[".".concat(H4,":not([").concat(xo,"])")].concat(i.map(function(c){return".".concat(c,":not([").concat(xo,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=Vi(e.querySelectorAll(a))}catch{}if(s.length>0)n("pending"),o("complete");else return Promise.resolve();var u=Cy.begin("onTree"),l=s.reduce(function(c,d){try{var f=cA(d);f&&c.push(f)}catch(p){B4||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise(function(c,d){Promise.all(l).then(function(f){lA(f,function(){n("active"),n("complete"),o("pending"),typeof t=="function"&&t(),u(),c()})}).catch(function(f){u(),d(f)})})}function z8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;cA(e).then(function(r){r&&lA([r],t)})}function H8(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:jg(t||{}),o=r.mask;return o&&(o=(o||{}).icon?o:jg(o||{})),e(n,Q(Q({},r),{},{mask:o}))}}var U8=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,o=n===void 0?Rr:n,i=r.symbol,a=i===void 0?!1:i,s=r.mask,u=s===void 0?null:s,l=r.maskId,c=l===void 0?null:l,d=r.classes,f=d===void 0?[]:d,p=r.attributes,h=p===void 0?{}:p,m=r.styles,v=m===void 0?{}:m;if(t){var g=t.prefix,w=t.iconName,_=t.icon;return qp(Q({type:"icon"},t),function(){return Co("beforeDOMElementCreation",{iconDefinition:t,params:r}),xy({icons:{main:Dg(_),mask:u?Dg(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:w,transform:Q(Q({},Rr),o),symbol:a,maskId:c,extra:{attributes:h,styles:v,classes:f}})})}},V8={mixout:function(){return{icon:H8(U8)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=h2,r.nodeCallback=z8,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,o=n===void 0?De:n,i=r.callback,a=i===void 0?function(){}:i;return h2(o,a)},t.generateSvgReplacementMutation=function(r,n){var o=n.iconName,i=n.prefix,a=n.transform,s=n.symbol,u=n.mask,l=n.maskId,c=n.extra;return new Promise(function(d,f){Promise.all([Lg(o,i),u.iconName?Lg(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(p){var h=Pp(p,2),m=h[0],v=h[1];d([r,xy({icons:{main:m,mask:v},prefix:i,iconName:o,transform:a,symbol:s,maskId:l,extra:c,watchable:!0})])}).catch(f)})},t.generateAbstractIcon=function(r){var n=r.children,o=r.attributes,i=r.main,a=r.transform,s=r.styles,u=Tp(s);u.length>0&&(o.style=u);var l;return _y(a)&&(l=Vn("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:o}}}},W8={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.classes,i=o===void 0?[]:o;return qp({type:"layer"},function(){Co("beforeDOMElementCreation",{assembler:r,params:n});var a=[];return r(function(s){Array.isArray(s)?s.map(function(u){a=a.concat(u.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(ie.cssPrefix,"-layers")].concat(cr(i)).join(" ")},children:a}]})}}}},G8={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.title;var o=n.classes,i=o===void 0?[]:o,a=n.attributes,s=a===void 0?{}:a,u=n.styles,l=u===void 0?{}:u;return qp({type:"counter",content:r},function(){return Co("beforeDOMElementCreation",{content:r,params:n}),x8({content:r.toString(),extra:{attributes:s,styles:l,classes:["".concat(ie.cssPrefix,"-layers-counter")].concat(cr(i))}})})}}}},K8={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,i=o===void 0?Rr:o,a=n.classes,s=a===void 0?[]:a,u=n.attributes,l=u===void 0?{}:u,c=n.styles,d=c===void 0?{}:c;return qp({type:"text",content:r},function(){return Co("beforeDOMElementCreation",{content:r,params:n}),l2({content:r,transform:Q(Q({},Rr),i),extra:{attributes:l,styles:d,classes:["".concat(ie.cssPrefix,"-layers-text")].concat(cr(s))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var o=n.transform,i=n.extra,a=null,s=null;if(h4){var u=parseInt(getComputedStyle(r).fontSize,10),l=r.getBoundingClientRect();a=l.width/u,s=l.height/u}return Promise.resolve([r,l2({content:r.innerHTML,width:a,height:s,transform:o,extra:i,watchable:!0})])}}},dA=new RegExp('"',"ug"),m2=[1105920,1112319],g2=Q(Q(Q(Q({},{FontAwesome:{normal:"fas",400:"fas"}}),PN),NI),jN),zg=Object.keys(g2).reduce(function(e,t){return e[t.toLowerCase()]=g2[t],e},{}),Y8=Object.keys(zg).reduce(function(e,t){var r=zg[t];return e[t]=r[900]||cr(Object.entries(r))[0][1],e},{});function Z8(e){var t=e.replace(dA,"");return Y4(cr(t)[0]||"")}function J8(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),r=e.getPropertyValue("content"),n=r.replace(dA,""),o=n.codePointAt(0),i=o>=m2[0]&&o<=m2[1],a=n.length===2?n[0]===n[1]:!1;return i||a||t}function X8(e,t){var r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(zg[r]||{})[o]||Y8[r]}function b2(e,t){var r="".concat(II).concat(t.replace(":","-"));return new Promise(function(n,o){if(e.getAttribute(r)!==null)return n();var i=Vi(e.children),a=i.filter(function(y){return y.getAttribute($g)===t})[0],s=Hn.getComputedStyle(e,t),u=s.getPropertyValue("font-family"),l=u.match(BI),c=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),n();if(l&&d!=="none"&&d!==""){var f=s.getPropertyValue("content"),p=X8(u,c),h=Z8(f),m=l[0].startsWith("FontAwesome"),v=J8(s),g=Ry(p,h),w=g;if(m){var _=l8(h);_.iconName&&_.prefix&&(g=_.iconName,p=_.prefix)}if(g&&!v&&(!a||a.getAttribute(vy)!==p||a.getAttribute(yy)!==w)){e.setAttribute(r,w),a&&e.removeChild(a);var R=L8(),x=R.extra;x.attributes[$g]=t,Lg(g,p).then(function(y){var b=xy(Q(Q({},R),{},{icons:{main:y,mask:oA()},prefix:p,iconName:w,extra:x,watchable:!0})),E=De.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(E,e.firstChild):e.appendChild(E),E.outerHTML=b.map(function(C){return Pc(C)}).join(`
|
|
569
|
+
`),e.removeAttribute(r),n()}).catch(o)}else n()}else n()})}function Q8(e){return Promise.all([b2(e,"::before"),b2(e,"::after")])}function ej(e){return e.parentNode!==document.head&&!~DI.indexOf(e.tagName.toUpperCase())&&!e.getAttribute($g)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var tj=function(t){return!!t&&F4.some(function(r){return t.includes(r)})},rj=function(t){if(!t)return[];var r=new Set,n=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});n=n.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(l){return l.trim()})});var o=Fd(n),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;if(tj(a)){var s=F4.reduce(function(u,l){return u.replace(l,"")},a);s!==""&&s!=="*"&&r.add(s)}}}catch(u){o.e(u)}finally{o.f()}return r};function v2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(mn){var r;if(t)r=e;else if(ie.searchPseudoElementsFullScan)r=e.querySelectorAll("*");else{var n=new Set,o=Fd(document.styleSheets),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;try{var s=Fd(a.cssRules),u;try{for(s.s();!(u=s.n()).done;){var l=u.value,c=rj(l.selectorText),d=Fd(c),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;n.add(p)}}catch(m){d.e(m)}finally{d.f()}}}catch(m){s.e(m)}finally{s.f()}}catch(m){ie.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(a.href," (").concat(m.message,`)
|
|
570
|
+
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(m){o.e(m)}finally{o.f()}if(!n.size)return;var h=Array.from(n).join(", ");try{r=e.querySelectorAll(h)}catch{}}return new Promise(function(m,v){var g=Vi(r).filter(ej).map(Q8),w=Cy.begin("searchPseudoElements");uA(),Promise.all(g).then(function(){w(),Bg(),m()}).catch(function(){w(),Bg(),v()})})}}var nj={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=v2,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,o=n===void 0?De:n;ie.searchPseudoElements&&v2(o)}}},y2=!1,oj={mixout:function(){return{dom:{unwatch:function(){uA(),y2=!0}}}},hooks:function(){return{bootstrap:function(){f2(Ig("mutationObserverCallbacks",{}))},noAuto:function(){N8()},watch:function(r){var n=r.observeMutationsRoot;y2?Bg():f2(Ig("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},w2=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,o){var i=o.toLowerCase().split("-"),a=i[0],s=i.slice(1).join("-");if(a&&s==="h")return n.flipX=!0,n;if(a&&s==="v")return n.flipY=!0,n;if(s=parseFloat(s),isNaN(s))return n;switch(a){case"grow":n.size=n.size+s;break;case"shrink":n.size=n.size-s;break;case"left":n.x=n.x-s;break;case"right":n.x=n.x+s;break;case"up":n.y=n.y-s;break;case"down":n.y=n.y+s;break;case"rotate":n.rotate=n.rotate+s;break}return n},r)},ij={mixout:function(){return{parse:{transform:function(r){return w2(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-transform");return o&&(r.transform=w2(o)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,o=r.transform,i=r.containerWidth,a=r.iconWidth,s={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),l="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),c="rotate(".concat(o.rotate," 0 0)"),d={transform:"".concat(u," ").concat(l," ").concat(c)},f={transform:"translate(".concat(a/2*-1," -256)")},p={outer:s,inner:d,path:f};return{tag:"g",attributes:Q({},p.outer),children:[{tag:"g",attributes:Q({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Q(Q({},n.icon.attributes),p.path)}]}]}}}},cm={x:0,y:0,width:"100%",height:"100%"};function E2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function aj(e){return e.tag==="g"?e.children:[e]}var sj={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-mask"),i=o?$p(o.split(" ").map(function(a){return a.trim()})):oA();return i.prefix||(i.prefix=Un()),r.mask=i,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,o=r.attributes,i=r.main,a=r.mask,s=r.maskId,u=r.transform,l=i.width,c=i.icon,d=a.width,f=a.icon,p=XI({transform:u,containerWidth:d,iconWidth:l}),h={tag:"rect",attributes:Q(Q({},cm),{},{fill:"white"})},m=c.children?{children:c.children.map(E2)}:{},v={tag:"g",attributes:Q({},p.inner),children:[E2(Q({tag:c.tag,attributes:Q(Q({},c.attributes),p.path)},m))]},g={tag:"g",attributes:Q({},p.outer),children:[v]},w="mask-".concat(s||t2()),_="clip-".concat(s||t2()),R={tag:"mask",attributes:Q(Q({},cm),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:_},children:aj(f)},R]};return n.push(x,{tag:"rect",attributes:Q({fill:"currentColor","clip-path":"url(#".concat(_,")"),mask:"url(#".concat(w,")")},cm)}),{children:n,attributes:o}}}},lj={provides:function(t){var r=!1;Hn.matchMedia&&(r=Hn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Q(Q({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Q(Q({},i),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Q(Q({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||s.children.push({tag:"animate",attributes:Q(Q({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;1;1;0;1;"})}),n.push(s),n.push({tag:"path",attributes:Q(Q({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:Q(Q({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Q(Q({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},uj={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return r.symbol=i,r}}}},cj=[t8,V8,W8,G8,K8,nj,oj,ij,sj,lj,uj];b8(cj,{mixoutsTo:Ut});Ut.noAuto;var _i=Ut.config;Ut.library;Ut.dom;var Py=Ut.parse;Ut.findIconDefinition;Ut.toHtml;var dj=Ut.icon;Ut.layer;var fj=Ut.text,pj=Ut.counter,dm={exports:{}},ia={};/**
|
|
571
|
+
* @license React
|
|
572
|
+
* react-jsx-runtime.production.js
|
|
573
|
+
*
|
|
574
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
575
|
+
*
|
|
576
|
+
* This source code is licensed under the MIT license found in the
|
|
577
|
+
* LICENSE file in the root directory of this source tree.
|
|
578
|
+
*/var _2;function hj(){if(_2)return ia;_2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return ia.Fragment=t,ia.jsx=r,ia.jsxs=r,ia}var S2;function mj(){return S2||(S2=1,dm.exports=hj()),dm.exports}var S=mj();const gj=xc(S),kme=Cp({__proto__:null,default:gj},[S]);function bj(e){return e=e-0,e===e}function fA(e){return bj(e)?e:(e=e.replace(/[_-]+(.)?/g,(t,r)=>r?r.toUpperCase():""),e.charAt(0).toLowerCase()+e.slice(1))}var vj=(e,t)=>Ap.createElement("stop",{key:`${t}-${e.offset}`,offset:e.offset,stopColor:e.color,...e.opacity!==void 0&&{stopOpacity:e.opacity}});function yj(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ho=new Map,wj=1e3;function Ej(e){if(Ho.has(e))return Ho.get(e);const t={};let r=0;const n=e.length;for(;r<n;){const o=e.indexOf(";",r),i=o===-1?n:o,a=e.slice(r,i).trim();if(a){const s=a.indexOf(":");if(s>0){const u=a.slice(0,s).trim(),l=a.slice(s+1).trim();if(u&&l){const c=fA(u);t[c.startsWith("webkit")?yj(c):c]=l}}}r=i+1}if(Ho.size===wj){const o=Ho.keys().next().value;o&&Ho.delete(o)}return Ho.set(e,t),t}function pA(e,t,r={}){if(typeof t=="string")return t;const n=(t.children||[]).map(d=>{let f=d;return("fill"in r||r.gradientFill)&&d.tag==="path"&&"fill"in d.attributes&&(f={...d,attributes:{...d.attributes,fill:void 0}}),pA(e,f)}),o=t.attributes||{},i={};for(const[d,f]of Object.entries(o))switch(!0){case d==="class":{i.className=f;break}case d==="style":{i.style=Ej(String(f));break}case d.startsWith("aria-"):case d.startsWith("data-"):{i[d.toLowerCase()]=f;break}default:i[fA(d)]=f}const{style:a,role:s,"aria-label":u,gradientFill:l,...c}=r;if(a&&(i.style=i.style?{...i.style,...a}:a),s&&(i.role=s),u&&(i["aria-label"]=u,i["aria-hidden"]="false"),l){i.fill=`url(#${l.id})`;const{type:d,stops:f=[],...p}=l;n.unshift(e(d==="linear"?"linearGradient":"radialGradient",{...p,id:l.id},f.map(vj)))}return e(t.tag,{...i,...c},...n)}var Ty=pA.bind(null,Ap.createElement),R2=(e,t)=>{const r=z.useId();return e||(t?r:void 0)},_j=class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t=typeof process<"u"&&!1}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}},Sj="searchPseudoElementsFullScan"in _i&&typeof _i.searchPseudoElementsFullScan=="boolean"?"7.0.0":"6.0.0",Rj=Number.parseInt(Sj)>=7,xj=()=>Rj,Ou="fa",at={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse",flip360:"fa-flip-360",buzz:"fa-buzz",float:"fa-float",jello:"fa-jello",spinSnap:"fa-spin-snap",spinSnap4:"fa-spin-snap-4",spinSnap8:"fa-spin-snap-8",swing:"fa-swing",wag:"fa-wag"},Cj={left:"fa-pull-left",right:"fa-pull-right"},Aj={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Pj={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},jt={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto",canvasSquare:"fa-canvas-square",canvasRoomy:"fa-canvas-roomy"},Tj={default:"fa-layers"};function Hg(e){const t=_i.cssPrefix||_i.familyPrefix||Ou;return t===Ou?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Ou}-`,"g"),`${t}-`)}function Oj(e){const{beat:t,fade:r,beatFade:n,bounce:o,shake:i,spin:a,spinPulse:s,spinReverse:u,pulse:l,fixedWidth:c,inverse:d,border:f,flip:p,size:h,rotation:m,pull:v,swapOpacity:g,rotateBy:w,widthAuto:_,canvasSquare:R,canvasRoomy:x,flip360:y,buzz:b,float:E,jello:C,spinSnap:N,spinSnap4:q,spinSnap8:H,swing:F,wag:T,className:k}=e,I=[];return k&&I.push(...k.split(" ")),t&&I.push(at.beat),r&&I.push(at.fade),n&&I.push(at.beatFade),o&&I.push(at.bounce),i&&I.push(at.shake),a&&I.push(at.spin),u&&I.push(at.spinReverse),s&&I.push(at.spinPulse),l&&I.push(at.pulse),c&&I.push(jt.fixedWidth),d&&I.push(jt.inverse),f&&I.push(jt.border),p===!0&&I.push(jt.flip),(p==="horizontal"||p==="both")&&I.push(jt.flipHorizontal),(p==="vertical"||p==="both")&&I.push(jt.flipVertical),h!=null&&I.push(Pj[h]),m!=null&&m!==0&&I.push(Aj[m]),v!=null&&I.push(Cj[v]),g&&I.push(jt.swapOpacity),xj()?(w&&I.push(jt.rotateBy),_&&I.push(jt.widthAuto),R&&I.push(jt.canvasSquare),x&&I.push(jt.canvasRoomy),y&&I.push(at.flip360),b&&I.push(at.buzz),E&&I.push(at.float),C&&I.push(at.jello),N&&I.push(at.spinSnap),q&&I.push(at.spinSnap4),H&&I.push(at.spinSnap8),F&&I.push(at.swing),T&&I.push(at.wag),(_i.cssPrefix||_i.familyPrefix||Ou)===Ou?I:I.map(Hg)):I}var $j=e=>typeof e=="object"&&"icon"in e&&!!e.icon;function x2(e){if(e)return $j(e)?e:Py.icon(e)}function qj(e){return Object.keys(e)}var C2=new _j("FontAwesomeIcon"),hA={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1,canvasSquare:!1,canvasRoomy:!1,flip360:!1,buzz:!1,float:!1,jello:!1,spinSnap:!1,spinSnap4:!1,spinSnap8:!1,swing:!1,wag:!1},kj=new Set(Object.keys(hA)),Oy=Ap.forwardRef((e,t)=>{const r={...hA,...e},{icon:n,mask:o,symbol:i,title:a,titleId:s,maskId:u,transform:l}=r,c=R2(u,!!o),d=R2(s,!!a),f=x2(n);if(!f)return C2.error("Icon lookup is undefined",n),null;const p=Oj(r),h=typeof l=="string"?Py.transform(l):l,m=x2(o),v=dj(f,{...p.length>0&&{classes:p},...h&&{transform:h},...m&&{mask:m},symbol:i,title:a,titleId:d,maskId:c});if(!v)return C2.error("Could not find icon",f),null;const{abstract:g}=v,w={ref:t};for(const _ of qj(r))kj.has(_)||(w[_]=r[_]);return Ty(g[0],w)});Oy.displayName="FontAwesomeIcon";var Mj=`${Tj.default} ${jt.fixedWidth}`,Nj=({children:e,className:t,size:r,...n})=>{const o=Hg(Mj),i=t?`${o} ${t}`:o,a=S.jsx("span",{...n,className:i,children:e});return r?S.jsx("div",{className:Hg(`fa-${r}`),children:a}):a},Ij=({text:e,className:t,inverse:r,transform:n,style:o,...i})=>{const a=z.useMemo(()=>fj(e,{classes:[...t?.split(" ")||[],...r?[jt.inverse]:[]],transform:typeof n=="string"?Py.transform(n):n}).abstract[0],[e,n,t,r]);return Ty(a,{...i,style:o})},jj=({count:e,className:t,style:r,...n})=>{const o=z.useMemo(()=>pj(e,{classes:t?.split(" ")}).abstract[0],[e,t]);return Ty(o,{...n,style:r})};const Mme=Object.freeze(Object.defineProperty({__proto__:null,FontAwesomeIcon:Oy,FontAwesomeLayers:Nj,LayersCounter:jj,LayersText:Ij},Symbol.toStringTag,{value:"Module"}));var fm={exports:{}},gt={};/**
|
|
579
|
+
* @license React
|
|
580
|
+
* react-dom.production.js
|
|
581
|
+
*
|
|
582
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
583
|
+
*
|
|
584
|
+
* This source code is licensed under the MIT license found in the
|
|
585
|
+
* LICENSE file in the root directory of this source tree.
|
|
586
|
+
*/var A2;function Dj(){if(A2)return gt;A2=1;var e=u4();function t(u){var l="https://react.dev/errors/"+u;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)l+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+u+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(u,l,c){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:d==null?null:""+d,children:u,containerInfo:l,implementation:c}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(u,l){if(u==="font")return"";if(typeof l=="string")return l==="use-credentials"?l:""}return gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,gt.createPortal=function(u,l){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)throw Error(t(299));return i(u,l,null,c)},gt.flushSync=function(u){var l=a.T,c=n.p;try{if(a.T=null,n.p=2,u)return u()}finally{a.T=l,n.p=c,n.d.f()}},gt.preconnect=function(u,l){typeof u=="string"&&(l?(l=l.crossOrigin,l=typeof l=="string"?l==="use-credentials"?l:"":void 0):l=null,n.d.C(u,l))},gt.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},gt.preinit=function(u,l){if(typeof u=="string"&&l&&typeof l.as=="string"){var c=l.as,d=s(c,l.crossOrigin),f=typeof l.integrity=="string"?l.integrity:void 0,p=typeof l.fetchPriority=="string"?l.fetchPriority:void 0;c==="style"?n.d.S(u,typeof l.precedence=="string"?l.precedence:void 0,{crossOrigin:d,integrity:f,fetchPriority:p}):c==="script"&&n.d.X(u,{crossOrigin:d,integrity:f,fetchPriority:p,nonce:typeof l.nonce=="string"?l.nonce:void 0})}},gt.preinitModule=function(u,l){if(typeof u=="string")if(typeof l=="object"&&l!==null){if(l.as==null||l.as==="script"){var c=s(l.as,l.crossOrigin);n.d.M(u,{crossOrigin:c,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0})}}else l==null&&n.d.M(u)},gt.preload=function(u,l){if(typeof u=="string"&&typeof l=="object"&&l!==null&&typeof l.as=="string"){var c=l.as,d=s(c,l.crossOrigin);n.d.L(u,c,{crossOrigin:d,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0,type:typeof l.type=="string"?l.type:void 0,fetchPriority:typeof l.fetchPriority=="string"?l.fetchPriority:void 0,referrerPolicy:typeof l.referrerPolicy=="string"?l.referrerPolicy:void 0,imageSrcSet:typeof l.imageSrcSet=="string"?l.imageSrcSet:void 0,imageSizes:typeof l.imageSizes=="string"?l.imageSizes:void 0,media:typeof l.media=="string"?l.media:void 0})}},gt.preloadModule=function(u,l){if(typeof u=="string")if(l){var c=s(l.as,l.crossOrigin);n.d.m(u,{as:typeof l.as=="string"&&l.as!=="script"?l.as:void 0,crossOrigin:c,integrity:typeof l.integrity=="string"?l.integrity:void 0})}else n.d.m(u)},gt.requestFormReset=function(u){n.d.r(u)},gt.unstable_batchedUpdates=function(u,l){return u(l)},gt.useFormState=function(u,l,c){return a.H.useFormState(u,l,c)},gt.useFormStatus=function(){return a.H.useHostTransitionStatus()},gt.version="19.2.7",gt}var P2;function Lj(){if(P2)return fm.exports;P2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fm.exports=Dj(),fm.exports}var Tc=Lj();const Fj=xc(Tc),Nme=Cp({__proto__:null,default:Fj},[Tc]),Pr="/__editor";function Bj(e,t){return`${e}: this origin answered with its page fallback (${t||"no content-type"}) rather than JSON, so no editor server handled the request.`}function Si(e,t){const r=e.headers.get("content-type")??"";if(!r.includes("application/json"))throw new Error(Bj(t,r))}function kp(e,t){if(!e.ok)throw new Error(`${t} (${e.status}).`);Si(e,t)}async function Mo(e,t){return kp(e,t),await e.json()}let pn=null;function zj(e){pn={command:e.command,displayName:e.displayName,upgrade:e.upgrade===!0}}function Ime(){return pn}function jme(){return pn?.command??null}function Dme(e){return pn?`\`${pn.command} ${e}\``:`the editor's \`${e}\` command`}function Hj(){return(typeof navigator<"u"?navigator.platform.startsWith("Win"):globalThis.process?.platform==="win32")?"npx.cmd":"npx"}function Uj(e){return pn?`${Hj()} --no-install ${pn.command} ${e}`:null}function Lme(e){return pn?e.map(t=>Uj(t)).join(`
|
|
587
|
+
`):`the editor's ${e.map(t=>`\`${t}\``).join(", then ")}`}function Fme(){return pn?.displayName??"the editor"}let pm=null;function Bme(){return pm??=fetch("/__editor/project").then(e=>e.json()).then(e=>{const t=e.product;t&&typeof t.command=="string"&&typeof t.displayName=="string"&&zj({command:t.command,displayName:t.displayName,upgrade:t.upgrade===!0})}).catch(()=>{pm=null}),pm}const Vj=3e3;let Ug=null,ad=null,Wj=1;const Vg=new Set;function T2(){for(const e of Vg)e()}function Gj(e){Ug={id:Wj++,message:e},ad&&clearTimeout(ad),ad=setTimeout(()=>{Ug=null,ad=null,T2()},Vj),T2()}const Kj=e=>(Vg.add(e),()=>{Vg.delete(e)}),O2=()=>Ug,Yj={"source-prop":!0,"source-structure":!0,"construction-literal":!0,"physics-binding":!0,"data-record":!0,"live-only":!0},zme=Object.keys(Yj),Zj={provenance:!0,selection:!0,transforms:!0,inspector:!0,related:!0,instances:!0,structure:!0,persistence:!0,pickable:!0,rects:!0,boxEdit:!0,text:!0,colorSample:!0,stories:!0,truth:!0,spatialHandles:!0,assetDrop:!0,subscribe:!0},Jj=Object.keys(Zj),Tf={claim:0,shape:1,operation:2,effect:3,"round-trip":4};function Xj(e,t){return Tf[e]>=Tf[t]}function $2(e){const{seam:t,subject:r,epoch:n,required:o}=e;if(e.notApplicable!==void 0)return{seam:t,subject:r,epoch:n,required:o,state:"not-applicable",receipt:null,detail:e.notApplicable};let i=null;for(const a of e.receipts)a.seam!==t||a.subject!==r||a.epoch!==n||(!i||Tf[a.stage]>=Tf[i.stage])&&(i=a);return i?i.outcome==="fail"?{seam:t,subject:r,epoch:n,required:o,state:"failed",receipt:i,detail:i.detail}:i.outcome==="absent"?{seam:t,subject:r,epoch:n,required:o,state:"absent",receipt:i,detail:i.detail}:Xj(i.stage,o)?{seam:t,subject:r,epoch:n,required:o,state:"verified",receipt:i,detail:i.detail}:{seam:t,subject:r,epoch:n,required:o,state:"unverified",receipt:i,detail:`${i.detail}; this proves ${i.stage}, but this seam requires ${o}`}:{seam:t,subject:r,epoch:n,required:o,state:"unverified",receipt:null,detail:`no current-epoch evidence has reached the required ${o} stage`}}class Qj{#e=[];record(t){if(!t.seam||!t.subject||!t.epoch||!t.detail.trim())throw new Error("seam evidence requires non-empty seam, subject, epoch, and detail");this.#e.push(t)}receipts(t){return this.#e.filter(r=>(t?.subject===void 0||r.subject===t.subject)&&(t?.epoch===void 0||r.epoch===t.epoch))}clear(){this.#e.length=0}}function dt(){return e=>e}function eD(e){if(e.value===void 0)return{seam:e.seam,subject:e.subject,epoch:e.epoch,stage:"shape",outcome:e.optional?"absent":"fail",source:"shape-check",detail:e.optional?`${e.seam} is not exposed by this subject`:`${e.seam} is required by the contract but is absent`};const t=typeof e.value,r=e.kind==="function"?t==="function":t!=="function";return{seam:e.seam,subject:e.subject,epoch:e.epoch,stage:"shape",outcome:r?"pass":"fail",source:"shape-check",detail:r?`${e.seam} has the contract's ${e.kind} shape`:`${e.seam} is ${t}; the contract requires a ${e.kind}`}}function hm(e){const t=[],r=e.value!==null&&(typeof e.value=="object"||typeof e.value=="function")?e.value:null,n=Object.entries(e.shape);for(const[o,i]of n){const a=`${e.prefix}.${o}`,s=r?.[o];t.push(eD({seam:a,subject:e.subject,epoch:e.epoch,value:s,optional:i.optional,kind:i.kind}))}return t}function q2(e){const t=$2(e);if(t.state==="absent"||t.state==="failed"||!e.shape)return t;for(const[r,n]of Object.entries(e.shape)){const o=$2({seam:`${e.seam}.${r}`,subject:e.subject,epoch:e.epoch,required:n.required,receipts:e.receipts});if(!(n.optional&&o.state==="absent")){if(o.state==="failed"||o.state==="absent")return{...t,state:"failed",receipt:o.receipt,detail:`${e.seam} is malformed: ${o.detail}`};if(o.state!=="verified")return{...t,state:"unverified",detail:`${e.seam} has the required shape, but ${o.seam} is unverified: ${o.detail}`}}}return t}const mm=dt()({capabilities:{optional:!1,kind:"value",required:"shape"},provenance:{optional:!0,kind:"value",required:"shape"},hierarchy:{optional:!1,kind:"value",required:"operation"},selection:{optional:!0,kind:"value",required:"effect"},transforms:{optional:!0,kind:"value",required:"effect"},inspector:{optional:!0,kind:"value",required:"effect"},related:{optional:!0,kind:"value",required:"operation"},instances:{optional:!0,kind:"value",required:"effect"},structure:{optional:!0,kind:"value",required:"round-trip"},persistence:{optional:!0,kind:"value",required:"round-trip"},pickable:{optional:!0,kind:"value",required:"operation"},rects:{optional:!0,kind:"value",required:"operation"},boxEdit:{optional:!0,kind:"value",required:"effect"},text:{optional:!0,kind:"value",required:"effect"},colorSample:{optional:!0,kind:"value",required:"operation"},stories:{optional:!0,kind:"value",required:"effect"},truth:{optional:!0,kind:"value",required:"operation"},spatialHandles:{optional:!0,kind:"value",required:"effect"},assetDrop:{optional:!0,kind:"value",required:"round-trip"},subscribe:{optional:!0,kind:"function",required:"effect"}}),k2=dt()({roots:{optional:!1,kind:"function",required:"operation"},node:{optional:!1,kind:"function",required:"operation"},crossSurfaceStructureSignature:{optional:!0,kind:"function",required:"operation"},nativeObject:{optional:!0,kind:"function",required:"operation"},idForNativeObject:{optional:!0,kind:"function",required:"operation"}}),tD=dt()({get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"},resolve:{optional:!0,kind:"function",required:"operation"}}),rD=dt()({dimensions:{optional:!0,kind:"function",required:"operation"},get:{optional:!1,kind:"function",required:"operation"},editability:{optional:!0,kind:"function",required:"operation"},beginEdit:{optional:!1,kind:"function",required:"effect"},apply:{optional:!1,kind:"function",required:"effect"},endEdit:{optional:!1,kind:"function",required:"effect"},remove:{optional:!0,kind:"function",required:"round-trip"},sourceCommit:{optional:!0,kind:"value",required:"round-trip"}}),nD=dt()({properties:{optional:!1,kind:"function",required:"operation"},get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"},preview:{optional:!0,kind:"function",required:"effect"},editability:{optional:!0,kind:"function",required:"operation"},remove:{optional:!0,kind:"function",required:"round-trip"}}),oD=dt()({links:{optional:!1,kind:"function",required:"operation"}}),iD=dt()({describe:{optional:!1,kind:"function",required:"operation"},openComponent:{optional:!0,kind:"function",required:"effect"},revert:{optional:!1,kind:"function",required:"round-trip"},applyToComponent:{optional:!1,kind:"function",required:"round-trip"}}),aD=dt()({create:{optional:!1,kind:"function",required:"round-trip"},remove:{optional:!1,kind:"function",required:"round-trip"},duplicate:{optional:!1,kind:"function",required:"round-trip"},duplicateMany:{optional:!0,kind:"function",required:"round-trip"},reparent:{optional:!1,kind:"function",required:"round-trip"},reorder:{optional:!0,kind:"function",required:"round-trip"},creatableKinds:{optional:!0,kind:"function",required:"operation"},wrap:{optional:!0,kind:"function",required:"round-trip"},unwrap:{optional:!0,kind:"function",required:"round-trip"},group:{optional:!0,kind:"function",required:"round-trip"},ungroup:{optional:!0,kind:"function",required:"round-trip"},canUngroup:{optional:!0,kind:"function",required:"operation"},removeMany:{optional:!0,kind:"function",required:"round-trip"},copy:{optional:!0,kind:"function",required:"effect"},canCopy:{optional:!0,kind:"function",required:"operation"},cut:{optional:!0,kind:"function",required:"round-trip"},paste:{optional:!0,kind:"function",required:"round-trip"},canPaste:{optional:!0,kind:"function",required:"operation"}}),sD=dt()({isDirty:{optional:!1,kind:"function",required:"operation"},lastError:{optional:!0,kind:"function",required:"operation"},save:{optional:!1,kind:"function",required:"round-trip"},destination:{optional:!1,kind:"value",required:"shape"},applyExternal:{optional:!0,kind:"function",required:"effect"}}),lD=dt()({pick:{optional:!1,kind:"function",required:"operation"},candidates:{optional:!0,kind:"function",required:"operation"}}),uD=dt()({storiesFor:{optional:!1,kind:"function",required:"operation"},active:{optional:!1,kind:"function",required:"operation"},apply:{optional:!1,kind:"function",required:"effect"},unavailable:{optional:!0,kind:"function",required:"operation"}}),cD=dt()({accepts:{optional:!1,kind:"function",required:"operation"},drop:{optional:!1,kind:"function",required:"round-trip"}}),dD=dt()({rect:{optional:!1,kind:"function",required:"operation"},contextRects:{optional:!0,kind:"function",required:"operation"},emptyContainers:{optional:!0,kind:"function",required:"operation"},frame:{optional:!0,kind:"function",required:"operation"}}),fD=dt()({begin:{optional:!1,kind:"function",required:"effect"},apply:{optional:!1,kind:"function",required:"effect"},end:{optional:!1,kind:"function",required:"effect"},gizmoOrigin:{optional:!0,kind:"function",required:"operation"},referencePoint:{optional:!0,kind:"function",required:"operation"}}),pD=dt()({get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"}}),hD=dt()({backgroundChainAt:{optional:!1,kind:"function",required:"operation"}}),mD=dt()({resolve:{optional:!1,kind:"function",required:"operation"}}),gD=dt()({layers:{optional:!1,kind:"function",required:"operation"},preview:{optional:!1,kind:"function",required:"effect"},commit:{optional:!1,kind:"function",required:"round-trip"}}),M2={selection:tD,transforms:rD,inspector:nD,related:oD,instances:iD,structure:aD,persistence:sD,pickable:lD,rects:dD,boxEdit:fD,text:pD,colorSample:hD,stories:uD,truth:mD,spatialHandles:gD,assetDrop:cD},mA=new Qj;function bD(e){mA.record(e)}const N2=new WeakMap;let vD=1;function gA(e){const t=e,r=N2.get(t);if(r)return r;const n=`authoring-${vD++}`;return N2.set(t,n),n}function Wg(e){const t=gA(e.adapter),r=(i,a)=>bD({seam:i,subject:"authoring-adapter",epoch:t,stage:e.stage,outcome:e.outcome,source:"consumer",detail:a});r(e.seam,e.detail);const n=e.seam.split(".");if(n.length<3)return;const o=n.slice(0,-1).join(".");r(o,e.outcome==="pass"?`${o} served a real consumer ${e.stage}`:`${o} failed through its consumer: ${e.detail}`)}function yD(e){if(!e||typeof e!="object")return null;const t=e;return typeof t.destination=="string"&&typeof t.persisted=="boolean"?t:null}function zt(e){const t=(r,n)=>{Wg({...e,outcome:r,detail:n})};try{const r=e.run();return r&&typeof r.then=="function"?Promise.resolve(r).then(n=>(t("pass",e.detail),n),n=>{throw t("fail",`${e.detail} failed: ${n instanceof Error?n.message:String(n)}`),n}):(t("pass",e.detail),r)}catch(r){throw t("fail",`${e.detail} failed: ${r instanceof Error?r.message:String(r)}`),r}}function qr(e){const t=n=>{const o=yD(n);return Wg({adapter:e.adapter,seam:e.seam,stage:o?"round-trip":"effect",outcome:"pass",detail:o?`${e.detail}: ${o.destination} (${o.persisted?"persisted":"live-only"})`:`${e.detail}; the provider returned no write acknowledgement`}),n},r=n=>{throw Wg({adapter:e.adapter,seam:e.seam,stage:"round-trip",outcome:"fail",detail:`${e.detail} failed: ${n instanceof Error?n.message:String(n)}`}),n};try{const n=e.run();return n&&typeof n.then=="function"?Promise.resolve(n).then(t,r):t(n)}catch(n){return r(n)}}function wD(e){const{adapter:t,subject:r}=e,n=e.epoch??gA(t),o=[...hm({prefix:"editor",value:t,shape:mm,subject:r,epoch:n}),...hm({prefix:"editor.hierarchy",value:t.hierarchy,shape:k2,subject:r,epoch:n})];for(const[a,s]of Object.entries(M2))o.push(...hm({prefix:`editor.${a}`,value:t[a],shape:s,subject:r,epoch:n}));o.push(...mA.receipts({epoch:n}).map(a=>({...a,subject:r}))),e.receipts&&o.push(...e.receipts);const i={};for(const a of Jj){const s=M2[a];i[a]=q2({seam:`editor.${a}`,required:mm[a].required,shape:s,subject:r,epoch:n,receipts:o})}return{subject:r,epoch:n,receipts:o,providers:i,hierarchy:q2({seam:"editor.hierarchy",required:mm.hierarchy.required,shape:k2,subject:r,epoch:n,receipts:o})}}const I2="no-authoring:root";function ED(e,t,r="No authoring surface"){const n={id:I2,label:t,secondaryLabel:r,role:"boundary",kind:"object",parentId:null,childIds:[]};return{capabilities:{transform:!1,inspectorFields:!1,persist:!1},hierarchy:{roots:()=>[n],node:a=>a===I2?n:null},selection:{get:()=>[...e.selectedEntityIds],set:a=>e.selectMultiple(a)},subscribe:a=>e.subscribe(a)}}const j2=new WeakMap;let Wn=null;const Gg=new Set;let bA=0;function Hme(e){return Gg.add(e),()=>{Gg.delete(e)}}function Ume(){return bA}function Vme(e){if(Wn!==e){if(e){const t=wD({adapter:e,subject:"active-authoring"}),r=[t.hierarchy,...Object.values(t.providers)].filter(n=>n.state==="failed");if(r.length>0)throw new Error(`authoring adapter refused: ${r.map(n=>n.detail).join("; ")}`)}Wn=e,bA++;for(const t of[...Gg])t()}}function Wme(){return Wn!==null}const vA=Symbol("volter.editModeComposite");function Gme(e){e[vA]=!0}function Kme(){return Wn!==null&&Wn[vA]===!0}function Yme(){return Wn}function Zme(e){const t=[],r=n=>{t.push(n.id);for(const o of n.childIds){const i=e.hierarchy.node(o);i&&r(i)}};for(const n of e.hierarchy.roots())r(n);return t}function mr(e){if(Wn)return Wn;let t=j2.get(e);return t||(t=ED(e,"No authoring adapter"),j2.set(e,t)),t}const D2="no live object for this selection",Jme="__volterRecordCreationSite";function _D(e){if(typeof e!="object"||e===null)return!1;const t=e.name;return t==="Canceled"||t==="CancellationError"||t==="AbortError"}const SD=["chrome-extension:","moz-extension:","safari-web-extension:"];function RD(e){const t=e.filename??"";return SD.some(r=>t.startsWith(r))}const xD=1e3;class CD{_entries=[];_listeners=new Set;_nextId=0;_version=0;_notifyScheduled=!1;counts={info:0,warn:0,error:0};log(t,r){this._push("info",t,r)}warn(t,r){this._push("warn",t,r)}error(t,r){this._push("error",t,r)}logStructured(t,r,n,o,i){this._push(t,r,n,o,i)}clear(){this._entries=[],this.counts={info:0,warn:0,error:0},this._notify()}getEntries(){return this._entries}subscribe=t=>(this._listeners.add(t),()=>this._listeners.delete(t));getSnapshot=()=>this._version;_push(t,r,n,o,i){const a=this._entries[this._entries.length-1];if(a&&a.level===t&&a.message===r&&a.source===n&&a.metadata?.instanceId===i?.instanceId){a.count++,a.timestamp=Date.now(),this._notify();return}const s={id:this._nextId++,timestamp:Date.now(),level:t,message:r,count:1};if(n&&(s.source=n),o&&(s.subsystem=o),i&&(s.metadata=i),this._entries.push(s),this.counts[t]++,this._entries.length>xD){const u=this._entries.shift();this.counts[u.level]=Math.max(0,this.counts[u.level]-1)}this._notify()}_notify(){this._version++,!this._notifyScheduled&&(this._notifyScheduled=!0,queueMicrotask(()=>{this._notifyScheduled=!1;for(const t of this._listeners)t()}))}}const Te=new CD;typeof window<"u"&&(window.__volterEditorConsole=Te);const L2=1e3,F2=4e3;function fi(e){try{const t=e;return typeof e=="object"&&t!==null&&typeof t.stack=="string"&&t.stack!==""&&typeof t.message=="string"?t.stack.includes(t.message)?t.stack:`${String(e)}
|
|
588
|
+
${t.stack}`:String(e)}catch{return Object.prototype.toString.call(e)}}function AD(e){if(typeof e!="object"||e===null)return fi(e);const t=new WeakSet;let r;try{r=JSON.stringify(e,(n,o)=>typeof o!="object"||o===null?o:t.has(o)?"[Circular]":(t.add(o),o))}catch{r=void 0}return r===void 0?fi(e):r.length>L2?`${r.slice(0,L2)}…`:r}function PD(e){if(e.length===0)return"";const[t,...r]=e;if(typeof t!="string"||r.length===0)return e.map(fi).join(" ");let n=0;const o=t.replace(/%([sdifoOjc%])/g,(a,s)=>{if(s==="%")return"%";if(n>=r.length)return a;const u=r[n++];switch(s){case"s":return typeof u=="string"?u:fi(u);case"d":case"i":{if(typeof u=="symbol")return"NaN";if(typeof u=="bigint")return String(u);const l=Number(u);return Number.isFinite(l)?String(Math.trunc(l)):String(l)}case"f":return typeof u=="symbol"?"NaN":String(Number(u));case"c":return"";default:return AD(u)}}),i=r.slice(n);return i.length===0?o:`${o} ${i.map(fi).join(" ")}`}function TD(e,t){const r=e[0];if(typeof r!="string"||!/^(Encountered two children with the same key|Each child in a list should have a unique|Maximum update depth exceeded|Cannot update a component)/.test(r))return t;try{const n=z.captureOwnerStack?.();return n?`${t}
|
|
589
|
+
Owner stack:${n}`:t}catch{return t}}function B2(e,t={}){const r=e instanceof Error?`${e.name}: ${e.message}`:fi(e),n=[t.source?`[${t.source}] ${r}`:r],o=t.componentStack?.trim();o&&n.push(`Component stack:
|
|
590
|
+
${o}`),e instanceof Error&&e.stack&&e.stack!==r&&n.push(`JavaScript stack:
|
|
591
|
+
${e.stack}`);const i=n.join(`
|
|
592
|
+
`);return i.length>F2?`${i.slice(0,F2)}…`:i}let aa=null,sd=null;function Xme(e){if(aa)return()=>{};const t=console.error,r=console.warn;aa=t,sd=r;const n=(s,u)=>{const l=TD(u,PD(u));Te.logStructured(s,l,e(l))};console.error=(...s)=>{t.apply(console,s),n("error",s)},console.warn=(...s)=>{r.apply(console,s),n("warn",s)};const o=s=>{if(RD(s))return;const u=s.filename?`${s.filename}${s.lineno?`:${s.lineno}${s.colno?`:${s.colno}`:""}`:""}`:void 0;Te.error(B2(s.error??s.message,u?{source:u}:void 0),"runtime")},i=s=>{_D(s.reason)||Te.error(`Unhandled promise rejection: ${B2(s.reason)}`,"runtime")},a=typeof window<"u";return a&&(window.addEventListener("error",o),window.addEventListener("unhandledrejection",i)),()=>{aa&&(console.error=aa),sd&&(console.warn=sd),aa=null,sd=null,a&&(window.removeEventListener("error",o),window.removeEventListener("unhandledrejection",i))}}const OD={log:"info",warn:"warn",error:"error"},$D={trace:"info",debug:"info",info:"info",warn:"warn",error:"error",fatal:"error"};typeof window<"u"&&window.addEventListener("message",e=>{if(e.data?.type==="engine-log"){const t=$D[e.data.level];if(!t)return;Te.logStructured(t,e.data.message,"engine",e.data.subsystem,e.data.metadata);return}if(e.data?.type==="console-bridge"){const t=OD[e.data.level];if(!t)return;Te[t==="info"?"log":t](e.data.message,"engine")}});function Mp(e,t){const r=[...e.roots()],n=new Set;for(let o=0;o<r.length;o+=1){const i=r[o];if(!n.has(i.id)){if(n.add(i.id),t(i)===!1)return;for(const a of i.childIds){const s=e.node(a);s&&r.push(s)}}}}function Wi(e,t,r){const n=e.selection;return n?(zt({adapter:e,seam:"editor.selection.set",stage:"effect",detail:`the editor selected ${t.length} authoring subject(s)`,run:()=>n.set([...t],r)}),!0):!1}function qD(e,t){const r=e.transforms;return r?(zt({adapter:e,seam:"editor.transforms.beginEdit",stage:"effect",detail:`the editor began a transform gesture on ${t}`,run:()=>r.beginEdit(t)}),!0):!1}function kD(e,t,r){const n=e.transforms;return n?(zt({adapter:e,seam:"editor.transforms.apply",stage:"effect",detail:`the editor applied a transform to ${t}`,run:()=>n.apply(t,r)}),!0):!1}function MD(e,t){const r=e.transforms;if(r)return qr({adapter:e,seam:"editor.transforms.endEdit",detail:`the editor completed a transform gesture on ${t}`,run:()=>r.endEdit(t)})}function ND(e,t,r){const n=e.transforms?.remove;if(n)return qr({adapter:e,seam:"editor.transforms.remove",detail:`the editor removed transform ${r} from ${t}`,run:()=>n(t,r)})}function ID(e,t){const r=e.transforms?.sourceCommit;if(r)return qr({adapter:e,seam:"editor.transforms.sourceCommit",detail:`the user committed the live transform of ${t} to source`,run:()=>r.commit(t)})}async function yA(e,t="the editor saved the active authoring document"){const r=e.persistence;if(r){if(!r.isDirty()){await r.save();return}await zt({adapter:e,seam:"editor.persistence.save",stage:"round-trip",detail:`${t} to ${r.destination}`,run:()=>r.save()})}}function jD(e,t,r,n){const o=e.inspector;if(o)return qr({adapter:e,seam:"editor.inspector.set",detail:`the editor wrote ${r} on ${t}`,run:()=>o.set(t,r,n)})}function Qme(e,t,r){const n=e.inspector?.remove;if(n)return qr({adapter:e,seam:"editor.inspector.remove",detail:`the editor removed ${r} from ${t}`,run:()=>n(t,r)})}function DD(e,t,r,n){const o=e.assetDrop;if(o)return qr({adapter:e,seam:"editor.assetDrop.drop",detail:`the editor dropped ${r} on ${t||"the root"}`,run:()=>o.drop(t,r,n)})}function ege(e,t){const r=e.instances;r?.openComponent&&zt({adapter:e,seam:"editor.instances.openComponent",stage:"effect",detail:`the Inspector opened the component owning ${t}`,run:()=>r.openComponent?.(t)})}function LD(e,t,r){const n=e.instances;return n?Promise.resolve(qr({adapter:e,seam:"editor.instances.revert",detail:`the Inspector reverted ${r.length} override(s) on ${t}`,run:()=>n.revert(t,r)})).then(o=>o??void 0):Promise.resolve(void 0)}async function FD(e,t,r){const n=e.instances;if(!n)return{changed:!1,message:"This subject has no component instance."};const o=await n.applyToComponent(t,r);return await qr({adapter:e,seam:"editor.instances.applyToComponent",detail:`the Inspector applied ${r} from ${t} to its component`,run:()=>o.write}),o}function kr(e,t,r,n){return qr({adapter:e,seam:`editor.structure.${t}`,detail:r,run:n})}function $y(e,t,r,n){const o=zt({adapter:e,seam:`editor.structure.${t}`,stage:"effect",detail:r,run:n});return{...o,ack:kr(e,t,r,()=>o.ack)}}function BD(e,t,r){const n=e.structure;return n?$y(e,"create",`the editor created a ${t} under ${r??"the document root"}`,()=>n.create(t,r)):{id:"",ack:void 0}}function z2(e,t){const r=e.structure;if(r)return kr(e,"remove",`the editor removed ${t}`,()=>r.remove(t))}function zD(e,t){const r=e.structure;if(r?.removeMany)return kr(e,"removeMany",`the editor removed ${t.length} selected node(s) as one operation`,()=>r.removeMany?.(t))}function HD(e,t){const r=e.structure;return r?$y(e,"duplicate",`the editor duplicated ${t}`,()=>r.duplicate(t)):{id:t,ack:void 0}}function tge(e,t){const r=e.structure;if(r?.duplicateMany)return kr(e,"duplicateMany",`the editor duplicated ${t.length} selected node(s) as one operation`,()=>r.duplicateMany?.(t))}function gm(e,t,r){const n=e.structure;if(n)return kr(e,"reparent",`the editor reparented ${t} under ${r??"the document root"}`,()=>n.reparent(t,r))}function UD(e,t,r){const n=e.structure;if(n?.reorder)return kr(e,"reorder",`the editor reordered ${t} before ${r??"the end"}`,()=>n.reorder?.(t,r))}function VD(e,t,r){const n=e.structure;if(n?.wrap)return kr(e,"wrap",`the editor wrapped ${t}`,()=>n.wrap?.(t,r))}function WD(e,t){const r=e.structure;if(r?.unwrap)return kr(e,"unwrap",`the editor unwrapped ${t}`,()=>r.unwrap?.(t))}function GD(e,t){const r=e.structure;return r?.group?$y(e,"group",`the editor grouped ${t.length} selected node(s)`,()=>r.group?.(t)??{id:null,ack:void 0}):{id:null,ack:void 0}}function KD(e,t){const r=e.structure;if(!r?.ungroup)return{ids:[],ack:void 0};const n=zt({adapter:e,seam:"editor.structure.ungroup",stage:"effect",detail:`the editor ungrouped ${t}`,run:()=>r.ungroup?.(t)??{ids:[],ack:void 0}});return{...n,ack:kr(e,"ungroup",`the editor ungrouped ${t}`,()=>n.ack)}}async function YD(e,t){const r=e.structure;return r?.copy?await zt({adapter:e,seam:"editor.structure.copy",stage:"effect",detail:`the editor copied ${t.length} selected node(s)`,run:()=>r.copy?.(t)??!1}):!1}async function wA(e,t,r,n){const o=await zt({adapter:e,seam:`editor.structure.${t}`,stage:"effect",detail:r,run:n});return o===!1?!1:(await kr(e,t,r,()=>o),o)}function ZD(e,t){const r=e.structure;return r?.cut?wA(e,"cut",`the editor cut ${t.length} selected node(s)`,()=>r.cut?.(t)??!1):Promise.resolve(!1)}function JD(e,t){const r=e.structure;return r?.paste?wA(e,"paste",`the editor pasted nodes under ${t??"the document root"}`,()=>r.paste?.(t)??!1):Promise.resolve(!1)}const H2=new WeakMap;function rge(e){const t=e.spatialHandles;if(!t)return null;const r=H2.get(e);if(r?.provider===t)return r.recorded;const n={layers:o=>zt({adapter:e,seam:"editor.spatialHandles.layers",stage:"operation",detail:`the viewport read adapter-owned spatial layers for ${o}`,run:()=>t.layers(o)}),preview:(o,i,a)=>zt({adapter:e,seam:"editor.spatialHandles.preview",stage:"effect",detail:`the viewport previewed spatial handle ${i} for ${o}`,run:()=>t.preview(o,i,a)}),commit:(o,i,a)=>qr({adapter:e,seam:"editor.spatialHandles.commit",detail:`the viewport committed spatial handle ${i} for ${o}`,run:()=>t.commit(o,i,a)})};return H2.set(e,{provider:t,recorded:n}),n}const XD="",qy="live-only (not saved)",nge="ephemeral (discarded on stop)",QD="(no persistable child)",U2=Object.freeze({destination:qy,persisted:!1});async function oge(e){const t=e.resolve();if(t.reaches==="live-only")return e.report?.(t.reason),e.record(!1),{destination:t.destination,persisted:!1};const r=await t.write();return e.record(r),r?{destination:t.destination,persisted:!0}:{destination:qy,persisted:!1}}function ige(e){return{reaches:"live-only",destination:qy,reason:e}}const ei="world:",Of="kind:",$f="projection:",V2={canvas:"Canvas",dom:"DOM"};function vr(e){return`${ei}${e}`}function W2(e,t,r){return`[CompositeAuthoringAdapter] ${e}: no root owns entity id "${t}". Roots in this composition: ${r.map(n=>n.worldId).join(", ")}. Refusing rather than answering from the first root — an id nothing owns has no subject.`}function e7(e,t,r){return`[CompositeAuthoringAdapter] ${e}: root "${r}" owns entity id "${t}" but exposes no transform provider for it. Refusing rather than answering an identity pose — a node with no transform truth has no pose to report.`}function We(e){return e.startsWith(ei)}function bm(e){return`${Of}${e}`}function vm(e){return`${$f}${e}`}function Ge(e){return e.startsWith(Of)||e.startsWith($f)}function ym(e){const t=e.replace(/[-_]+/g," ").trim();return t?t.replace(/\b\w/g,r=>r.toUpperCase()):e}function G2(e){return e.reduce((t,r)=>({transform:t.transform||r.adapter.capabilities.transform,inspectorFields:t.inspectorFields||r.adapter.capabilities.inspectorFields,persist:t.persist||r.adapter.capabilities.persist}),{transform:!1,inspectorFields:!1,persist:!1})}class No{capabilities;children;manifest;projection;resolvedProjectionGroups;structureClipboardWorldId=null;crossSurfaceParents=new Map;crossSurfaceChildren=new Map;crossSurfaceOrders=new Map;crossSurfaceRootParents=new Map;crossSurfaceRootChildren=new Map;crossSurfaceGroupLabels=new Map;crossSurfaceDomParents=new Map;crossSurfaceDomChildren=new Map;crossSurfaceInputSignatures=null;projectedDocumentAdapters=new Map;spatialHandles={layers:t=>this.routeOwned(t,"spatialHandles.layers")?.spatialHandles?.layers(t)??[],preview:(t,r,n)=>{this.routeOwned(t,"spatialHandles.preview")?.spatialHandles?.preview(t,r,n)},commit:(t,r,n)=>this.routeOwned(t,"spatialHandles.commit")?.spatialHandles?.commit(t,r,n)};constructor(t,r,n){this.children=[...t],this.manifest=r??null,this.projection=n??null,this.resolvedProjectionGroups=this.resolveProjectionGroups(),this.capabilities=G2(this.children),this.refreshTruth(),this.refreshRelated()}replaceChild(t,r){const n=this.children.findIndex(i=>i.worldId===t);if(n===-1){Te.warn(`[CompositeAuthoringAdapter] replaceChild: no child with worldId "${t}" — ignoring.`,"authoring");return}const o=this.children[n];this.children[n]={...o,worldId:t,adapter:r},this.crossSurfaceInputSignatures=null,this.capabilities=G2(this.children),this.refreshTruth(),this.refreshRelated(),this.refusedIds.clear(),this.syncChildFanOut(),this.fanOutStructure()}groupNodeId(t){return vr(t)}isOrganizationNode(t){return Ge(t)}findOwnerChild(t){if(We(t)||Ge(t))return null;for(const r of this.children)if(r.adapter.hierarchy.node(t))return r;return null}refusedIds=new Set;supersededIds=new Set;routeOwned(t,r){const n=this.findOwnerChild(t);return n?(this.supersededIds.add(t),n.adapter):(this.groupChild(t)||Ge(t)&&this.hierarchy.node(t)||this.supersededIds.has(t)||this.refusedIds.has(t)||(this.refusedIds.add(t),Te.error(W2(r,t,this.children),"authoring")),null)}ownerOf(t){return this.findOwnerChild(t)?.worldId??null}childAdapters(){return this.children.map((t,r)=>({worldId:t.worldId,adapter:t.adapter,kind:t.kind,zOrder:t.zOrder??r,role:t.role??"world",...t.label!==void 0?{label:t.label}:{},...t.parentRootId!==void 0?{parentRootId:t.parentRootId}:{}}))}projectedDocumentAdapter(t){const r=this.resolvedProjectionGroups.find(a=>a.roots.length>1&&a.roots.includes(t));if(!r)return null;const n=this.projectedDocumentAdapters.get(r.id);if(n)return n;const o={...this.hierarchy,roots:()=>(this.ensureCrossSurfaceEdges(),[this.projectionGroupNode(r)])},i=new Proxy(this,{get:(a,s)=>s==="hierarchy"?o:Reflect.get(a,s,a)});return this.projectedDocumentAdapters.set(r.id,i),i}groupNode(t,r,n){const o=this.children.find(s=>s.worldId===t),i=o?.parentRootId?vr(o.parentRootId):this.parentForTopLevelRoot(t,r),a=this.children.filter(s=>s.parentRootId===t).map(s=>vr(s.worldId));return{id:vr(t),label:o?.role==="surface"?o.label??`${t} (${r})`:this.labelForRoot(t,r),role:o?.role==="surface"?"document":"root",kind:r,parentId:i,childIds:[...n.map(s=>s.id),...a]}}topLevelChildren(){return this.children.filter(t=>!t.parentRootId)}runtimeRootChildren(){return this.topLevelChildren().filter(t=>(t.role??"world")==="world")}resolveProjectionGroups(){const t=new Set(this.runtimeRootChildren().map(n=>n.worldId)),r=new Set;return(this.projection?.groups??[]).flatMap(n=>{const o=n.roots.filter(i=>t.has(i)?r.has(i)?(Te.warn(`[CompositeAuthoringAdapter] hierarchy root "${i}" is referenced by more than one group; the tree projection uses its first placement.`,"authoring"),!1):(r.add(i),!0):(Te.warn(`[CompositeAuthoringAdapter] hierarchy group "${n.label}" references unknown root "${i}" — ignoring.`,"authoring"),!1));return o.length>0?[{...n,roots:o}]:[]})}projectionGroups(){return this.resolvedProjectionGroups}projectionGroupFor(t){return this.projectionGroups().find(r=>r.roots.includes(t))}unprojectedRoots(){const t=new Set(this.projectionGroups().flatMap(r=>r.roots));return this.runtimeRootChildren().filter(r=>!t.has(r.worldId))}rootsOfKind(t){return this.unprojectedRoots().filter(r=>r.kind===t)}parentForTopLevelRoot(t,r){const n=this.projectionGroupFor(t);return n?vm(n.id):this.rootsOfKind(r).length>1?bm(r):null}labelForRoot(t,r){const n=this.projection?.rootLabels?.[t]?.trim();return n||(this.rootsOfKind(r).length!==1||this.projectionGroupFor(t)?ym(t):V2[r]??ym(t))}kindNode(t){return{id:bm(t),label:V2[t]??ym(t),role:"folder",kind:"group",parentId:null,childIds:this.rootsOfKind(t).map(r=>vr(r.worldId))}}projectionGroupNode(t){return{id:vm(t.id),label:this.crossSurfaceGroupLabels.get(t.id)??t.label,role:"folder",kind:"group",parentId:null,childIds:this.crossSurfaceRootChildren.get(t.id)??t.roots.map(vr)}}orderJoinedSiblings(t){return t.map((r,n)=>({id:r,index:n,order:this.crossSurfaceOrders.get(r)})).sort((r,n)=>r.order===void 0&&n.order===void 0?r.index-n.index:r.order===void 0?1:n.order===void 0?-1:r.order-n.order||r.index-n.index).map(({id:r})=>r)}refreshCrossSurfaceRoots(t,r){this.crossSurfaceRootParents.clear(),this.crossSurfaceRootChildren.clear(),this.crossSurfaceGroupLabels.clear();const n=new Map;for(const{child:o,node:i}of t){const a=n.get(o)??new Map;a.set(i.id,i),n.set(o,a)}for(const o of this.projectionGroups()){const i=new Set(o.roots),a=new Set(t.flatMap(({child:d,node:f})=>{const p=f.crossSurfaceGroupLabel?.trim();return i.has(d.worldId)&&p?[p]:[]}));if(a.size===1&&this.crossSurfaceGroupLabels.set(o.id,[...a][0]),o.roots.length<2)continue;const s=t.filter(({child:d,node:f})=>{if(!i.has(d.worldId)||f.crossSurfaceId===void 0||f.crossSurfaceOrder===void 0||f.crossSurfaceParentId!==void 0||r.get(f.crossSurfaceId)?.nodeId!==f.id)return!1;let p=f.parentId;const h=n.get(d);for(;p!==null;){const m=h?.get(p);if(m===void 0)break;if(m.crossSurfaceId!==void 0)return!1;p=m.parentId}return!0}),u=new Set(t.flatMap(({child:d,node:f})=>i.has(d.worldId)&&f.crossSurfaceId!==void 0&&r.get(f.crossSurfaceId)?.nodeId===f.id?[d.worldId]:[]));if(o.roots.some(d=>!u.has(d))||s.length===0)continue;const l=this.orderJoinedSiblings(s.map(({node:d})=>d.id));this.crossSurfaceRootChildren.set(o.id,l);const c=vm(o.id);for(const d of l)this.crossSurfaceRootParents.set(d,c)}}refreshCrossSurfaceDomTrees(t){this.crossSurfaceDomParents.clear(),this.crossSurfaceDomChildren.clear();for(const r of this.children){if(r.kind!=="dom")continue;const n=new Map(t.filter(s=>s.child===r).map(({node:s})=>[s.id,s])),o=[...n.values()].filter(s=>s.parentId===null),i=new Set,a=(s,u)=>{if(i.has(s.id))return;i.add(s.id);let l=u;s.crossSurfaceId!==void 0&&(this.crossSurfaceDomChildren.set(s.id,[]),u!==null&&(this.crossSurfaceDomParents.set(s.id,u),this.crossSurfaceDomChildren.get(u)?.push(s.id)),l=s.id);for(const c of s.childIds){const d=n.get(c);d&&a(d,l)}};for(const s of o)a(s,null)}}refreshCrossSurfaceEdges(){const t=[],r=new Map;for(const n of this.children)Mp(n.adapter.hierarchy,o=>{if(t.push({child:n,node:o}),o.crossSurfaceId===void 0)return;const i=r.get(o.crossSurfaceId);r.set(o.crossSurfaceId,i===void 0?{child:n,nodeId:o.id}:null)});this.crossSurfaceParents.clear(),this.crossSurfaceChildren.clear(),this.crossSurfaceOrders.clear();for(const{node:n}of t)n.crossSurfaceOrder!==void 0&&this.crossSurfaceOrders.set(n.id,n.crossSurfaceOrder);this.refreshCrossSurfaceDomTrees(t);for(const{child:n,node:o}of t){if(o.crossSurfaceParentId===void 0)continue;const i=r.get(o.crossSurfaceParentId);if(i==null||i.child===n)continue;this.crossSurfaceParents.set(o.id,i.nodeId);const a=this.crossSurfaceChildren.get(i.nodeId)??[];a.push(o.id),this.crossSurfaceChildren.set(i.nodeId,a)}this.refreshCrossSurfaceRoots(t,r)}clearCrossSurfaceEdges(){this.crossSurfaceParents.clear(),this.crossSurfaceChildren.clear(),this.crossSurfaceOrders.clear(),this.crossSurfaceRootParents.clear(),this.crossSurfaceRootChildren.clear(),this.crossSurfaceGroupLabels.clear(),this.crossSurfaceDomParents.clear(),this.crossSurfaceDomChildren.clear()}ensureCrossSurfaceEdges(){const t=[];for(const r of this.children){const n=r.adapter.hierarchy.crossSurfaceStructureSignature;if(!n){this.crossSurfaceInputSignatures=null,this.refreshCrossSurfaceEdges();return}t.push(n.call(r.adapter.hierarchy))}if(!(this.crossSurfaceInputSignatures!==null&&t.length===this.crossSurfaceInputSignatures.length&&t.every((r,n)=>r===this.crossSurfaceInputSignatures?.[n]))){if(this.crossSurfaceInputSignatures=t,t.every(r=>r===null)){this.clearCrossSurfaceEdges();return}this.refreshCrossSurfaceEdges()}}projectCrossSurfaceNode(t,r){const n=this.crossSurfaceParents.get(t.id)??this.crossSurfaceDomParents.get(t.id)??this.crossSurfaceRootParents.get(t.id)??r,o=this.crossSurfaceDomChildren.get(t.id)??t.childIds,i=this.orderJoinedSiblings(o.filter(a=>!this.crossSurfaceParents.has(a)&&!this.crossSurfaceRootParents.has(a)).concat(this.crossSurfaceChildren.get(t.id)??[]));return n===t.parentId&&i.length===t.childIds.length&&i.every((a,s)=>a===t.childIds[s])?t:{...t,parentId:n,childIds:i}}defaultProjectionNodeIds(){const t=[],r=new Set;for(const n of this.unprojectedRoots()){if(r.has(n.kind))continue;r.add(n.kind);const o=this.rootsOfKind(n.kind);t.push(o.length>1?bm(n.kind):vr(n.worldId))}return t}hierarchy={roots:()=>(this.ensureCrossSurfaceEdges(),[...this.projectionGroups().map(t=>this.projectionGroupNode(t)),...this.defaultProjectionNodeIds().map(t=>this.hierarchy.node(t)).filter(t=>t!==null)]),node:t=>{if(t.startsWith(Of)){const o=t.slice(Of.length);return this.rootsOfKind(o).length>1?this.kindNode(o):null}if(t.startsWith($f)){const o=t.slice($f.length),i=this.projectionGroups().find(a=>a.id===o);return i?this.projectionGroupNode(i):null}if(We(t)){const o=t.slice(ei.length),i=this.children.find(a=>a.worldId===o);return i?this.groupNode(i.worldId,i.kind,i.adapter.hierarchy.roots()):null}const r=this.findOwnerChild(t);if(!r)return null;const n=r.adapter.hierarchy.node(t);return n?(this.supersededIds.add(t),this.projectCrossSurfaceNode(n,n.parentId===null?vr(r.worldId):n.parentId)):null},nativeObject:t=>We(t)||Ge(t)?null:this.routeOwned(t,"hierarchy.nativeObject")?.hierarchy.nativeObject?.(t)??null,idForNativeObject:t=>{for(const r of this.children){const n=r.adapter.hierarchy.idForNativeObject?.(t);if(n)return n}return null}};selection={get:()=>{const t=new Set;for(const r of this.children)for(const n of r.adapter.selection?.get()??[])t.add(n);return[...t]},set:(t,r)=>{const n=new Map;let o=null;for(const a of t){if(We(a)||Ge(a)){o=a;continue}const s=this.findOwnerChild(a);if(!s)continue;const u=n.get(s.adapter);u?u.push(a):n.set(s.adapter,[a])}const i=(a,s)=>{Wi(a,s,r)};if(n.size===0){const a=this.children[0];a&&i(a.adapter,o?[o]:[]);return}for(const[a,s]of n)i(a,s)}};transforms={dimensions:t=>{if(We(t)||Ge(t))return null;const r=this.routeOwned(t,"transforms.dimensions")?.transforms;if(!r)return null;const n=r.dimensions?.(t);return n===void 0?"3d":n},get:t=>{const r=this.routeOwned(t,"transforms.get");if(!r)throw new Error(W2("transforms.get",t,this.children));const n=r.transforms;if(!n)throw new Error(e7("transforms.get",t,this.ownerOf(t)??"unknown"));return n.get(t)},editability:(t,r)=>{const n=this.routeOwned(t,"transforms.editability");return n?n.transforms?.editability?.(t,r)??{writable:!0}:{writable:!1,reason:`No root owns entity id "${t}".`}},beginEdit:t=>{const r=this.routeOwned(t,"transforms.beginEdit");r&&qD(r,t)},apply:(t,r)=>{const n=this.routeOwned(t,"transforms.apply");n&&kD(n,t,r)},endEdit:t=>{const r=this.routeOwned(t,"transforms.endEdit");return r?MD(r,t):void 0},remove:(t,r)=>{const n=this.routeOwned(t,"transforms.remove");return n?ND(n,t,r):void 0},sourceCommit:{availability:t=>this.routeOwned(t,"transforms.sourceCommit")?.transforms?.sourceCommit?.availability(t)??{available:!1,reason:"The owning root exposes no explicit live-transform source commit."},commit:async t=>{const r=this.routeOwned(t,"transforms.sourceCommit");return await(r?ID(r,t):void 0)??{destination:"no owning source-commit provider",persisted:!1}}}};diagnosticsFor(t){if(We(t)||Ge(t))return;const r=this.routeOwned(t,"diagnosticsFor")??{};return typeof r.diagnosticsFor=="function"?r.diagnosticsFor(t):void 0}rootProperties(t){if(Ge(t))return[{path:"organization",label:"Authoring Group",type:"string",readonly:!0}];const r=this.groupChild(t);if(!r)return null;const n=(r.role??"world")==="surface";return[{path:"id",label:"Root ID",type:"string",readonly:!0},{path:"kind",label:"Kind",type:"string",readonly:!0},...this.manifest?.getRootContentSource||r.content?[{path:"content",label:"Content",type:"string",readonly:!0}]:[],...n?[]:[{path:"zOrder",label:"Z Order",type:"number",...this.manifest?{}:{readonly:!0}},{path:"pausable",label:"Pausable",type:"boolean",...this.manifest?{}:{readonly:!0}}]]}groupChild(t){return We(t)?this.children.find(r=>vr(r.worldId)===t)??null:null}inspector={properties:t=>this.rootProperties(t)??this.routeOwned(t,"inspector.properties")?.inspector?.properties(t)??[],get:(t,r)=>{if(Ge(t))return r==="organization"?"Editor-only hierarchy projection":void 0;const n=this.groupChild(t);if(n){const o=n.worldId;return r==="id"?o:r==="kind"?n.kind:r==="content"?this.manifest?.getRootContentSource?.(o)??n.content:(n.role??"world")==="surface"?void 0:r==="zOrder"?this.manifest?.getRootZOrder(o)??n.zOrder??0:r==="pausable"?this.manifest?.getRootPausable(o)??n.pausable??!0:void 0}return this.routeOwned(t,"inspector.get")?.inspector?.get(t,r)},editability:(t,r)=>{const n=this.rootProperties(t);if(n){const o=n.find(i=>i.path===r);return o?o.readonly?{writable:!1,reason:"a composition fact, read from the manifest — not an authored value"}:{writable:!0}:{writable:!1,reason:`this root row has no "${r}" field`}}return this.routeOwned(t,"inspector.editability")?.inspector?.editability?.(t,r)??{writable:!0}},set:(t,r,n)=>{const o=this.groupChild(t);if(o){this.manifest&&(o.role??"world")==="world"&&(r==="zOrder"?this.manifest.setRootZOrder(o.worldId,Number(n)):r==="pausable"&&this.manifest.setRootPausable(o.worldId,!!n));return}return this.routeOwned(t,"inspector.set")?.inspector?.set(t,r,n)},remove:(t,r)=>{if(!(We(t)||Ge(t)))return this.routeOwned(t,"inspector.remove")?.inspector?.remove?.(t,r)}};instances={describe:t=>We(t)||Ge(t)?null:this.routeOwned(t,"instances.describe")?.instances?.describe(t)??null,revert:async(t,r)=>{if(We(t)||Ge(t))return;const n=this.routeOwned(t,"instances.revert");if(n?.instances)return LD(n,t,r)},applyToComponent:async(t,r)=>{if(We(t)||Ge(t))return{changed:!1,message:"A composition row is not a component instance."};const n=this.routeOwned(t,"instances.applyToComponent");return n?.instances?FD(n,t,r):{changed:!1,message:"This subject has no writable component source."}}};resolveStructureTarget(t){if(t!=null&&Ge(t))return null;if(t!=null&&We(t)){const n=t.slice(ei.length),o=this.children.find(i=>i.worldId===n);return o?{child:o,forwardParentId:void 0}:null}if(t!=null){const n=this.findOwnerChild(t);if(!n)return null;const o=n.adapter.hierarchy.node(t);return{child:n,forwardParentId:o?.role==="document"||o?.role==="story"?void 0:t}}const r=this.children.find(n=>n.adapter.structure);return r?{child:r,forwardParentId:void 0}:null}structure={create:(t,r)=>{const n=this.resolveStructureTarget(r??null);return n?.child.adapter.structure?BD(n.child.adapter,t,n.forwardParentId):(Te.warn(`[CompositeAuthoringAdapter] create: no owning child with a structure provider for parent "${r??"(root)"}"`,"authoring"),{id:"",ack:void 0})},remove:t=>{if(We(t)||Ge(t))return;const r=this.findOwnerChild(t);if(!r?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] remove: no owner/structure for id "${t}"`,"authoring");return}return z2(r.adapter,t)},removeMany:async t=>{const r=new Map;for(const i of t){if(We(i)||Ge(i))continue;const a=this.findOwnerChild(i);if(!a?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] removeMany: no owner/structure for id "${i}"`,"authoring");continue}const s=r.get(a);s?s.push(i):r.set(a,[i])}let n=U2,o=!0;for(const[i,a]of r){const s=i.adapter.structure;let u;if(s.removeMany)u=await zD(i.adapter,a);else for(const l of a)u=await z2(i.adapter,l);u&&(n=u),u?.persisted||(o=!1)}return o?n:U2},canCopy:t=>{const r=t.map(o=>this.findOwnerChild(o)),n=r[0];return!!(n?.adapter.structure?.copy&&!r.some(o=>o?.worldId!==n.worldId)&&(n.adapter.structure.canCopy?.(t)??!0))},copy:async t=>{const n=t.map(o=>this.findOwnerChild(o))[0];return!this.structure.canCopy?.(t)||!n?.adapter.structure?.copy?(Te.warn("[CompositeAuthoringAdapter] copy requires source-addressable entities from one world.","authoring"),!1):await YD(n.adapter,t)?(this.structureClipboardWorldId=n.worldId,!0):!1},cut:async t=>{const n=t.map(i=>this.findOwnerChild(i))[0];if(!this.structure.canCopy?.(t)||!n?.adapter.structure?.cut)return Te.warn("[CompositeAuthoringAdapter] cut requires source-addressable entities from one world.","authoring"),!1;const o=await ZD(n.adapter,t);return o===!1?!1:(this.structureClipboardWorldId=n.worldId,o)},canPaste:t=>{const r=this.children.find(o=>o.worldId===this.structureClipboardWorldId);if(!r?.adapter.structure?.paste)return!1;const n=t===null?{child:r,forwardParentId:null}:this.resolveStructureTarget(t);return!!(n&&n.child.worldId===r.worldId&&(r.adapter.structure.canPaste?.(n.forwardParentId??null)??!0))},paste:async t=>{const r=this.children.find(o=>o.worldId===this.structureClipboardWorldId);if(!r?.adapter.structure?.paste)return Te.warn("[CompositeAuthoringAdapter] paste has no copied entity payload to route.","authoring"),!1;const n=t===null?{child:r,forwardParentId:void 0}:this.resolveStructureTarget(t);return!n||n.child.worldId!==r.worldId?(Te.warn("[CompositeAuthoringAdapter] refusing to paste an entity across world roots.","authoring"),!1):await JD(r.adapter,n.forwardParentId??null)},duplicate:t=>{if(We(t)||Ge(t))return{id:t,ack:void 0};const r=this.findOwnerChild(t);return r?.adapter.structure?HD(r.adapter,t):(Te.warn(`[CompositeAuthoringAdapter] duplicate: no owner/structure for id "${t}"`,"authoring"),{id:t,ack:void 0})},reparent:(t,r)=>{const n=this.findOwnerChild(t);if(!n?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] reparent: no owner/structure for id "${t}"`,"authoring");return}if(r===null||r===vr(n.worldId))return gm(n.adapter,t,null);const o=this.findOwnerChild(r);if(!o||o.worldId!==n.worldId){Te.warn(`[CompositeAuthoringAdapter] reparent: refusing to move "${t}" across roots (target parent "${r}" is not in world "${n.worldId}")`,"authoring");return}const i=o.adapter.hierarchy.node(r);return i?.role==="document"||i?.role==="story"?gm(n.adapter,t,null):gm(n.adapter,t,r)},reorder:(t,r)=>{if(We(t)||Ge(t))return;const n=this.findOwnerChild(t);if(n&&!(r!==null&&this.findOwnerChild(r)!==n))return UD(n.adapter,t,r)},creatableKinds:t=>{const r=this.resolveStructureTarget(t);return r?.child.adapter.structure?.creatableKinds?.(r.forwardParentId??null)??[]},wrap:(t,r)=>{if(We(t)||Ge(t))return;const n=this.findOwnerChild(t);if(!n?.adapter.structure?.wrap){Te.warn(`[CompositeAuthoringAdapter] wrap: no owner/structure.wrap for id "${t}"`,"authoring");return}return VD(n.adapter,t,r)},unwrap:t=>{if(We(t)||Ge(t))return;const r=this.findOwnerChild(t);if(!r?.adapter.structure?.unwrap){Te.warn(`[CompositeAuthoringAdapter] unwrap: no owner/structure.unwrap for id "${t}"`,"authoring");return}return WD(r.adapter,t)},group:t=>{if(t.length===0)return{id:null,ack:void 0};const r=t.map(o=>this.findOwnerChild(o)),n=r[0];return!n?.adapter.structure?.group||r.some(o=>o?.adapter!==n.adapter)?{id:null,ack:void 0}:GD(n.adapter,t)},ungroup:t=>{const r=this.findOwnerChild(t);return r?KD(r.adapter,t):{ids:[],ack:void 0}},canUngroup:t=>this.findOwnerChild(t)?.adapter.structure?.canUngroup?.(t)??!1};resolveAssetDropTarget(t){if(t===""){const o=this.children.filter(i=>i.kind==="stage"&&i.role!=="surface"&&i.adapter.assetDrop!==void 0);return o.length===1&&o[0]?{adapter:o[0].adapter,forwardId:""}:null}if(We(t)){const o=t.slice(ei.length),i=this.children.find(a=>a.worldId===o);return i?{adapter:i.adapter,forwardId:""}:null}const r=this.findOwnerChild(t);if(!r)return this.routeOwned(t,"assetDrop"),null;const n=r.adapter.hierarchy.node(t);return{adapter:r.adapter,forwardId:n?.role==="document"||n?.role==="story"?"":t}}resolveStoriesTarget(t){if(We(t)){const n=t.slice(ei.length),o=this.children.find(i=>i.worldId===n);return o?{adapter:o.adapter,forwardId:t}:null}const r=this.routeOwned(t,"stories");return r?{adapter:r,forwardId:t}:null}stories={storiesFor:t=>{if(t===XD)return[];const r=this.resolveStoriesTarget(t);return r?.adapter.stories?.storiesFor(r.forwardId)??[]},active:t=>{const r=this.resolveStoriesTarget(t);return r?.adapter.stories?.active(r.forwardId)??null},apply:(t,r)=>{const n=this.resolveStoriesTarget(t),o=n?.adapter.stories;!n||!o||zt({adapter:n.adapter,seam:"editor.stories.apply",stage:"effect",detail:`the composite applied story ${r??"default"} through its owning adapter`,run:()=>o.apply(n.forwardId,r)})}};assetDrop={accepts:(t,r,n)=>{const o=this.resolveAssetDropTarget(t),i=o?.adapter.assetDrop;return!o||!i?!1:i.accepts(o.forwardId,r,n)},drop:(t,r,n)=>{const o=this.resolveAssetDropTarget(t),i=o?.adapter.assetDrop;if(!o||!i){const a=this.children.map(s=>`${s.worldId}:${s.kind}${s.adapter.assetDrop?"":" (no drop target)"}`).join(", ");Te.warn(`Dropped ${r} was not placed: ${t===""?"no single spatial world accepts a drop":`“${t}” has no owning world`} — worlds here: ${a}.`,"editor");return}return DD(o.adapter,o.forwardId,r,n)}};truth;truthProvider={resolve:(t,r)=>We(t)||Ge(t)?{site:{anchored:!1,reason:D2},writeAnchorKind:void 0}:this.findOwnerChild(t)?.adapter.truth?.resolve(t,r)??{site:{anchored:!1,reason:D2},writeAnchorKind:void 0}};refreshTruth(){this.children.some(t=>t.adapter.truth)?this.truth=this.truthProvider:delete this.truth}related;relatedProvider={links:t=>We(t)||Ge(t)?[]:this.findOwnerChild(t)?.adapter.related?.links(t)??[]};refreshRelated(){this.children.some(t=>t.adapter.related)?this.related=this.relatedProvider:delete this.related}structureListeners=new Set;childFanOutUnsubs=null;fanOutStructure=()=>{for(const t of[...this.structureListeners])t()};syncChildFanOut(){if(this.childFanOutUnsubs){for(const r of this.childFanOutUnsubs)r();this.childFanOutUnsubs=null}if(this.structureListeners.size===0)return;const t=[];for(const r of this.children)if(this.structureListeners.size>0){const n=r.adapter.subscribe,o=n?zt({adapter:r.adapter,seam:"editor.subscribe",stage:"effect",detail:"the composite subscribed to child authoring changes",run:()=>n.call(r.adapter,this.fanOutStructure)}):void 0;o&&t.push(o)}this.childFanOutUnsubs=t}subscribe(t){return this.structureListeners.add(t),this.syncChildFanOut(),()=>{this.structureListeners.delete(t),this.syncChildFanOut()}}get persistence(){const t=this.children.filter(r=>r.adapter.capabilities.persist&&!!r.adapter.persistence);return{isDirty:()=>t.some(r=>r.adapter.persistence.isDirty()),lastError:()=>{const r=new Set;for(const n of t){const o=n.adapter.persistence.lastError?.();o&&r.add(o)}return r.size>0?[...r].join(" · "):null},save:async()=>{for(const r of t){const n=r.adapter.persistence;if(n.isDirty())try{await yA(r.adapter,`the composite saved dirty child ${r.worldId}`)}catch(o){console.error(`[CompositeAuthoringAdapter] save failed for world "${r.worldId}" (destination: ${n.destination}) — continuing with remaining roots:`,o)}}},destination:t.length>0?t.map(r=>r.adapter.persistence.destination).join(" + "):QD}}}let wt=null;const Kg=new Set;let EA=0;function Ri(){EA+=1;for(const e of Kg)e()}function t7(e){return!!e&&(e.role==="component"||e.role==="instance"||e.role==="boundary")}function _A(e,t,r){let n=t,o=0;for(;n&&o++<1e3;){if(n===r)return!0;n=e.hierarchy.node(n)?.parentId??null}return!1}function age(e){return Kg.add(e),()=>Kg.delete(e)}function sge(){return EA}function SA(){return wt?.stack.at(-1)??null}function ky(e){if(wt?.adapter!==e)return[];const t=wt.stack.filter(r=>e.hierarchy.node(r)!==null);return t.length!==wt.stack.length&&(wt=t.length>0?{adapter:e,stack:t}:null),t}function RA(e,t){const r=e.hierarchy.node(t);if(!t7(r)||r.childIds.length===0)return!1;const n=wt?.adapter===e?wt.stack:[],o=n.at(-1);return o&&!_A(e,t,o)||o===t?!1:(wt={adapter:e,stack:[...n,t]},Wi(e,[t]),Ri(),!0)}function lge(e,t){if(t===null){if(wt===null)return;wt=null,Ri();return}const r=ky(e),n=r.indexOf(t);n<0||(wt={adapter:e,stack:r.slice(0,n+1)},Wi(e,[t]),Ri())}function uge(e){if(wt&&wt.adapter!==e)return wt=null,Ri(),!0;const t=ky(e);if(t.length===0)return!1;const r=t.slice(0,-1);wt=r.length>0?{adapter:e,stack:r}:null;const n=r.at(-1)??t[0];return Wi(e,[n]),Ri(),!0}function cge(e){const t=e.selection?.get()??[];return t.length===1?RA(e,t[0]):!1}function dge(e,t,r){if(!RA(e,t))return!1;const n=r();return n&&n!==t&&Wi(e,[n]),!0}function r7(e,t){const r=ky(e);if(r.length===0)return!1;let n=0;for(;t!==null&&n<r.length&&_A(e,t,r[n]);)n+=1;return n===r.length?!1:(wt=n>0?{adapter:e,stack:r.slice(0,n)}:null,Ri(),!0)}function fge(e,t){const r=t();return r7(e,r)?t():r}let n7=[];async function pge(e){for(const t of n7){const r=await t(e);if(r)return r}return null}async function hge(e){return{result:await e(),settled:async()=>{},frame:async()=>null}}let pu=[];function mge(e){return pu=[...pu,e],()=>{pu=pu.filter(t=>t!==e)}}async function gge(e,t){for(const r of pu){const n=r(e,t);if(n!==null)return n}return null}/*!
|
|
593
|
+
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
594
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
595
|
+
* Copyright 2026 Fonticons, Inc.
|
|
596
|
+
*/var o7={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z"]},bge={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z"]},i7={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},a7={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},vge={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Np={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96 64 96C28.7 96 0 124.7 0 160L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64l-74.7 0-10.4-31.2C356.4 45.2 338.1 32 317.4 32L194.6 32c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},s7={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},l7={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},u7={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},c7={prefix:"fas",iconName:"stop",icon:[448,512,[9209],"f04d","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},d7={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},f7={prefix:"fas",iconName:"magnifying-glass-minus",icon:[512,512,["search-minus"],"f010","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM136 184c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},p7={prefix:"fas",iconName:"table",icon:[448,512,[],"f0ce","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM64 320l0 96 128 0 0-96-128 0zm192 0l0 96 128 0 0-96-128 0zM64 256l128 0 0-96-128 0 0 96zm192 0l128 0 0-96-128 0 0 96z"]},yge={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 448c0 17.7 14.3 32 32 32s32-14.3 32-32L64 64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384z"]},h7={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M56 225.6L32.4 296.2 32.4 96c0-35.3 28.7-64 64-64l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4l117.3 0c35.3 0 64 28.7 64 64l0 16-365.4 0c-41.3 0-78 26.4-91.1 65.6zM477.8 448L99 448c-32.8 0-55.9-32.1-45.5-63.2l48-144C108 221.2 126.4 208 147 208l378.8 0c32.8 0 55.9 32.1 45.5 63.2l-48 144c-6.5 19.6-24.9 32.8-45.5 32.8z"]},wge={prefix:"fas",iconName:"window-minimize",icon:[512,512,[128469],"f2d1","M0 416c0-17.7 14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32z"]},m7={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},g7={prefix:"fas",iconName:"magnifying-glass-plus",icon:[512,512,["search-plus"],"f00e","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 112c-13.3 0-24 10.7-24 24l0 48-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l48 0 0 48c0 13.3 10.7 24 24 24s24-10.7 24-24l0-48 48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-48 0 0-48c0-13.3-10.7-24-24-24z"]},Ege={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},b7={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},v7={prefix:"fas",iconName:"maximize",icon:[448,512,["expand-arrows-alt"],"f31e","M168 32L24 32C10.7 32 0 42.7 0 56L0 200c0 9.7 5.8 18.5 14.8 22.2S34.1 223.8 41 217l40-40 79 79-79 79-40-40c-6.9-6.9-17.2-8.9-26.2-5.2S0 302.3 0 312L0 456c0 13.3 10.7 24 24 24l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-40-40 79-79 79 79-40 40c-6.9 6.9-8.9 17.2-5.2 26.2S270.3 480 280 480l144 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2l-40 40-79-79 79-79 40 40c6.9 6.9 17.2 8.9 26.2 5.2S448 209.7 448 200l0-144c0-13.3-10.7-24-24-24L280 32c-9.7 0-18.5 5.8-22.2 14.8S256.2 66.1 263 73l40 40-79 79-79-79 40-40c6.9-6.9 8.9-17.2 5.2-26.2S177.7 32 168 32z"]},y7={prefix:"fas",iconName:"video-slash",icon:[576,512,[],"f4e2","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-153-153 0-222.2c0-35.3-28.7-64-64-64L129.8 64 41-24.9zM32 128l0 256c0 35.3 28.7 64 64 64l256 0c7.8 0 15.3-1.4 22.2-4L36 105.8c-2.6 6.9-4 14.4-4 22.2zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"]},K2={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M96 64c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L96 64zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"]},w7={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},E7={prefix:"fas",iconName:"draw-polygon",icon:[512,512,[58055,"vector-polygon"],"f5ee","M64 0c23.7 0 44.4 12.9 55.4 32l273.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 34-26.5 61.8-60 63.9l-2.1 2.9-71.5 99.1c3.6 8 5.6 16.9 5.6 26.2s-2 18.2-5.6 26.2l2.2 3.1 69.3 96 2.1 2.9c33.5 2.1 60 29.9 60 63.9 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-273.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0zM394.2 413.4l-65.5-90.6-2.2-3.1c-2.1 .2-4.3 .3-6.5 .3-35.3 0-64-28.7-64-64s28.7-64 64-64c2.2 0 4.4 .1 6.5 .3l67.7-93.7c-.6-.9-1.1-1.7-1.6-2.6L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l273.1 0c.5-.9 1.1-1.8 1.6-2.6z"]},_7={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},_ge=_7,Sge={prefix:"fas",iconName:"file-image",icon:[384,512,[128443],"f1c5","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM128 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM92.6 448l198.8 0c15.8 0 28.6-12.8 28.6-28.6 0-7.3-2.8-14.4-7.9-19.7L215.3 297.9c-6-6.3-14.4-9.9-23.2-9.9l-.3 0c-8.8 0-17.1 3.6-23.2 9.9L71.9 399.7C66.8 405 64 412.1 64 419.4 64 435.2 76.8 448 92.6 448z"]},hu={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},Rge={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z"]},My={prefix:"fas",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M292.9 384c7.3-22.3 21.9-42.5 38.4-59.9 32.7-34.4 52.7-80.9 52.7-132.1 0-106-86-192-192-192S0 86 0 192c0 51.2 20 97.7 52.7 132.1 16.5 17.4 31.2 37.6 38.4 59.9l201.7 0zM288 432l-192 0 0 16c0 44.2 35.8 80 80 80l32 0c44.2 0 80-35.8 80-80l0-16zM184 112c-39.8 0-72 32.2-72 72 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-66.3 53.7-120 120-120 13.3 0 24 10.7 24 24s-10.7 24-24 24z"]},xA={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},CA={prefix:"fas",iconName:"diagram-project",icon:[512,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z"]},S7={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 448l384 0c35.3 0 64-28.7 64-64l0-240c0-35.3-28.7-64-64-64L298.7 80c-6.9 0-13.7-2.2-19.2-6.4L241.1 44.8C230 36.5 216.5 32 202.7 32L64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64z"]},R7={prefix:"fas",iconName:"arrow-up-from-bracket",icon:[448,512,[],"e09a","M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z"]},AA={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},x7={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},C7={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},A7={prefix:"fas",iconName:"hand",icon:[512,512,[129306,9995,"hand-paper"],"f256","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 272c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4S-3.6 325.7 12.4 341L124.8 448c43.1 41.1 100.4 64 160 64l19.2 0c97.2 0 176-78.8 176-176l0-208c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 176c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208z"]},P7={prefix:"fas",iconName:"bullseye",icon:[512,512,[],"f140","M448 256a192 192 0 1 0 -384 0 192 192 0 1 0 384 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256 80a80 80 0 1 0 0-160 80 80 0 1 0 0 160zm0-224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zM224 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},T7={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L208 58.5 325.5 176z"]},O7={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2S34.1 320.2 41 327l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S177.7 512 168 512z"]},PA={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32l0 32 32 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9S179.1 64 192 64l32 0 0-32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9S332.9 448 320 448l-32 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-32 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224l32 0 0-32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9S64 332.9 64 320l0-32-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9S448 179.1 448 192l0 32 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},xge={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},Cge={prefix:"fas",iconName:"cubes-stacked",icon:[512,512,[],"e4e6","M192 32c0-17.7 14.3-32 32-32l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64zm32 352l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm192 0l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zM320 192l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm-182.6-3.9c12.5-12.5 32.8-12.5 45.3 0l45.3 45.3c12.5 12.5 12.5 32.8 0 45.3l-45.3 45.3c-12.5 12.5-32.8 12.5-45.3 0L92.1 278.6c-12.5-12.5-12.5-32.8 0-45.3l45.3-45.3zM32 384l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32z"]},TA={prefix:"fas",iconName:"magnet",icon:[448,512,[129522],"f076","M0 176L0 288C0 411.7 100.3 512 224 512S448 411.7 448 288l0-112-128 0 0 112c0 53-43 96-96 96s-96-43-96-96l0-112-128 0zm0-48l128 0 0-64c0-17.7-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64l0 64zm320 0l128 0 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64z"]},$7={prefix:"fas",iconName:"play",icon:[448,512,[9654],"f04b","M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z"]},qf={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M224 0c35.3 0 64 21.5 64 48 0 10.4-4.4 20-12 27.9-6.6 6.9-12 15.3-12 24.9 0 15 12.2 27.2 27.2 27.2l44.8 0c26.5 0 48 21.5 48 48l0 44.8c0 15 12.2 27.2 27.2 27.2 9.5 0 18-5.4 24.9-12 7.9-7.5 17.5-12 27.9-12 26.5 0 48 28.7 48 64s-21.5 64-48 64c-10.4 0-20.1-4.4-27.9-12-6.9-6.6-15.3-12-24.9-12-15 0-27.2 12.2-27.2 27.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2 0-9.2 5.8-17.3 13.2-22.8 11.6-8.7 18.8-20.7 18.8-34 0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34 7.4 5.5 13.2 13.5 13.2 22.8 0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-12.8 10.4-23.2 23.2-23.2 9.2 0 17.3 5.8 22.8 13.2 8.7 11.6 20.7 18.8 34 18.8 26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8-5.5 7.4-13.5 13.2-22.8 13.2-12.8 0-23.2-10.4-23.2-23.2L0 176c0-26.5 21.5-48 48-48l108.8 0c15 0 27.2-12.2 27.2-27.2 0-9.5-5.4-18-12-24.9-7.5-7.9-12-17.5-12-27.9 0-26.5 28.7-48 64-48z"]},q7={prefix:"fas",iconName:"table-cells",icon:[448,512,["th"],"f00a","M384 96l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zM256 288l-64 0 0-64 64 0 0 64zm-64 64l64 0 0 64-64 0 0-64zm-64-64l-64 0 0-64 64 0 0 64zM64 352l64 0 0 64-64 0 0-64zm0-192l0-64 64 0 0 64-64 0zm128 0l0-64 64 0 0 64-64 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},k7={prefix:"fas",iconName:"up-down-left-right",icon:[512,512,["arrows-alt"],"f0b2","M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9S179.1 128 192 128l32 0 0 96-96 0 0-32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9S128 332.9 128 320l0-32 96 0 0 96-32 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9S332.9 384 320 384l-32 0 0-96 96 0 0 32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S384 179.1 384 192l0 32-96 0 0-96 32 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64z"]},OA={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},M7={prefix:"fas",iconName:"arrows-up-down-left-right",icon:[512,512,["arrows"],"f047","M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4 0 114.7-114.7 0 9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4 114.7 0 0 114.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4 0-114.7 114.7 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4-114.7 0 0-114.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"]},Age={prefix:"fas",iconName:"sliders",icon:[512,512,["sliders-h"],"f1de","M32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 224zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384z"]},N7={prefix:"fas",iconName:"forward-step",icon:[384,512,["step-forward"],"f051","M21 36.8c12.9-7 28.7-6.3 41 1.8L320 208.1 320 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 384c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-144.1-258 169.6c-12.3 8.1-28 8.8-41 1.8S0 454.7 0 440L0 72C0 57.3 8.1 43.8 21 36.8z"]},Ip={prefix:"fas",iconName:"cube",icon:[512,512,[],"f1b2","M224.3-2.5c19.8-11.4 44.2-11.4 64 0L464.2 99c19.8 11.4 32 32.6 32 55.4l0 203c0 22.9-12.2 44-32 55.4L288.3 514.5c-19.8 11.4-44.2 11.4-64 0L48.5 413c-19.8-11.4-32-32.6-32-55.4l0-203c0-22.9 12.2-44 32-55.4L224.3-2.5zm207.8 360l0-166.1-143.8 83 0 166.1 143.8-83z"]},$A={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},Y2={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M384 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-70.7-57.3-128-128-128S320 25.3 320 96l0 64-160 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-32 0 0-64z"]},Pge={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM120 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},Tge={prefix:"fas",iconName:"film",icon:[448,512,[127902,62368,"film-alt","film-simple"],"f008","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM48 368l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm304-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 240l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm304-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 112l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16L64 96c-8.8 0-16 7.2-16 16zM352 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0z"]},Oge={prefix:"fas",iconName:"cubes",icon:[512,512,[],"f1b3","M284-1.3c-17.3-10-38.7-10-56 0L143.8 47.3c-17.3 10-28 28.5-28 48.5l0 101.9-88.3 51c-17.3 10-28 28.5-28 48.5l0 97.3c0 20 10.7 38.5 28 48.5l84.3 48.6c17.3 10 38.7 10 56 0l88.3-51 88.3 51c17.3 10 38.7 10 56 0L484.5 443c17.3-10 28-28.5 28-48.5l0-97.3c0-20-10.7-38.5-28-48.5l-88.3-51 0-101.9c0-20-10.7-38.5-28-48.5L284-1.3zM232 292.6l0 106.5-88.3 51c-1.2 .7-2.6 1.1-4 1.1l0-105.3 92.3-53.3zm231.4 .6c.7 1.2 1.1 2.6 1.1 4l0 97.3c0 2.9-1.5 5.5-4 6.9l-84.3 48.6c-1.2 .7-2.6 1.1-4 1.1l0-105.3 91.2-52.6zM348.3 95.8l0 101.9-92.3 53.3 0-106.5 91.2-52.6c.7 1.2 1.1 2.6 1.1 4z"]},I7={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},Z2={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]},j7={prefix:"fas",iconName:"person",icon:[384,512,[129485,"male"],"f183","M248 24a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zm24 212.7l46.3 62.4c10.5 14.2 30.6 17.2 44.8 6.6s17.2-30.6 6.6-44.8l-70.5-95C274 132 234.3 112 192 112s-82 20-107.2 53.9l-70.5 95c-10.5 14.2-7.6 34.2 6.6 44.8s34.2 7.6 44.8-6.6L112 236.7 112 512c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-8.8 7.2-16 16-16s16 7.2 16 16l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-275.3z"]},D7={prefix:"fas",iconName:"chart-simple",icon:[512,512,[],"e473","M192 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM432 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},L7={prefix:"fas",iconName:"atom",icon:[448,512,[9883],"f5d2","M224 398.8c-11.8 5.1-23.4 9.7-34.9 13.5 16.7 33.8 31 35.7 34.9 35.7s18.1-1.9 34.9-35.7c-11.4-3.9-23.1-8.4-34.9-13.5zM414 256c33 45.2 44.3 90.9 23.6 128-20.2 36.3-62.5 49.3-115.2 43.2-22 52.1-55.7 84.8-98.4 84.8s-76.4-32.7-98.4-84.8C72.9 433.3 30.6 420.3 10.4 384-10.3 346.9 1 301.2 34 256 1 210.8-10.3 165.1 10.4 128 30.6 91.7 72.9 78.7 125.6 84.8 147.6 32.7 181.2 0 224 0s76.4 32.7 98.4 84.8c52.7-6.1 95 6.8 115.2 43.2 20.7 37.1 9.4 82.8-23.6 128zm-65.8 67.4c-1.7 14.2-3.9 28-6.7 41.2 31.8 1.4 38.6-8.7 40.2-11.7 2.3-4.2 7-17.9-11.9-48.1-6.8 6.3-14 12.5-21.6 18.6zm-6.7-175.9c2.8 13.1 5 26.9 6.7 41.2 7.6 6.1 14.8 12.3 21.6 18.6 18.9-30.2 14.2-44 11.9-48.1-1.6-2.9-8.4-13-40.2-11.7zM258.9 99.7C242.1 65.9 227.9 64 224 64s-18.1 1.9-34.9 35.7c11.4 3.9 23.1 8.4 34.9 13.5 11.8-5.1 23.4-9.7 34.9-13.5zm-159 88.9c1.7-14.3 3.9-28 6.7-41.2-31.8-1.4-38.6 8.7-40.2 11.7-2.3 4.2-7 17.9 11.9 48.1 6.8-6.3 14-12.5 21.6-18.6zM78.2 304.8c-18.9 30.2-14.2 44-11.9 48.1 1.6 2.9 8.4 13 40.2 11.7-2.8-13.1-5-26.9-6.7-41.2-7.6-6.1-14.8-12.3-21.6-18.6zM304 256a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zm-80-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},wm={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},F7={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},qA={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},$ge=qA,J2={prefix:"fas",iconName:"lock",icon:[384,512,[128274],"f023","M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},B7={prefix:"fas",iconName:"volume-high",icon:[640,512,[128266,"volume-up"],"f028","M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256S598.5 85.2 533.6 32.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM80 352l48 0 134.1 119.2c6.4 5.7 14.6 8.8 23.1 8.8 19.2 0 34.8-15.6 34.8-34.8l0-378.4c0-19.2-15.6-34.8-34.8-34.8-8.5 0-16.7 3.1-23.1 8.8L128 160 80 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48z"]},z7={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z"]},kA={prefix:"fas",iconName:"crosshairs",icon:[576,512,[],"f05b","M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},H7={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6-28.3-28.3-74.1-28.3-102.4 0L256 192 216.5 152.5c4.9-12.6 7.5-26.2 7.5-40.5 0-61.9-50.1-112-112-112S0 50.1 0 112 50.1 224 112 224c14.3 0 27.9-2.7 40.5-7.5L192 256zm97.9 97.9L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0 7.1-7.1 7.1-18.5 0-25.6l-145.3-145.3-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},U7={prefix:"fas",iconName:"font",icon:[512,512,[],"f031","M285.1 50.7C279.9 39.3 268.5 32 256 32s-23.9 7.3-29.1 18.7L59.5 416 48 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-6.1 0 22-48 208.3 0 22 48-6.1 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-11.5 0-167.4-365.3zM330.8 304L181.2 304 256 140.8 330.8 304z"]},V7={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M351.9 280l-190.9 0c2.9 64.5 17.2 123.9 37.5 167.4 11.4 24.5 23.7 41.8 35.1 52.4 11.2 10.5 18.9 12.2 22.9 12.2s11.7-1.7 22.9-12.2c11.4-10.6 23.7-28 35.1-52.4 20.3-43.5 34.6-102.9 37.5-167.4zM160.9 232l190.9 0C349 167.5 334.7 108.1 314.4 64.6 303 40.2 290.7 22.8 279.3 12.2 268.1 1.7 260.4 0 256.4 0s-11.7 1.7-22.9 12.2c-11.4 10.6-23.7 28-35.1 52.4-20.3 43.5-34.6 102.9-37.5 167.4zm-48 0C116.4 146.4 138.5 66.9 170.8 14.7 78.7 47.3 10.9 131.2 1.5 232l111.4 0zM1.5 280c9.4 100.8 77.2 184.7 169.3 217.3-32.3-52.2-54.4-131.7-57.9-217.3L1.5 280zm398.4 0c-3.5 85.6-25.6 165.1-57.9 217.3 92.1-32.7 159.9-116.5 169.3-217.3l-111.4 0zm111.4-48C501.9 131.2 434.1 47.3 342 14.7 374.3 66.9 396.4 146.4 399.9 232l111.4 0z"]},MA={prefix:"fas",iconName:"music",icon:[512,512,[127925],"f001","M468 7c7.6 6.1 12 15.3 12 25l0 304c0 44.2-43 80-96 80s-96-35.8-96-80 43-80 96-80c11.2 0 22 1.6 32 4.6l0-116.7-224 49.8 0 206.3c0 44.2-43 80-96 80s-96-35.8-96-80 43-80 96-80c11.2 0 22 1.6 32 4.6L128 96c0-15 10.4-28 25.1-31.2l288-64c9.5-2.1 19.4 .2 27 6.3z"]},W7={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},qge={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},NA={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]},G7={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32S96 46.3 96 64l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"]},K7={prefix:"fas",iconName:"file-code",icon:[384,512,[],"f1c9","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM154.2 295.6c8.6-10.1 7.5-25.2-2.6-33.8s-25.2-7.5-33.8 2.6l-48 56c-7.7 9-7.7 22.2 0 31.2l48 56c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8l-34.6-40.4 34.6-40.4zm112-31.2c-8.6-10.1-23.8-11.2-33.8-2.6s-11.2 23.8-2.6 33.8l34.6 40.4-34.6 40.4c-8.6 10.1-7.5 25.2 2.6 33.8s25.2 7.5 33.8-2.6l48-56c7.7-9 7.7-22.2 0-31.2l-48-56z"]},Y7={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},Z7={prefix:"fas",iconName:"hammer",icon:[640,512,[128296],"f6e3","M246.9 18.3L271 3.8c21.6-13 46.3-19.8 71.5-19.8 36.8 0 72.2 14.6 98.2 40.7l63.9 63.9c15 15 23.4 35.4 23.4 56.6l0 30.9 19.7 19.7 0 0c15.6-15.6 40.9-15.6 56.6 0s15.6 40.9 0 56.6l-64 64c-15.6 15.6-40.9 15.6-56.6 0s-15.6-40.9 0-56.6L464 240 433.1 240c-21.2 0-41.6-8.4-56.6-23.4l-49.1-49.1c-15-15-23.4-35.4-23.4-56.6l0-12.7c0-11.2-5.9-21.7-15.5-27.4l-41.6-25c-10.4-6.2-10.4-21.2 0-27.4zM50.7 402.7l222.1-222.1 90.5 90.5-222.1 222.1c-25 25-65.5 25-90.5 0s-25-65.5 0-90.5z"]},kge={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z"]},Yg={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},J7={prefix:"fas",iconName:"pause",icon:[384,512,[9208],"f04c","M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z"]},$u={prefix:"fas",iconName:"border-all",icon:[448,512,[],"f84c","M384 96l0 128-128 0 0-128 128 0zm0 192l0 128-128 0 0-128 128 0zM192 224l-128 0 0-128 128 0 0 128zM64 288l128 0 0 128-128 0 0-128zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},X7={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Mge={prefix:"fas",iconName:"screwdriver-wrench",icon:[576,512,["tools"],"f7d9","M70.8-6.7c5.4-5.4 13.8-6.2 20.2-2L209.9 70.5c8.9 5.9 14.2 15.9 14.2 26.6l0 49.6 90.8 90.8c33.3-15 73.9-8.9 101.2 18.5L542.2 382.1c18.7 18.7 18.7 49.1 0 67.9l-60.1 60.1c-18.7 18.7-49.1 18.7-67.9 0L288.1 384c-27.4-27.4-33.5-67.9-18.5-101.2l-90.8-90.8-49.6 0c-10.7 0-20.7-5.3-26.6-14.2L23.4 58.9c-4.2-6.3-3.4-14.8 2-20.2L70.8-6.7zm145 303.5c-6.3 36.9 2.3 75.9 26.2 107.2l-94.9 95c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8l135.4-135.5 35.2 35.1zM384.1 0c20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1L388.8 91.3c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l56.7-56.7c7.6-7.5 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 43.2-17.2 82.3-45 111.1l-49.1-49.1c-33.1-33-78.5-45.7-121.1-38.4l-56.8-56.8 0-29.7-.2-5c-.8-12.4-4.4-24.3-10.5-34.9 29.4-35 73.4-57.2 122.7-57.3z"]},Q7={prefix:"fas",iconName:"file-export",icon:[576,512,["arrow-right-from-file"],"f56e","M96.5 0c-35.3 0-64 28.7-64 64l0 384c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-96 78.1 0-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-78.1 0 0-133.5c0-17-6.7-33.3-18.7-45.3L291.2 18.7C279.2 6.7 263 0 246 0L96.5 0zM358 176l-93.5 0c-13.3 0-24-10.7-24-24L240.5 58.5 358 176zM224.5 328c0-13.3 10.7-24 24-24l104 0 0 48-104 0c-13.3 0-24-10.7-24-24z"]},IA={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},X2={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0 87.7 0 108.4 12.9 119.4 32l337.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 23.7-12.9 44.4-32 55.4l0 273.1c19.1 11.1 32 31.7 32 55.4 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-337.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1zm448 0c-9.7-5.6-17.8-13.7-23.4-23.4L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l337.1 0c5.6-9.7 13.7-17.8 23.4-23.4l0-273.1zM144 176c0-17.7 14.3-32 32-32l112 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-64zM256 320l32 0c44.2 0 80-35.8 80-80l32 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-16z"]},Nge={prefix:"fas",iconName:"ruler-combined",icon:[448,512,[],"f546","M1 441.7C5.5 463.5 24.8 480 48 480l352 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0 72c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-72-64 0 0 72c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-72-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0 0-64-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0 0-48c0-26.5-21.5-48-48-48L48 32C21.5 32 0 53.5 0 80L0 432c0 3.3 .3 6.6 1 9.7z"]},e9={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"]},jA={prefix:"fas",iconName:"book-open",icon:[512,512,[128214,128366],"f518","M256 141.3l0 309.3 .5-.2C311.1 427.7 369.7 416 428.8 416l19.2 0 0-320-19.2 0c-42.2 0-84.1 8.4-123.1 24.6-16.8 7-33.4 13.9-49.7 20.7zM230.9 61.5L256 72 281.1 61.5C327.9 42 378.1 32 428.8 32L464 32c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-35.2 0c-50.7 0-100.9 10-147.7 29.5l-12.8 5.3c-7.9 3.3-16.7 3.3-24.6 0l-12.8-5.3C184.1 490 133.9 480 83.2 480L48 480c-26.5 0-48-21.5-48-48L0 80C0 53.5 21.5 32 48 32l35.2 0c50.7 0 100.9 10 147.7 29.5z"]},Ige={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M0 64C0 46.3 14.3 32 32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64zM32 176l448 0 0 240c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-240zm152 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},Hd={prefix:"fas",iconName:"border-top-left",icon:[448,512,["border-style"],"f853","M0 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-352 352 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L64 32C28.7 32 0 60.7 0 96L0 448zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm160 32c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zM384 192a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 160a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},jge={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM48 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 256a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},Q2={prefix:"fas",iconName:"arrow-pointer",icon:[448,512,["mouse-pointer"],"f245","M77.3 2.5c8.1-4.1 17.9-3.2 25.1 2.3l320 239.9c8.3 6.2 11.6 17 8.4 26.8s-12.4 16.4-22.8 16.4l-152.3 0 88.9 177.7c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3l-88.9-177.7-91.3 121.8c-6.2 8.3-17 11.6-26.8 8.4S64 434.3 64 424L64 24c0-9.1 5.1-17.4 13.3-21.5z"]},t9={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},r9={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]},Dge={prefix:"fas",iconName:"hand-pointer",icon:[448,512,[],"f25a","M128 40c0-22.1 17.9-40 40-40s40 17.9 40 40l0 148.2c8.5-7.6 19.7-12.2 32-12.2 20.6 0 38.2 13 45 31.2 8.8-9.3 21.2-15.2 35-15.2 25.3 0 46 19.5 47.9 44.3 8.5-7.7 19.8-12.3 32.1-12.3 26.5 0 48 21.5 48 48l0 112c0 70.7-57.3 128-128 128l-85.3 0c-5 0-9.9-.3-14.7-1-55.3-5.6-106.2-34-140-79L8 336c-13.3-17.7-9.7-42.7 8-56s42.7-9.7 56 8l56 74.7 0-322.7zM240 304c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96zm48-16c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96z"]};const ew=Object.freeze({id:"classic",shape:{small:"3px",medium:"6px",large:"8px",full:"9999px"},elevation:{small:"0 2px 8px rgba(0,0,0,0.6)",medium:"0 4px 12px rgba(0,0,0,0.5)",large:"0 8px 32px rgba(0,0,0,0.6)"}}),Dr=Object.freeze({id:"glass",color:{surface:{shell:"#12161f",panel:"rgba(255,255,255,0.06)",chrome:"rgba(255,255,255,0.10)",raised:"rgba(255,255,255,0.16)",inset:"rgba(10,14,22,0.38)",overlay:"rgba(255,255,255,0.08)"},boundary:{default:"rgba(255,255,255,0.22)",strong:"rgba(255,255,255,0.38)"},neutralOverlay:{hover:"color-mix(in srgb, currentColor 10%, transparent)",active:"color-mix(in srgb, currentColor 16%, transparent)"},scrim:"rgba(8,12,20,0.35)"},shape:{small:"4px",medium:"8px",large:"14px",full:"9999px"},elevation:{small:"0 4px 14px -6px rgba(0,0,0,0.45)",medium:"0 8px 24px -10px rgba(0,0,0,0.5)",large:"0 20px 46px -16px rgba(0,0,0,0.55), 0 4px 14px -6px rgba(0,0,0,0.35)"},treatment:{backdropBlurPx:1,backdropSaturation:1.15,edgeSpecular:.7,specularAngleDeg:120,textShadowOpacity:.72,contentFrostBlurPx:24,ambientLiftOpacity:.07,adaptiveContent:!0,brightTextShadowOpacity:0,brightFrostBg:"rgba(255,255,255,0.3)"},reducedTransparency:{surface:{shell:"#12161f",panel:"#33373e",chrome:"#3d4047",raised:"#4b4e55",inset:"#23272f",overlay:"#383b43"},scrim:"rgba(8,12,20,0.5)"}}),n9=["classic","glass"],qu=new Map;function Lge(e){if(o9(e.id))throw new Error(`registerContributedMaterial: material "${e.id}" is already registered.`);return qu.set(e.id,e),()=>{qu.get(e.id)===e&&qu.delete(e.id)}}function o9(e){return typeof e=="string"&&(n9.includes(e)||qu.has(e))}function Fge(e,t,r=!1){if(t!=="glass"){const o=qu.get(t);return{id:o?`${e.id}--${o.id}`:e.id,color:e.color,typography:e.typography,shape:o?.shape??ew.shape,elevation:o?.elevation??ew.elevation,...o?.density?{density:o.density}:{},...o?.stage?{stage:o.stage}:{},appearance:{material:"classic"}}}return{id:`${e.id}--${r?"glass-reduced":"glass"}`,color:{surface:r?Dr.reducedTransparency.surface:Dr.color.surface,boundary:Dr.color.boundary,content:e.color.content,accent:e.color.accent,semantic:e.color.semantic,neutralOverlay:Dr.color.neutralOverlay,scrim:r?Dr.reducedTransparency.scrim:Dr.color.scrim},typography:e.typography,shape:Dr.shape,elevation:Dr.elevation,appearance:{material:"glass"},...r?{}:{treatment:Dr.treatment}}}const i9={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch",baseline:"baseline"},a9={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly"};function ld(e){return e===0?"0px":e===void 0?void 0:`var(--volter-space-${e})`}function DA({gap:e,align:t,justify:r,padding:n,paddingX:o,paddingY:i,style:a}){return{gap:ld(e),alignItems:t?i9[t]:void 0,justifyContent:r?a9[r]:void 0,padding:ld(n),paddingInline:ld(o),paddingBlock:ld(i),...a}}function jp(e,t){return t?`${e} ${t}`:e}function Dp({className:e,...t}){return S.jsx("div",{...t,className:jp("volter-stack",e),style:DA(t)})}function ti({className:e,...t}){return S.jsx("div",{...t,className:jp("volter-inline",e),style:DA(t)})}function Bge({orientation:e="horizontal",className:t,...r}){return S.jsx("div",{...r,"aria-hidden":"true","data-orientation":e,className:jp("volter-divider",t)})}function s9({children:e,className:t,...r}){return S.jsx(ti,{...r,className:jp("volter-actions",t),gap:2,align:"center",children:e})}function LA(e,t){return t?`${e} ${t}`:e}const nt=z.forwardRef(function({as:t="span",variant:r="body",tone:n="primary",truncate:o=!1,selectable:i=!1,className:a,...s},u){const l=t;return S.jsx(l,{...s,ref:u,"data-variant":r,"data-tone":n,"data-truncate":o||void 0,"data-selectable":i||void 0,className:LA("volter-text",a)})});function Ud({className:e,...t}){return S.jsx("kbd",{...t,className:LA("volter-keycap",e)})}function Ny(e,t){return t?`${e} ${t}`:e}function zge({labelledBy:e,onDismiss:t,size:r="default",variant:n="default",className:o,...i}){const[a]=z.useState(()=>typeof document>"u"?null:document.querySelector(".volter-editor-theme")),s=z.useId(),u=z.useRef(null);z.useEffect(()=>{if(!t)return;const c=d=>{if(d.key!=="Escape"||d.defaultPrevented)return;const f=document.querySelectorAll(".volter-dialog-scrim");f[f.length-1]===u.current&&(d.preventDefault(),t())};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[t]);const l=S.jsx("div",{ref:u,"data-volter-portal-content":a?s:void 0,className:"volter-dialog-scrim","data-variant":n,onPointerDown:c=>{c.target===c.currentTarget&&t?.()},children:S.jsx("div",{...i,role:"dialog","aria-modal":"true","aria-labelledby":e,"data-size":r,"data-variant":n,className:Ny("volter-dialog",o)})});return a?S.jsxs(S.Fragment,{children:[S.jsx("span",{"data-volter-portal":s,style:{display:"none"}}),Tc.createPortal(l,a)]}):l}function Hge({titleId:e,title:t,description:r}){return S.jsxs(Dp,{className:"volter-dialog-header",gap:2,children:[S.jsx(nt,{id:e,as:"h2",variant:"heading",children:t}),r&&S.jsx(nt,{as:"p",tone:"muted",children:r})]})}function Uge({className:e,...t}){return S.jsx(Dp,{...t,className:Ny("volter-dialog-body",e)})}function Vge({children:e,className:t,...r}){return S.jsx(s9,{...r,className:Ny("volter-dialog-footer",t),children:e})}function FA(e,t){return t?`${e} ${t}`:e}function Wge({className:e,...t}){return S.jsx("div",{...t,className:FA("volter-field-group",e)})}function Gge({label:e,htmlFor:t,hint:r,compact:n=!1,className:o,children:i,...a}){return S.jsxs("div",{...a,"data-compact":n||void 0,className:FA("volter-field-row",o),children:[S.jsx("label",{htmlFor:t,className:"volter-field-label",children:e}),S.jsx("div",{className:"volter-field-control",children:i}),r&&S.jsx("div",{className:"volter-field-hint",children:r})]})}const Kge=z.forwardRef(function({selected:t=!1,accent:r="bar",className:n,type:o="button",...i},a){return S.jsx("button",{...i,ref:a,type:o,"data-selected":t||void 0,"data-accent":r,className:n?`volter-list-button ${n}`:"volter-list-button"})});function BA({tone:e="neutral",icon:t,title:r,description:n,detail:o,action:i,compact:a=!1,fill:s=!1,inline:u=!1,className:l,...c}){const d=e==="error"?"alert":e==="success"?"status":void 0;return S.jsxs("div",{...c,role:c.role??d,"data-tone":e,"data-compact":a||void 0,"data-fill":s||void 0,"data-inline":u||void 0,className:l?`volter-state-surface ${l}`:"volter-state-surface",children:[t&&S.jsx("div",{className:"volter-state-surface-icon",children:t}),S.jsx("strong",{className:"volter-state-surface-title",children:r}),n&&S.jsx("div",{className:"volter-state-surface-description",children:n}),o&&S.jsx("div",{className:"volter-state-surface-detail",children:o}),i&&S.jsx("div",{className:"volter-state-surface-action",children:i})]})}function Lp(e,t){return t?`${e} ${t}`:e}function Yge({variant:e="panel",border:t=!1,scroll:r=!1,className:n,...o}){return S.jsx("div",{...o,"data-variant":e,"data-border":t||void 0,"data-scroll":r||void 0,className:Lp("volter-surface",n)})}function Zge({tone:e="info",icon:t,actions:r,detail:n,className:o,children:i,...a}){return S.jsxs("div",{...a,role:e==="error"?"alert":"status","data-tone":e,className:Lp("volter-banner",o),children:[t&&S.jsx("span",{className:"volter-banner-icon",children:t}),S.jsxs("div",{className:"volter-banner-content",children:[i,n&&S.jsx("div",{className:"volter-banner-detail",children:n})]}),r&&S.jsx("div",{className:"volter-banner-actions",children:r})]})}const Fp=z.forwardRef(function({className:t,...r},n){return S.jsx("div",{ref:n,...r,className:Lp("volter-popover",t)})});function Jge({position:e="inside",className:t,...r}){return S.jsx("div",{...r,"aria-hidden":"true","data-position":e,className:Lp("volter-drop-indicator",t)})}function zA(e,t){return t?`${e} ${t}`:e}const Xge=z.forwardRef(function({className:t,onKeyDown:r,...n},o){return S.jsx("div",{...n,ref:o,role:"tablist",className:zA("volter-tabs",t),onKeyDown:i=>{if(r?.(i),i.defaultPrevented||!["ArrowLeft","ArrowRight","Home","End"].includes(i.key))return;const a=Array.from(i.currentTarget.querySelectorAll('[role="tab"]:not(:disabled)'));if(a.length===0)return;i.preventDefault();const s=a.indexOf(document.activeElement);(i.key==="Home"?a[0]:i.key==="End"?a.at(-1):i.key==="ArrowRight"?a[(s+1+a.length)%a.length]:a[(s-1+a.length)%a.length])?.focus()}})}),Qge=z.forwardRef(function({selected:t=!1,dirty:r=!1,badge:n,className:o,type:i="button",tabIndex:a,children:s,...u},l){return S.jsxs("button",{...u,ref:l,type:i,role:"tab",tabIndex:a??(t?0:-1),"aria-selected":t,"data-selected":t||void 0,className:zA("volter-tab",o),children:[r&&S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"volter-tab-dirty",title:"Unsaved","aria-hidden":"true"}),S.jsx("span",{className:"volter-sr-only",children:"Unsaved"})]}),S.jsx("span",{className:"volter-tab-label",children:s}),n!==void 0&&S.jsx("span",{className:"volter-tab-badge",children:n})]})});function Oc(e,t){return t?`${e} ${t}`:e}const HA=z.forwardRef(function({label:t,compact:r=!1,selectionMode:n="independent",className:o,...i},a){return S.jsx("div",{...i,ref:a,role:"toolbar","aria-label":t,"data-compact":r||void 0,"data-selection-mode":n,className:Oc("volter-toolbar",o)})});function ebe({className:e,...t}){return S.jsx("div",{...t,role:"group",className:Oc("volter-toolbar-group",e)})}function tbe(e){return S.jsx("span",{...e,"aria-hidden":"true",className:Oc("volter-toolbar-divider",e.className)})}function l9({className:e,onPointerDownCapture:t,...r}){return S.jsx(HA,{...r,compact:!0,className:Oc("volter-floating-toolbar",e),onPointerDownCapture:n=>{t?.(n),n.stopPropagation()}})}function UA({className:e,...t}){return S.jsx("div",{...t,role:"group",className:Oc("volter-split-button",e)})}function VA(e,t){return t?`${e} ${t}`:e}const rbe=z.forwardRef(function({label:t,className:r,...n},o){return S.jsx("div",{...n,ref:o,role:"tree","aria-label":t,className:VA("volter-tree",r)})}),nbe=z.forwardRef(function({level:t=1,selected:r=!1,expanded:n,muted:o=!1,dragging:i=!1,leading:a,actions:s,className:u,children:l,style:c,...d},f){return S.jsxs("div",{...d,ref:f,role:"treeitem",tabIndex:d.tabIndex??-1,"aria-level":t,"aria-selected":r,...n===void 0?{}:{"aria-expanded":n},"data-selected":r||void 0,"data-muted":o||void 0,"data-dragging":i||void 0,className:VA("volter-tree-row",u),style:{paddingLeft:6+Math.max(0,t-1)*14,...c},children:[a&&S.jsx("span",{className:"volter-tree-row-leading",children:a}),S.jsx("span",{className:"volter-tree-row-label",children:l}),s&&S.jsx("span",{className:"volter-tree-row-actions",children:s})]})});function u9(e){const r=window.innerWidth,n=window.innerHeight,o=Math.max(8,r-e.width-8),i=Math.max(8,n-e.height-8);return{left:Math.min(Math.max(e.left,8),o),top:Math.min(Math.max(e.top,8),i)}}function Bp(e,t){return t?`${e} ${t}`:e}function Zg(e){return Array.from(e.querySelectorAll('[role="menuitem"]:not(:disabled), [role="menuitemradio"]:not(:disabled), [role="menuitemcheckbox"]:not(:disabled)'))}function c9(e){Zg(e)[0]?.focus()}function tw(e,t){if(!e)return!1;let r=t;for(;r;){if(e.contains(r))return!0;const o=((r instanceof Element?r:r.parentElement)?.closest("[data-volter-portal-content]")??null)?.getAttribute("data-volter-portal-content");if(!o)return!1;r=document.querySelector(`[data-volter-portal="${CSS.escape(o)}"]`)}return!1}const d9=z.forwardRef(function({className:t,role:r="menu",autoFocusFirst:n=!1,dismissBoundaryRef:o,onDismiss:i,onKeyDown:a,...s},u){const l=z.useRef(null);return z.useImperativeHandle(u,()=>l.current),z.useEffect(()=>{n&&Zg(l.current)[0]?.focus()},[n]),z.useEffect(()=>{if(!i)return;const c=d=>{const f=d.target;!tw(l.current,f)&&!tw(o?.current??null,f)&&i("outside")};return document.addEventListener("pointerdown",c),()=>document.removeEventListener("pointerdown",c)},[o,i]),S.jsx("div",{...s,ref:l,role:r,className:Bp("volter-menu",t),onKeyDown:c=>{if(a?.(c),c.defaultPrevented)return;if(c.key==="Escape"){c.preventDefault(),i?.("escape");return}if(!["ArrowDown","ArrowUp","Home","End"].includes(c.key))return;c.preventDefault();const d=Zg(c.currentTarget);if(d.length===0)return;const f=d.indexOf(document.activeElement);c.key==="Home"?d[0]?.focus():c.key==="End"?d.at(-1)?.focus():c.key==="ArrowDown"?d[(f+1+d.length)%d.length]?.focus():d[(f-1+d.length)%d.length]?.focus()}})}),WA=z.forwardRef(function({className:t,type:r="button",role:n="menuitem",onClick:o,onSelect:i,...a},s){return S.jsx("button",{...a,ref:s,type:r,role:n,className:Bp("volter-menu-item",t),onClick:u=>{o?.(u),u.defaultPrevented||i?.()}})});function obe(e){return S.jsx("hr",{...e,className:Bp("volter-menu-separator",e.className)})}const ibe=z.forwardRef(function({className:t,type:r="button",...n},o){return S.jsx("button",{...n,ref:o,type:r,"aria-haspopup":n["aria-haspopup"]??"menu",className:Bp("volter-menu-trigger",t)})});function f9({children:e}){const t=z.useRef(null),[r,n]=z.useState(null),o=z.useId();return z.useLayoutEffect(()=>{n(t.current?.closest(".volter-editor-theme")??null)},[]),S.jsxs(S.Fragment,{children:[S.jsx("span",{ref:t,"data-volter-portal":o,style:{display:"none"}}),r?Tc.createPortal(S.jsx("div",{"data-volter-portal-content":o,style:{display:"contents"},children:e}),r):null]})}function Iy({anchorRef:e,align:t="end",side:r="bottom",autoFocusFirst:n=!0,gap:o=4,clamp:i=!1,onDismiss:a,style:s,children:u,...l}){const[c,d]=z.useState(null),[f,p]=z.useState(null),h=z.useRef(null),m=z.useRef(!0),v=z.useRef(!1),g=z.useCallback(()=>{const _=e.current;if(!_||!c)return;const R=_.getBoundingClientRect(),x=c.getBoundingClientRect(),b=r==="right"||r==="left"?{left:r==="right"?R.right+o:R.left-o-x.width,top:R.top}:{left:t==="end"?R.right-x.width:R.left,top:r==="top"?R.top-o-x.height:R.bottom+o},E=i?u9({...b,width:x.width,height:x.height}):b,C=h.current;C?.left===E.left&&C.top===E.top||(h.current=E,p(E))},[t,e,i,o,c,r]);z.useLayoutEffect(()=>{const _=e.current;if(!_||!c)return;g();let R=0;const x=()=>{g(),R=requestAnimationFrame(x)};R=requestAnimationFrame(x),window.addEventListener("resize",g),document.addEventListener("scroll",g,!0);const y=typeof ResizeObserver>"u"?null:new ResizeObserver(g);return y?.observe(_),y?.observe(c),()=>{const b=m.current&&c.contains(document.activeElement);window.removeEventListener("resize",g),document.removeEventListener("scroll",g,!0),cancelAnimationFrame(R),y?.disconnect(),b&&queueMicrotask(()=>e.current?.focus())}},[e,c,g]),z.useLayoutEffect(()=>{!n||v.current||!c||!f||(v.current=!0,c9(c))},[n,c,f]);const w=_=>{m.current=_!=="outside",a(),_==="escape"&&e.current?.focus()};return S.jsx(f9,{children:S.jsx(d9,{...l,ref:d,dismissBoundaryRef:e,onDismiss:w,style:{...s,position:"fixed",left:f?.left??0,top:f?.top??0,visibility:f?s?.visibility:"hidden"},children:u})})}function abe({label:e,children:t,gap:r=0,...n}){const[o,i]=z.useState(!1),a=z.useRef(null),s=z.useId(),u=c=>c instanceof Element&&(a.current?.contains(c)===!0||c.closest(`[data-volter-submenu="${s}"]`)!==null),l=c=>{u(c.relatedTarget)||i(!1)};return S.jsxs(S.Fragment,{children:[S.jsxs(WA,{...n,ref:a,"aria-haspopup":"menu","aria-expanded":o,onPointerEnter:()=>i(!0),onPointerLeave:l,onClick:c=>{c.preventDefault(),i(!0)},onKeyDown:c=>{(c.key==="ArrowRight"||c.key==="Enter"||c.key===" ")&&(c.preventDefault(),i(!0)),c.key==="ArrowLeft"&&i(!1)},children:[S.jsx("span",{style:{flex:1},children:e}),S.jsx("span",{"aria-hidden":"true",style:{paddingInlineStart:"var(--volter-space-4)"},children:"▸"})]}),o&&S.jsx(Iy,{anchorRef:a,"data-volter-submenu":s,side:"right",gap:r,clamp:!0,autoFocusFirst:!1,onDismiss:()=>i(!1),onPointerLeave:l,children:t})]})}const Xe=z.forwardRef(function({variant:t="secondary",size:r="default",shape:n="default",className:o,type:i="button",...a},s){return S.jsx("button",{...a,ref:s,type:i,className:o?`volter-btn ${o}`:"volter-btn","data-variant":t,"data-size":r,"data-shape":n})}),Ln=z.forwardRef(function({variant:t="ghost",visibleLabel:r,children:n,...o},i){return S.jsxs(Xe,{...o,ref:i,variant:t,"data-icon":"true","data-label-placement":r===void 0?void 0:"below",children:[n,r!==void 0&&S.jsx("span",{className:"volter-icon-button-label",children:r})]})}),p9=z.createContext(null);function GA(){return z.useContext(p9)}function Io(e,t){return t?`${e} ${t}`:e}const lt=z.forwardRef(function({className:t,type:r="text",...n},o){return S.jsx("input",{...n,ref:o,type:r,className:Io("volter-input",t)})}),Jg=z.forwardRef(function({className:t,...r},n){return S.jsx("select",{...r,ref:n,className:Io("volter-select",t)})}),sbe=z.forwardRef(function({className:t,...r},n){return S.jsx("textarea",{...r,ref:n,className:Io("volter-input volter-textarea",t)})}),ku=z.forwardRef(function({className:t,...r},n){return S.jsx("input",{...r,ref:n,type:"checkbox",className:Io("volter-checkbox",t)})}),h9=z.forwardRef(function({className:t,...r},n){return S.jsx("input",{...r,ref:n,type:"color",className:Io("volter-color-swatch",t)})}),lbe=z.forwardRef(function({className:t,...r},n){return S.jsx("input",{...r,ref:n,type:"file",className:Io("volter-file-input",t)})}),ube=z.forwardRef(function({className:t,...r},n){return S.jsx("input",{...r,ref:n,type:"range",className:Io("volter-range",t)})});function cbe({value:e,onChange:t,disabled:r=!1}){const[n,o]=z.useState(e??""),i=GA();z.useEffect(()=>{o(e??"")},[e]);const a=()=>{const s=n.trim();s&&s!==e&&t(s)};return e===null?S.jsxs("div",{className:"volter-color-input",children:[S.jsx("div",{className:"volter-color-input-mixed"}),S.jsx(lt,{placeholder:"—",disabled:r,onChange:s=>{s.target.value&&t(s.target.value)},"data-mixed":"true"})]}):S.jsxs("div",{className:"volter-color-input",children:[S.jsx(h9,{value:e,disabled:r,onChange:s=>{i?.begin(),t(s.target.value)},onBlur:()=>i?.end()}),S.jsx(lt,{value:n,disabled:r,onChange:s=>o(s.target.value),onBlur:a,onKeyDown:s=>{s.key==="Enter"?(a(),s.target.blur()):s.key==="Escape"&&(o(e),s.target.blur())}})]})}const zp="default",Mu=new Map;let Yu=zp;const Xg=new Set;function Qg(){for(const e of Xg)e()}function KA(e){return typeof e=="string"&&(e===zp||Mu.has(e))}function dbe(e){if(KA(e.id))throw new Error(`registerContributedIconSet: icon set "${e.id}" is already registered.`);return Mu.set(e.id,e),Qg(),()=>{Mu.get(e.id)===e&&(Mu.delete(e.id),Qg())}}function rw(){return Yu}function fbe(e){const t=KA(e)?e:zp;t!==Yu&&(Yu=t,Qg())}function m9(e){return Xg.add(e),()=>Xg.delete(e)}function g9(e){return Yu===zp?null:Mu.get(Yu)?.glyphs[e]??null}const Cn={base:0,overlayLow:50,sticky:100,dropdown:1e3,toast:9999,modal:1e4},sa={0:"#1a1a1a",1:"#242424",2:"#2c2c2c",3:"#333333",inset:"#1e1e1e"},nw={1:"#333333",2:"#444444"},Em={1:"#c5c8ce",2:"#9aa0a6",3:"#90959c"},b9="#579EFF",v9="rgba(87,158,255,0.15)",y9="#FF6B6B",w9="#e0a030",E9="#4caf50",_9="rgba(76,175,80,0.15)",S9="rgba(255,107,107,0.15)",R9="rgba(224,160,48,0.12)",x9="rgba(255,107,107,0.06)",C9="rgba(0,0,0,0.5)",A9="#ff79c6",P9="rgba(255,121,198,0.08)",T9="#22b8d6",O9='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',$9='ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace',_m={sm:"0 2px 8px rgba(0,0,0,0.6)",md:"0 4px 12px rgba(0,0,0,0.5)",lg:"0 8px 32px rgba(0,0,0,0.6)"},pbe={0:"var(--volter-surface-shell)",1:"var(--volter-surface-panel)",2:"var(--volter-surface-chrome)",3:"var(--volter-surface-raised)",inset:"var(--volter-surface-inset)"},hbe={1:"var(--volter-boundary-default)",2:"var(--volter-boundary-strong)"},mbe={1:"var(--volter-content-primary)",2:"var(--volter-content-muted)",3:"var(--volter-content-dim)"},gbe="var(--volter-accent)",bbe="var(--volter-accent-muted)",vbe={background:"var(--volter-selection-bg)",border:"var(--volter-selection-border)",indicator:"var(--volter-selection-indicator)"},ybe="var(--volter-danger)",wbe="var(--volter-warn)",Ebe="var(--volter-success)",_be="var(--volter-success-muted)",Sbe="var(--volter-danger-muted)",Rbe="var(--volter-warn-muted)",xbe="var(--volter-danger-faint)",Cbe="var(--volter-scrim)",Abe="var(--volter-dynamic)",Pbe="var(--volter-dynamic-muted)",Tt={1:2,2:4,3:6,4:8,5:10,6:12,8:16,10:20,12:24},q9={commandBar:36,panelHeader:30,localToolbar:28,treeRow:24,treeIndent:14,statusBar:36,toolSize:34,toolWidth:38,toolGap:7,areaSeam:1,areaEmboss:0,navigationControl:28,treeCaret:18,treeGlyphPlateRadius:5,treeGlyphOpacity:.8},jy=["solid","clay","unlit","wireframe","matcap","normals","overdraw","preview","rendered"];function Ct(e){return e===void 0?"":`${e}`}function Se(e){return{control:{...k9,...e.density?.control},font:{...N9,...e.density?.font},icon:{...M9,...e.density?.icon},chrome:{...q9,...e.density?.chrome}}}const k9={compact:20,default:24,comfortable:28},Sm={resting:1,active:2},M9={xs:9,sm:10,md:12,lg:13,xl:14,"2xl":16},N9={xs:9,sm:10,base:11,md:12,lg:13,xl:14,"2xl":16,heading:24},Vd={regular:400,semibold:600,bold:700},ud={tight:1,snug:1.2,normal:1.4,relaxed:1.5},la={duration:{fast:140,base:180,slow:300},easing:{standard:"cubic-bezier(0.32, 0.72, 0.28, 1)",out:"ease-out"}},Tbe="var(--volter-font-sans)",Obe="var(--volter-font-mono)",cd={small:"3px",medium:"6px",large:"8px",full:"9999px"},$be={sm:"var(--volter-radius-sm)",md:"var(--volter-radius-md)",lg:"var(--volter-radius-lg)",full:"var(--volter-radius-full)"},qbe={sm:"var(--volter-shadow-sm)",md:"var(--volter-shadow-md)",lg:"var(--volter-shadow-lg)"},kbe={xs:"var(--volter-font-xs)",sm:"var(--volter-font-sm)",base:"var(--volter-font-base)",md:"var(--volter-font-md)",lg:"var(--volter-font-lg)",xl:"var(--volter-font-xl)","2xl":"var(--volter-font-2xl)",heading:"var(--volter-font-heading)"},Mbe={1:"var(--volter-space-1)",2:"var(--volter-space-2)",3:"var(--volter-space-3)",4:"var(--volter-space-4)",5:"var(--volter-space-5)",6:"var(--volter-space-6)",8:"var(--volter-space-8)",10:"var(--volter-space-10)",12:"var(--volter-space-12)"},Nbe={tight:"var(--volter-leading-tight)",snug:"var(--volter-leading-snug)",normal:"var(--volter-leading-normal)",relaxed:"var(--volter-leading-relaxed)"},Ibe={duration:{fast:"var(--volter-duration-fast)",base:"var(--volter-duration-base)",slow:"var(--volter-duration-slow)"},easing:{standard:"var(--volter-ease-standard)",out:"var(--volter-ease-out)"}},jbe="var(--volter-focus-ring)",Dbe=["outliner","properties"],I9=Object.keys({object:!0,modifier:!0,material:!0,tool:!0,operator:!0,data:!0,scene:!0,collection:!0,select:!0}),YA={id:"graphite-dark",color:{surface:{shell:sa[0],panel:sa[1],chrome:sa[2],raised:sa[3],inset:sa.inset,overlay:"rgba(36,36,36,0.94)"},boundary:{default:nw[1],strong:nw[2]},content:{primary:Em[1],muted:Em[2],dim:Em[3],onAccent:"#101820",onBright:{primary:"#1a2330",muted:"rgba(26,35,48,0.82)",dim:"rgba(26,35,48,0.74)"}},accent:{default:b9,muted:v9},semantic:{danger:y9,dangerMuted:S9,dangerFaint:x9,warning:w9,warningMuted:R9,success:E9,successMuted:_9,dynamic:A9,dynamicMuted:P9,instance:T9},neutralOverlay:{hover:"rgba(255,255,255,0.08)",active:"rgba(255,255,255,0.14)"},scrim:C9},typography:{sans:O9,mono:$9},shape:{small:cd.small,medium:cd.medium,large:cd.large,full:cd.full},elevation:{small:_m.sm,medium:_m.md,large:_m.lg}},ge={surface:{shell:"var(--volter-surface-shell)",panel:"var(--volter-surface-panel)",chrome:"var(--volter-surface-chrome)",raised:"var(--volter-surface-raised)",inset:"var(--volter-surface-inset)",overlay:"var(--volter-surface-overlay)"},boundary:{default:"var(--volter-boundary-default)",strong:"var(--volter-boundary-strong)"},content:{primary:"var(--volter-content-primary)",muted:"var(--volter-content-muted)",dim:"var(--volter-content-dim)",onAccent:"var(--volter-content-on-accent)",active:"var(--volter-content-active)",selected:"var(--volter-content-selected)"},accent:{default:"var(--volter-accent)",muted:"var(--volter-accent-muted)"},selection:{background:"var(--volter-selection-bg)",border:"var(--volter-selection-border)",indicator:"var(--volter-selection-indicator)"},semantic:{danger:"var(--volter-danger)",dangerMuted:"var(--volter-danger-muted)",dangerFaint:"var(--volter-danger-faint)",warning:"var(--volter-warn)",warningMuted:"var(--volter-warn-muted)",success:"var(--volter-success)",successMuted:"var(--volter-success-muted)",dynamic:"var(--volter-dynamic)",dynamicMuted:"var(--volter-dynamic-muted)",instance:"var(--volter-instance)"},neutralOverlay:{hover:"var(--volter-neutral-hover)",active:"var(--volter-neutral-active)"},scrim:"var(--volter-scrim)",viewport:{marqueeLine:"var(--volter-viewport-marquee-line)",marqueeFill:"var(--volter-viewport-marquee-fill)",marqueeGap:"var(--volter-viewport-marquee-gap)"},typography:{sans:"var(--volter-font-sans)",mono:"var(--volter-font-mono)"},shape:{small:"var(--volter-radius-sm)",medium:"var(--volter-radius-md)",large:"var(--volter-radius-lg)",full:"var(--volter-radius-full)"},elevation:{small:"var(--volter-shadow-sm)",medium:"var(--volter-shadow-md)",large:"var(--volter-shadow-lg)"},focusRing:"var(--volter-focus-ring)"};function j9(e){const t=`<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1L5 5L9 1' stroke='${e}' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(t)}")`}function D9(e){if(!e)return"none";const t=[];return e.backdropBlurPx&&t.push(`blur(${e.backdropBlurPx}px)`),e.backdropSaturation!==void 0&&e.backdropSaturation!==1&&t.push(`saturate(${e.backdropSaturation})`),e.backdropBrightness!==void 0&&e.backdropBrightness!==1&&t.push(`brightness(${e.backdropBrightness})`),t.length>0?t.join(" "):"none"}function ow(e,t){return t?"transparent":`linear-gradient(var(${e}), var(${e})), linear-gradient(var(--volter-surface-shell), var(--volter-surface-shell))`}function L9(e){const t=e?.contentFrostBlurPx??0;if(t<=0)return"none";const r=[`blur(${t}px)`];return e?.backdropSaturation!==void 0&&e.backdropSaturation!==1&&r.push(`saturate(${e.backdropSaturation})`),r.join(" ")}function eb(e){return(e?.contentFrostBlurPx??0)>0?"rgba(255,255,255,0.10)":"transparent"}function F9(e){return e?"color-mix(in srgb, currentColor 7%, transparent)":"var(--volter-widget-field)"}function B9(e){return e?"color-mix(in srgb, currentColor 26%, transparent)":"var(--volter-boundary-default)"}function z9(e,t){const o=[t==="none"?"":t,e?"inset 0 1px 0 color-mix(in srgb, currentColor 14%, transparent), 0 5px 14px -12px color-mix(in srgb, currentColor 55%, transparent)":""].filter(Boolean);return o.length===0?"none":o.join(", ")}const H9=.6,U9=.5;function kf(e,t){return`rgba(255,255,255,${Math.min(1,Number((e*t/H9).toFixed(3)))})`}function ZA(e){const t=e?.edgeSpecular??0;if(t<=0)return"none";const r=e?.specularAngleDeg??120,n=o=>kf(o,t);return`linear-gradient(${r}deg, ${n(.95)} 0%, ${n(.38)} 16%, ${n(.16)} 40%, ${n(.14)} 60%, ${n(.45)} 84%, ${n(.85)} 100%)`}function V9(e){const t=e?.edgeSpecular??0;if(t<=0)return"none";const r=e?.specularAngleDeg??120,n=o=>kf(o,t);return`linear-gradient(${r}deg, ${n(.16)} 0%, ${n(.05)} 24%, transparent 40%)`}function W9(e){const t=e?.edgeSpecular??0,r=e?.thickness??0,n=[];if(t>0&&(n.push(`inset 0 1px 1px ${kf(.28,t)}`),n.push(`inset 0 -1px 1px ${kf(.1,t)}`)),r>0){const o=i=>`${Number((i*r/U9).toFixed(1))}px`;n.push(`inset 0 ${o(12)} ${o(24)} ${o(-14)} rgba(255,255,255,0.35)`),n.push(`inset 0 ${o(-14)} ${o(28)} ${o(-18)} rgba(0,0,0,0.55)`),n.push(`0 ${o(18)} ${o(40)} ${o(-18)} rgba(0,0,0,0.55)`)}else n.push("var(--volter-shadow-lg)");return n.join(", ")}function Gi(e){return e.appearance?e.appearance.material==="glass":e.treatment!==void 0}function G9(e){return Gi(e)?"var(--volter-surface-panel)":"color-mix(in srgb, var(--volter-surface-panel) 90%, transparent)"}function K9(e){return Gi(e)?e.treatment?"var(--volter-surface-backdrop-filter)":"none":"blur(8px)"}function Y9(e){return e?"17px":"var(--volter-radius-md)"}function Z9(e){return e?"var(--volter-boundary-default)":"var(--volter-boundary-strong)"}function J9(e){return e?"var(--volter-shadow-lg)":"var(--volter-shadow-sm)"}function X9(e,t){const r=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.color.accent.default);if(!r)return null;const[n,o,i]=[r[1],r[2],r[3]].map(a=>Number.parseInt(a,16));return`rgba(${n},${o},${i},${t})`}function Hp(e){return Gi(e)}function Q9(e){return Hp(e)?"var(--volter-neutral-active)":"var(--volter-accent-muted)"}function JA(e){const t=e.trim().toLowerCase();if(t.startsWith("#"))return t.length===5?t.endsWith("f"):t.length===9?t.endsWith("ff"):!0;const r=/^rgba?\(([^)]*)\)$/.exec(t)??/^hsla?\(([^)]*)\)$/.exec(t);if(r){const n=(r[1]??"").split(/[,/]/)[3];return n===void 0||Number.parseFloat(n)>=1}return t!=="transparent"&&!t.includes("transparent")}function XA(e){if(!JA(e))return!1;const t=e.trim().toLowerCase();let r=null;const n=/^#([0-9a-f]{3}|[0-9a-f]{6})(?:f|ff)?$/.exec(t);if(n){const s=n[1].length===3?[...n[1]].map(u=>u+u).join(""):n[1];r=[0,2,4].map(u=>Number.parseInt(s.slice(u,u+2),16))}else{const s=/^rgba?\(([^)]*)\)$/.exec(t);s&&(r=(s[1]??"").split(/[,\s/]+/).filter(Boolean).slice(0,3).map(u=>u.endsWith("%")?Number.parseFloat(u)*2.55:Number.parseFloat(u)))}if(!r||r.some(s=>!Number.isFinite(s)))return!1;const[o,i,a]=r;return(.2126*o+.7152*i+.0722*a)/255>.5}function eL(e){return Hp(e)?"var(--volter-content-primary)":JA(e.color.accent.muted)?"var(--volter-content-on-accent)":"var(--volter-content-primary)"}function tL(e){return Hp(e)?"color-mix(in srgb, currentColor 30%, transparent)":XA(e.color.surface.panel)?`rgb(from ${e.color.accent.muted} r g b / 1)`:"var(--volter-accent)"}function rL(e){return Hp(e)?"color-mix(in srgb, currentColor 76%, transparent)":"var(--volter-accent)"}function nL(e){return e?"var(--volter-radius-full)":"var(--volter-radius-sm)"}function oL(e){return!Gi(e)||!e.treatment?"var(--volter-accent)":X9(e,.82)??"var(--volter-accent)"}function iL(e){const t=e?.edgeSpecular??0;return t<=0?"none":ZA({...e,edgeSpecular:t*.4})}function aL(e){const t=e?.ambientLiftOpacity??0;if(t<=0)return"none";const r=Number(t.toFixed(3)),n=Number((t*.35).toFixed(3));return`linear-gradient(165deg, rgba(255,255,255,${r}) 0%, rgba(255,255,255,${n}) 55%, rgba(255,255,255,0) 100%)`}function QA(e){return e<=0?"none":`0 1px 2px rgba(0,0,0,${Number(e.toFixed(3))})`}function eP(e){return QA(e?.textShadowOpacity??0)}function sL(e){return e.treatment?.adaptiveContent?{primary:e.color.content.onBright.primary,muted:e.color.content.onBright.muted,dim:e.color.content.onBright.dim,textShadow:QA(e.treatment.brightTextShadowOpacity??0),frostBg:e.treatment.brightFrostBg??eb(e.treatment)}:{primary:e.color.content.primary,muted:e.color.content.muted,dim:e.color.content.dim,textShadow:eP(e.treatment),frostBg:eb(e.treatment)}}function lL(e){return e.treatment?e.treatment.adaptiveContent?"rgba(255,255,255,0.9)":cL(e.color.surface.chrome,.9):e.color.surface.chrome}function uL(e){return e.color.surface.panel}function cL(e,t){const r=/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([0-9.]+)\s*\)$/.exec(e);if(!r)return e;const n=Math.max(Number(r[4]),t);return`rgba(${r[1]},${r[2]},${r[3]},${n})`}function iw(e){if(!e)return"none";const r=[`blur(${Math.max(16,e.contentFrostBlurPx??0)}px)`];return e.backdropSaturation!==void 0&&e.backdropSaturation!==1&&r.push(`saturate(${e.backdropSaturation})`),r.join(" ")}function dL(e){return e.color.boundary.area??e.color.boundary.default}function fL(e,t){return`color-mix(in srgb, ${e} 98.4%, ${t})`}function ua(e){return`color-mix(in srgb, var(--volter-area-emboss-mix), ${e})`}function pL(e){const t=Se(e).chrome.areaEmboss;return t>0?`#ffffff ${t}%`:"transparent 100%"}function hL(e){const t=sL(e),r=Gi(e),n=e.color.widget?.regular??e.color.surface.raised,o=e.color.widget?.menu??e.color.surface.raised,i=e.color.widget?.field??e.color.surface.inset,a=e.color.widget?.emboss?`0 1px 0 ${e.color.widget.emboss}`:"none",s=l=>`color-mix(in srgb, ${l} 87.8%, ${e.color.content.primary})`,u=`color-mix(in srgb, ${e.color.surface.panel} 86.5%, ${e.color.surface.raised})`;return{"--volter-surface-shell":e.color.surface.shell,"--volter-surface-panel":e.color.surface.panel,"--volter-surface-chrome":e.color.surface.chrome,"--volter-surface-raised":e.color.surface.raised,"--volter-surface-inset":e.color.surface.inset,"--volter-surface-overlay":e.color.surface.overlay,"--volter-surface-backdrop-filter":D9(e.treatment),"--volter-surface-sticky":ow("--volter-surface-chrome",r),"--volter-surface-sticky-panel":ow("--volter-surface-panel",r),"--volter-surface-sticky-backdrop-filter":"none","--volter-content-frost-filter":L9(e.treatment),"--volter-content-frost-bg":eb(e.treatment),"--volter-input-surface":F9(r),"--volter-input-border":B9(r),"--volter-input-shadow":z9(r,a),"--volter-structural-divider":r?"transparent":e.color.boundary.default,"--volter-card-specular-ring":ZA(e.treatment),"--volter-card-specular-sheen":V9(e.treatment),"--volter-card-specular-shadow":W9(e.treatment),"--volter-ambient-lift":aL(e.treatment),"--volter-island-surface":G9(e),"--volter-island-backdrop-filter":K9(e),"--volter-island-radius":Y9(r),"--volter-island-border-color":Z9(r),"--volter-island-shadow":J9(r),"--volter-island-specular-ring":iL(e.treatment),"--volter-selection-bg":Q9(e),"--volter-content-on-selection":eL(e),"--volter-selection-border":tL(e),"--volter-selection-indicator":rL(e),"--volter-island-control-radius":nL(r),"--volter-island-primary-bg":oL(e),"--volter-content-text-shadow":eP(e.treatment),"--volter-content-primary-on-bright":t.primary,"--volter-content-muted-on-bright":t.muted,"--volter-content-dim-on-bright":t.dim,"--volter-content-text-shadow-on-bright":t.textShadow,"--volter-content-frost-bg-on-bright":t.frostBg,"--volter-glass-regular-bg":lL(e),"--volter-glass-regular-backdrop-filter":iw(e.treatment),"--volter-glass-regular-panel-bg":uL(e),"--volter-glass-regular-panel-backdrop-filter":iw(e.treatment),"--volter-scrim-backdrop-filter":e.treatment?"blur(8px)":"none","--volter-boundary-default":e.color.boundary.default,"--volter-boundary-strong":e.color.boundary.strong,"--volter-boundary-area":dL(e),"--volter-tree-indent-guide":e.color.boundary.indent??"transparent","--volter-boundary-divider":e.color.boundary.divider??e.color.boundary.default,"--volter-area-emboss-mix":pL(e),"--volter-area-emboss":ua(e.color.surface.panel),"--volter-area-emboss-stage":ua(ua(e.color.viewport?.background??e.color.surface.panel)),"--volter-area-emboss-stage-header":ua(ua(u)),"--volter-content-primary":e.color.content.primary,"--volter-content-muted":e.color.content.muted,"--volter-content-dim":e.color.content.dim,"--volter-content-on-accent":e.color.content.onAccent,"--volter-content-menu":e.color.content.menu??e.color.content.primary,"--volter-content-status":e.color.content.status??e.color.content.dim,"--volter-content-placeholder":e.color.content.placeholder??e.color.content.dim,"--volter-content-active":e.color.content.active??"","--volter-content-selected":e.color.content.selected??e.color.content.active??"","--volter-accent":e.color.accent.default,"--volter-accent-muted":e.color.accent.muted,"--volter-danger":e.color.semantic.danger,"--volter-danger-muted":e.color.semantic.dangerMuted,"--volter-danger-faint":e.color.semantic.dangerFaint,"--volter-warn":e.color.semantic.warning,"--volter-warn-muted":e.color.semantic.warningMuted,"--volter-success":e.color.semantic.success,"--volter-success-muted":e.color.semantic.successMuted,"--volter-dynamic":e.color.semantic.dynamic,"--volter-dynamic-muted":e.color.semantic.dynamicMuted,"--volter-instance":e.color.semantic.instance,"--volter-neutral-hover":e.color.neutralOverlay.hover,"--volter-neutral-active":e.color.neutralOverlay.active,"--volter-scrim":e.color.scrim,"--volter-surface-section":`color-mix(in srgb, ${e.color.surface.panel} 64.9%, ${e.color.surface.raised})`,"--volter-surface-section-edge":`color-mix(in srgb, ${e.color.surface.panel} 29.7%, ${e.color.surface.raised})`,"--volter-surface-header":u,"--volter-surface-row-alt":fL(e.color.surface.panel,e.color.content.primary),...XA(e.color.surface.panel)?{"--volter-tree-row-selected-bg":e.color.accent.muted,"--volter-tree-row-active-bg":`rgb(from ${e.color.accent.muted} r g b / 1)`,"--volter-tree-row-active-border":`rgb(from ${e.color.accent.muted} r g b / 1)`,"--volter-tree-datablock-fill":"color-mix(in srgb, var(--volter-category-data, currentColor) 14%, transparent)","--volter-tree-datablock-border":"color-mix(in srgb, var(--volter-content-primary) 14%, transparent)"}:{"--volter-tree-row-selected-bg":`color-mix(in srgb, ${e.color.accent.default} 42%, #000)`,"--volter-tree-row-active-bg":`color-mix(in srgb, ${e.color.accent.default} 70%, #000)`,"--volter-tree-row-active-border":"rgb(from var(--volter-tree-row-active-bg) calc(r + 40) calc(g + 40) calc(b + 40))","--volter-tree-datablock-fill":"color-mix(in srgb, color-mix(in srgb, var(--volter-category-data, currentColor) 60%, black) 26%, transparent)","--volter-tree-datablock-border":"color-mix(in srgb, var(--volter-content-primary) 24%, transparent)"},"--volter-tree-active-name-underline":e.color.content.active?"none":"underline","--volter-viewport-background":e.color.viewport?.background??"","--volter-viewport-grid":e.color.viewport?.grid??"","--volter-viewport-axis-x":e.color.viewport?.axisX??"","--volter-viewport-axis-y":e.color.viewport?.axisY??"","--volter-viewport-axis-z":e.color.viewport?.axisZ??"","--volter-viewport-wire":e.color.viewport?.wire??"","--volter-viewport-wire-opacity":Ct(e.stage?.wireOpacity),"--volter-viewport-axis-line-width":Ct(e.stage?.axisLineWidth),"--volter-viewport-selection":e.color.viewport?.selection??"","--volter-viewport-active":e.color.viewport?.active??"","--volter-viewport-marquee-line":e.color.viewport?.marqueeLine??e.color.accent.default,"--volter-viewport-marquee-fill":e.color.viewport?.marqueeFill??e.color.accent.muted,"--volter-viewport-marquee-gap":e.color.viewport?.marqueeGap??"transparent","--volter-viewport-marquee-dash":Ct(e.stage?.marqueeDash),"--volter-gizmo-x":e.color.gizmo?.x??"","--volter-gizmo-y":e.color.gizmo?.y??"","--volter-gizmo-z":e.color.gizmo?.z??"","--volter-gizmo-navigation-x":e.color.gizmo?.navigationX??"","--volter-gizmo-navigation-y":e.color.gizmo?.navigationY??"","--volter-gizmo-navigation-z":e.color.gizmo?.navigationZ??"","--volter-gizmo-hover":e.color.gizmo?.hover??"","--volter-gizmo-drag":e.color.gizmo?.drag??"","--volter-viewport-gizmo-opacity":Ct(e.stage?.gizmoOpacity),"--volter-viewport-gizmo-arrow-length":Ct(e.stage?.gizmoArrowLength),"--volter-viewport-gizmo-arrow-head":Ct(e.stage?.gizmoArrowHead),"--volter-viewport-gizmo-ring-width":Ct(e.stage?.gizmoRingWidth),"--volter-viewport-navigation-gizmo":e.stage?.navigationGizmo??"","--volter-viewport-navigation-corner":e.stage?.navigationCorner??"","--volter-viewport-navigation-size":Ct(e.stage?.navigationSize),"--volter-viewport-gizmo-highlight-saturation":Ct(e.stage?.gizmoHighlightSaturation),"--volter-viewport-gizmo-highlight-value":Ct(e.stage?.gizmoHighlightValue),"--volter-viewport-gizmo-size":e.stage?.gizmoSize===void 0?"":`${e.stage.gizmoSize}`,"--volter-viewport-grid-line-width":Ct(e.stage?.gridLineWidth),"--volter-viewport-grid-major-width":Ct(e.stage?.gridMajorWidth),"--volter-viewport-grid-major-contrast":Ct(e.stage?.gridMajorContrast),"--volter-viewport-selection-box":e.stage?.selectionBox??"","--volter-viewport-selection-box-frame":e.stage?.selectionBoxFrame??"","--volter-viewport-outline-style":e.stage?.outlineStyle??"","--volter-viewport-outline-width":Ct(e.stage?.outlineWidth),"--volter-viewport-outline-hidden":e.stage?.outlineHidden===void 0?"":`${e.stage.outlineHidden}`,"--volter-viewport-selection-box-width":Ct(e.stage?.selectionBoxWidth),"--volter-viewport-chrome-bar":e.stage?.chrome?.bar??"","--volter-viewport-chrome-view-name":e.stage?.chrome?.viewName??"","--volter-viewport-chrome-tools":e.stage?.chrome?.tools??"","--volter-viewport-chrome-display":e.stage?.chrome?.display??"","--volter-viewport-chrome-transform-controls":e.stage?.chrome?.transformControls??"",...Object.fromEntries(jy.map(l=>[`--volter-viewport-word-${l}`,e.stage?.words?.shading?.[l]??""])),"--volter-viewport-word-helpers":e.stage?.words?.helpers??"","--volter-widget-regular":n,"--volter-widget-regular-hover":s(n),"--volter-widget-menu":o,"--volter-widget-menu-hover":s(o),"--volter-widget-field":i,"--volter-widget-emboss-shadow":a,...Object.fromEntries(I9.map(l=>[`--volter-category-${l}`,e.color.category?.[l]??"currentColor"])),"--volter-font-sans":e.typography.sans,"--volter-font-mono":e.typography.mono,"--volter-radius-sm":e.shape.small,"--volter-radius-md":e.shape.medium,"--volter-radius-lg":e.shape.large,"--volter-radius-full":e.shape.full,"--volter-shadow-sm":e.elevation.small,"--volter-shadow-md":e.elevation.medium,"--volter-shadow-lg":e.elevation.large,"--volter-focus-ring":`${Sm.active}px solid ${e.color.accent.default}`,"--volter-select-chevron":j9(e.color.content.muted),"--volter-space-1":`${Tt[1]}px`,"--volter-space-2":`${Tt[2]}px`,"--volter-space-3":`${Tt[3]}px`,"--volter-space-4":`${Tt[4]}px`,"--volter-space-5":`${Tt[5]}px`,"--volter-space-6":`${Tt[6]}px`,"--volter-space-8":`${Tt[8]}px`,"--volter-space-10":`${Tt[10]}px`,"--volter-space-12":`${Tt[12]}px`,"--volter-command-bar-height":`${Se(e).chrome.commandBar}px`,"--volter-panel-header-height":`${Se(e).chrome.panelHeader}px`,"--volter-local-toolbar-height":`${Se(e).chrome.localToolbar}px`,"--volter-tree-row-height":`${Se(e).chrome.treeRow}px`,"--volter-tree-indent":`${Se(e).chrome.treeIndent}px`,"--volter-status-bar-height":`${Se(e).chrome.statusBar}px`,"--volter-tool-size":`${Se(e).chrome.toolSize}px`,"--volter-tool-width":`${Se(e).chrome.toolWidth}px`,"--volter-tool-gap":`${Se(e).chrome.toolGap}px`,"--volter-area-seam-width":`${Se(e).chrome.areaSeam}px`,"--volter-navigation-control-height":`${Se(e).chrome.navigationControl}px`,"--volter-tree-caret-height":`${Se(e).chrome.treeCaret}px`,"--volter-tree-glyph-plate-radius":`${Se(e).chrome.treeGlyphPlateRadius}px`,"--volter-tree-glyph-opacity":`${Se(e).chrome.treeGlyphOpacity}`,"--volter-control-compact-height":`${Se(e).control.compact}px`,"--volter-control-default-height":`${Se(e).control.default}px`,"--volter-control-comfortable-height":`${Se(e).control.comfortable}px`,"--volter-stroke-resting":`${Sm.resting}px`,"--volter-stroke-active":`${Sm.active}px`,"--volter-font-xs":`${Se(e).font.xs}px`,"--volter-font-sm":`${Se(e).font.sm}px`,"--volter-font-base":`${Se(e).font.base}px`,"--volter-font-md":`${Se(e).font.md}px`,"--volter-font-lg":`${Se(e).font.lg}px`,"--volter-font-xl":`${Se(e).font.xl}px`,"--volter-font-2xl":`${Se(e).font["2xl"]}px`,"--volter-icon-xs":`${Se(e).icon.xs}px`,"--volter-icon-sm":`${Se(e).icon.sm}px`,"--volter-icon-md":`${Se(e).icon.md}px`,"--volter-icon-lg":`${Se(e).icon.lg}px`,"--volter-icon-xl":`${Se(e).icon.xl}px`,"--volter-icon-2xl":`${Se(e).icon["2xl"]}px`,"--volter-font-heading":`${Se(e).font.heading}px`,"--volter-font-weight-regular":String(Vd.regular),"--volter-font-weight-semibold":String(Vd.semibold),"--volter-font-weight-bold":String(Vd.bold),"--volter-leading-tight":String(ud.tight),"--volter-leading-snug":String(ud.snug),"--volter-leading-normal":String(ud.normal),"--volter-leading-relaxed":String(ud.relaxed),"--volter-duration-fast":`${la.duration.fast}ms`,"--volter-duration-base":`${la.duration.base}ms`,"--volter-duration-slow":`${la.duration.slow}ms`,"--volter-ease-standard":la.easing.standard,"--volter-ease-out":la.easing.out,"--volter-z-base":String(Cn.base),"--volter-z-overlay-low":String(Cn.overlayLow),"--volter-z-sticky":String(Cn.sticky),"--volter-z-dropdown":String(Cn.dropdown),"--volter-z-toast":String(Cn.toast),"--volter-z-modal":String(Cn.modal)}}const tb="volter-editor-theme";function Lbe(e,t=YA){e.classList.add(tb),e.dataset.volterTheme=t.id,e.dataset.volterChrome=Gi(t)?"islands":"bars";for(const[r,n]of Object.entries(hL(t)))e.style.setProperty(r,n)}const aw={xs:"var(--volter-icon-xs)",sm:"var(--volter-icon-sm)",md:"var(--volter-icon-md)",lg:"var(--volter-icon-lg)",xl:"var(--volter-icon-xl)","2xl":"var(--volter-icon-2xl)"},sw={current:void 0,primary:ge.content.primary,muted:ge.content.muted,dim:ge.content.dim,accent:ge.accent.default,danger:ge.semantic.danger};function et({icon:e,size:t="sm",tone:r="current",label:n,className:o,style:i,spin:a=!1,...s}){z.useSyncExternalStore(m9,rw,rw);const u=g9(e.iconName);if(u){const l=r!=="current",c=u.tone?`var(--volter-category-${u.tone}, currentColor)`:void 0,d=l?sw[r]:u.tonedPath?void 0:c,f=l?"currentColor":c??"currentColor";return S.jsxs("svg",{...s,viewBox:u.viewBox??"0 0 16 16","data-volter-tone":l?void 0:u.tone,className:o,"aria-hidden":n?void 0:s["aria-hidden"]??"true","aria-label":n,role:n?"img":void 0,style:{width:"1.25em",height:"1em",overflow:"visible",verticalAlign:"-0.125em",fontSize:aw[t],color:d,...i},children:[S.jsx("path",{d:u.path,fill:"currentColor"}),u.tonedPath?S.jsx("path",{d:u.tonedPath,fill:f}):null]})}return S.jsx(Oy,{...s,icon:e,fixedWidth:!0,spin:a,className:o,"aria-hidden":n?void 0:s["aria-hidden"]??"true","aria-label":n,role:n?"img":void 0,style:{fontSize:aw[t],color:sw[r],...i}})}function tP({direction:e,size:t="xs",tone:r="current",style:n}){return S.jsx(et,{icon:e==="right"?m7:F7,size:t,tone:r,...n?{style:n}:{}})}function st(e,t){return{...t,iconName:e}}const kn={action:{add:W7,close:$A,delete:l7,search:i7,refresh:e9,undo:z7,redo:Z2,build:Z7,export:Q7,select:Q2},transport:{play:$7,pause:J7,restart:Z2,stop:c7,step:N7},content:{project:h7,folder:S7,file:T7,source:K7,scene:jA,entity:Ip,component:qf,camera:Np,light:My,image:hu,audio:MA,data:p7,code:xA,stateMachine:CA},status:{success:OA,info:t9,warning:qA,error:x7,visible:s7,hidden:Y7,locked:J2,unlocked:Y2},viewport:{zoomIn:g7,zoomOut:f7,pan:A7,frame:u7,projection:st("viewport-projection",$u),projectionOrthographic:st("viewport-orthographic",$u),camera:st("viewport-camera",K2),cameraView:st("viewport-camera-view",K2),cameraLocked:st("viewport-camera-locked",J2),cameraUnlocked:st("viewport-camera-unlocked",Y2),gizmos:st("viewport-gizmos",M7)},modeling:{extrude:st("mesh-extrude",R7),inset:st("mesh-inset",G7),bevel:st("mesh-bevel",Hd),loopCut:st("mesh-loop-cut",b7),knife:st("mesh-knife",H7),smooth:st("mesh-smooth",d7),shrinkFatten:st("mesh-shrink-fatten",O7),subdivide:st("mesh-subdivide",q7)},tool:{extension:qf,select:st("tool-select-box",Q2),move:k7,rotate:o7,scale:st("tool-scale",v7),transform:st("tool-transform",PA),snap:TA,frame:kA,grid:$u,profiler:D7}};function Fbe({preview:e,children:t,...r}){const[n,o]=z.useState(!1),i=z.useRef(null),a=z.useId(),s=()=>o(!1),u=c=>{i.current=c,o(!0)};let l=t;if(z.isValidElement(t)){const c=[t.props["aria-describedby"],n?a:null].filter(Boolean).join(" ");l=z.cloneElement(t,c?{"aria-describedby":c}:{})}return S.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:c=>u(c.currentTarget),onMouseLeave:s,onFocusCapture:c=>u(c.currentTarget),onBlurCapture:c=>{c.currentTarget.contains(c.relatedTarget)||s()},onKeyDown:c=>{c.key!=="Escape"||!n||(c.preventDefault(),c.stopPropagation(),s())},children:[l,n&&i.current&&S.jsx(Iy,{...r,anchorRef:i,id:a,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:e})]})}function Bbe({value:e,onCommit:t,style:r,disabled:n=!1}){const o=e===void 0?"":JSON.stringify(e),[i,a]=z.useState(o),[s,u]=z.useState(!1),l=z.useRef(!1);z.useEffect(()=>{a(o),u(!1)},[o]);const c=()=>{if(l.current){l.current=!1;return}if(i===o){u(!1);return}let d;try{d=JSON.parse(i)}catch{u(!0);return}u(!1),t(d)};return S.jsxs("div",{children:[S.jsx(lt,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:n,value:i,onChange:d=>{a(d.target.value),s&&u(!1)},onBlur:c,onKeyDown:d=>{d.key==="Enter"?c():d.key==="Escape"&&(l.current=!0,a(o),u(!1),d.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&S.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ge.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function Nu({value:e,onChange:t,onChangeEnd:r,step:n=.1,precision:o=3,disabled:i=!1,label:a,labelColor:s,style:u,testId:l,title:c}){const[d,f]=z.useState(!1),[p,h]=z.useState(""),m=z.useRef({startX:0,startVal:0,dragging:!1,gesture:!1,lastVal:0}),v=z.useRef(null),g=GA();z.useEffect(()=>{if(!d)return;const b=v.current;b&&(b.focus(),b.select())},[d]);const w=e===null,_=e??0,R=w?"—":Number.isFinite(_)?_.toFixed(o):0 .toFixed(o),x=b=>{if(i)return;m.current={startX:b.clientX,startVal:_,dragging:!1,gesture:!1,lastVal:_};const E=N=>{const q=N.clientX-m.current.startX;if(Math.abs(q)>3&&(m.current.dragging=!0),m.current.dragging){m.current.gesture||(m.current.gesture=!0,g?.begin());const H=m.current.startVal+q*n,F=Math.round(H/n)*n;m.current.lastVal=F,t(F)}},C=()=>{window.removeEventListener("pointermove",E),window.removeEventListener("pointerup",C),m.current.gesture&&g?.end(),m.current.dragging?r?.(m.current.lastVal):(f(!0),h(w?"":R))};window.addEventListener("pointermove",E),window.addEventListener("pointerup",C)},y=()=>{f(!1);const b=Number.parseFloat(p);Number.isFinite(b)&&(t(b),r?.(b))};return S.jsxs("div",{className:"volter-number-input","data-testid":l,title:c,style:u,children:[a&&S.jsx("span",{className:"volter-number-input-label",style:s?{color:s}:void 0,children:a}),d?S.jsx(lt,{ref:v,value:p,onChange:b=>h(b.target.value),onBlur:y,onKeyDown:b=>{b.key==="Enter"&&y(),b.key==="Escape"&&f(!1)},placeholder:w?"—":void 0,className:"volter-number-input-editor"}):S.jsx("div",{onPointerDown:x,className:"volter-number-input-scrub","data-mixed":w||void 0,"data-disabled":i||void 0,children:R})]})}const mL={minHeight:"var(--volter-panel-header-height)",padding:`0 ${Tt[4]}px`,color:ge.content.muted,fontSize:"var(--volter-font-base)",fontWeight:Vd.semibold,textTransform:"uppercase",display:"flex",alignItems:"center",gap:Tt[2],userSelect:"none"},gL={...mL,background:"var(--volter-surface-sticky)",borderBottom:"1px solid var(--volter-structural-divider)",flexShrink:0};function zbe({name:e,actions:t,onHeaderClick:r,hideHeader:n=!1,style:o,children:i,...a}){return S.jsxs("div",{...a,style:{display:"flex",flexDirection:"column",pointerEvents:"auto",...o},children:[!n&&S.jsxs("div",{role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r,onKeyDown:r?s=>{s.key==="Enter"&&r()}:void 0,style:{...gL,cursor:r?"pointer":void 0,pointerEvents:"auto"},children:[S.jsx("span",{style:{flexShrink:0},children:e}),t&&S.jsx("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:Tt[3]},children:t})]}),i]})}function Hbe({label:e,icon:t,description:r,actions:n,collapsible:o=!0,defaultOpen:i=!0,children:a}){const[s,u]=z.useState(i),l=S.jsxs("span",{className:"volter-section-title",children:[S.jsx("span",{children:e}),r?S.jsx("small",{children:r}):null]});return S.jsxs("section",{className:"volter-section",children:[S.jsxs("div",{className:"volter-section-header",children:[o?S.jsxs("button",{type:"button",className:"volter-section-trigger","aria-expanded":s,onClick:()=>u(!s),children:[S.jsx(tP,{direction:s?"down":"right",style:{fontSize:"var(--volter-section-disclosure-size, var(--volter-icon-xs))"}}),t&&S.jsx(et,{icon:t,tone:"dim",className:"volter-section-glyph"}),l]}):S.jsxs("div",{className:"volter-section-trigger","data-volter-static":!0,children:[t&&S.jsx(et,{icon:t,tone:"dim",className:"volter-section-glyph"}),l]}),n?S.jsx("div",{className:"volter-section-actions",children:n}):null]}),(s||!o)&&S.jsx("div",{className:"volter-section-body",children:a})]})}const Nn=8,In=6;function bL(e){return e==="top"?"bottom":e==="bottom"?"top":e==="left"?"right":"left"}function vL(e,t,r){return e==="top"?t.top-r.height-In>=Nn:e==="bottom"?t.bottom+r.height+In<=window.innerHeight-Nn:e==="left"?t.left-r.width-In>=Nn:t.right+r.width+In<=window.innerWidth-Nn}function yL(e,t,r){let n=t.left+(t.width-r.width)/2,o=t.top+(t.height-r.height)/2;return e==="top"?o=t.top-r.height-In:e==="bottom"?o=t.bottom+In:e==="left"?n=t.left-r.width-In:n=t.right+In,{left:Math.max(Nn,Math.min(n,window.innerWidth-r.width-Nn)),top:Math.max(Nn,Math.min(o,window.innerHeight-r.height-Nn)),ready:!0}}function rn({text:e,hotkey:t,children:r,position:n="bottom",delay:o=400}){const i=z.useId(),a=z.useRef(null),s=z.useRef(null),u=z.useRef(null),l=z.useRef(!1),c=z.useRef(!1),[d,f]=z.useState(!1),[p,h]=z.useState(null),[m,v]=z.useState({left:0,top:0,ready:!1});z.useLayoutEffect(()=>{h(a.current?.closest(".volter-editor-theme")??null)},[]),z.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const g=()=>{u.current&&clearTimeout(u.current),u.current=null,f(!1)},w=()=>{!l.current&&!c.current&&g()},_=x=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{v(y=>({...y,ready:!1})),f(!0)},x)};z.useLayoutEffect(()=>{if(!d)return;const x=()=>{const y=a.current?.getBoundingClientRect(),b=s.current?.getBoundingClientRect();if(!y||!b)return;const E=vL(n,y,b)?n:bL(n);v(yL(E,y,b))};return x(),window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),()=>{window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}},[t,n,e,d]);let R=r;if(z.isValidElement(r)){const x=[r.props["aria-describedby"],d?i:null].filter(Boolean).join(" ");R=z.cloneElement(r,x?{"aria-describedby":x}:{})}return S.jsxs("span",{ref:a,className:"volter-tooltip-anchor",onMouseEnter:()=>{l.current=!0,_(o)},onMouseLeave:()=>{l.current=!1,w()},onFocusCapture:()=>{c.current=!0,_(0)},onBlurCapture:x=>{x.currentTarget.contains(x.relatedTarget)||(c.current=!1,w())},children:[R,d&&p&&Tc.createPortal(S.jsxs("div",{ref:s,id:i,role:"tooltip",className:"volter-tooltip",style:{left:m.left,top:m.top,visibility:m.ready?"visible":"hidden"},children:[S.jsx("span",{children:e}),t&&S.jsx("kbd",{children:t})]}),p)]})}function Ube({value:e,onChange:t,onAxisChange:r,step:n=.1,disabled:o=!1,testIdPrefix:i}){const a=u=>i?`${i}-${u}`:void 0,s=u=>l=>{if(r)r(u,l);else{const c=[e[0]??0,e[1]??0,e[2]??0];c[u]=l,t(c)}};return S.jsxs("div",{style:{display:"flex",gap:4},children:[S.jsx(Nu,{label:"X",labelColor:"#E06178",value:e[0],onChange:s(0),step:n,disabled:o,style:{flex:1},testId:a("x")}),S.jsx(Nu,{label:"Y",labelColor:"#C2ED66",value:e[1],onChange:s(1),step:n,disabled:o,style:{flex:1},testId:a("y")}),S.jsx(Nu,{label:"Z",labelColor:"#6BABF5",value:e[2],onChange:s(2),step:n,disabled:o,style:{flex:1},testId:a("z")})]})}const ae={bg:ge.surface.panel,surface:ge.surface.chrome,surfaceHover:ge.surface.raised,border:ge.boundary.default,text:ge.content.primary,textMuted:ge.content.muted,onAccent:ge.content.onAccent,accent:ge.accent.default,neutralHover:ge.neutralOverlay.hover,radiusSmall:ge.shape.small,radiusMedium:ge.shape.medium,inputBg:ge.surface.inset,dynamic:ge.semantic.dynamic,dynamicBg:ge.semantic.dynamicMuted},Vbe=ge.typography.sans,Wbe=ge.typography.mono;function vt(e,t){e.onChange(t)}function $t(e,t){(e.onChangeEnd??e.onChange)(t)}const wL={display:"flex",alignItems:"center",gap:4},Gbe={fontSize:"var(--volter-font-sm)",color:ge.content.muted,marginBottom:2},Kbe=72;function lw({label:e,active:t,disabled:r,onClick:n,testId:o}){return S.jsx(Xe,{variant:t?"primary":"secondary",size:"compact","aria-pressed":t,disabled:r,"data-testid":o,onClick:()=>{r||n()},style:{flex:1},children:e})}const uw=["flex-start","center","flex-end"],cw=["flex-start","center","flex-end"];function EL({row:e,col:t,justify:r,align:n,isActive:o,disabled:i,onSelect:a}){return S.jsx("div",{"data-testid":`alignment-grid-${e}-${t}`,onClick:()=>{i||a(r,n)},style:{width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",cursor:i?"not-allowed":"pointer",borderRadius:ae.radiusSmall,background:o?ae.accent:"transparent"},children:S.jsx("div",{style:{width:o?6:4,height:o?6:4,borderRadius:"50%",background:o?ae.onAccent:ae.textMuted}})})}function Ybe({value:e,onChange:t,disabled:r}){const n=uw.indexOf(e.justify),o=cw.indexOf(e.align);return S.jsx("div",{"data-testid":"alignment-grid",style:{display:"inline-grid",gridTemplateColumns:"repeat(3, 16px)",gridTemplateRows:"repeat(3, 16px)",gap:1,background:ae.inputBg,borderRadius:ae.radiusMedium,padding:4,opacity:r?.35:1},children:cw.map((i,a)=>uw.map((s,u)=>S.jsx(EL,{row:a,col:u,justify:s,align:i,isActive:a===o&&u===n,disabled:r,onSelect:(l,c)=>t({justify:l,align:c})},`${a}-${u}`)))})}const Rm=22,dw={width:Rm,height:Rm,flex:`0 0 ${Rm}px`,borderRadius:ae.radiusSmall,border:`1px solid ${ae.border}`,background:ae.inputBg,objectFit:"cover",backgroundImage:"linear-gradient(45deg,rgba(128,128,128,.35) 25%,transparent 25%,transparent 75%,rgba(128,128,128,.35) 75%),linear-gradient(45deg,rgba(128,128,128,.35) 25%,transparent 25%,transparent 75%,rgba(128,128,128,.35) 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 4px"};function Zbe({value:e,onChange:t,options:r,previewUrlFor:n,disabled:o,note:i,testId:a}){const s=e&&!r.includes(e)?[e,...r]:r;return S.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1},children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,minWidth:0},children:[e?S.jsx("img",{src:n(e),alt:"",style:dw,"data-testid":`${a}-thumb`}):S.jsx("span",{style:dw,"aria-hidden":"true"}),S.jsxs(Jg,{"data-testid":a,disabled:o,value:e,title:e||"No texture assigned",onChange:u=>t(u.target.value),style:{flex:1,minWidth:0},children:[S.jsx("option",{value:"",children:"—"}),s.map(u=>S.jsx("option",{value:u,children:u},u))]}),S.jsx(Ln,{"data-testid":`${a}-clear`,"aria-label":"Clear this texture slot",title:"Clear this texture slot",disabled:o||!e,onClick:()=>t(""),children:S.jsx(et,{icon:$A})})]}),i&&S.jsx("span",{"data-testid":`${a}-note`,style:{fontSize:"var(--volter-font-sm)",color:ge.content.muted},children:i})]})}function Wd(e){let t=e.replace("#","");t.length===3&&(t=`${t[0]??"0"}${t[0]??"0"}${t[1]??"0"}${t[1]??"0"}${t[2]??"0"}${t[2]??"0"}`);const r=Number.parseInt(t,16);return[r>>16&255,r>>8&255,r&255]}function rP(e,t,r){return`#${[e,t,r].map(n=>Math.round(Math.max(0,Math.min(255,n))).toString(16).padStart(2,"0")).join("")}`}function dd(e,t,r){const n=e/255,o=t/255,i=r/255,a=Math.max(n,o,i),s=Math.min(n,o,i),u=a-s;let l=0;u!==0&&(a===n?l=((o-i)/u%6+6)%6:a===o?l=(i-n)/u+2:l=(n-o)/u+4,l/=6);const c=a===0?0:u/a;return[l,c,a]}function ca(e,t,r){const n=Math.floor(e*6),o=e*6-n,i=r*(1-t),a=r*(1-o*t),s=r*(1-(1-o)*t);let u=0,l=0,c=0;switch(n%6){case 0:u=r,l=s,c=i;break;case 1:u=a,l=r,c=i;break;case 2:u=i,l=r,c=s;break;case 3:u=i,l=a,c=r;break;case 4:u=s,l=i,c=r;break;case 5:u=r,l=i,c=a;break}return[Math.round(u*255),Math.round(l*255),Math.round(c*255)]}function nP(e,t,r){let n,o,i;if(t===0)n=o=i=r;else{const a=(l,c,d)=>{let f=d;return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(c-l)*6*f:f<.5?c:f<.6666666666666666?l+(c-l)*(.6666666666666666-f)*6:l},s=r<.5?r*(1+t):r+t-r*t,u=2*r-s;n=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return[Math.round(n*255),Math.round(o*255),Math.round(i*255)]}function _L(e,t,r){const n=e/255,o=t/255,i=r/255,a=Math.max(n,o,i),s=Math.min(n,o,i);let u=0,l=0;const c=(a+s)/2;if(a!==s){const d=a-s;l=c>.5?d/(2-a-s):d/(a+s),a===n?u=((o-i)/d+(o<i?6:0))/6:a===o?u=((i-n)/d+2)/6:u=((n-o)/d+4)/6}return[u,l,c]}function Gd(e){if(e.startsWith("#")&&(e.length===4||e.length===7))return e;if(e.startsWith("#")&&e.length===9)return e.slice(0,7);const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(t){const[,n,o,i]=t;return`#${[n??"0",o??"0",i??"0"].map(a=>Number.parseInt(a,10).toString(16).padStart(2,"0")).join("")}`}const r=e.match(/hsla?\((\d+),\s*(\d+)%?,\s*(\d+)%?/);if(r){const[n,o,i]=nP(Number.parseInt(r[1]??"0",10)/360,Number.parseInt(r[2]??"0",10)/100,Number.parseInt(r[3]??"0",10)/100);return rP(n,o,i)}return"#000000"}function xm(e){const t=e.match(/rgba\([^,]+,[^,]+,[^,]+,\s*([\d.]+)\)/);if(t?.[1])return Number.parseFloat(t[1]);const r=e.match(/hsla\([^,]+,[^,]+,[^,]+,\s*([\d.]+)\)/);return r?.[1]?Number.parseFloat(r[1]):e.startsWith("#")&&e.length===9?Number.parseInt(e.slice(7,9),16)/255:1}function fw(e,t,r,n,o){if(o==="hex"){const d=rP(e,t,r);return n<1?`rgba(${e}, ${t}, ${r}, ${n.toFixed(2)})`:d}if(o==="rgb")return n<1?`rgba(${e}, ${t}, ${r}, ${n.toFixed(2)})`:`rgb(${e}, ${t}, ${r})`;const[i,a,s]=_L(e,t,r),u=Math.round(i*360),l=Math.round(a*100),c=Math.round(s*100);return n<1?`hsla(${u}, ${l}%, ${c}%, ${n.toFixed(2)})`:`hsl(${u}, ${l}%, ${c}%)`}function oP(e){const t=e.match(/\d+/g);return!t||t.length<3?"#000000":`#${[t[0]??"0",t[1]??"0",t[2]??"0"].map(r=>Number.parseInt(r,10).toString(16).padStart(2,"0")).join("")}`}const Vt=200,fd=150,da=14;function SL({value:e,onChange:t,onChangeEnd:r,onClose:n,recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s,disabled:u}){const l=Gd(e),c=Wd(l),[d,f]=z.useState(()=>dd(...c)),[p,h]=z.useState(()=>xm(e)),[m,v]=z.useState("hex"),[g,w]=z.useState(l),_=z.useRef(null),R=z.useRef(null),x=z.useRef(null),y=z.useRef(null),b=z.useRef(null),E=z.useCallback((Z=d,A=p,$=m)=>{const[M,K,L]=ca(Z[0],Z[1],Z[2]);return fw(M,K,L,A,$)},[d,p,m]);z.useEffect(()=>{w(E())},[E]),z.useEffect(()=>{const Z=R.current,A=Z?.getContext("2d");if(!Z||!A)return;const[$,M,K]=ca(d[0],1,1),L=A.createLinearGradient(0,0,Vt,0);L.addColorStop(0,"#ffffff"),L.addColorStop(1,`rgb(${$},${M},${K})`),A.fillStyle=L,A.fillRect(0,0,Vt,fd);const D=A.createLinearGradient(0,0,0,fd);D.addColorStop(0,"rgba(0,0,0,0)"),D.addColorStop(1,"rgba(0,0,0,1)"),A.fillStyle=D,A.fillRect(0,0,Vt,fd)},[d[0]]),z.useEffect(()=>{const Z=x.current,A=Z?.getContext("2d");if(!Z||!A)return;const $=A.createLinearGradient(0,0,Vt,0);for(let M=0;M<=6;M++){const[K,L,D]=ca(M/6,1,1);$.addColorStop(M/6,`rgb(${K},${L},${D})`)}A.fillStyle=$,A.fillRect(0,0,Vt,da)},[]),z.useEffect(()=>{const Z=y.current,A=Z?.getContext("2d");if(!Z||!A)return;const $=4;for(let Y=0;Y<da;Y+=$)for(let ee=0;ee<Vt;ee+=$)A.fillStyle=(ee/$+Y/$)%2===0?"#ffffff":"#cccccc",A.fillRect(ee,Y,$,$);const[M,K,L]=ca(d[0],d[1],d[2]),D=A.createLinearGradient(0,0,Vt,0);D.addColorStop(0,`rgba(${M},${K},${L},0)`),D.addColorStop(1,`rgba(${M},${K},${L},1)`),A.fillStyle=D,A.fillRect(0,0,Vt,da)},[d]),z.useEffect(()=>{if(!n)return;function Z($){$.key==="Escape"&&n?.()}function A($){_.current&&!_.current.contains($.target)&&n?.()}return document.addEventListener("keydown",Z),document.addEventListener("mousedown",A,!0),()=>{document.removeEventListener("keydown",Z),document.removeEventListener("mousedown",A,!0)}},[n]);const C=z.useCallback((Z,A,$,M)=>{const K=A?.getBoundingClientRect();if(K)if(Z==="sat"){const L=[d[0],Cm($,K.left,K.width),RL(M,K.top,K.height)];f(L),vt({onChange:t},E(L))}else if(Z==="hue"){const L=[Cm($,K.left,K.width),d[1],d[2]];f(L),vt({onChange:t},E(L))}else{const L=Math.round(Cm($,K.left,K.width)*100)/100;h(L),vt({onChange:t},E(d,L))}},[d,E,t]);z.useEffect(()=>{function Z($){const M=b.current;if(!M)return;$.preventDefault();const K=M==="sat"?R.current:M==="hue"?x.current:y.current;C(M,K,$.clientX,$.clientY)}function A(){if(b.current){b.current=null;const $=E();$t({onChange:t,onChangeEnd:r},$),i?.($)}}return window.addEventListener("mousemove",Z),window.addEventListener("mouseup",A),()=>{window.removeEventListener("mousemove",Z),window.removeEventListener("mouseup",A)}},[C,E,t,r,i]);const N=(Z,A)=>{u||(A.preventDefault(),b.current=Z,C(Z,A.currentTarget,A.clientX,A.clientY))},q=()=>{const Z=g.trim(),A=xL(Z),$=A?{r:A[0],g:A[1],b:A[2],a:1}:CL(Z)??AL(Z);if(!$)return;f(dd($.r,$.g,$.b)),h($.a);const M=A?Z:fw($.r,$.g,$.b,$.a,m);vt({onChange:t},M),$t({onChange:t,onChangeEnd:r},M),i?.(M)},H=()=>{v(Z=>Z==="hex"?"rgb":Z==="rgb"?"hsl":"hex")},F=typeof globalThis.EyeDropper=="function",T=Z=>{const A=Gd(Z);f(dd(...Wd(A))),h(xm(Z)),vt({onChange:t},Z),$t({onChange:t,onChangeEnd:r},Z)},k=async()=>{if(F){try{const A=globalThis.EyeDropper,$=await new A().open();T($.sRGBHex)}catch{}return}if(s){s(A=>{A&&T(A)});return}const Z=a?.();Z&&T(Z)},[I,U,G]=ca(d[0],d[1],d[2]),X=`rgba(${I},${U},${G},${p})`;return S.jsxs(Fp,{ref:_,"data-testid":"inspector-color-picker",onMouseDown:Z=>Z.stopPropagation(),style:{padding:10,width:Vt+16,boxSizing:"border-box"},children:[S.jsx("canvas",{ref:R,"data-testid":"color-picker-sv",width:Vt,height:fd,onMouseDown:Z=>N("sat",Z),style:{cursor:"crosshair",borderRadius:ae.radiusSmall,display:"block"}}),S.jsx("canvas",{ref:x,"data-testid":"color-picker-hue",width:Vt,height:da,onMouseDown:Z=>N("hue",Z),style:{cursor:"pointer",borderRadius:ae.radiusSmall,display:"block",marginTop:6}}),S.jsx("canvas",{ref:y,"data-testid":"color-picker-alpha",width:Vt,height:da,onMouseDown:Z=>N("alpha",Z),style:{cursor:"pointer",borderRadius:ae.radiusSmall,display:"block",marginTop:6}}),S.jsxs("div",{style:{display:"flex",gap:6,alignItems:"center",marginTop:8},children:[S.jsx("div",{style:{width:22,height:22,borderRadius:ae.radiusSmall,flexShrink:0,border:`1px solid ${ae.border}`,background:X}}),S.jsx(lt,{type:"text","data-testid":"color-picker-text",value:g,onChange:Z=>w(Z.target.value),onKeyDown:Z=>{Z.key==="Enter"&&q()},onBlur:q,"data-density":"compact","data-monospace":"true",style:{flex:1}}),S.jsx(Xe,{type:"button",variant:"secondary",size:"compact","data-testid":"color-format-toggle",onClick:H,title:"Cycle color format",style:{flexShrink:0},children:m.toUpperCase()}),(F||a||s)&&S.jsx(Xe,{type:"button",variant:"secondary",size:"compact","data-testid":"color-picker-eyedropper",onClick:k,title:"Eyedropper",style:{flexShrink:0},children:"⌖"})]}),o&&o.length>0&&S.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:3,marginTop:8,paddingTop:6,borderTop:`1px solid ${ae.border}`},children:o.map((Z,A)=>S.jsx("div",{"data-testid":"color-picker-recent",onClick:()=>{const $=Gd(Z);f(dd(...Wd($))),h(xm(Z)),vt({onChange:t},Z),$t({onChange:t,onChangeEnd:r},Z)},title:Z,style:{width:16,height:16,borderRadius:ae.radiusSmall,cursor:"pointer",background:Z,border:`1px solid ${ae.border}`}},`${Z}-${A}`))})]})}function Mf({label:e,value:t,onChange:r,onChangeEnd:n,recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s,disabled:u,testId:l}){const[c,d]=z.useState(!1),f=Gd(t);return S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,position:"relative"},children:[S.jsx("div",{"data-testid":l?`${l}-swatch`:"color-swatch",onClick:()=>{u||d(p=>!p)},style:{width:20,height:20,borderRadius:ae.radiusSmall,flexShrink:0,background:f,border:`1px solid ${ae.border}`,cursor:u?"not-allowed":"pointer"}}),e&&S.jsx("span",{style:{fontSize:10,color:ae.textMuted,flexShrink:0},children:e}),c&&!u&&S.jsx("div",{style:{position:"absolute",zIndex:"var(--volter-z-dropdown)",top:"100%",left:0,marginTop:4},children:S.jsx(SL,{value:t,onChange:r,onChangeEnd:n,onClose:()=>d(!1),recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s})})]})}function iP(e){return Math.max(0,Math.min(1,e))}function Cm(e,t,r){return iP(r?(e-t)/r:0)}function RL(e,t,r){return iP(r?1-(e-t)/r:0)}function xL(e){return/^#[0-9a-fA-F]{6}$/.test(e)?Wd(e):null}function CL(e){const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/);if(!t)return null;const[,r,n,o,i]=t;return{r:Number.parseInt(r??"0",10),g:Number.parseInt(n??"0",10),b:Number.parseInt(o??"0",10),a:i?Number.parseFloat(i):1}}function AL(e){const t=e.match(/hsla?\((\d+),\s*(\d+)%?,\s*(\d+)%?(?:,\s*([\d.]+))?\)/);if(!t)return null;const[,r,n,o,i]=t,[a,s,u]=nP(Number.parseInt(r??"0",10)/360,Number.parseInt(n??"0",10)/100,Number.parseInt(o??"0",10)/100);return{r:a,g:s,b:u,a:i?Number.parseFloat(i):1}}function xr({label:e,value:t,unit:r="",step:n=1,min:o,max:i,precision:a,disabled:s,onChange:u,onChangeEnd:l,testId:c,style:d}){const f=z.useRef(null),p=a??(n<1?2:n>=100?-2:0),h=z.useMemo(()=>x=>{if(p<0){const b=10**-p;return Math.round(x/b)*b}const y=10**p;return Math.round(x*y)/y},[p]),m=x=>{let y=x;return o!==void 0&&(y=Math.max(o,y)),i!==void 0&&(y=Math.min(i,y)),h(y)},v=x=>{if(s)return;x.preventDefault(),f.current={startX:x.clientX,startValue:t,last:t},document.body.style.cursor="ew-resize";const y=N=>{if(!f.current)return;N.preventDefault();const q=N.clientX-f.current.startX,H=N.shiftKey?10:N.altKey?.1:1,F=m(f.current.startValue+q*n*H);f.current.last=F,vt({onChange:u},F)},b=()=>{document.body.style.cursor="",window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E),window.removeEventListener("keydown",C)},E=()=>{if(f.current){const N=f.current.last;f.current=null,$t({onChange:u,onChangeEnd:l},N)}b()},C=N=>{if(N.key==="Escape"&&f.current){const q=m(f.current.startValue);f.current=null,vt({onChange:u},q),$t({onChange:u,onChangeEnd:l},q),b()}};window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),window.addEventListener("keydown",C)},[g,w]=z.useState(null),_=z.useRef(!1),R=x=>{const y=Number.parseFloat(x);if(Number.isNaN(y))return;const b=m(y);b!==t&&$t({onChange:u,onChangeEnd:l},b)};return S.jsxs("div",{style:{...wL,...d},children:[S.jsx("span",{className:"volter-scrub-label","data-testid":c?`${c}-label`:void 0,onMouseDown:v,"data-disabled":s||void 0,style:{fontSize:11,...s?{color:ae.dynamic}:{},flexShrink:0,cursor:s?"not-allowed":"ew-resize",userSelect:"none",fontWeight:500},children:e}),S.jsx(lt,{"data-testid":c,type:"text",value:g??`${t}${r}`,readOnly:s,"data-dynamic":s||void 0,onFocus:x=>{w(`${t}${r}`),x.target.select()},onChange:x=>w(x.target.value),onBlur:x=>{_.current||R(x.target.value),_.current=!1,w(null)},onKeyDown:x=>{x.key==="Enter"&&x.target.blur(),x.key==="Escape"&&(_.current=!0,x.target.blur())},style:{flex:1,width:0}})]})}const pw=["none","solid","dashed","dotted","double"];function PL(e){return{top:e,right:e,bottom:e,left:e}}function TL(e){const t=n=>`${n.width}|${n.style}|${n.color}`,r=t(e.top);return t(e.right)===r&&t(e.bottom)===r&&t(e.left)===r}function Jbe({value:e,onChange:t,onChangeEnd:r,disabled:n,recentColors:o,onAddRecentColor:i}){const[a,s]=z.useState(!TL(e)),u=(d,f)=>{const p={...e.top,...d},h=PL(p);f?$t({onChange:t,onChangeEnd:r},h):vt({onChange:t},h)},l=(d,f,p)=>{const h={...e,[d]:{...e[d],...f}};p?$t({onChange:t,onChangeEnd:r},h):vt({onChange:t},h)};if(!a)return S.jsxs("div",{"data-testid":"border-editor-uniform",style:{display:"flex",gap:6,alignItems:"center"},children:[S.jsx(Mf,{testId:"border-color",value:e.top.color,disabled:n,onChange:d=>u({color:d},!1),onChangeEnd:d=>u({color:d},!0),recentColors:o,onAddRecentColor:i}),S.jsx(xr,{testId:"border-width",label:"W",value:e.top.width,min:0,disabled:n,onChange:d=>u({width:d},!1),onChangeEnd:d=>u({width:d},!0),style:{width:64}}),S.jsx(Jg,{className:"volter-select","data-testid":"border-style",value:e.top.style,disabled:n,"data-dynamic":n||void 0,onChange:d=>u({style:d.target.value},!0),style:{flex:1},children:pw.map(d=>S.jsx("option",{value:d,children:d},d))}),S.jsx(Xe,{type:"button","data-testid":"border-expand",title:"Per-side borders","aria-label":"Edit borders per side",onClick:()=>s(!0),variant:"ghost",size:"compact",children:S.jsx(et,{icon:$u})})]});const c=[{key:"top",label:"T"},{key:"right",label:"R"},{key:"bottom",label:"B"},{key:"left",label:"L"}];return S.jsxs("div",{"data-testid":"border-editor-expanded",style:{display:"flex",flexDirection:"column",gap:4},children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[S.jsx("span",{style:{fontSize:10,color:ae.textMuted},children:"Per-side"}),S.jsx("div",{style:{flex:1}}),S.jsx(Xe,{type:"button",variant:"primary",size:"compact","data-testid":"border-collapse",title:"Uniform border","aria-label":"Use one border for all sides",onClick:()=>s(!1),children:S.jsx(et,{icon:$u})})]}),c.map(({key:d,label:f})=>S.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[S.jsx("span",{style:{fontSize:10,color:ae.textMuted,width:10,textAlign:"center"},children:f}),S.jsx(Mf,{testId:`border-${d}-color`,value:e[d].color,disabled:n,onChange:p=>l(d,{color:p},!1),onChangeEnd:p=>l(d,{color:p},!0),recentColors:o,onAddRecentColor:i}),S.jsx(xr,{testId:`border-${d}-width`,label:"",value:e[d].width,min:0,disabled:n,onChange:p=>l(d,{width:p},!1),onChangeEnd:p=>l(d,{width:p},!0),style:{width:48}}),S.jsx(Jg,{className:"volter-select","data-testid":`border-${d}-style`,value:e[d].style,disabled:n,"data-density":"compact","data-dynamic":n||void 0,onChange:p=>l(d,{style:p.target.value},!0),style:{flex:1},children:pw.map(p=>S.jsx("option",{value:p,children:p},p))})]},d))]})}function OL(e){return{topLeft:e,topRight:e,bottomLeft:e,bottomRight:e}}function $L(e){return e.topLeft===e.topRight&&e.topRight===e.bottomLeft&&e.bottomLeft===e.bottomRight}function Xbe({value:e,onChange:t,onChangeEnd:r,disabled:n}){const[o,i]=z.useState(!$L(e)),a=(l,c)=>{const d=OL(l);c?$t({onChange:t,onChangeEnd:r},d):vt({onChange:t},d)},s=(l,c,d)=>{const f={...e,[l]:c};d?$t({onChange:t,onChangeEnd:r},f):vt({onChange:t},f)};if(!o)return S.jsxs("div",{"data-testid":"border-radius-editor-uniform",style:{display:"flex",gap:4,alignItems:"center"},children:[S.jsx(xr,{testId:"border-radius",label:S.jsx(et,{icon:Hd,label:"Radius"}),value:e.topLeft,min:0,disabled:n,onChange:l=>a(l,!1),onChangeEnd:l=>a(l,!0),style:{flex:1}}),S.jsx(Xe,{type:"button","data-testid":"border-radius-expand",title:"Independent corners","aria-label":"Edit radius per corner",onClick:()=>i(!0),variant:"ghost",size:"compact",children:S.jsx(et,{icon:Hd})})]});const u=[{key:"topLeft",label:"TL"},{key:"topRight",label:"TR"},{key:"bottomLeft",label:"BL"},{key:"bottomRight",label:"BR"}];return S.jsxs("div",{"data-testid":"border-radius-editor-expanded",children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,marginBottom:4},children:[S.jsx("span",{style:{fontSize:10,color:ae.textMuted},children:"Corners"}),S.jsx("div",{style:{flex:1}}),S.jsx(Xe,{type:"button",variant:"primary",size:"compact","data-testid":"border-radius-collapse",title:"Uniform radius","aria-label":"Use one radius for all corners",onClick:()=>i(!1),children:S.jsx(et,{icon:Hd})})]}),S.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:3},children:u.map(({key:l,label:c})=>S.jsx(xr,{testId:`border-radius-${l}`,label:c,value:e[l],min:0,disabled:n,onChange:d=>s(l,d,!1),onChangeEnd:d=>s(l,d,!0)},l))})]})}function pi(e,t){return t+1<e.length?e[t+1].start:1}function qL(e){const t=e.map(n=>({time:n.start,value:n.function.p0})),r=e[e.length-1];return r&&t.push({time:1,value:r.function.p3}),t}function Up(e){return e.map(t=>({start:t.start,function:{...t.function}}))}const Nf=.01;function fa(e,t,r,n){const o=Up(e),i=o.length;if(t<0||t>i)return o;if(t<i){const a=o[t],s=n-a.function.p0;if(a.function.p0=n,a.function.p1+=s,t>0){const u=o[t-1],l=n-u.function.p3;u.function.p3=n,u.function.p2+=l;const c=u.start+Nf,d=pi(o,t)-Nf;a.start=Math.min(d,Math.max(c,r))}}else{const a=o[i-1],s=n-a.function.p3;a.function.p3=n,a.function.p2+=s}return o}function hw(e,t,r,n){const o=Up(e);return r==="out"&&t<o.length?o[t].function.p1=n:r==="in"&&t>0&&t<=o.length&&(o[t-1].function.p2=n),o}function Uo(e,t,r){return e+(t-e)*r}function kL(e,t){for(let r=0;r<e.length;r++){const n=e[r].start,o=pi(e,r);if(t<=n+Nf||t>=o-Nf)continue;const i=(t-n)/(o-n),{p0:a,p1:s,p2:u,p3:l}=e[r].function,c=Uo(a,s,i),d=Uo(s,u,i),f=Uo(u,l,i),p=Uo(c,d,i),h=Uo(d,f,i),m=Uo(p,h,i),v=Up(e);return v.splice(r,1,{start:n,function:{p0:a,p1:c,p2:p,p3:m}},{start:t,function:{p0:m,p1:h,p2:f,p3:l}}),v}return e}function mw(e,t){if(t<=0||t>=e.length)return e;const r=e[t-1],n=e[t],o=n.start-r.start,i=pi(e,t)-n.start,a=o+i;if(a<=0)return e;const s=r.function,u=n.function,l={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(o>0?a/o:1),p2:u.p3+(u.p2-u.p3)*(i>0?a/i:1),p3:u.p3}},c=Up(e);return c.splice(t-1,2,l),c}function ML(e){let t=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const n of e)for(const o of[n.function.p0,n.function.p1,n.function.p2,n.function.p3])o<t&&(t=o),o>r&&(r=o);return!Number.isFinite(t)||!Number.isFinite(r)?{min:0,max:1}:{min:t,max:r}}const pa=34,gw=6,Am=6,NL=14,pd=260;function IL(e){return Math.abs(e)>=100?e.toFixed(0):Math.abs(e)>=1?String(Math.round(e*100)/100):String(Math.round(e*1e3)/1e3)}function Qbe({value:e,onChange:t,onChangeEnd:r,disabled:n,height:o=90,color:i,testId:a="curve-editor"}){const[s,u]=z.useState(0),l=z.useRef(null),c=z.useRef(null),d=z.useMemo(()=>qL(e),[e]),f=z.useMemo(()=>{const{min:U,max:G}=ML(e);if(G-U<1e-6)return{min:U-1,max:G+1};const X=(G-U)*.1;return{min:U-X,max:G+X}},[e]),p=pd-pa-gw,h=o-Am-NL,m=U=>pa+U*p,v=U=>Am+(1-(U-f.min)/(f.max-f.min))*h,g=U=>Math.max(0,Math.min(1,(U-pa)/p)),w=U=>f.min+(1-(U-Am)/h)*(f.max-f.min),_=U=>{const G=l.current?.getBoundingClientRect();if(!G)return{t:0,v:0};const X=(U.clientX-G.left)/G.width*pd,Z=(U.clientY-G.top)/G.height*o;return{t:g(X),v:w(Z)}},R=z.useMemo(()=>{if(e.length===0)return"";let U=`M ${m(e[0].start)} ${v(e[0].function.p0)}`;for(let G=0;G<e.length;G++){const X=e[G],Z=pi(e,G),A=Z-X.start;U+=` C ${m(X.start+A/3)} ${v(X.function.p1)}, ${m(X.start+2*A/3)} ${v(X.function.p2)}, ${m(Z)} ${v(X.function.p3)}`}return U},[e,f,o]),x=U=>$t({onChange:t,onChangeEnd:r},U),y=U=>vt({onChange:t},U),b=(U,G)=>{if(n)return;U.preventDefault(),U.stopPropagation(),c.current=e;const X=A=>{const{t:$,v:M}=_(A),K=G(c.current??e,$,M);c.current=K,y(K)},Z=A=>{const{t:$,v:M}=_(A),K=G(c.current??e,$,M);c.current=null,x(K),window.removeEventListener("pointermove",X),window.removeEventListener("pointerup",Z)};window.addEventListener("pointermove",X),window.addEventListener("pointerup",Z)},E=i??ae.accent,C=e.length,N=d[s],q=s>0&&s<C,H=s<C?e[s]:void 0,F=s>0?e[s-1]:void 0,T=H?{x:m(H.start+(pi(e,s)-H.start)/3),y:v(H.function.p1)}:null,k=F?{x:m(F.start+(pi(e,s-1)-F.start)*2/3),y:v(F.function.p2)}:null,I=[f.min,(f.min+f.max)/2,f.max];return S.jsxs("div",{"data-testid":a,children:[S.jsxs("svg",{ref:l,"data-testid":`${a}-plot`,viewBox:`0 0 ${pd} ${o}`,style:{width:"100%",height:o,display:"block",background:ae.inputBg,border:`1px solid ${ae.border}`,borderRadius:ae.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:U=>{(U.key==="Delete"||U.key==="Backspace")&&q&&!n&&(U.preventDefault(),x(mw(e,s)),u(Math.max(0,s-1)))},onDoubleClick:U=>{if(n)return;const{t:G}=_(U),X=kL(e,G);X!==e&&(x(X),u(X.findIndex(Z=>Math.abs(Z.start-G)<1e-6)))},children:[I.map(U=>S.jsxs("g",{children:[S.jsx("line",{x1:pa,x2:pd-gw,y1:v(U),y2:v(U),stroke:ae.border,strokeWidth:.5}),S.jsx("text",{x:pa-3,y:v(U)+2.5,fontSize:7,fill:ae.textMuted,textAnchor:"end",children:IL(U)})]},U)),[0,.5,1].map(U=>S.jsx("text",{x:m(U),y:o-3,fontSize:7,fill:ae.textMuted,textAnchor:"middle",children:U},U)),S.jsx("path",{d:R,fill:"none",stroke:E,strokeWidth:1.5}),N&&T&&S.jsxs("g",{children:[S.jsx("line",{x1:m(N.time),y1:v(N.value),x2:T.x,y2:T.y,stroke:ae.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),S.jsx("circle",{"data-testid":`${a}-tangent-out`,cx:T.x,cy:T.y,r:3,fill:ae.surface,stroke:ae.textMuted,style:{cursor:n?"not-allowed":"ns-resize"},onPointerDown:U=>b(U,(G,X,Z)=>hw(G,s,"out",Z))})]}),N&&k&&S.jsxs("g",{children:[S.jsx("line",{x1:m(N.time),y1:v(N.value),x2:k.x,y2:k.y,stroke:ae.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),S.jsx("circle",{"data-testid":`${a}-tangent-in`,cx:k.x,cy:k.y,r:3,fill:ae.surface,stroke:ae.textMuted,style:{cursor:n?"not-allowed":"ns-resize"},onPointerDown:U=>b(U,(G,X,Z)=>hw(G,s,"in",Z))})]}),d.map((U,G)=>S.jsx("circle",{"data-testid":`${a}-key-${G}`,cx:m(U.time),cy:v(U.value),r:4,fill:G===s?ae.accent:ae.surface,stroke:G===s?ae.onAccent:E,strokeWidth:1.25,style:{cursor:n?"not-allowed":"move"},onPointerDown:X=>{u(G),b(X,(Z,A,$)=>fa(Z,G,A,$))}},G))]}),S.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[S.jsxs("span",{style:{fontSize:9,color:ae.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",d.length]}),S.jsx(Nu,{label:"t",value:N?Math.round(N.time*1e3)/1e3:null,step:.05,testId:`${a}-key-time`,onChange:U=>{N&&y(fa(e,s,U,N.value))},onChangeEnd:U=>{N&&x(fa(e,s,U,N.value))}}),S.jsx(Nu,{label:"v",value:N?Math.round(N.value*1e3)/1e3:null,step:.05,testId:`${a}-key-value`,onChange:U=>{N&&y(fa(e,s,N.time,U))},onChangeEnd:U=>{N&&x(fa(e,s,N.time,U))}}),S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":`${a}-delete-key`,disabled:!q||n===!0,"aria-label":"Delete curve key",title:q?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{x(mw(e,s)),u(Math.max(0,s-1))},children:"×"})]})]})}const If=[{name:"blur",unit:"px",min:0,max:50,step:.5,default:0},{name:"brightness",unit:"%",min:0,max:300,step:1,default:100},{name:"contrast",unit:"%",min:0,max:300,step:1,default:100},{name:"saturate",unit:"%",min:0,max:300,step:1,default:100},{name:"grayscale",unit:"%",min:0,max:100,step:1,default:0},{name:"hue-rotate",unit:"deg",min:0,max:360,step:1,default:0}];function eve(e){return!e||e==="none"?If.map(t=>({name:t.name,value:t.default})):If.map(t=>{const r=new RegExp(`${t.name}\\(([\\d.]+)${t.unit}?\\)`),n=e.match(r);return{name:t.name,value:n?.[1]?Number.parseFloat(n[1]):t.default}})}function tve(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r],o=If[r];n&&o&&n.value!==o.default&&t.push(`${n.name}(${n.value}${o.unit})`)}return t.length?t.join(" "):"none"}function rve({value:e,onChange:t,onChangeEnd:r,disabled:n,label:o="Filter",testId:i="filter-editor"}){const a=(s,u,l)=>{const c=e.map((d,f)=>f===s?{...d,value:u}:d);l?$t({onChange:t,onChangeEnd:r},c):vt({onChange:t},c)};return S.jsxs("div",{"data-testid":i,children:[S.jsx("div",{style:{fontSize:9,color:ae.textMuted,marginBottom:4},children:o}),e.map((s,u)=>{const l=If[u];return l?S.jsx("div",{"data-testid":`filter-row-${s.name}`,style:{marginBottom:3},children:S.jsx(xr,{testId:`filter-${s.name}`,label:s.name.replace("hue-rotate","hue"),value:s.value,unit:l.unit,min:l.min,max:l.max,step:l.step,disabled:n,onChange:c=>a(u,c,!1),onChangeEnd:c=>a(u,c,!0)})},s.name):null})]})}const ha=28,bw=10;function nve({value:e,onChange:t,disabled:r,fonts:n,testId:o="font-picker"}){const[i,a]=z.useState(!1),[s,u]=z.useState(""),[l,c]=z.useState(0),d=z.useRef(null),f=z.useRef(null);z.useEffect(()=>{i&&f.current?.focus()},[i]),z.useEffect(()=>{if(!i)return;const R=x=>{d.current&&!d.current.contains(x.target)&&a(!1)};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)},[i]),z.useEffect(()=>{if(!i)return;const R=x=>{x.key==="Escape"&&a(!1)};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[i]);const p=z.useMemo(()=>{if(!s)return n;const R=s.toLowerCase();return n.filter(x=>x.toLowerCase().includes(R))},[n,s]),h=p.length*ha,m=Math.floor(l/ha),v=Math.min(p.length,m+bw+2),g=p.slice(m,v),w=R=>{t(R),a(!1),u("")},_=e.replace(/^["']|["']$/g,"");return S.jsxs("div",{ref:d,"data-testid":o,style:{position:"relative",flex:1},children:[S.jsxs(Xe,{type:"button",variant:"secondary",className:"volter-field-trigger","aria-haspopup":"listbox","aria-expanded":i,disabled:r,"data-testid":"font-picker-input",onClick:()=>{r||a(R=>!R)},children:[S.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:_||"—"}),S.jsx(tP,{direction:"down",tone:"muted",style:{marginLeft:4}})]}),i&&S.jsxs(Fp,{"data-testid":"font-picker-dropdown",style:{position:"absolute",top:"100%",left:0,right:0,zIndex:"var(--volter-z-dropdown)",marginTop:2},children:[S.jsx("div",{style:{padding:4},children:S.jsx(lt,{ref:f,type:"text","data-testid":"font-picker-search",value:s,onChange:R=>{u(R.target.value),c(0)},placeholder:"Search fonts…","data-density":"compact",style:{width:"100%",boxSizing:"border-box"}})}),S.jsx("div",{"data-testid":"font-picker-list",onScroll:R=>c(R.target.scrollTop),style:{maxHeight:bw*ha,overflowY:"auto"},children:S.jsx("div",{style:{height:h,position:"relative"},children:g.map((R,x)=>{const y=m+x,b=R.toLowerCase()===_.toLowerCase();return S.jsx("div",{"data-testid":`font-picker-option-${R}`,onClick:()=>w(R),style:{position:"absolute",top:y*ha,left:0,right:0,height:ha,display:"flex",alignItems:"center",padding:"0 8px",cursor:"pointer",fontSize:12,background:b?ae.accent:"transparent",color:b?ae.onAccent:ae.text},children:S.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:R})},R)})})}),p.length===0&&S.jsx("div",{style:{padding:"8px 12px",color:ae.textMuted,fontSize:10,textAlign:"center"},children:"No matching fonts"})]})]})}function jL(e){const t=e.stops.map(r=>`${r.color} ${Math.round(r.position*100)}%`).join(", ");return e.type==="radial"?`radial-gradient(circle, ${t})`:`linear-gradient(${e.angle}deg, ${t})`}function DL(e){const t=e.match(/^linear-gradient\((.+)\)$/);if(t?.[1]!==void 0)return{type:"linear",inner:t[1]};const r=e.match(/^radial-gradient\((.+)\)$/);return r?.[1]!==void 0?{type:"radial",inner:r[1]}:null}function LL(e){const t=e.match(/^(\d+)deg\s*,\s*/);if(t)return{angle:Number.parseInt(t[1]??"180",10),colorPart:e.slice(t[0].length)};if(e.startsWith("to ")){const r=e.match(/^to\s+\w+\s*,\s*/);if(r)return{angle:180,colorPart:e.slice(r[0].length)}}return{angle:180,colorPart:e}}function FL(e){const t=e.split(/,\s*(?![^(]*\))/).map(r=>{const n=r.trim(),o=n.match(/\s+(\d+)%$/),i=o?Number.parseInt(o[1]??"0",10)/100:-1;return{color:o?n.slice(0,-o[0].length).trim():n,position:i}});for(let r=0;r<t.length;r++){const n=t[r];n&&n.position<0&&(n.position=t.length>1?r/(t.length-1):0)}return t}function ove(e){if(!e||e==="none")return null;const t=DL(e);if(!t)return null;const{angle:r,colorPart:n}=t.type==="linear"?LL(t.inner):{angle:180,colorPart:t.inner},o=FL(n);return o.length<2?null:{type:t.type,angle:r,stops:o}}function BL({stops:e,selected:t,onSelect:r,onMove:n,disabled:o,testIdPrefix:i}){return S.jsx("div",{style:{position:"relative",height:12,marginTop:2},children:e.map((a,s)=>S.jsx("div",{"data-testid":`${i}-${s}`,onClick:()=>r(s),onMouseDown:u=>{if(o)return;u.preventDefault(),r(s);const c=u.target.parentElement?.getBoundingClientRect(),d=h=>c?.width?Math.max(0,Math.min(1,(h-c.left)/c.width)):a.position,f=h=>n(s,d(h.clientX),!1),p=h=>{n(s,d(h.clientX),!0),window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",p)};window.addEventListener("mousemove",f),window.addEventListener("mouseup",p)},style:{position:"absolute",left:`${a.position*100}%`,top:0,width:10,height:10,borderRadius:"50%",background:a.css,border:`2px solid ${s===t?ae.accent:"#fff"}`,transform:"translateX(-50%)",cursor:o?"not-allowed":"pointer"}},s))})}function ive({value:e,onChange:t,onChangeEnd:r,disabled:n,recentColors:o,onAddRecentColor:i,testId:a="gradient-editor"}){const[s,u]=z.useState(0),l=(m,v)=>{v?$t({onChange:t,onChangeEnd:r},m):vt({onChange:t},m)},c=(m,v,g)=>{const w=e.stops.map((_,R)=>R===m?{..._,...v}:_);l({...e,stops:w},g)},d=()=>{const m=e.stops[e.stops.length-1]?.position??1,v=e.stops[0]?.position??0,g=(m+v)/2,w=[...e.stops,{color:"#888888",position:g}].sort((_,R)=>_.position-R.position);u(w.length-1),l({...e,stops:w},!0)},f=m=>{if(e.stops.length<=2)return;const v=e.stops.filter((g,w)=>w!==m);u(Math.min(s,v.length-1)),l({...e,stops:v},!0)},p=e.stops[s]?.color??"#000000",h=p.startsWith("#")?p:oP(p);return S.jsxs("div",{"data-testid":a,children:[S.jsxs("div",{style:{position:"relative",marginBottom:8},children:[S.jsx("div",{"data-testid":"gradient-preview",style:{height:20,borderRadius:ae.radiusSmall,border:`1px solid ${ae.border}`,background:jL(e)}}),S.jsx(BL,{stops:e.stops.map(m=>({position:m.position,css:m.color})),selected:s,onSelect:u,onMove:(m,v,g)=>c(m,{position:v},g),disabled:n,testIdPrefix:"gradient-stop"})]}),S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:4},children:[S.jsx(Mf,{testId:"gradient-selected-color",value:h,disabled:n,onChange:m=>c(s,{color:m},!1),onChangeEnd:m=>c(s,{color:m},!0),recentColors:o,onAddRecentColor:i}),S.jsxs("span",{style:{fontSize:9,color:ae.textMuted},children:["Stop ",s+1]}),e.stops.length>2&&S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-label":"Remove gradient stop","data-testid":"gradient-remove-stop",onClick:()=>f(s),children:"×"}),S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":"gradient-add-stop",onClick:d,children:"+ stop"})]}),S.jsxs("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[S.jsxs("div",{style:{display:"flex",gap:1,flex:1},children:[S.jsx(lw,{testId:"gradient-type-linear",label:"Linear",active:e.type==="linear",disabled:n,onClick:()=>l({...e,type:"linear"},!0)}),S.jsx(lw,{testId:"gradient-type-radial",label:"Radial",active:e.type==="radial",disabled:n,onClick:()=>l({...e,type:"radial"},!0)})]}),e.type==="linear"&&S.jsx(xr,{testId:"gradient-angle",label:"°",value:e.angle,unit:"deg",disabled:n,onChange:m=>l({...e,angle:m},!1),onChangeEnd:m=>l({...e,angle:m},!0),style:{width:70}})]})]})}const zL={x:0,y:4,blur:8,spread:0,color:"rgba(0,0,0,0.25)",inset:!1,enabled:!0},HL={x:0,y:2,blur:4,spread:0,color:"rgba(0,0,0,0.3)",inset:!1,enabled:!0};function UL(e,t){return(t?[e.inset?"inset":"",`${e.x}px`,`${e.y}px`,`${e.blur}px`,`${e.spread}px`,e.color]:[`${e.x}px`,`${e.y}px`,`${e.blur}px`,e.color]).filter(Boolean).join(" ")}function ave(e,t=!0){const r=e.filter(n=>n.enabled);return r.length===0?"none":r.map(n=>UL(n,t)).join(", ")}function VL(e){const t=e.match(/(rgba?\([^)]+\))/);if(t?.[1])return{color:t[1],nums:e.replace(t[1],"").trim()};const r=e.match(/(#[0-9a-fA-F]{3,8})/);return r?.[1]?{color:r[1],nums:e.replace(r[1],"").trim()}:{color:"#000000",nums:e}}function WL(e,t){if(!e||e==="none")return null;const r=e.trim(),n=t&&r.startsWith("inset"),o=n?r.slice(5).trim():r,{color:i,nums:a}=VL(o),s=a.split(/\s+/).map(u=>Number.parseFloat(u)).filter(u=>!Number.isNaN(u));return t?{inset:n,x:s[0]??0,y:s[1]??0,blur:s[2]??0,spread:s[3]??0,color:i}:s.length<2?null:{inset:!1,x:s[0]??0,y:s[1]??0,blur:s[2]??0,spread:0,color:i}}function sve(e,t=!0){if(!e||e==="none")return[];const r=e.split(/,\s*(?![^(]*\))/),n=[];for(const o of r){const i=WL(o.trim(),t);i&&n.push({...i,enabled:!0})}return n}function aP({value:e,onChange:t,onChangeEnd:r,disabled:n,withSpreadInset:o=!0,label:i="Shadow",testId:a="shadow-editor",recentColors:s,onAddRecentColor:u}){const l=(p,h)=>{h?$t({onChange:t,onChangeEnd:r},p):vt({onChange:t},p)},c=(p,h,m=!1)=>{l(e.map((v,g)=>g===p?{...v,...h}:v),m)},d=p=>{l(e.filter((h,m)=>m!==p),!0)},f=()=>{l([...e,{...o?zL:HL}],!0)};return S.jsxs("div",{"data-testid":a,children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:e.length>0?4:0},children:[S.jsx("span",{style:{fontSize:9,color:ae.textMuted},children:i}),S.jsx("div",{style:{flex:1}}),!n&&S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":`${a}-add`,onClick:f,children:"+"})]}),e.map((p,h)=>{const m=p.color.startsWith("#")?p.color:oP(p.color);return S.jsxs("div",{"data-testid":`${a}-row-${h}`,style:{marginBottom:6,padding:"4px 0",borderBottom:`1px solid ${ae.border}`},children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,marginBottom:4},children:[S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-pressed":p.enabled,"data-testid":`${a}-toggle-${h}`,onClick:()=>{n||c(h,{enabled:!p.enabled},!0)},children:p.enabled?"●":"○"}),S.jsx(Mf,{testId:`${a}-color-${h}`,value:m,disabled:n,onChange:v=>c(h,{color:v}),onChangeEnd:v=>c(h,{color:v},!0),recentColors:s,onAddRecentColor:u}),o&&S.jsxs("label",{style:{display:"flex",alignItems:"center",gap:2,fontSize:8,color:ae.textMuted,cursor:"pointer"},children:[S.jsx(ku,{className:"volter-checkbox","data-testid":`${a}-inset-${h}`,checked:p.inset,disabled:n,onChange:v=>c(h,{inset:v.target.checked},!0)}),"in"]}),S.jsx("div",{style:{flex:1}}),!n&&S.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-label":`Remove ${i.toLowerCase()} ${h+1}`,"data-testid":`${a}-remove-${h}`,onClick:()=>d(h),children:"×"})]}),p.enabled&&S.jsxs("div",{style:{display:"flex",gap:4},children:[S.jsx(xr,{label:"X",value:p.x,disabled:n,onChange:v=>c(h,{x:v}),onChangeEnd:v=>c(h,{x:v},!0),style:{flex:1}}),S.jsx(xr,{label:"Y",value:p.y,disabled:n,onChange:v=>c(h,{y:v}),onChangeEnd:v=>c(h,{y:v},!0),style:{flex:1}}),S.jsx(xr,{label:"B",value:p.blur,min:0,disabled:n,onChange:v=>c(h,{blur:Math.max(0,v)}),onChangeEnd:v=>c(h,{blur:Math.max(0,v)},!0),style:{flex:1}}),o&&S.jsx(xr,{label:"S",value:p.spread,disabled:n,onChange:v=>c(h,{spread:v}),onChangeEnd:v=>c(h,{spread:v},!0),style:{flex:1}})]})]},h)})]})}function lve(e){return S.jsx(aP,{...e,withSpreadInset:!0,testId:"box-shadow-editor",label:e.label??"Shadow"})}function uve(e){return S.jsx(aP,{...e,withSpreadInset:!1,testId:"text-shadow-editor",label:e.label??"Text Shadow"})}function cve({value:e,onCommit:t,onKeyDown:r,onFocus:n,...o}){const[i,a]=z.useState(null),s=z.useRef(!1),u=()=>{!s.current&&i!==null&&i!==e&&t(i),s.current=!1,a(null)};return S.jsx(lt,{...o,value:i??e,onFocus:l=>{a(e),n?.(l)},onChange:l=>a(l.target.value),onBlur:u,onKeyDown:l=>{l.key==="Enter"&&l.target.blur(),l.key==="Escape"&&(s.current=!0,l.target.blur()),r?.(l)}})}function dve(e,t){const r=`volter:registration-group:${t}`,n=e?.data;n?.[r]?.dispose();let i=!1,a=[];const s=()=>{i=!1;const l=a;a=[];for(let c=l.length-1;c>=0;c--)l[c]()},u={ensure(l){if(!i){i=!0;try{l(c=>a.push(c))}catch(c){throw s(),c}}},reset:s};return n&&(n[r]={dispose:s},e.dispose(s)),u}const GL=Symbol("volter.inspection.mixed");function fve(e){return e===GL}function pve(e){return e.readonlyReason??"This field is read-only."}const KL=["stage","canvas","dom","asset-lab"];function hve(e){return KL.includes(e)}const mve="column";function gve(e,t){return e.quickActions.filter(r=>r.placement===t)}const bve="preview",vve="transform",yve="properties",wve="stories",Eve="story-args",_ve="Story Args";function Sve(e){return`group:${e}`}const Rve=100,xve=1e3,Cve=2e3,Ave=3e3,Pve=4e3,Tve=5e3,YL={nullSubjectId:null};function Ove(e){return"sections"in e}const Kd=[];let sP=0;const rb=new Set;function vw(){sP++;for(const e of rb)e()}function $ve(e){return rb.add(e),()=>{rb.delete(e)}}function qve(){return sP}function kve(e){return Kd.push(e),vw(),()=>{const t=Kd.indexOf(e);t>=0&&(Kd.splice(t,1),vw())}}function Mve(e,t,r=YL){return Kd.filter(n=>n.match(e,t,r))}let Yd=null,lP=0;const nb=new Set;function yw(){lP++;for(const e of nb)e()}function ZL(e){return nb.add(e),()=>nb.delete(e)}function JL(){return lP}function XL(){return Yd}function QL(e){const t=Symbol(e.documentId);return Yd={...e,token:t},yw(),()=>{Yd?.token===t&&(Yd=null,yw())}}function Nve(){z.useSyncExternalStore(ZL,JL);const e=XL();return e?.status?S.jsx("span",{className:"volter-status-copy","data-testid":"status-asset-editor","data-status-tone":"muted",children:e.status}):null}let hi=null,uP=0;const ob=new Set;function ww(){uP+=1;for(const e of ob)e()}function Ive(e){return ob.add(e),()=>{ob.delete(e)}}function jve(){return uP}function eF(e,t){const r=Symbol(e);return hi={documentId:e,readSubject:t,token:r},ww(),()=>{hi?.token===r&&(hi=null,ww())}}function Dve(){return hi===null?null:{documentId:hi.documentId,subject:hi.readSubject()}}const Zd=[];function Lve(e){return Zd.push(e),()=>{const t=Zd.indexOf(e);t>=0&&Zd.splice(t,1)}}function Fve(e){for(const t of Zd)if(t.match(e))return t.describe(e);return null}const Ao=new Map,Ew=new Map;function cP(){typeof window>"u"||window.parent===window||Ao.size===0||window.parent.postMessage({type:"volter:viewport-ready",documents:[...Ao.keys()]},"*")}typeof window<"u"&&window.parent!==window&&window.addEventListener("message",e=>{e.source===window.parent&&e.data?.type==="volter:request-viewport-ready"&&cP()});let Ze=null,dP=null;function fP(){if(typeof window>"u")return!1;const e=window.__VOLTER_VIEWPORT_TIMINGS__;if(e===!0||e==="1")return!0;try{return new URLSearchParams(window.location.search).get("volterTimings")==="1"}catch{return!1}}function tF(e){const t=Date.now();return{documentId:e,visibilityState:typeof document>"u"?"unavailable":document.visibilityState,startedAtMs:t,reactActiveAtMs:null,constructStartedAtMs:null,viewportReadyAtMs:null,rafResumeAtMs:null,firstRenderStartedAtMs:null,firstRenderMs:0}}function rF(e,t){const r=e.reactActiveAtMs===null?0:Math.max(0,e.reactActiveAtMs-e.startedAtMs),n=e.viewportReadyAtMs??e.rafResumeAtMs,o=e.firstRenderStartedAtMs??t,i=n===null?0:Math.max(0,o-n),a=n===null?Math.max(0,t-e.startedAtMs):Math.max(0,t-n),s=r+i+e.firstRenderMs,u=Math.max(0,t-e.startedAtMs);return{visibilityState:e.visibilityState,startedAtMs:e.startedAtMs,reactActiveAtMs:e.reactActiveAtMs,constructStartedAtMs:e.constructStartedAtMs,viewportReadyAtMs:e.viewportReadyAtMs,rafResumeAtMs:e.rafResumeAtMs,firstRenderStartedAtMs:e.firstRenderStartedAtMs,firstFrameAtMs:t,workspaceSyncMs:r,rafWaitMs:i,firstRenderMs:e.firstRenderMs,firstPaintMs:a,unattributedMs:Math.max(0,u-s),accountedMs:s,storyDiscovery:dP}}function Bve(e){const t=Date.now(),r=(Ew.get(e)??0)+1;Ew.set(e,r);const n={documentId:e,activation:r,firstFrameAtMs:t},o=Ze;if(o&&o.documentId===e){const i={...n,breakdown:rF(o,t)};return Ze=null,Ao.set(e,i),Sw(),_w(),i}return Ao.set(e,n),Sw(),_w(),n}let ib=new Set;const ab=new Set;function _w(){cP();for(const e of ab)e()}function zve(e){return ab.add(e),()=>ab.delete(e)}function Sw(){Ao.size!==0&&pP()}function pP(){const e=ib;ib=new Set;for(const t of e)t()}let Rw=!1;function nF(){Rw||typeof document>"u"||(Rw=!0,document.addEventListener("visibilitychange",()=>{document.hidden&&pP()}))}function Hve(){return Ao.size>0||typeof document<"u"&&document.hidden?Promise.resolve():(nF(),new Promise(e=>ib.add(e)))}function Uve(){return[...Ao.values()]}function oF(e){fP()&&(Ze=tF(e))}function Vve(e){Ze&&(Ze.firstRenderMs=Math.max(0,e))}function Wve(e){!Ze||Ze.documentId!==e||Ze.reactActiveAtMs===null&&(Ze.reactActiveAtMs=Date.now())}function Gve(e){!Ze||Ze.documentId!==e||Ze.rafResumeAtMs===null&&(Ze.rafResumeAtMs=Date.now())}function Kve(e){!Ze||Ze.documentId!==e||Ze.firstRenderStartedAtMs===null&&(Ze.firstRenderStartedAtMs=Date.now())}function Yve(){Ze&&(Ze.constructStartedAtMs=Date.now())}function Zve(){Ze&&(Ze.viewportReadyAtMs=Date.now())}function Jve(){return Ze?.documentId??null}function Xve(e){fP()&&(dP=e)}const Qve=["scene","world","story","asset","behavior","generation","content-browser","tool-contribution","document"];let je=[],Mn=null,Xt=null,Zu=null,xi=null;function xw(e){queueMicrotask(()=>{xi===e&&je.some(t=>t.descriptor.id===e)&&(xi=null,Fy(e))})}let hP=0;const sb=new Set,Pm=new Set,Tr=new Map;function $r(){hP++;for(const e of sb)e()}function eye(e){return sb.add(e),()=>{sb.delete(e)}}function tye(){return hP}function Dy(){return je}function Ki(){return Xt}function Cw(){return Zu}function rye(e,t){Fy(e)&&Zu!==t&&(Zu=t,$r())}function Ly(){return je.find(e=>e.descriptor.id===Xt)??null}function Ju(e){if(e===Xt)return;e&&oF(e);const t=je.find(n=>n.descriptor.id===Xt);Xt=e,Zu=null,t?.descriptor.onDeactivate?.(t.descriptor.id);const r=je.find(n=>n.descriptor.id===e);r?.descriptor.onActivate?.(r.descriptor.id)}function iF(e,t,r,n){if(t){!r&&n&&Mn===e&&(Mn=null);return}r&&(Mn&&aF(Mn),Mn=e)}function nye(e,t={}){const r=xi===e.id,n=r||t.activate!==!1,o=je.find(a=>a.descriptor.id===e.id);if(iF(e.id,!!o,t.preview===!0,n),!o)return je=[...je,{descriptor:e,title:e.title}],!e.area&&(n||Xt===null)&&Ju(e.id),r&&xw(e.id),$r(),e.id;let i=!1;return(o.descriptor.Toolbar!==e.Toolbar||o.descriptor.Shelf!==e.Shelf||o.descriptor.Content!==e.Content)&&(je=je.map(a=>{if(a!==o)return a;const{Toolbar:s,Shelf:u,...l}=a.descriptor;return{...a,descriptor:{...l,Content:e.Content,...e.Toolbar?{Toolbar:e.Toolbar}:{},...e.Shelf?{Shelf:e.Shelf}:{}}}}),i=!0),n&&Xt!==e.id&&(Ju(e.id),i=!0),i&&$r(),r&&xw(e.id),e.id}function Fy(e){return je.some(t=>t.descriptor.id===e)?(Xt!==e&&(Ju(e),$r()),!0):!1}function oye(e){if(Fy(e)){xi=null;return}xi=e}function aF(e){if(Pm.has(e))return!1;const t=je.findIndex(n=>n.descriptor.id===e);if(t<0)return!1;const r=je[t];Pm.add(e);try{if(Xt===e){const o=t>0?je[t-1]:je[t+1]??null;Ju(o?o.descriptor.id:null)}je=je.filter(o=>o.descriptor.id!==e),Mn===e&&(Mn=null),Tr.delete(e);for(const o of[...Tr.keys()])By(o)===e&&Tr.delete(o);return r.descriptor.onDispose?.(e),$r(),!0}finally{Pm.delete(e)}}function iye(){if(je.length===0&&Xt===null)return;const e=je;Ju(null),je=[],Zu=null,Mn=null,Tr.clear(),xi=null;for(const t of e)t.descriptor.onDispose?.(t.descriptor.id);$r()}function lb(e){return je.some(t=>t.descriptor.id===e)}function By(e){const t=e.indexOf("#");if(t<0||lb(e))return null;const r=e.slice(0,t);return lb(r)?r:null}function aye(e){for(const t of Tr.keys())if(By(t)===e)return!0;return!1}function sF(e,t){return!lb(e)&&By(e)===null?()=>{}:(Tr.set(e,t),$r(),()=>{Tr.get(e)===t&&(Tr.delete(e),$r())})}function sye(e){Tr.has(e)&&$r()}function lye(e,t){const r=je.find(n=>n.descriptor.id===e);!r||r.title===t||(je=je.map(n=>n.descriptor.id===e?{...n,title:t}:n),$r())}function mP(e){const t=je.find(n=>n.descriptor.id===e),r=Tr.get(e)??t?.descriptor.selection;if(!r)return null;try{return r()}catch{return null}}function lF(){return Xt?mP(Xt):null}const uF="/__volter-story-runtime",uye="/__volter-react-world-runtime",gP=Symbol.for("volter.editor.host"),bP=globalThis;function cye(e){bP[gP]=e}function cF(){const e=bP[gP];if(e===void 0)throw new Error("No editor host is registered: this contribution is running outside the editor (`registerEditorHost` from `@volter/sdk/host` is called by the editor at boot).");return e}const Jd=new Map;function dye(e,t){return Jd.set(e,t),()=>{Jd.get(e)===t&&Jd.delete(e)}}const mi=new Map;function dF(e,t){return mi.set(e,t),()=>{mi.get(e)===t&&mi.delete(e)}}function fF(e){return[...mi].filter(([t])=>e.contains(t)).map(([,t])=>t)}function pF(e,t){if(e.contains(t))return!0;for(const[r,n]of mi)if(e.contains(r)&&n.contains(t))return!0;return!1}function fye(e,t){const r=e.querySelector(t);if(r!==null)return r;for(const[n,o]of mi){if(!e.contains(n))continue;if(o.matches(t))return o;const i=o.querySelector(t);if(i!==null)return i}return null}function $c(e){for(const[t,r]of Jd){if(!t.isConnected||!pF(e,t)||!t.checkVisibility({visibilityProperty:!0,opacityProperty:!0}))continue;const n=t.getBoundingClientRect();if(n.width>0&&n.height>0&&getComputedStyle(t).pointerEvents!=="none")return{frame:t,driver:r}}return null}function jf(e){return $c(e)?.driver??null}const Xu=new Map,jn=new Map;let vP=null;function pye(e){vP=e}function hF(e){let t=Xu.get(e);if(t===void 0){const r=vP?.()??null;if(r===null)throw new Error(`No workbench container holds document layers, so ${e} has no layer.`);t=document.createElement("div"),t.dataset.volterDocumentLayer=e,Object.assign(t.style,{position:"absolute",left:"0",top:"0",width:"0",height:"0",overflow:"hidden",pointerEvents:"none",visibility:"hidden"}),r.append(t),Xu.set(e,t)}return t}function Aw(e,t){const r=jn.get(e)??[],n=r.at(-1);for(const s of r)s!==n&&(s.stop?.(),s.stop=null);if(n===void 0){t.style.visibility="hidden";return}if(n.stop!==null)return;const o=dF(n.box,t);let i=0;const a=()=>{const s=n.box.getBoundingClientRect(),u=(t.offsetParent??t.parentElement)?.getBoundingClientRect();Object.assign(t.style,{left:`${s.left-(u?.left??0)}px`,top:`${s.top-(u?.top??0)}px`,width:`${s.width}px`,height:`${s.height}px`,visibility:"visible"}),i=requestAnimationFrame(a)};n.stop=()=>{cancelAnimationFrame(i),o()},a()}function hye(e,t){const r=hF(e),n={box:t,stop:null};return jn.set(e,[...jn.get(e)??[],n]),Aw(e,r),()=>{const o=jn.get(e);o===void 0||!o.includes(n)||(n.stop?.(),n.stop=null,jn.set(e,o.filter(i=>i!==n)),Aw(e,r))}}function mye(e){return jn.get(e)?.at(-1)?.box??null}function gye(e){for(const t of jn.get(e)??[])t.stop?.();jn.delete(e),Xu.get(e)?.remove(),Xu.delete(e)}function bye(e){return Xu.get(e)}const yP=Symbol.for("volter.editor.activateByEvent");function vye(e){globalThis[yP]=e}function Vp(e){return globalThis[yP]?.(e)??Promise.resolve()}function yye(e){if(!e.ok)return`The editor refused: ${e.error??"no reason given"}`;const t=e.data??{};return Object.keys(t).length===1&&typeof t.result=="string"?t.result:JSON.stringify(t,(r,n)=>typeof n=="string"&&n.length>4e3?`(${n.length} characters not shown)`:n,1)}let wP=[];function wye(e){wP=e}function Eye(){return wP}const mF="modulepreload",gF=function(e){return"/"+e},Pw={},bF=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),u=s?.nonce||s?.getAttribute("nonce");o=a(r.map(l=>{if(l=gF(l),l in Pw)return;Pw[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":mF,c||(f.as="script"),f.crossOrigin="",f.href=l,u&&f.setAttribute("nonce",u),document.head.appendChild(f),c)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};function _ye(e){const t=e.size,r=e.width,n=e.height;if(r!==void 0||n!==void 0){if(t!=null)return{error:`${String(e.type)}: pass "size" (a square) OR "width"+"height" (a shaped frame), never both.`};const i=(u,l)=>typeof l!="number"||!Number.isInteger(l)?`${String(e.type)}: "${u}" must be a whole number — got ${typeof l} ${JSON.stringify(l)??String(l)}.`:l<Tw||l>Ow?`${String(e.type)}: "${u}" must be ${Tw}-${Ow} — ${vF}`:l,a=i("width",r);if(typeof a=="string")return{error:a};const s=i("height",n);return typeof s=="string"?{error:s}:{size:{width:a,height:s}}}return t==null?{}:typeof t!="number"||!Number.isFinite(t)||t<1?{error:`${String(e.type)}: "size" must be a finite number >= 1 — got ${typeof t} ${JSON.stringify(t)??String(t)}.`}:{size:t}}const Tw=64,Ow=1024,vF="the editor's own ceiling: the pixels cross the relay as base64 JSON, and 1024 is where even incompressible RGBA still fits its 50 MB request limit. For more picture, take more views, not bigger ones.";var yF="Invariant failed";function ub(e,t){if(!e)throw new Error(yF)}var wF=Object.create,zy=Object.defineProperty,EF=Object.getOwnPropertyDescriptor,EP=Object.getOwnPropertyNames,_F=Object.getPrototypeOf,SF=Object.prototype.hasOwnProperty,hd=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),V=(e,t)=>function(){try{return t||(0,e[EP(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Wp=(e,t)=>{for(var r in t)zy(e,r,{get:t[r],enumerable:!0})},RF=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of EP(t))!SF.call(e,o)&&o!==r&&zy(e,o,{get:()=>t[o],enumerable:!(n=EF(t,o))||n.enumerable});return e},tr=(e,t,r)=>(r=e!=null?wF(_F(e)):{},RF(zy(r,"default",{value:e,enumerable:!0}),e)),_P=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
597
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}}),xF=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),SP=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),CF=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),AF=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(CF()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}e.default=o}}),$w=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(_P()),n=t(xF()),o=t(SP()),i=t(AF()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(c){var d=l(c);return function(f){return String(f).replace(a,d)}}var u=function(c,d){return c<d?1:-1};e.decodeHTML=(function(){for(var c=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),f=0,p=0;f<d.length;f++)c[p]===d[f]?(d[f]+=";?",p++):d[f]+=";";var h=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),m=l(r.default);function v(g){return g.substr(-1)!==";"&&(g+=";"),m(g)}return function(g){return String(g).replace(h,v)}})();function l(c){return function(d){if(d.charAt(1)==="#"){var f=d.charAt(2);return f==="X"||f==="x"?i.default(parseInt(d.substr(3),16)):i.default(parseInt(d.substr(2),10))}return c[d.slice(1,-1)]||d}}}}),qw=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(SP()),n=u(r.default),o=l(n);e.encodeXML=g(n);var i=t(_P()),a=u(i.default),s=l(a);e.encodeHTML=p(a,s),e.encodeNonAsciiHTML=g(a);function u(w){return Object.keys(w).sort().reduce(function(_,R){return _[w[R]]="&"+R+";",_},{})}function l(w){for(var _=[],R=[],x=0,y=Object.keys(w);x<y.length;x++){var b=y[x];b.length===1?_.push("\\"+b):R.push(b)}_.sort();for(var E=0;E<_.length-1;E++){for(var C=E;C<_.length-1&&_[C].charCodeAt(1)+1===_[C+1].charCodeAt(1);)C+=1;var N=1+C-E;N<3||_.splice(E,N,_[E]+"-"+_[C])}return R.unshift("["+_.join("")+"]"),new RegExp(R.join("|"),"g")}var c=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(w){return w.codePointAt(0)}):(function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536});function f(w){return"&#x"+(w.length>1?d(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}function p(w,_){return function(R){return R.replace(_,function(x){return w[x]}).replace(c,f)}}var h=new RegExp(o.source+"|"+c.source,"g");function m(w){return w.replace(h,f)}e.escape=m;function v(w){return w.replace(o,f)}e.escapeUTF8=v;function g(w){return function(_){return _.replace(h,function(R){return w[R]||f(R)})}}}}),PF=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=$w(),r=qw();function n(u,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(u)}e.decode=n;function o(u,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(u)}e.decodeStrict=o;function i(u,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(u)}e.encode=i;var a=qw();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=$w();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}}),TF=V({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(T,k){if(!(T instanceof k))throw new TypeError("Cannot call a class as a function")}function n(T,k){for(var I=0;I<k.length;I++){var U=k[I];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(T,U.key,U)}}function o(T,k,I){return k&&n(T.prototype,k),T}function i(T,k){var I=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!I){if(Array.isArray(T)||(I=a(T))||k){I&&(T=I);var U=0,G=function(){};return{s:G,n:function(){return U>=T.length?{done:!0}:{done:!1,value:T[U++]}},e:function($){throw $},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
598
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,Z=!1,A;return{s:function(){I=I.call(T)},n:function(){var $=I.next();return X=$.done,$},e:function($){Z=!0,A=$},f:function(){try{!X&&I.return!=null&&I.return()}finally{if(Z)throw A}}}}function a(T,k){if(T){if(typeof T=="string")return s(T,k);var I=Object.prototype.toString.call(T).slice(8,-1);if(I==="Object"&&T.constructor&&(I=T.constructor.name),I==="Map"||I==="Set")return Array.from(T);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return s(T,k)}}function s(T,k){(k==null||k>T.length)&&(k=T.length);for(var I=0,U=new Array(k);I<k;I++)U[I]=T[I];return U}var u=PF(),l={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var T={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return w(0,5).forEach(function(k){w(0,5).forEach(function(I){w(0,5).forEach(function(U){return d(k,I,U,T)})})}),w(0,23).forEach(function(k){var I=k+232,U=f(k*10+8);T[I]="#"+U+U+U}),T}function d(T,k,I,U){var G=16+T*36+k*6+I,X=T>0?T*40+55:0,Z=k>0?k*40+55:0,A=I>0?I*40+55:0;U[G]=p([X,Z,A])}function f(T){for(var k=T.toString(16);k.length<2;)k="0"+k;return k}function p(T){var k=[],I=i(T),U;try{for(I.s();!(U=I.n()).done;){var G=U.value;k.push(f(G))}}catch(X){I.e(X)}finally{I.f()}return"#"+k.join("")}function h(T,k,I,U){var G;return k==="text"?G=x(I,U):k==="display"?G=v(T,I,U):k==="xterm256Foreground"?G=E(T,U.colors[I]):k==="xterm256Background"?G=C(T,U.colors[I]):k==="rgb"&&(G=m(T,I)),G}function m(T,k){k=k.substring(2).slice(0,-1);var I=+k.substr(0,2),U=k.substring(5).split(";"),G=U.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return b(T,(I===38?"color:#":"background-color:#")+G)}function v(T,k,I){k=parseInt(k,10);var U={"-1":function(){return"<br/>"},0:function(){return T.length&&g(T)},1:function(){return y(T,"b")},3:function(){return y(T,"i")},4:function(){return y(T,"u")},8:function(){return b(T,"display:none")},9:function(){return y(T,"strike")},22:function(){return b(T,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return N(T,"i")},24:function(){return N(T,"u")},39:function(){return E(T,I.fg)},49:function(){return C(T,I.bg)},53:function(){return b(T,"text-decoration:overline")}},G;return U[k]?G=U[k]():4<k&&k<7?G=y(T,"blink"):29<k&&k<38?G=E(T,I.colors[k-30]):39<k&&k<48?G=C(T,I.colors[k-40]):89<k&&k<98?G=E(T,I.colors[8+(k-90)]):99<k&&k<108&&(G=C(T,I.colors[8+(k-100)])),G}function g(T){var k=T.slice(0);return T.length=0,k.reverse().map(function(I){return"</"+I+">"}).join("")}function w(T,k){for(var I=[],U=T;U<=k;U++)I.push(U);return I}function _(T){return function(k){return(T===null||k.category!==T)&&T!=="all"}}function R(T){T=parseInt(T,10);var k=null;return T===0?k="all":T===1?k="bold":2<T&&T<5?k="underline":4<T&&T<7?k="blink":T===8?k="hide":T===9?k="strike":29<T&&T<38||T===39||89<T&&T<98?k="foreground-color":(39<T&&T<48||T===49||99<T&&T<108)&&(k="background-color"),k}function x(T,k){return k.escapeXML?u.encodeXML(T):T}function y(T,k,I){return I||(I=""),T.push(k),"<".concat(k).concat(I?' style="'.concat(I,'"'):"",">")}function b(T,k){return y(T,"span",k)}function E(T,k){return y(T,"span","color:"+k)}function C(T,k){return y(T,"span","background-color:"+k)}function N(T,k){var I;if(T.slice(-1)[0]===k&&(I=T.pop()),I)return"</"+k+">"}function q(T,k,I){var U=!1,G=3;function X(){return""}function Z(le,he){return I("xterm256Foreground",he),""}function A(le,he){return I("xterm256Background",he),""}function $(le){return k.newline?I("display",-1):I("text",le),""}function M(le,he){U=!0,he.trim().length===0&&(he="0"),he=he.trimRight(";").split(";");var mt=i(he),Bo;try{for(mt.s();!(Bo=mt.n()).done;){var na=Bo.value;I("display",na)}}catch(oa){mt.e(oa)}finally{mt.f()}return""}function K(le){return I("text",le),""}function L(le){return I("rgb",le),""}var D=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:L},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\x1b\[48;5;(\d+)m/,sub:A},{pattern:/^\n/,sub:$},{pattern:/^\r+\n/,sub:$},{pattern:/^\r/,sub:$},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:M},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:K}];function Y(le,he){he>G&&U||(U=!1,T=T.replace(le.pattern,le.sub))}var ee=[],j=T,ne=j.length;e:for(;ne>0;){for(var se=0,be=0,ve=D.length;be<ve;se=++be){var ke=D[se];if(Y(ke,se),T.length!==ne){ne=T.length;continue e}}if(T.length===ne)break;ee.push(0),ne=T.length}return ee}function H(T,k,I){return k!=="text"&&(T=T.filter(_(R(I))),T.push({token:k,data:I,category:R(I)})),T}var F=(function(){function T(k){r(this,T),k=k||{},k.colors&&(k.colors=Object.assign({},l.colors,k.colors)),this.options=Object.assign({},l,k),this.stack=[],this.stickyStack=[]}return o(T,[{key:"toHtml",value:function(k){var I=this;k=typeof k=="string"?[k]:k;var U=this.stack,G=this.options,X=[];return this.stickyStack.forEach(function(Z){var A=h(U,Z.token,Z.data,G);A&&X.push(A)}),q(k.join(""),G,function(Z,A){var $=h(U,Z,A,G);$&&X.push($),G.stream&&(I.stickyStack=H(I.stickyStack,Z,A))}),U.length&&X.push(g(U)),X.join("")}}]),T})();t.exports=F}}),OF=e=>e.transports!==void 0,$F=()=>Math.random().toString(16).slice(2),RP=class{constructor(e={}){this.sender=$F(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,OF(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let o=()=>{this.transports.forEach(i=>{i.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(o):o()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},Df;function qF(e){globalThis.__STORYBOOK_ADDONS_CHANNEL__=e}function cb(){let e=globalThis.__STORYBOOK_ADDONS_CHANNEL__;return e&&(Df=e),Df??null}function xP(e){Df=e??void 0,qF(Df)}function kF(){xP(new RP({}))}function MF(){cb()||kF()}typeof window>"u"&&MF();function NF(){return new RP({transport:{setHandler:()=>{},send:()=>{}}})}function kw({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Mw(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var IF=class CP extends Error{constructor(t){super(CP.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.agentFacing=t.agentFacing??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return kw({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${kw({code:r,category:n})}?ref=error`:typeof t=="string"?i=Mw(t):Array.isArray(t)&&(i=`
|
|
599
|
+
${t.map(a=>` - ${Mw(a)}`).join(`
|
|
600
|
+
`)}`),`${o}${i!=null?`
|
|
601
|
+
|
|
602
|
+
More info: ${i}
|
|
603
|
+
`:""}`}},AP=V({"../../node_modules/picocolors/picocolors.browser.js"(e,t){var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n}}),md,jF={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function DF(e){return!e&&!md?jF:{lang:e?.lang??md?.lang,message:e?.message,abortEarly:e?.abortEarly??md?.abortEarly,abortPipeEarly:e?.abortPipeEarly??md?.abortPipeEarly}}var LF;function FF(e){return LF?.get(e)}var BF;function zF(e){return BF?.get(e)}var HF;function UF(e,t){return HF?.get(e)?.get(t)}function db(e){let t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function dr(e,t,r,n,o){let i=o&&"input"in o?o.input:r.value,a=o?.expected??e.expects??null,s=o?.received??db(i),u={kind:e.kind,type:e.type,input:i,expected:a,received:s,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:o?.path,issues:o?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},l=e.kind==="schema",c=o?.message??e.message??UF(e.reference,u.lang)??(l?zF(u.lang):null)??n.message??FF(u.lang);c!==void 0&&(u.message=typeof c=="function"?c(u):c),l&&(r.typed=!1),r.issues?r.issues.push(u):r.issues=[u]}var Nw=new WeakMap;function Mr(e){let t=Nw.get(e);return t||(t={version:1,vendor:"valibot",validate(r){return e["~run"]({value:r},DF())}},Nw.set(e,t)),t}function PP(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function TP(e,t){return{kind:"validation",type:"min_value",reference:TP,async:!1,expects:`>=${e instanceof Date?e.toJSON():db(e)}`,requirement:e,message:t,"~run"(r,n){return r.typed&&!(r.value>=this.requirement)&&dr(this,"value",r,n,{received:r.value instanceof Date?r.value.toJSON():db(r.value)}),r}}}function OP(e){return{kind:"validation",type:"safe_integer",reference:OP,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,"~run"(t,r){return t.typed&&!this.requirement(t.value)&&dr(this,"safe integer",t,r),t}}}function $P(e,t,r){return typeof e.fallback=="function"?e.fallback(t,r):e.fallback}function Hy(e,t,r){return typeof e.default=="function"?e.default(t,r):e.default}function qP(e,t){return{kind:"schema",type:"array",reference:qP,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return Mr(this)},"~run"(r,n){let o=r.value;if(Array.isArray(o)){r.typed=!0,r.value=[];for(let i=0;i<o.length;i++){let a=o[i],s=this.item["~run"]({value:a},n);if(s.issues){let u={type:"array",origin:"value",input:o,key:i,value:a};for(let l of s.issues)l.path?l.path.unshift(u):l.path=[u],r.issues?.push(l);if(r.issues||(r.issues=s.issues),n.abortEarly){r.typed=!1;break}}s.typed||(r.typed=!1),r.value.push(s.value)}}else dr(this,"type",r,n);return r}}}function Uy(e,t){return{kind:"schema",type:"custom",reference:Uy,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return Mr(this)},"~run"(r,n){return this.check(r.value)?r.typed=!0:dr(this,"type",r,n),r}}}function Vy(e,t){return{kind:"schema",type:"loose_object",reference:Vy,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Mr(this)},"~run"(r,n){let o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(let i in this.entries){let a=this.entries[i];if(i in o||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=i in o?o[i]:Hy(a),u=a["~run"]({value:s},n);if(u.issues){let l={type:"object",origin:"value",input:o,key:i,value:s};for(let c of u.issues)c.path?c.path.unshift(l):c.path=[l],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value[i]=u.value}else if(a.fallback!==void 0)r.value[i]=$P(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(dr(this,"key",r,n,{input:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:o,key:i,value:o[i]}]}),n.abortEarly))break}if(!r.issues||!n.abortEarly)for(let i in o)PP(o,i)&&!(i in this.entries)&&(r.value[i]=o[i])}else dr(this,"type",r,n);return r}}}function kP(e){return{kind:"schema",type:"number",reference:kP,expects:"number",async:!1,message:e,get"~standard"(){return Mr(this)},"~run"(t,r){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:dr(this,"type",t,r),t}}}function Qn(e,t){return{kind:"schema",type:"object",reference:Qn,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Mr(this)},"~run"(r,n){let o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(let i in this.entries){let a=this.entries[i];if(i in o||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=i in o?o[i]:Hy(a),u=a["~run"]({value:s},n);if(u.issues){let l={type:"object",origin:"value",input:o,key:i,value:s};for(let c of u.issues)c.path?c.path.unshift(l):c.path=[l],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value[i]=u.value}else if(a.fallback!==void 0)r.value[i]=$P(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(dr(this,"key",r,n,{input:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:o,key:i,value:o[i]}]}),n.abortEarly))break}}else dr(this,"type",r,n);return r}}}function ut(e,t){return{kind:"schema",type:"optional",reference:ut,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return Mr(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=Hy(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function Gp(e,t,r){return{kind:"schema",type:"record",reference:Gp,expects:"Object",async:!1,key:e,value:t,message:r,get"~standard"(){return Mr(this)},"~run"(n,o){let i=n.value;if(i&&typeof i=="object"){n.typed=!0,n.value={};for(let a in i)if(PP(i,a)){let s=i[a],u=this.key["~run"]({value:a},o);if(u.issues){let c={type:"object",origin:"key",input:i,key:a,value:s};for(let d of u.issues)d.path=[c],n.issues?.push(d);if(n.issues||(n.issues=u.issues),o.abortEarly){n.typed=!1;break}}let l=this.value["~run"]({value:s},o);if(l.issues){let c={type:"object",origin:"value",input:i,key:a,value:s};for(let d of l.issues)d.path?d.path.unshift(c):d.path=[c],n.issues?.push(d);if(n.issues||(n.issues=l.issues),o.abortEarly){n.typed=!1;break}}(!u.typed||!l.typed)&&(n.typed=!1),u.typed&&(n.value[u.value]=l.value)}}else dr(this,"type",n,o);return n}}}function ye(e){return{kind:"schema",type:"string",reference:ye,expects:"string",async:!1,message:e,get"~standard"(){return Mr(this)},"~run"(t,r){return typeof t.value=="string"?t.typed=!0:dr(this,"type",t,r),t}}}function Wy(){return{kind:"schema",type:"unknown",reference:Wy,expects:"unknown",async:!1,get"~standard"(){return Mr(this)},"~run"(e){return e.typed=!0,e}}}function VF(...e){return{...e[0],pipe:e,get"~standard"(){return Mr(this)},"~run"(t,r){for(let n of e)if(n.kind!=="metadata"){if(t.issues&&(n.kind==="schema"||n.kind==="transformation")){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=n["~run"](t,r))}return t}}}var WF=Uy(e=>typeof e=="object"&&e!==null&&!Array.isArray(e));Qn({serviceId:ye(),state:WF,version:VF(kP(),OP(),TP(0)),clientId:ye()});Qn({serviceId:ye(),commandName:ye(),input:ut(Wy()),callId:ye(),clientId:ye()});Qn({serviceId:ye(),callId:ye(),result:ut(Wy()),clientId:ye()});var GF=Symbol.for("preact-signals");function Gy(){if(yo>1)yo--;else{var e,t=!1;for((function(){var o=Ff;for(Ff=void 0;o!==void 0;)o.S.v===o.v&&(o.S.i=o.i),o=o.o})();Iu!==void 0;){var r=Iu;for(Iu=void 0,Lf++;r!==void 0;){var n=r.u;if(r.u=void 0,r.f&=-3,!(8&r.f)&&NP(r))try{r.c()}catch(o){t||(e=o,t=!0)}r=n}}if(Lf=0,yo--,t)throw e}}var Me=void 0;function Ky(e){var t=Me;Me=void 0;try{return e()}finally{Me=t}}var Iu=void 0,yo=0,Lf=0,Iw=0,Ff=void 0,Bf=0;function MP(e){if(Me!==void 0){var t=e.n;if(t===void 0||t.t!==Me)return t={i:0,S:e,p:Me.s,n:void 0,t:Me,e:void 0,x:void 0,r:t},Me.s!==void 0&&(Me.s.n=t),Me.s=t,e.n=t,32&Me.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=Me.s,t.n=void 0,Me.s.n=t,Me.s=t),t}}function Mt(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Mt.prototype.brand=GF;Mt.prototype.h=function(){return!0};Mt.prototype.S=function(e){var t=this,r=this.t;r!==e&&e.e===void 0&&(e.x=r,this.t=e,r!==void 0?r.e=e:Ky(function(){var n;(n=t.W)==null||n.call(t)}))};Mt.prototype.U=function(e){var t=this;if(this.t!==void 0){var r=e.e,n=e.x;r!==void 0&&(r.x=n,e.e=void 0),n!==void 0&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&Ky(function(){var o;(o=t.Z)==null||o.call(t)}))}};Mt.prototype.subscribe=function(e){var t=this;return YF(function(){var r=t.value,n=Me;Me=void 0;try{e(r)}finally{Me=n}},{name:"sub"})};Mt.prototype.valueOf=function(){return this.value};Mt.prototype.toString=function(){return this.value+""};Mt.prototype.toJSON=function(){return this.value};Mt.prototype.peek=function(){var e=this;return Ky(function(){return e.value})};Object.defineProperty(Mt.prototype,"value",{get:function(){var e=MP(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Lf>100)throw new Error("Cycle detected");(function(r){yo!==0&&Lf===0&&r.l!==Iw&&(r.l=Iw,Ff={S:r,v:r.v,i:r.i,o:Ff})})(this),this.v=e,this.i++,Bf++,yo++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Gy()}}}});function NP(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function IP(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function jP(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Yi(e,t){Mt.call(this,void 0),this.x=e,this.s=void 0,this.g=Bf-1,this.f=4,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Yi.prototype=new Mt;Yi.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Bf))return!0;if(this.g=Bf,this.f|=1,this.i>0&&!NP(this))return this.f&=-2,!0;var e=Me;try{IP(this),Me=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return Me=e,jP(this),this.f&=-2,!0};Yi.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Mt.prototype.S.call(this,e)};Yi.prototype.U=function(e){if(this.t!==void 0&&(Mt.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Yi.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Yi.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=MP(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function DP(e){var t=e.m;if(e.m=void 0,typeof t=="function"){yo++;var r=Me;Me=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,Yy(e),n}finally{Me=r,Gy()}}}function Yy(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,DP(e)}function KF(e){if(Me!==this)throw new Error("Out-of-order effect");jP(this),Me=e,this.f&=-2,8&this.f&&Yy(this),Gy()}function Zi(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name}Zi.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.m=t)}finally{e()}};Zi.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,DP(this),IP(this),yo++;var e=Me;return Me=this,KF.bind(this,e)};Zi.prototype.N=function(){2&this.f||(this.f|=2,this.u=Iu,Iu=this)};Zi.prototype.d=function(){this.f|=8,1&this.f||Yy(this)};Zi.prototype.dispose=function(){this.d()};function YF(e,t){var r=new Zi(e,t);try{r.c()}catch(o){throw r.d(),o}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}new Set(Object.getOwnPropertyNames(Symbol).map(function(e){return Symbol[e]}).filter(function(e){return typeof e=="symbol"}));var LP=V({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return(function r(n,o,i){function a(l,c){if(!o[l]){if(!n[l]){var d=typeof hd=="function"&&hd;if(!c&&d)return d(l,!0);if(s)return s(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var p=o[l]={exports:{}};n[l][0].call(p.exports,function(h){var m=n[l][1][h];return a(m||h)},p,p.exports,r,n,o,i)}return o[l].exports}for(var s=typeof hd=="function"&&hd,u=0;u<i.length;u++)a(i[u]);return a})({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}i.prototype.get=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(s=this.indexOf(a),s>=0)return this.lastItem=this.list[s],this.list[s].val},i.prototype.set=function(a,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=s,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:a,val:s},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),s=this.indexOf(a),s>=0)return this.size--,this.list.splice(s,1)[0]},i.prototype.has=function(a){var s;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(s=this.indexOf(a),s>=0?(this.lastItem=this.list[s],!0):!1)},i.prototype.forEach=function(a,s){var u;for(u=0;u<this.size;u++)a.call(s||this,this.list[u].val,this.list[u].key,this)},i.prototype.indexOf=function(a){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,a))return s;return-1},i.prototype.isEqual=function(a,s){return a===s||a!==a&&s!==s},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(l){var c=new i(!1),d=[];return function(f){var p=function(){var h=c,m,v,g=arguments.length-1,w=Array(g+1),_=!0,R;if((p.numArgs||p.numArgs===0)&&p.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(R=0;R<g;R++){if(w[R]={cacheItem:h,arg:arguments[R]},h.has(arguments[R])){h=h.get(arguments[R]);continue}_=!1,m=new i(!1),h.set(arguments[R],m),h=m}return _&&(h.has(arguments[g])?v=h.get(arguments[g]):_=!1),_||(v=f.apply(null,arguments),h.set(arguments[g],v)),l>0&&(w[g]={cacheItem:h,arg:arguments[g]},_?a(d,w):d.push(w),d.length>l&&s(d.shift())),p.wasMemoized=_,p.numArgs=g+1,v};return p.limit=l,p.wasMemoized=!1,p.cache=c,p.lru=d,p}};function a(l,c){var d=l.length,f=c.length,p,h,m;for(h=0;h<d;h++){for(p=!0,m=0;m<f;m++)if(!u(l[h][m].arg,c[m].arg)){p=!1;break}if(p)break}l.push(l.splice(h,1)[0])}function s(l){var c=l.length,d=l[c-1],f,p;for(d.cacheItem.delete(d.arg),p=c-2;p>=0&&(d=l[p],f=d.cacheItem.get(d.arg),!f||!f.size);p--)d.cacheItem.delete(d.arg)}function u(l,c){return l===c||l!==l&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}});function Ji(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,u){var l=u.match(/\n([\t ]+|(?!\s).)/g);return l?s.concat(l.map(function(c){var d,f;return(f=(d=c.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var i=new RegExp(`
|
|
604
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(i,`
|
|
605
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,u){var l=a.match(/(?:^|\n)( *)$/),c=l?l[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
606
|
+
`)&&(d=String(s).split(`
|
|
607
|
+
`).map(function(f,p){return p===0?f:""+c+f}).join(`
|
|
608
|
+
`)),a+=d+n[u+1]}),a}var pe=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:ZF}=pe,An={trace:1,debug:2,info:3,warn:4,error:5,silent:10},JF=ZF,Vo=An[JF]||An.info,mu={trace:(e,...t)=>{Vo<=An.trace&&console.trace(e,...t)},debug:(e,...t)=>{Vo<=An.debug&&console.debug(e,...t)},info:(e,...t)=>{Vo<=An.info&&console.info(e,...t)},warn:(e,...t)=>{Vo<=An.warn&&console.warn(e,...t)},error:(e,...t)=>{Vo<=An.error&&console.error(e,...t)},log:(e,...t)=>{Vo<An.silent&&console.log(e,...t)}},fb=new Set,_t=e=>(t,...r)=>{if(!fb.has(t))return fb.add(t),mu[e](t,...r)};_t.clear=()=>fb.clear();_t.trace=_t("trace");_t.debug=_t("debug");_t.info=_t("info");_t.warn=_t("warn");_t.error=_t("error");_t.log=_t("log");var XF=class extends IF{constructor(e){super({name:"ImplicitActionsDuringRendering",category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Ji`
|
|
609
|
+
We detected that you use an implicit action arg while ${e.phase} of your story.
|
|
610
|
+
${e.deprecated?`
|
|
611
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
612
|
+
`:""}
|
|
613
|
+
Please provide an explicit spy to your args like this:
|
|
614
|
+
import { fn } from 'storybook/test';
|
|
615
|
+
...
|
|
616
|
+
args: {
|
|
617
|
+
${e.name}: fn()
|
|
618
|
+
}`}),this.data=e}},FP=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.AI_SETUP_ANALYTICS_RESPONSE="aiSetupAnalyticsResponse",e.AI_SETUP_ANALYTICS_REQUEST="aiSetupAnalyticsRequest",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.AI_PROMPT_NUDGE="aiPromptNudge",e.SIDEBAR_FILTER_CHANGED="sidebarFilterChanged",e))(FP||{}),{CHANNEL_WS_DISCONNECT:Sye,CHANNEL_CREATED:Rye,CONFIG_ERROR:xye,CREATE_NEW_STORYFILE_REQUEST:Cye,CREATE_NEW_STORYFILE_RESPONSE:Aye,CURRENT_STORY_WAS_SET:Pye,DOCS_PREPARED:Tye,DOCS_RENDERED:Oye,FILE_COMPONENT_SEARCH_REQUEST:$ye,FILE_COMPONENT_SEARCH_RESPONSE:qye,FORCE_RE_RENDER:kye,FORCE_REMOUNT:jw,GLOBALS_UPDATED:Mye,NAVIGATE_URL:Nye,PLAY_FUNCTION_THREW_EXCEPTION:Iye,UNHANDLED_ERRORS_WHILE_PLAYING:jye,PRELOAD_ENTRIES:Dye,PREVIEW_INITIALIZED:Lye,PREVIEW_BUILDER_PROGRESS:Fye,PREVIEW_KEYDOWN:Bye,REGISTER_SUBSCRIPTION:zye,RESET_STORY_ARGS:Hye,SELECT_STORY:Uye,SET_CONFIG:Vye,SET_CURRENT_STORY:QF,SET_FILTER:Wye,SET_GLOBALS:Gye,SET_INDEX:Kye,SET_STORIES:Yye,SHARED_STATE_CHANGED:Zye,SHARED_STATE_SET:Jye,STORIES_COLLAPSE_ALL:Xye,STORIES_EXPAND_ALL:Qye,STORY_ARGS_UPDATED:e0e,STORY_CHANGED:t0e,STORY_ERRORED:r0e,STORY_INDEX_INVALIDATED:n0e,STORY_MISSING:o0e,STORY_PREPARED:i0e,STORY_RENDER_PHASE_CHANGED:BP,STORY_RENDERED:a0e,STORY_FINISHED:s0e,STORY_SPECIFIED:l0e,STORY_THREW_EXCEPTION:u0e,STORY_UNCHANGED:c0e,STORY_HOT_UPDATED:d0e,UPDATE_GLOBALS:f0e,UPDATE_QUERY_PARAMS:p0e,UPDATE_STORY_ARGS:h0e,REQUEST_WHATS_NEW_DATA:m0e,RESULT_WHATS_NEW_DATA:g0e,SET_WHATS_NEW_CACHE:b0e,TOGGLE_WHATS_NEW_NOTIFICATIONS:v0e,TELEMETRY_ERROR:y0e,SAVE_STORY_REQUEST:w0e,SAVE_STORY_RESPONSE:E0e,ARGTYPES_INFO_REQUEST:_0e,ARGTYPES_INFO_RESPONSE:S0e,GHOST_STORIES_REQUEST:R0e,GHOST_STORIES_RESPONSE:x0e,AI_SETUP_ANALYTICS_RESPONSE:C0e,AI_SETUP_ANALYTICS_REQUEST:A0e,OPEN_IN_EDITOR_REQUEST:P0e,OPEN_IN_EDITOR_RESPONSE:T0e,MANAGER_INERT_ATTRIBUTE_CHANGED:O0e,SHARE_ISOLATE_MODE:$0e,AI_PROMPT_NUDGE:q0e,SIDEBAR_FILTER_CHANGED:k0e}=FP,Dw="outline",eB=Uy(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)),tB=Qn({name:ye(),message:ye()}),rB=Gp(ye(),qP(ye())),zP={name:ye(),path:ye(),description:ut(ye()),summary:ut(ye()),jsDocTags:rB,argTypes:ut(eB),error:ut(tB)},nB={...zP,import:ut(ye())},oB=Vy(nB),iB=Vy({id:ye(),...zP,subcomponents:ut(Gp(ye(),oB))});ut(iB);var aB=(e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(a=>!!a);return{root:o?n:null,groups:i}},Kp="storybook/highlight",sB=`${Kp}/add`,lB=`${Kp}/remove`,uB=`${Kp}/reset`,cB=`${Kp}/scroll-into-view`,Lw=2147483647,Pn=28,dB="storybook/actions",fB=`${dB}/action-event`,pB={depth:10,clearOnStoryChange:!0,limit:50},HP=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:HP(r,t)},hB=e=>!!(typeof e=="object"&&e&&HP(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),mB=e=>{if(hB(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e};function Zy(e,t={}){let r={...pB,...t},n=function(...o){if(t.implicit){let d=("__STORYBOOK_PREVIEW__"in pe?pe.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(f=>f.phase==="playing"||f.phase==="rendering");if(d){let f=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,p=new XF({phase:d.phase,name:e,deprecated:f});if(f)console.warn(p);else throw p}}let i=sv.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,u=o.map(mB),l=o.length>1?u:u[0],c={id:a,count:0,data:{name:e,args:l},options:{...r,maxDepth:s+(r.depth||3)}};i.emit(fB,c)};return n.isAction=!0,n.implicit=t.implicit,n}var Fw="backgrounds",gB={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},bB={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},UP=Object.entries(bB);function Yp(e){return String(e)}Yp.open="";Yp.close="";UP.reduce((e,[t])=>(e[t]=Yp,e),{isColorSupported:!1});function vB(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function yB(e=!1){let t=vB(e),r=(a,s,u,l)=>{let c="",d=0;do c+=a.substring(d,l)+u,d=l+s.length,l=a.indexOf(s,d);while(~l);return c+a.substring(d)},n=(a,s,u=a)=>{let l=c=>{let d=String(c),f=d.indexOf(s,a.length);return~f?a+r(d,s,u,f)+s:a+d+s};return l.open=a,l.close=s,l},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,s]of UP)o[a]=t?n(i(s[0]),i(s[1]),s[2]):Yp;return o}var Jr=yB();function VP(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function wB(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function qc(e,t,r,n,o,i,a=": "){let s="",u=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,u++===t.maxWidth){s+="…";break}let d=i(l.value[0],t,c,n,o),f=i(l.value[1],t,c,n,o);s+=d+a+f,l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Jy(e,t,r,n,o,i){let a="",s=0,u=e.next();if(!u.done){a+=t.spacingOuter;let l=r+t.indent;for(;!u.done;){if(a+=l,s++===t.maxWidth){a+="…";break}a+=i(u.value,t,l,n,o),u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function zf(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=l=>l instanceof DataView,u=s(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<u;c++){if(a+=l,c===t.maxWidth){a+="…";break}(s(e)||c in e)&&(a+=i(s(e)?e.getInt8(c):e[c],t,l,n,o)),c<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function Xy(e,t,r,n,o,i){let a="",s=wB(e,t.compareKeys);if(s.length>0){a+=t.spacingOuter;let u=r+t.indent;for(let l=0;l<s.length;l++){let c=s[l],d=i(c,t,u,n,o),f=i(e[c],t,u,n,o);a+=`${u+d}: ${f}`,l<s.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var EB=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Tm=" ",_B=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Tm}[${zf(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Tm}{${Xy(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Tm+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},SB=e=>e&&e.$$typeof===EB,RB={serialize:_B,test:SB},xB=" ",WP=new Set(["DOMStringMap","NamedNodeMap"]),CB=/^(?:HTML\w*Collection|NodeList)$/;function AB(e){return WP.has(e)||CB.test(e)}var PB=e=>e&&e.constructor&&!!e.constructor.name&&AB(e.constructor.name);function TB(e){return e.constructor.name==="NamedNodeMap"}var OB=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+xB)+(WP.has(a)?`{${Xy(TB(e)?[...e].reduce((s,u)=>(s[u.name]=u.value,s),{}):{...e},t,r,n,o,i)}}`:`[${zf([...e],t,r,n,o,i)}]`)},$B={serialize:OB,test:PB};function GP(e){return e.replaceAll("<","<").replaceAll(">",">")}function Qy(e,t,r,n,o,i,a){let s=n+r.indent,u=r.colors;return e.map(l=>{let c=t[l],d=a(c,r,s,o,i);return typeof c!="string"&&(d.includes(`
|
|
619
|
+
`)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+l+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function e0(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?KP(a,t):i(a,t,r,n,o))).join("")}function KP(e,t){let r=t.colors.content;return r.open+GP(e)+r.close}function qB(e,t){let r=t.colors.comment;return`${r.open}<!--${GP(e)}-->${r.close}`}function t0(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function r0(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var kB=1,YP=3,ZP=8,JP=11,MB=/^(?:(?:HTML|SVG)\w*)?Element$/;function NB(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function IB(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||NB(e);return r===kB&&(MB.test(t)||o)||r===YP&&t==="Text"||r===ZP&&t==="Comment"||r===JP&&t==="DocumentFragment"}var jB=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&IB(e)};function DB(e){return e.nodeType===YP}function LB(e){return e.nodeType===ZP}function Om(e){return e.nodeType===JP}var FB=(e,t,r,n,o,i)=>{if(DB(e))return KP(e.data,t);if(LB(e))return qB(e.data,t);let a=Om(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?r0(a,t):t0(a,Qy(Om(e)?[]:Array.from(e.attributes,s=>s.name).sort(),Om(e)?{}:[...e.attributes].reduce((s,u)=>(s[u.name]=u.value,s),{}),t,r+t.indent,n,o,i),e0(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},BB={serialize:FB,test:jB},zB="@@__IMMUTABLE_ITERABLE__@@",HB="@@__IMMUTABLE_LIST__@@",UB="@@__IMMUTABLE_KEYED__@@",VB="@@__IMMUTABLE_MAP__@@",Bw="@@__IMMUTABLE_ORDERED__@@",WB="@@__IMMUTABLE_RECORD__@@",GB="@@__IMMUTABLE_SEQ__@@",KB="@@__IMMUTABLE_SET__@@",YB="@@__IMMUTABLE_STACK__@@",Ci=e=>`Immutable.${e}`,Zp=e=>`[${e}]`,Qu=" ",zw="…";function ZB(e,t,r,n,o,i,a){return++n>t.maxDepth?Zp(Ci(a)):`${Ci(a)+Qu}{${qc(e.entries(),t,r,n,o,i)}}`}function JB(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function XB(e,t,r,n,o,i){let a=Ci(e._name||"Record");return++n>t.maxDepth?Zp(a):`${a+Qu}{${qc(JB(e),t,r,n,o,i)}}`}function QB(e,t,r,n,o,i){let a=Ci("Seq");return++n>t.maxDepth?Zp(a):e[UB]?`${a+Qu}{${e._iter||e._object?qc(e.entries(),t,r,n,o,i):zw}}`:`${a+Qu}[${e._iter||e._array||e._collection||e._iterable?Jy(e.values(),t,r,n,o,i):zw}]`}function $m(e,t,r,n,o,i,a){return++n>t.maxDepth?Zp(Ci(a)):`${Ci(a)+Qu}[${Jy(e.values(),t,r,n,o,i)}]`}var ez=(e,t,r,n,o,i)=>e[VB]?ZB(e,t,r,n,o,i,e[Bw]?"OrderedMap":"Map"):e[HB]?$m(e,t,r,n,o,i,"List"):e[KB]?$m(e,t,r,n,o,i,e[Bw]?"OrderedSet":"Set"):e[YB]?$m(e,t,r,n,o,i,"Stack"):e[GB]?QB(e,t,r,n,o,i):XB(e,t,r,n,o,i),tz=e=>e&&(e[zB]===!0||e[WB]===!0),rz={serialize:ez,test:tz};function XP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hw={exports:{}},Oe={},Uw;function nz(){if(Uw)return Oe;Uw=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function h(m){if(typeof m=="object"&&m!==null){var v=m.$$typeof;switch(v){case e:switch(m=m.type,m){case r:case o:case n:case u:case l:case f:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case d:case c:return m;case i:return m;default:return v}}case t:return v}}}return Oe.ContextConsumer=i,Oe.ContextProvider=a,Oe.Element=e,Oe.ForwardRef=s,Oe.Fragment=r,Oe.Lazy=d,Oe.Memo=c,Oe.Portal=t,Oe.Profiler=o,Oe.StrictMode=n,Oe.Suspense=u,Oe.SuspenseList=l,Oe.isContextConsumer=function(m){return h(m)===i},Oe.isContextProvider=function(m){return h(m)===a},Oe.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},Oe.isForwardRef=function(m){return h(m)===s},Oe.isFragment=function(m){return h(m)===r},Oe.isLazy=function(m){return h(m)===d},Oe.isMemo=function(m){return h(m)===c},Oe.isPortal=function(m){return h(m)===t},Oe.isProfiler=function(m){return h(m)===o},Oe.isStrictMode=function(m){return h(m)===n},Oe.isSuspense=function(m){return h(m)===u},Oe.isSuspenseList=function(m){return h(m)===l},Oe.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===o||m===n||m===u||m===l||typeof m=="object"&&m!==null&&(m.$$typeof===d||m.$$typeof===c||m.$$typeof===a||m.$$typeof===i||m.$$typeof===s||m.$$typeof===p||m.getModuleId!==void 0)},Oe.typeOf=h,Oe}var Vw;function oz(){return Vw||(Vw=1,Hw.exports=nz()),Hw.exports}var QP=oz(),iz=XP(QP),az=VP({__proto__:null,default:iz},[QP]),Ww={exports:{}},Ae={},Gw;function sz(){if(Gw)return Ae;Gw=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function m(v){if(typeof v=="object"&&v!==null){var g=v.$$typeof;switch(g){case e:switch(v=v.type,v){case r:case o:case n:case l:case c:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case u:case f:case d:case i:return v;default:return g}}case t:return g}}}return Ae.ContextConsumer=a,Ae.ContextProvider=i,Ae.Element=e,Ae.ForwardRef=u,Ae.Fragment=r,Ae.Lazy=f,Ae.Memo=d,Ae.Portal=t,Ae.Profiler=o,Ae.StrictMode=n,Ae.Suspense=l,Ae.SuspenseList=c,Ae.isAsyncMode=function(){return!1},Ae.isConcurrentMode=function(){return!1},Ae.isContextConsumer=function(v){return m(v)===a},Ae.isContextProvider=function(v){return m(v)===i},Ae.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Ae.isForwardRef=function(v){return m(v)===u},Ae.isFragment=function(v){return m(v)===r},Ae.isLazy=function(v){return m(v)===f},Ae.isMemo=function(v){return m(v)===d},Ae.isPortal=function(v){return m(v)===t},Ae.isProfiler=function(v){return m(v)===o},Ae.isStrictMode=function(v){return m(v)===n},Ae.isSuspense=function(v){return m(v)===l},Ae.isSuspenseList=function(v){return m(v)===c},Ae.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===o||v===n||v===l||v===c||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===f||v.$$typeof===d||v.$$typeof===i||v.$$typeof===a||v.$$typeof===u||v.$$typeof===h||v.getModuleId!==void 0)},Ae.typeOf=m,Ae}var Kw;function lz(){return Kw||(Kw=1,Ww.exports=sz()),Ww.exports}var eT=lz(),uz=XP(eT),cz=VP({__proto__:null,default:uz},[eT]),dz=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],uo=Object.fromEntries(dz.map(e=>[e,t=>cz[e](t)||az[e](t)]));function tT(e,t=[]){if(Array.isArray(e))for(let r of e)tT(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Yw(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(uo.isFragment(e))return"React.Fragment";if(uo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(uo.isContextProvider(e))return"Context.Provider";if(uo.isContextConsumer(e))return"Context.Consumer";if(uo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(uo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function fz(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var pz=(e,t,r,n,o,i)=>++n>t.maxDepth?r0(Yw(e),t):t0(Yw(e),Qy(fz(e),e.props,t,r+t.indent,n,o,i),e0(tT(e.props.children),t,r+t.indent,n,o,i),t,r),hz=e=>e!=null&&uo.isElement(e),mz={serialize:pz,test:hz},gz=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function bz(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var vz=(e,t,r,n,o,i)=>++n>t.maxDepth?r0(e.type,t):t0(e.type,e.props?Qy(bz(e),e.props,t,r+t.indent,n,o,i):"",e.children?e0(e.children,t,r+t.indent,n,o,i):"",t,r),yz=e=>e&&e.$$typeof===gz,wz={serialize:vz,test:yz},rT=Object.prototype.toString,Ez=Date.prototype.toISOString,_z=Error.prototype.toString,Zw=RegExp.prototype.toString;function Xd(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Sz(e){return typeof window<"u"&&e===window}var Rz=/^Symbol\((.*)\)(.*)$/,xz=/\n/g,nT=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function Cz(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function Az(e){return Object.is(e,-0)?"-0":String(e)}function Pz(e){return`${e}n`}function Jw(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Xw(e){return String(e).replace(Rz,"Symbol($1)")}function Qw(e){return`[${_z.call(e)}]`}function oT(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return Az(e);if(o==="bigint")return Pz(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Jw(e,t);if(o==="symbol")return Xw(e);let i=rT.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Jw(e,t):i==="[object Symbol]"?Xw(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Ez.call(e):i==="[object Error]"?Qw(e):i==="[object RegExp]"?r?Zw.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Zw.call(e):e instanceof Error?Qw(e):null}function iT(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Tn(e.toJSON(),t,r,n,o,!0);let u=rT.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${s?"":"Arguments "}[${zf(e,t,r,n,o,Tn)}]`:Cz(u)?a?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${zf(e,t,r,n,o,Tn)}]`:u==="[object Map]"?a?"[Map]":`Map {${qc(e.entries(),t,r,n,o,Tn," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Jy(e.values(),t,r,n,o,Tn)}}`:a||Sz(e)?`[${Xd(e)}]`:`${s||!t.printBasicPrototype&&Xd(e)==="Object"?"":`${Xd(e)} `}{${Xy(e,t,r,n,o,Tn)}}`}var Tz={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let a=++n>t.maxDepth,{message:s,cause:u,...l}=e,c={message:s,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...l},d=e.name!=="Error"?e.name:Xd(e);return a?`[${d}]`:`${d} {${qc(Object.entries(c).values(),t,r,n,o,i)}}`}};function Oz(e){return e.serialize!=null}function aT(e,t,r,n,o,i){let a;try{a=Oz(e)?e.serialize(t,r,n,o,i,Tn):e.print(t,s=>Tn(s,r,n,o,i),s=>{let u=n+r.indent;return u+s.replaceAll(xz,`
|
|
620
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new nT(s.message,s.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function sT(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new nT(n.message,n.stack)}return null}function Tn(e,t,r,n,o,i){let a=sT(t.plugins,e);if(a!==null)return aT(a,e,t,r,n,o);let s=oT(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:iT(e,t,r,n,o,i)}var n0={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},lT=Object.keys(n0),or={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:n0};function $z(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(or,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function qz(){return lT.reduce((e,t)=>{let r=n0[t],n=r&&Jr[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function kz(){return lT.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function uT(e){return e?.printFunctionName??or.printFunctionName}function cT(e){return e?.escapeRegex??or.escapeRegex}function dT(e){return e?.escapeString??or.escapeString}function eE(e){return{callToJSON:e?.callToJSON??or.callToJSON,colors:e?.highlight?qz():kz(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:or.compareKeys,escapeRegex:cT(e),escapeString:dT(e),indent:e?.min?"":Mz(e?.indent??or.indent),maxDepth:e?.maxDepth??or.maxDepth,maxWidth:e?.maxWidth??or.maxWidth,min:e?.min??or.min,plugins:e?.plugins??or.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:uT(e),spacingInner:e?.min?" ":`
|
|
621
|
+
`,spacingOuter:e?.min?"":`
|
|
622
|
+
`}}function Mz(e){return Array.from({length:e+1}).join(" ")}function Cr(e,t){if(t&&($z(t),t.plugins)){let n=sT(t.plugins,e);if(n!==null)return aT(n,e,eE(t),"",0,[])}let r=oT(e,uT(t),cT(t),dT(t));return r!==null?r:iT(e,eE(t),"",0,[])}var o0={AsymmetricMatcher:RB,DOMCollection:$B,DOMElement:BB,Immutable:rz,ReactElement:mz,ReactTestComponent:wz,Error:Tz},tE={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Nz={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ai="…";function Iz(e,t){let r=tE[Nz[t]]||tE[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function jz({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=Iz),d}function Dz(e){return e>="\uD800"&&e<="\uDBFF"}function eo(e,t,r=Ai){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Dz(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function fr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",s="",u="";for(let l=0;l<o;l+=1){let c=l+1===e.length,d=l+2===e.length;u=`${Ai}(${e.length-l})`;let f=e[l];t.truncate=i-a.length-(c?0:n.length);let p=s||r(f,t)+(c?"":n),h=a.length+p.length,m=h+u.length;if(c&&h>i&&a.length+u.length<=i||!c&&!d&&m>i||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&m>i&&h+s.length>i))break;if(a+=p,!c&&!d&&h+s.length>=i){u=`${Ai}(${e.length-l-1})`;break}u=""}return`${a}${u}`}function Lz(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function ec([e,t],r){return r.truncate-=2,typeof e=="string"?e=Lz(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Fz(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=fr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=fr(r.map(i=>[i,e[i]]),t,ec)),`[ ${n}${o?`, ${o}`:""} ]`}var Bz=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Lr(e,t){let r=Bz(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let s=`${t.stylize(eo(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){o+=`${Ai}(${e.length-e[a]+1})`;break}o+=s}let i="";return n.length&&(i=fr(n.map(a=>[a,e[a]]),t,ec)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function zz(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${eo(n[1],t.truncate-o.length-1)}`,"date")}function rE(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${eo(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Hz([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Uz(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Vz(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${fr(Uz(e),t,Hz)} }`)}var Wz=Number.isNaN||(e=>e!==e);function nE(e,t){return Wz(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(eo(String(e),t.truncate),"number")}function oE(e,t){let r=eo(e.toString(),t.truncate-1);return r!==Ai&&(r+="n"),t.stylize(r,"bigint")}function Gz(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${eo(o,n)}/${r}`,"regexp")}function Kz(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Yz(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${fr(Kz(e),t)} }`)}var iE=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Zz={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Jz=16;function Xz(e){return Zz[e]||`\\u${`0000${e.charCodeAt(0).toString(Jz)}`.slice(-4)}`}function aE(e,t){return iE.test(e)&&(e=e.replace(iE,Xz)),t.stylize(`'${eo(e,t.truncate-2)}'`,"string")}function sE(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var fT=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(fT=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var Qz=fT;function Qd(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=fr(r.map(s=>[s,e[s]]),t,ec),i=fr(n.map(s=>[s,e[s]]),t,ec);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var qm=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function eH(e,t){let r="";return qm&&qm in e&&(r=e[qm]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Qd(e,t)}`}function tH(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${fr(e,t)} ]`)}var rH=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function nH(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>rH.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=eo(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=fr(r.map(a=>[a,e[a]]),t,ec);return`${n}${o}${i?` { ${i} }`:""}`}function oH([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function pb(e,t){return fr(e,t,iH,`
|
|
623
|
+
`)}function iH(e,t){switch(e.nodeType){case 1:return pT(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function pT(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=fr(r.map(c=>[c,e.getAttribute(c)]),t,oH," ")),t.truncate-=s.length;let u=t.truncate,l=pb(e.children,t);return l&&l.length>u&&(l=`${Ai}(${e.children.length})`),`${o}${s}${i}${l}${a}`}var aH=typeof Symbol=="function"&&typeof Symbol.for=="function",km=aH?Symbol.for("chai/inspect"):"@@chai/inspect",Mm=Symbol.for("nodejs.util.inspect.custom"),lE=new WeakMap,uE={},cE={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:nE,Number:nE,bigint:oE,BigInt:oE,string:aE,String:aE,function:rE,Function:rE,symbol:sE,Symbol:sE,Array:Fz,Date:zz,Map:Vz,Set:Yz,RegExp:Gz,Promise:Qz,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:tH,Int8Array:Lr,Uint8Array:Lr,Uint8ClampedArray:Lr,Int16Array:Lr,Uint16Array:Lr,Int32Array:Lr,Uint32Array:Lr,Float32Array:Lr,Float64Array:Lr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:nH,HTMLCollection:pb,NodeList:pb},sH=(e,t,r)=>km in e&&typeof e[km]=="function"?e[km](t):Mm in e&&typeof e[Mm]=="function"?e[Mm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&lE.has(e.constructor)?lE.get(e.constructor)(e,t):uE[r]?uE[r](e,t):"",lH=Object.prototype.toString;function hb(e,t={}){let r=jz(t,hb),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=lH.call(e).slice(8,-1)),o in cE)return cE[o](e,r);if(n&&e){let a=sH(e,r,o);if(a)return typeof a=="string"?a:hb(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Qd(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?pT(e,r):"constructor"in e?e.constructor!==Object?eH(e,r):Qd(e,r):e===Object(e)?Qd(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:uH,DOMCollection:cH,DOMElement:dH,Immutable:fH,ReactElement:pH,ReactTestComponent:hH}=o0,dE=[hH,pH,dH,cH,fH,uH];function Ht(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=Cr(e,{maxDepth:t,escapeString:!1,plugins:dE,...n})}catch{i=Cr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:dE,...n})}return i.length>=o&&t>1?Ht(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}var mH=/%[sdjifoOc%]/g;function gH(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(ma(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(mH,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():ma(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ma(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ma(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){let s=a.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw a}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ma(i)}`;return o}function ma(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),hb(e,t)}function hT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function ef(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function bH(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Hf(e){return Object.prototype.toString.apply(e).slice(8,-1)}function vH(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function mT(e){let t=new Set;return bH(e)?[]:(vH(e,t),Array.from(t))}var gT={forceWritable:!1};function fE(e,t=gT){return mb(e,new WeakMap,t)}function mb(e,t,r=gT){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=mb(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=mT(e);for(let a of i){let s=Object.getOwnPropertyDescriptor(e,a);if(!s)continue;let u=mb(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:s.enumerable,configurable:!0,writable:!0,value:u}):"get"in s?Object.defineProperty(o,a,{...s,get(){return u}}):Object.defineProperty(o,a,{...s,value:u})}return o}return e}function yH(){}var Et=-1,pt=1,Ye=0,Ue=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function wH(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function bT(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function pE(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){let s=e.substring(o-a),u=t.indexOf(s);if(u===-1)return i;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}}function EH(e){let t=!1,r=[],n=0,o=null,i=0,a=0,s=0,u=0,l=0;for(;i<e.length;)e[i][0]===Ye?(r[n++]=i,a=u,s=l,u=0,l=0,o=e[i][1]):(e[i][0]===pt?u+=e[i][1].length:l+=e[i][1].length,o&&o.length<=Math.max(a,s)&&o.length<=Math.max(u,l)&&(e.splice(r[n-1],0,new Ue(Et,o)),e[r[n-1]+1][0]=pt,n--,n--,i=n>0?r[n-1]:-1,a=0,s=0,u=0,l=0,o=null,t=!0)),i++;for(t&&vT(e),RH(e),i=1;i<e.length;){if(e[i-1][0]===Et&&e[i][0]===pt){let c=e[i-1][1],d=e[i][1],f=pE(c,d),p=pE(d,c);f>=p?(f>=c.length/2||f>=d.length/2)&&(e.splice(i,0,new Ue(Ye,d.substring(0,f))),e[i-1][1]=c.substring(0,c.length-f),e[i+1][1]=d.substring(f),i++):(p>=c.length/2||p>=d.length/2)&&(e.splice(i,0,new Ue(Ye,c.substring(0,p))),e[i-1][0]=pt,e[i-1][1]=d.substring(0,d.length-p),e[i+1][0]=Et,e[i+1][1]=c.substring(p),i++),i++}i++}}var hE=/[^a-z0-9]/i,mE=/\s/,gE=/[\r\n]/,_H=/\n\r?\n$/,SH=/^\r?\n\r?\n/;function RH(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Ye&&e[t+1][0]===Ye){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=bT(r,n);if(i){let c=n.substring(n.length-i);r=r.substring(0,r.length-i),n=c+n.substring(0,n.length-i),o=c+o}let a=r,s=n,u=o,l=gd(r,n)+gd(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let c=gd(r,n)+gd(n,o);c>=l&&(l=c,a=r,s=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=s,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function vT(e){e.push(new Ue(Ye,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case pt:n++,i+=e[t][1],t++;break;case Et:r++,o+=e[t][1],t++;break;case Ye:r+n>1?(r!==0&&n!==0&&(a=wH(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ye?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new Ue(Ye,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=bT(i,o),a!==0&&(e[t][1]=i.substring(i.length-a)+e[t][1],i=i.substring(0,i.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ue(Et,o)),t++),i.length&&(e.splice(t,0,new Ue(pt,i)),t++),t++):t!==0&&e[t-1][0]===Ye?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ye&&e[t+1][0]===Ye&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&vT(e)}function gd(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(hE),i=n.match(hE),a=o&&r.match(mE),s=i&&n.match(mE),u=a&&r.match(gE),l=s&&n.match(gE),c=u&&e.match(_H),d=l&&t.match(SH);return c||d?5:u||l?4:o&&!a&&s?3:a||s?2:o||i?1:0}var yT="Compared values have no visual difference.",xH="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",bd={},bE;function CH(){if(bE)return bd;bE=1,Object.defineProperty(bd,"__esModule",{value:!0}),bd.default=f;let e="diff-sequences",t=0,r=(p,h,m,v,g)=>{let w=0;for(;p<h&&m<v&&g(p,m);)p+=1,m+=1,w+=1;return w},n=(p,h,m,v,g)=>{let w=0;for(;p<=h&&m<=v&&g(h,v);)h-=1,v-=1,w+=1;return w},o=(p,h,m,v,g,w,_)=>{let R=0,x=-p,y=w[R],b=y;w[R]+=r(y+1,h,v+y-x+1,m,g);let E=p<_?p:_;for(R+=1,x+=2;R<=E;R+=1,x+=2){if(R!==p&&b<w[R])y=w[R];else if(y=b+1,h<=y)return R-1;b=w[R],w[R]=y+r(y+1,h,v+y-x+1,m,g)}return _},i=(p,h,m,v,g,w,_)=>{let R=0,x=p,y=w[R],b=y;w[R]-=n(h,y-1,m,v+y-x-1,g);let E=p<_?p:_;for(R+=1,x-=2;R<=E;R+=1,x-=2){if(R!==p&&w[R]<b)y=w[R];else if(y=b-1,y<h)return R-1;b=w[R],w[R]=y-n(h,y-1,m,v+y-x-1,g)}return _},a=(p,h,m,v,g,w,_,R,x,y,b)=>{let E=v-h,C=m-h,N=g-v-C,q=-N-(p-1),H=-N+(p-1),F=t,T=p<R?p:R;for(let k=0,I=-p;k<=T;k+=1,I+=2){let U=k===0||k!==p&&F<_[k],G=U?_[k]:F,X=U?G:G+1,Z=E+X-I,A=r(X+1,m,Z+1,g,w),$=X+A;if(F=_[k],_[k]=$,q<=I&&I<=H){let M=(p-1-(I+N))/2;if(M<=y&&x[M]-1<=$){let K=E+G-(U?I+1:I-1),L=n(h,G,v,K,w),D=G-L,Y=K-L,ee=D+1,j=Y+1;b.nChangePreceding=p-1,p-1===ee+j-h-v?(b.aEndPreceding=h,b.bEndPreceding=v):(b.aEndPreceding=ee,b.bEndPreceding=j),b.nCommonPreceding=L,L!==0&&(b.aCommonPreceding=ee,b.bCommonPreceding=j),b.nCommonFollowing=A,A!==0&&(b.aCommonFollowing=X+1,b.bCommonFollowing=Z+1);let ne=$+1,se=Z+A+1;return b.nChangeFollowing=p-1,p-1===m+g-ne-se?(b.aStartFollowing=m,b.bStartFollowing=g):(b.aStartFollowing=ne,b.bStartFollowing=se),!0}}}return!1},s=(p,h,m,v,g,w,_,R,x,y,b)=>{let E=g-m,C=m-h,N=g-v-C,q=N-p,H=N+p,F=t,T=p<y?p:y;for(let k=0,I=p;k<=T;k+=1,I-=2){let U=k===0||k!==p&&x[k]<F,G=U?x[k]:F,X=U?G:G-1,Z=E+X-I,A=n(h,X-1,v,Z-1,w),$=X-A;if(F=x[k],x[k]=$,q<=I&&I<=H){let M=(p+(I-N))/2;if(M<=R&&$-1<=_[M]){let K=Z-A;if(b.nChangePreceding=p,p===$+K-h-v?(b.aEndPreceding=h,b.bEndPreceding=v):(b.aEndPreceding=$,b.bEndPreceding=K),b.nCommonPreceding=A,A!==0&&(b.aCommonPreceding=$,b.bCommonPreceding=K),b.nChangeFollowing=p-1,p===1)b.nCommonFollowing=0,b.aStartFollowing=m,b.bStartFollowing=g;else{let L=E+G-(U?I-1:I+1),D=r(G,m,L,g,w);b.nCommonFollowing=D,D!==0&&(b.aCommonFollowing=G,b.bCommonFollowing=L);let Y=G+D,ee=L+D;p-1===m+g-Y-ee?(b.aStartFollowing=m,b.bStartFollowing=g):(b.aStartFollowing=Y,b.bStartFollowing=ee)}return!0}}}return!1},u=(p,h,m,v,g,w,_,R,x)=>{let y=v-h,b=g-m,E=m-h,C=g-v,N=C-E,q=E,H=E;if(_[0]=h-1,R[0]=m,N%2===0){let F=(p||N)/2,T=(E+C)/2;for(let k=1;k<=T;k+=1)if(q=o(k,m,g,y,w,_,q),k<F)H=i(k,h,v,b,w,R,H);else if(s(k,h,m,v,g,w,_,q,R,H,x))return}else{let F=((p||N)+1)/2,T=(E+C+1)/2,k=1;for(q=o(k,m,g,y,w,_,q),k+=1;k<=T;k+=1)if(H=i(k-1,h,v,b,w,R,H),k<F)q=o(k,m,g,y,w,_,q);else if(a(k,h,m,v,g,w,_,q,R,H,x))return}throw new Error(`${e}: no overlap aStart=${h} aEnd=${m} bStart=${v} bEnd=${g}`)},l=(p,h,m,v,g,w,_,R,x,y)=>{if(g-v<m-h){if(w=!w,w&&_.length===1){let{foundSubsequence:M,isCommon:K}=_[0];_[1]={foundSubsequence:(L,D,Y)=>{M(L,Y,D)},isCommon:(L,D)=>K(D,L)}}let A=h,$=m;h=v,m=g,v=A,g=$}let{foundSubsequence:b,isCommon:E}=_[w?1:0];u(p,h,m,v,g,E,R,x,y);let{nChangePreceding:C,aEndPreceding:N,bEndPreceding:q,nCommonPreceding:H,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:k,aCommonFollowing:I,bCommonFollowing:U,nChangeFollowing:G,aStartFollowing:X,bStartFollowing:Z}=y;h<N&&v<q&&l(C,h,N,v,q,w,_,R,x,y),H!==0&&b(H,F,T),k!==0&&b(k,I,U),X<m&&Z<g&&l(G,X,m,Z,g,w,_,R,x,y)},c=(p,h)=>{if(typeof h!="number")throw new TypeError(`${e}: ${p} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${p} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${p} value ${h} is a negative integer`)},d=(p,h)=>{let m=typeof h;if(m!=="function")throw new TypeError(`${e}: ${p} typeof ${m} is not a function`)};function f(p,h,m,v){c("aLength",p),c("bLength",h),d("isCommon",m),d("foundSubsequence",v);let g=r(0,p,0,h,m);if(g!==0&&v(g,0,0),p!==g||h!==g){let w=g,_=g,R=n(w,p-1,_,h-1,m),x=p-R,y=h-R,b=g+R;p!==b&&h!==b&&l(0,w,x,_,y,!1,[{foundSubsequence:v,isCommon:m}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),R!==0&&v(R,x,y)}}return bd}var AH=CH(),wT=hT(AH);function PH(e,t){return e.replace(/\s+$/,r=>t(r))}function i0(e,t,r,n,o,i){return e.length!==0?r(`${n} ${PH(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function ET(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return i0(e,t,r,n,o,i)}function _T(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return i0(e,t,r,n,o,i)}function ST(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return i0(e,t,r,n,o,i)}function vE(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function TH(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,s=0,u=0;for(;u!==r;){let R=u;for(;u!==r&&e[u][0]===Ye;)u+=1;if(R!==u)if(R===0)u>n&&(i-=u-n,a=!0);else if(u===r){let x=u-R;x>n&&(i-=x-n,a=!0)}else{let x=u-R;x>o&&(i-=x-o,s+=1)}for(;u!==r&&e[u][0]!==Ye;)u+=1}let l=s!==0||a;s!==0?i+=s+1:a&&(i+=1);let c=i-1,d=[],f=0;l&&d.push("");let p=0,h=0,m=0,v=0,g=R=>{let x=d.length;d.push(ST(R,x===0||x===c,t)),m+=1,v+=1},w=R=>{let x=d.length;d.push(ET(R,x===0||x===c,t)),m+=1},_=R=>{let x=d.length;d.push(_T(R,x===0||x===c,t)),v+=1};for(u=0;u!==r;){let R=u;for(;u!==r&&e[u][0]===Ye;)u+=1;if(R!==u)if(R===0){u>n&&(R=u-n,p=R,h=R,m=p,v=h);for(let x=R;x!==u;x+=1)g(e[x][1])}else if(u===r){let x=u-R>n?R+n:u;for(let y=R;y!==x;y+=1)g(e[y][1])}else{let x=u-R;if(x>o){let y=R+n;for(let E=R;E!==y;E+=1)g(e[E][1]);d[f]=vE(p,m,h,v,t),f=d.length,d.push("");let b=x-o;p=m+b,h=v+b,m=p,v=h;for(let E=u-n;E!==u;E+=1)g(e[E][1])}else for(let y=R;y!==u;y+=1)g(e[y][1])}for(;u!==r&&e[u][0]===Et;)w(e[u][1]),u+=1;for(;u!==r&&e[u][0]===pt;)_(e[u][1]),u+=1}return l&&(d[f]=vE(p,m,h,v,t)),d.join(`
|
|
624
|
+
`)}function OH(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case Et:return ET(i,a,t);case pt:return _T(i,a,t);default:return ST(i,a,t)}}).join(`
|
|
625
|
+
`)}var Nm=e=>e,RT=5,$H=0;function qH(){return{aAnnotation:"Expected",aColor:Jr.green,aIndicator:"-",bAnnotation:"Received",bColor:Jr.red,bIndicator:"+",changeColor:Jr.inverse,changeLineTrailingSpaceColor:Nm,commonColor:Jr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Nm,compareKeys:void 0,contextLines:RT,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Jr.yellow,printBasicPrototype:!1,truncateThreshold:$H,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Nm}}function kH(e){return e&&typeof e=="function"?e:void 0}function MH(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:RT}function jo(e={}){return{...qH(),...e,compareKeys:kH(e.compareKeys),contextLines:MH(e.contextLines)}}function ri(e){return e.length===1&&e[0].length===0}function NH(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Et:t+=1;break;case pt:r+=1;break}}),{a:t,b:r}}function IH({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:s},u){if(s)return"";let l="",c="";if(a){let p=String(u.a),h=String(u.b),m=n.length-e.length,v=" ".repeat(Math.max(0,m)),g=" ".repeat(Math.max(0,-m)),w=h.length-p.length,_=" ".repeat(Math.max(0,w)),R=" ".repeat(Math.max(0,-w));l=`${v} ${r} ${_}${p}`,c=`${g} ${i} ${R}${h}`}let d=`${r} ${e}${l}`,f=`${i} ${n}${c}`;return`${t(d)}
|
|
626
|
+
${o(f)}
|
|
627
|
+
|
|
628
|
+
`}function a0(e,t,r){return IH(r,NH(e))+(r.expand?OH(e,r):TH(e,r))+(t?r.truncateAnnotationColor(`
|
|
629
|
+
${r.truncateAnnotation}`):"")}function Jp(e,t,r){let n=jo(r),[o,i]=xT(ri(e)?[]:e,ri(t)?[]:t,n);return a0(o,i,n)}function jH(e,t,r,n,o){if(ri(e)&&ri(r)&&(e=[],r=[]),ri(t)&&ri(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Jp(e,t,o);let[i,a]=xT(r,n,o),s=0,u=0;return i.forEach(l=>{switch(l[0]){case Et:l[1]=e[s],s+=1;break;case pt:l[1]=t[u],u+=1;break;default:l[1]=t[u],s+=1,u+=1}}),a0(i,a,jo(o))}function xT(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,s=i!==e.length||a!==t.length,u=(f,p)=>e[f]===t[p],l=[],c=0,d=0;for(wT(i,a,u,(f,p,h)=>{for(;c!==p;c+=1)l.push(new Ue(Et,e[c]));for(;d!==h;d+=1)l.push(new Ue(pt,t[d]));for(;f!==0;f-=1,c+=1,d+=1)l.push(new Ue(Ye,t[d]))});c!==i;c+=1)l.push(new Ue(Et,e[c]));for(;d!==a;d+=1)l.push(new Ue(pt,t[d]));return[l,s]}function yE(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function wE(e){return e.includes(`\r
|
|
630
|
+
`)?`\r
|
|
631
|
+
`:`
|
|
632
|
+
`}function DH(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,a=t.length;if(n){let f=e.includes(`
|
|
633
|
+
`),p=t.includes(`
|
|
634
|
+
`),h=wE(e),m=wE(t),v=f?`${e.split(h,o).join(h)}
|
|
635
|
+
`:e,g=p?`${t.split(m,o).join(m)}
|
|
636
|
+
`:t;i=v.length,a=g.length}let s=i!==e.length||a!==t.length,u=(f,p)=>e[f]===t[p],l=0,c=0,d=[];return wT(i,a,u,(f,p,h)=>{l!==p&&d.push(new Ue(Et,e.slice(l,p))),c!==h&&d.push(new Ue(pt,t.slice(c,h))),l=p+f,c=h+f,d.push(new Ue(Ye,t.slice(h,c)))}),l!==i&&d.push(new Ue(Et,e.slice(l))),c!==a&&d.push(new Ue(pt,t.slice(c))),[d,s]}function LH(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ye?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var EE=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ue(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ue(this.op,LH(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ue(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
637
|
+
`)){let r=t.split(`
|
|
638
|
+
`),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},FH=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
639
|
+
`)){let n=r.split(`
|
|
640
|
+
`),o=n.length-1;n.forEach((i,a)=>{if(a===0){let s=new Ue(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else a<o?this.pushDiffCommonLine(new Ue(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ue(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function BH(e,t){let r=new EE(Et,t),n=new EE(pt,t),o=new FH(r,n);return e.forEach(i=>{switch(i[0]){case Et:r.align(i);break;case pt:n.align(i);break;default:o.align(i)}}),o.getLines()}function zH(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Ye&&(o!==r||n[1]!==`
|
|
641
|
+
`))}return e.some(r=>r[0]===Ye)}function HH(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
642
|
+
`)||t.includes(`
|
|
643
|
+
`),[o,i]=CT(n?`${e}
|
|
644
|
+
`:e,n?`${t}
|
|
645
|
+
`:t,!0,r);if(zH(o,n)){let a=jo(r),s=BH(o,a.changeColor);return a0(s,i,a)}}return Jp(e.split(`
|
|
646
|
+
`),t.split(`
|
|
647
|
+
`),r)}function CT(e,t,r,n){let[o,i]=DH(e,t,n);return EH(o),[o,i]}function gb(e,t){let{commonColor:r}=jo(t);return r(e)}var{AsymmetricMatcher:UH,DOMCollection:VH,DOMElement:WH,Immutable:GH,ReactElement:KH,ReactTestComponent:YH}=o0,AT=[YH,KH,WH,VH,GH,UH,o0.Error],bb={maxDepth:20,plugins:AT},PT={callToJSON:!1,maxDepth:8,plugins:AT};function Xi(e,t,r){if(Object.is(e,t))return"";let n=yE(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==yE(t)){let a=function(_){return _.length<=v?_:`${_.slice(0,v)}...`},{aAnnotation:s,aColor:u,aIndicator:l,bAnnotation:c,bColor:d,bIndicator:f}=jo(r),p=vb(PT,r),h=Cr(e,p),m=Cr(t,p),v=1e5;h=a(h),m=a(m);let g=`${u(`${l} ${s}:`)}
|
|
648
|
+
${h}`,w=`${d(`${f} ${c}:`)}
|
|
649
|
+
${m}`;return`${g}
|
|
650
|
+
|
|
651
|
+
${w}`}if(!i)switch(n){case"string":return Jp(e.split(`
|
|
652
|
+
`),t.split(`
|
|
653
|
+
`),r);case"boolean":case"number":return ZH(e,t,r);case"map":return Im(_E(e),_E(t),r);case"set":return Im(SE(e),SE(t),r);default:return Im(e,t,r)}}function ZH(e,t,r){let n=Cr(e,bb),o=Cr(t,bb);return n===o?"":Jp(n.split(`
|
|
654
|
+
`),o.split(`
|
|
655
|
+
`),r)}function _E(e){return new Map(Array.from(e.entries()).sort())}function SE(e){return new Set(Array.from(e.values()).sort())}function Im(e,t,r){let n,o=!1;try{let a=vb(bb,r);n=RE(e,t,a,r)}catch{o=!0}let i=gb(yT,r);if(n===void 0||n===i){let a=vb(PT,r);n=RE(e,t,a,r),n!==i&&!o&&(n=`${gb(xH,r)}
|
|
656
|
+
|
|
657
|
+
${n}`)}return n}function vb(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=jo(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function RE(e,t,r,n){let o={...r,indent:0},i=Cr(e,o),a=Cr(t,o);if(i===a)return gb(yT,n);{let s=Cr(e,r),u=Cr(t,r);return jH(s.split(`
|
|
658
|
+
`),u.split(`
|
|
659
|
+
`),i.split(`
|
|
660
|
+
`),a.split(`
|
|
661
|
+
`),n)}}var xE=2e4;function CE(e){return Hf(e)==="Object"&&typeof e.asymmetricMatch=="function"}function AE(e,t){let r=Hf(e),n=Hf(t);return r===n&&(r==="Object"||r==="Array")}function TT(e,t,r){let{aAnnotation:n,bAnnotation:o}=jo(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=xE&&e.length<=xE&&t!==e){if(t.includes(`
|
|
662
|
+
`)||e.includes(`
|
|
663
|
+
`))return HH(t,e,r);let[l]=CT(t,e),c=l.some(h=>h[0]===Ye),d=JH(n,o),f=d(n)+eU(PE(l,Et,c)),p=d(o)+QH(PE(l,pt,c));return`${f}
|
|
664
|
+
${p}`}let i=fE(t,{forceWritable:!0}),a=fE(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:u}=OT(a,i);return Xi(s,u,r)}function OT(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):AE(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),mT(t).forEach(o=>{let i=t[o],a=e[o];if(CE(i))i.asymmetricMatch(a)&&(e[o]=i);else if(CE(a))a.asymmetricMatch(i)&&(t[o]=a);else if(AE(a,i)){let s=OT(a,i,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function JH(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var XH="·";function $T(e){return e.replace(/\s+$/gm,t=>XH.repeat(t.length))}function QH(e){return Jr.red($T(Ht(e)))}function eU(e){return Jr.green($T(Ht(e)))}function PE(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ye?o[1]:o[0]===t?r?Jr.inverse(o[1]):o[1]:""),"")}var tU="@@__IMMUTABLE_RECORD__@@",rU="@@__IMMUTABLE_ITERABLE__@@";function nU(e){return e&&(e[rU]||e[tU])}var oU=Object.getPrototypeOf({});function TE(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function On(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&vd(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&vd(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&vd(()=>r.name??(r.name=e.name)),e.cause!=null&&vd(()=>r.cause??(r.cause=On(e.cause,t)))),On(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(nU(e))return On(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${gH(e.sample)}`;if(typeof e.toJSON=="function")return On(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=On(n,t)}catch(i){r[o]=TE(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==oU;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=On(e[o],t)}catch(i){delete r[o],r[o]=TE(i)}}),n=Object.getPrototypeOf(n);return r}}function vd(e){try{return e()}catch{}}function iU(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function s0(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=TT(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Ht(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Ht(n.actual,10));try{typeof n.message=="string"&&(n.message=iU(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=s0(n.cause,t,r))}catch{}try{return On(n)}catch(o){return On(new Error(`Failed to fully serialize error: ${o?.message}
|
|
665
|
+
Inner error message: ${n?.message}`))}}var Br={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},jm=globalThis.__STORYBOOK_ADDONS_PREVIEW,aU=new Error("This function ran after the play function completed. Did you forget to `await` it?"),OE=e=>Object.prototype.toString.call(e)==="[object Object]",sU=e=>Object.prototype.toString.call(e)==="[object Module]",lU=e=>{if(!OE(e)&&!sU(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!OE(t)},uU=e=>{try{return new e.constructor}catch{return{}}},Dm=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),$E=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},cU=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=pe.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{pe.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:s,renderPhase:u,isPlaying:l=!0,isDebugging:c=!1})=>{let d=this.getState(s);this.setState(s,{...Dm(),...$E(d,c),renderPhase:u||d.renderPhase,shadowCalls:c?d.shadowCalls:[],chainedCallIds:c?d.chainedCallIds:new Set,playUntil:c?d.playUntil:void 0,isPlaying:l,isDebugging:c}),this.sync(s)},t=s=>({storyId:u,playUntil:l})=>{this.getState(u).isDebugging||this.setState(u,({calls:d})=>({calls:[],shadowCalls:d.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let c=this.getLog(u);this.setState(u,({shadowCalls:d})=>{if(l||!c.length)return{playUntil:l};let f=d.findIndex(p=>p.id===c[0].callId);return{playUntil:d.slice(0,f).filter(p=>p.interceptable&&!p.ancestors?.length).slice(-1)[0]?.id}}),s.emit(jw,{storyId:u,isDebugging:!0})},r=s=>({storyId:u})=>{let l=this.getLog(u).filter(d=>!d.ancestors?.length),c=l.reduceRight((d,f,p)=>d>=0||f.status==="waiting"?d:p,-1);t(s)({storyId:u,playUntil:l[c-1]?.callId})},n=s=>({storyId:u,callId:l})=>{let{calls:c,shadowCalls:d,resolvers:f}=this.getState(u),p=c.find(({id:m})=>m===l),h=d.find(({id:m})=>m===l);if(!p&&h&&Object.values(f).length>0){let m=this.getLog(u).find(v=>v.status==="waiting")?.callId;h.id!==m&&this.setState(u,{playUntil:h.id}),Object.values(f).forEach(v=>v())}else t(s)({storyId:u,playUntil:l})},o=s=>({storyId:u})=>{let{resolvers:l}=this.getState(u);if(Object.values(l).length>0)Object.values(l).forEach(c=>c());else{let c=this.getLog(u).find(d=>d.status==="waiting")?.callId;c?t(s)({storyId:u,playUntil:c}):i({storyId:u})}},i=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(u=>u())},a=({storyId:s,newPhase:u})=>{let{isDebugging:l}=this.getState(s);if(u==="preparing"&&l)return e({storyId:s,renderPhase:u,isDebugging:l});if(u==="playing")return e({storyId:s,renderPhase:u,isDebugging:l});u==="played"?this.setState(s,{renderPhase:u,isLocked:!1,isPlaying:!1,isDebugging:!1}):u==="errored"?this.setState(s,{renderPhase:u,isLocked:!1,isPlaying:!1}):u==="aborted"?this.setState(s,{renderPhase:u,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:u}),this.sync(s)};jm&&jm.ready().then(()=>{this.channel=jm.getChannel(),this.channel.on(jw,e),this.channel.on(BP,a),this.channel.on(QF,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Br.START,t(this.channel)),this.channel.on(Br.BACK,r(this.channel)),this.channel.on(Br.GOTO,n(this.channel)),this.channel.on(Br.NEXT,o(this.channel)),this.channel.on(Br.END,i)})}getState(e){return this.state[e]||Dm()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=$E(n);return o&&(t[r]=Object.assign(Dm(),o)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Br.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,a)=>{n[a]=i});let o=new Set;return n.reduceRight((i,a)=>(a.args.forEach(s=>{s?.__callId__&&o.add(s.__callId__)}),a.path.forEach(s=>{s.__callId__&&o.add(s.__callId__)}),(a.interceptable||a.exception)&&!o.has(a.id)&&(i.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),o.add(a.id)),i),[])}instrument(e,t,r=0){if(!lU(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((a,s)=>{let u=dU(e,s);if(typeof u?.get=="function"){if(u.configurable){let c=()=>u?.get?.bind(e)?.();Object.defineProperty(a,s,{get:()=>this.instrument(c(),{...t,path:o.concat(s)},r)})}return a}let l=e[s];return typeof l!="function"?(a[s]=this.instrument(l,{...t,path:o.concat(s)},r),a):"__originalFn__"in l&&typeof l.__originalFn__=="function"?(a[s]=l,a):(a[s]=(...c)=>this.track(s,l,e,c,t),a[s].__originalFn__=l,Object.defineProperty(a[s],"name",{value:s,writable:!1}),Object.keys(l).length>0&&Object.assign(a[s],this.instrument({...l},{...t,path:o.concat(s)},r)),a)},n?e:uU(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||pe.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a,ancestors:s}=this.getState(i);this.setState(i,{cursor:a+1});let u=`${s.slice(-1)[0]||i} [${a}] ${e}`,{path:l=[],intercept:c=!1,retain:d=!1}=o,f=typeof c=="function"?c(e,l):c,p={id:u,cursor:a,storyId:i,ancestors:s,path:l,method:e,args:n,interceptable:f,retain:d},h=(f&&!s.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(h,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:a}=this.getState(r.storyId),s=o.has(r.id);return!i||s||a?(a===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:l})=>({isLocked:!1,resolvers:{...l,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:l,...c}=u.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),a=25,s=(c,d,f)=>{if(f.includes(c))return"[Circular]";if(f=[...f,c],d>a)return"...";if(o.has(c))return o.get(c);if(c instanceof Array)return c.map(p=>s(p,++d,f));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:p,message:h,stack:m}=c;return{__error__:{name:p,message:h,stack:m}}}if(c instanceof RegExp){let{flags:p,source:h}=c;return{__regexp__:{flags:p,source:h}}}if(c instanceof pe.window?.HTMLElement){let{prefix:p,localName:h,id:m,classList:v,innerText:g}=c,w=Array.from(v);return{__element__:{prefix:p,localName:h,id:m,classNames:w,innerText:g}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&c?.constructor?.name&&c?.constructor?.name!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([p,h])=>[p,s(h,++d,f)])):c},u={...r,args:r.args.map(c=>s(c,0,[]))};r.path.forEach(c=>{c?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(c.__callId__))}))});let l=c=>{if(c instanceof Error){let{name:d,message:f,stack:p,callId:h=r.id}=c,{showDiff:m=void 0,diff:v=void 0,actual:g=void 0,expected:w=void 0}=c.name==="AssertionError"?s0(c):c,_={name:d,message:f,stack:p,callId:h,showDiff:m,diff:v,actual:g,expected:w};if(this.update({...u,status:"error",exception:_}),this.setState(r.storyId,R=>({callRefsByResult:new Map([...Array.from(R.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw aU;let c=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||fU(f)||Object.keys(f).length?f:(...p)=>{let{cursor:h,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let v=()=>this.setState(r.storyId,{cursor:h,ancestors:m}),g=!1;try{let w=f(...p);return w instanceof Promise?(g=!0,w.finally(v)):w}finally{g||v()}}),d=e.apply(t,c);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...u,status:"done"}),f),l):d}catch(c){return l(c)}}update(e){this.channel?.emit(Br.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:l})=>!l.length).find(l=>l.status==="waiting")?.callId,a=o.some(l=>l.status==="active");if(this.detached||r||a||o.length===0){let l={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};this.channel?.emit(Br.SYNC,l);return}let s=o.some(l=>l.status==="done"||l.status==="error"),u={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel?.emit(Br.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Xp(e,t={}){try{let r=!1,n=!1;return pe.window?.location?.search?.includes("instrument=true")?r=!0:pe.window?.location?.search?.includes("instrument=false")&&(n=!0),pe.window?.parent===pe.window&&!r||n?e:(pe.window&&!pe.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(pe.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new cU),(pe.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return _t.warn(r),e}}function dU(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function fU(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}function yb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var yr={},tf={exports:{}};tf.exports;var qE;function qT(){return qE||(qE=1,(function(e){const r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,s,u)=>`\x1B[${38+i};2;${a};${s};${u}m`;function o(){const i=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[s,u]of Object.entries(a)){for(const[l,c]of Object.entries(u))a[l]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[l]=a[l],i.set(c[0],c[1]);Object.defineProperty(a,s,{value:u,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(s,u,l)=>s===u&&u===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(u/255*5)+Math.round(l/255*5),enumerable:!1},hexToRgb:{value:s=>{const u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!u)return[0,0,0];let{colorString:l}=u.groups;l.length===3&&(l=l.split("").map(d=>d+d).join(""));const c=Number.parseInt(l,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>a.rgbToAnsi256(...a.hexToRgb(s)),enumerable:!1}}),a}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(tf)),tf.exports}var oo={},kE;function Qp(){if(kE)return oo;kE=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.printIteratorEntries=t,oo.printIteratorValues=r,oo.printListItems=n,oo.printObjectProperties=o;const e=(i,a)=>{const s=Object.keys(i).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(u=>{Object.getOwnPropertyDescriptor(i,u).enumerable&&s.push(u)}),s};function t(i,a,s,u,l,c,d=": "){let f="",p=i.next();if(!p.done){f+=a.spacingOuter;const h=s+a.indent;for(;!p.done;){const m=c(p.value[0],a,h,u,l),v=c(p.value[1],a,h,u,l);f+=h+m+d+v,p=i.next(),p.done?a.min||(f+=","):f+=","+a.spacingInner}f+=a.spacingOuter+s}return f}function r(i,a,s,u,l,c){let d="",f=i.next();if(!f.done){d+=a.spacingOuter;const p=s+a.indent;for(;!f.done;)d+=p+c(f.value,a,p,u,l),f=i.next(),f.done?a.min||(d+=","):d+=","+a.spacingInner;d+=a.spacingOuter+s}return d}function n(i,a,s,u,l,c){let d="";if(i.length){d+=a.spacingOuter;const f=s+a.indent;for(let p=0;p<i.length;p++)d+=f,p in i&&(d+=c(i[p],a,f,u,l)),p<i.length-1?d+=","+a.spacingInner:a.min||(d+=",");d+=a.spacingOuter+s}return d}function o(i,a,s,u,l,c){let d="";const f=e(i,a.compareKeys);if(f.length){d+=a.spacingOuter;const p=s+a.indent;for(let h=0;h<f.length;h++){const m=f[h],v=c(m,a,p,u,l),g=c(i[m],a,p,u,l);d+=p+v+": "+g,h<f.length-1?d+=","+a.spacingInner:a.min||(d+=",")}d+=a.spacingOuter+s}return d}return oo}var zr={},ME;function pU(){if(ME)return zr;ME=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.test=zr.serialize=zr.default=void 0;var e=Qp(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,f,p,h)=>{const m=l.toString();return m==="ArrayContaining"||m==="ArrayNotContaining"?++f>c.maxDepth?"["+m+"]":m+o+"["+(0,e.printListItems)(l.sample,c,d,f,p,h)+"]":m==="ObjectContaining"||m==="ObjectNotContaining"?++f>c.maxDepth?"["+m+"]":m+o+"{"+(0,e.printObjectProperties)(l.sample,c,d,f,p,h)+"}":m==="StringMatching"||m==="StringNotMatching"||m==="StringContaining"||m==="StringNotContaining"?m+o+h(l.sample,c,d,f,p):l.toAsymmetricMatcher()};zr.serialize=i;const a=l=>l&&l.$$typeof===n;zr.test=a;var u={serialize:i,test:a};return zr.default=u,zr}var Hr={},Lm,NE;function hU(){return NE||(NE=1,Lm=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),Lm}var IE;function mU(){if(IE)return Hr;IE=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.test=Hr.serialize=Hr.default=void 0;var e=r(hU()),t=r(qT());function r(u){return u&&u.__esModule?u:{default:u}}const n=u=>u.replace((0,e.default)(),l=>{switch(l){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,e.default)());Hr.test=o;const i=(u,l,c,d,f,p)=>p(n(u),l,c,d,f);Hr.serialize=i;var s={serialize:i,test:o};return Hr.default=s,Hr}var Ur={},jE;function gU(){if(jE)return Ur;jE=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.test=Ur.serialize=Ur.default=void 0;var e=Qp();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=c=>r.indexOf(c)!==-1||n.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);Ur.test=i;const a=c=>c.constructor.name==="NamedNodeMap",s=(c,d,f,p,h,m)=>{const v=c.constructor.name;return++p>d.maxDepth?"["+v+"]":(d.min?"":v+t)+(r.indexOf(v)!==-1?"{"+(0,e.printObjectProperties)(a(c)?Array.from(c).reduce((g,w)=>(g[w.name]=w.value,g),{}):{...c},d,f,p,h,m)+"}":"["+(0,e.printListItems)(Array.from(c),d,f,p,h,m)+"]")};Ur.serialize=s;var l={serialize:s,test:i};return Ur.default=l,Ur}var Vr={},At={},yd={},DE;function bU(){if(DE)return yd;DE=1,Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=e;function e(t){return t.replace(/</g,"<").replace(/>/g,">")}return yd}var LE;function l0(){if(LE)return At;LE=1,Object.defineProperty(At,"__esModule",{value:!0}),At.printText=At.printProps=At.printElementAsLeaf=At.printElement=At.printComment=At.printChildren=void 0;var e=t(bU());function t(u){return u&&u.__esModule?u:{default:u}}const r=(u,l,c,d,f,p,h)=>{const m=d+c.indent,v=c.colors;return u.map(g=>{const w=l[g];let _=h(w,c,m,f,p);return typeof w!="string"&&(_.indexOf(`
|
|
666
|
+
`)!==-1&&(_=c.spacingOuter+m+_+c.spacingOuter+d),_="{"+_+"}"),c.spacingInner+d+v.prop.open+g+v.prop.close+"="+v.value.open+_+v.value.close}).join("")};At.printProps=r;const n=(u,l,c,d,f,p)=>u.map(h=>l.spacingOuter+c+(typeof h=="string"?o(h,l):p(h,l,c,d,f))).join("");At.printChildren=n;const o=(u,l)=>{const c=l.colors.content;return c.open+(0,e.default)(u)+c.close};At.printText=o;const i=(u,l)=>{const c=l.colors.comment;return c.open+"<!--"+(0,e.default)(u)+"-->"+c.close};At.printComment=i;const a=(u,l,c,d,f)=>{const p=d.colors.tag;return p.open+"<"+u+(l&&p.close+l+d.spacingOuter+f+p.open)+(c?">"+p.close+c+d.spacingOuter+f+p.open+"</"+u:(l&&!d.min?"":" ")+"/")+">"+p.close};At.printElement=a;const s=(u,l)=>{const c=l.colors.tag;return c.open+"<"+u+c.close+" …"+c.open+" />"+c.close};return At.printElementAsLeaf=s,At}var FE;function vU(){if(FE)return Vr;FE=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.test=Vr.serialize=Vr.default=void 0;var e=l0();const t=1,r=3,n=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,a=m=>{try{return typeof m.hasAttribute=="function"&&m.hasAttribute("is")}catch{return!1}},s=m=>{const v=m.constructor.name,{nodeType:g,tagName:w}=m,_=typeof w=="string"&&w.includes("-")||a(m);return g===t&&(i.test(v)||_)||g===r&&v==="Text"||g===n&&v==="Comment"||g===o&&v==="DocumentFragment"},u=m=>{var v;return(m==null||(v=m.constructor)===null||v===void 0?void 0:v.name)&&s(m)};Vr.test=u;function l(m){return m.nodeType===r}function c(m){return m.nodeType===n}function d(m){return m.nodeType===o}const f=(m,v,g,w,_,R)=>{if(l(m))return(0,e.printText)(m.data,v);if(c(m))return(0,e.printComment)(m.data,v);const x=d(m)?"DocumentFragment":m.tagName.toLowerCase();return++w>v.maxDepth?(0,e.printElementAsLeaf)(x,v):(0,e.printElement)(x,(0,e.printProps)(d(m)?[]:Array.from(m.attributes).map(y=>y.name).sort(),d(m)?{}:Array.from(m.attributes).reduce((y,b)=>(y[b.name]=b.value,y),{}),v,g+v.indent,w,_,R),(0,e.printChildren)(Array.prototype.slice.call(m.childNodes||m.children),v,g+v.indent,w,_,R),v,g)};Vr.serialize=f;var h={serialize:f,test:u};return Vr.default=h,Vr}var Wr={},BE;function yU(){if(BE)return Wr;BE=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.test=Wr.serialize=Wr.default=void 0;var e=Qp();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",n="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",s="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",l="@@__IMMUTABLE_STACK__@@",c=b=>"Immutable."+b,d=b=>"["+b+"]",f=" ",p="…",h=(b,E,C,N,q,H,F)=>++N>E.maxDepth?d(c(F)):c(F)+f+"{"+(0,e.printIteratorEntries)(b.entries(),E,C,N,q,H)+"}";function m(b){let E=0;return{next(){if(E<b._keys.length){const C=b._keys[E++];return{done:!1,value:[C,b.get(C)]}}return{done:!0,value:void 0}}}}const v=(b,E,C,N,q,H)=>{const F=c(b._name||"Record");return++N>E.maxDepth?d(F):F+f+"{"+(0,e.printIteratorEntries)(m(b),E,C,N,q,H)+"}"},g=(b,E,C,N,q,H)=>{const F=c("Seq");return++N>E.maxDepth?d(F):b[n]?F+f+"{"+(b._iter||b._object?(0,e.printIteratorEntries)(b.entries(),E,C,N,q,H):p)+"}":F+f+"["+(b._iter||b._array||b._collection||b._iterable?(0,e.printIteratorValues)(b.values(),E,C,N,q,H):p)+"]"},w=(b,E,C,N,q,H,F)=>++N>E.maxDepth?d(c(F)):c(F)+f+"["+(0,e.printIteratorValues)(b.values(),E,C,N,q,H)+"]",_=(b,E,C,N,q,H)=>b[o]?h(b,E,C,N,q,H,b[i]?"OrderedMap":"Map"):b[r]?w(b,E,C,N,q,H,"List"):b[u]?w(b,E,C,N,q,H,b[i]?"OrderedSet":"Set"):b[l]?w(b,E,C,N,q,H,"Stack"):b[s]?g(b,E,C,N,q,H):v(b,E,C,N,q,H);Wr.serialize=_;const R=b=>b&&(b[t]===!0||b[a]===!0);Wr.test=R;var y={serialize:_,test:R};return Wr.default=y,Wr}var Gr={},Fm={exports:{}},$e={};/** @license React v17.0.2
|
|
667
|
+
* react-is.production.min.js
|
|
668
|
+
*
|
|
669
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
670
|
+
*
|
|
671
|
+
* This source code is licensed under the MIT license found in the
|
|
672
|
+
* LICENSE file in the root directory of this source tree.
|
|
673
|
+
*/var zE;function wU(){if(zE)return $e;zE=1;var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,u=60113,l=60120,c=60115,d=60116,f=60121,p=60122,h=60117,m=60129,v=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;e=g("react.element"),t=g("react.portal"),r=g("react.fragment"),n=g("react.strict_mode"),o=g("react.profiler"),i=g("react.provider"),a=g("react.context"),s=g("react.forward_ref"),u=g("react.suspense"),l=g("react.suspense_list"),c=g("react.memo"),d=g("react.lazy"),f=g("react.block"),p=g("react.server.block"),h=g("react.fundamental"),m=g("react.debug_trace_mode"),v=g("react.legacy_hidden")}function w(F){if(typeof F=="object"&&F!==null){var T=F.$$typeof;switch(T){case e:switch(F=F.type,F){case r:case o:case n:case u:case l:return F;default:switch(F=F&&F.$$typeof,F){case a:case s:case d:case c:case i:return F;default:return T}}case t:return T}}}var _=i,R=e,x=s,y=r,b=d,E=c,C=t,N=o,q=n,H=u;return $e.ContextConsumer=a,$e.ContextProvider=_,$e.Element=R,$e.ForwardRef=x,$e.Fragment=y,$e.Lazy=b,$e.Memo=E,$e.Portal=C,$e.Profiler=N,$e.StrictMode=q,$e.Suspense=H,$e.isAsyncMode=function(){return!1},$e.isConcurrentMode=function(){return!1},$e.isContextConsumer=function(F){return w(F)===a},$e.isContextProvider=function(F){return w(F)===i},$e.isElement=function(F){return typeof F=="object"&&F!==null&&F.$$typeof===e},$e.isForwardRef=function(F){return w(F)===s},$e.isFragment=function(F){return w(F)===r},$e.isLazy=function(F){return w(F)===d},$e.isMemo=function(F){return w(F)===c},$e.isPortal=function(F){return w(F)===t},$e.isProfiler=function(F){return w(F)===o},$e.isStrictMode=function(F){return w(F)===n},$e.isSuspense=function(F){return w(F)===u},$e.isValidElementType=function(F){return typeof F=="string"||typeof F=="function"||F===r||F===o||F===m||F===n||F===u||F===l||F===v||typeof F=="object"&&F!==null&&(F.$$typeof===d||F.$$typeof===c||F.$$typeof===i||F.$$typeof===a||F.$$typeof===s||F.$$typeof===h||F.$$typeof===f||F[0]===p)},$e.typeOf=w,$e}var HE;function EU(){return HE||(HE=1,Fm.exports=wU()),Fm.exports}var UE;function _U(){if(UE)return Gr;UE=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.test=Gr.serialize=Gr.default=void 0;var e=n(EU()),t=l0();function r(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,p=new WeakMap;return(r=function(h){return h?p:f})(d)}function n(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var p=r(f);if(p&&p.has(d))return p.get(d);var h={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in d)if(v!=="default"&&Object.prototype.hasOwnProperty.call(d,v)){var g=m?Object.getOwnPropertyDescriptor(d,v):null;g&&(g.get||g.set)?Object.defineProperty(h,v,g):h[v]=d[v]}return h.default=d,p&&p.set(d,h),h}const o=(d,f=[])=>(Array.isArray(d)?d.forEach(p=>{o(p,f)}):d!=null&&d!==!1&&f.push(d),f),i=d=>{const f=d.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(e.isFragment(d))return"React.Fragment";if(e.isSuspense(d))return"React.Suspense";if(typeof f=="object"&&f!==null){if(e.isContextProvider(d))return"Context.Provider";if(e.isContextConsumer(d))return"Context.Consumer";if(e.isForwardRef(d)){if(f.displayName)return f.displayName;const p=f.render.displayName||f.render.name||"";return p!==""?"ForwardRef("+p+")":"ForwardRef"}if(e.isMemo(d)){const p=f.displayName||f.type.displayName||f.type.name||"";return p!==""?"Memo("+p+")":"Memo"}}return"UNDEFINED"},a=d=>{const{props:f}=d;return Object.keys(f).filter(p=>p!=="children"&&f[p]!==void 0).sort()},s=(d,f,p,h,m,v)=>++h>f.maxDepth?(0,t.printElementAsLeaf)(i(d),f):(0,t.printElement)(i(d),(0,t.printProps)(a(d),d.props,f,p+f.indent,h,m,v),(0,t.printChildren)(o(d.props.children),f,p+f.indent,h,m,v),f,p);Gr.serialize=s;const u=d=>d!=null&&e.isElement(d);Gr.test=u;var c={serialize:s,test:u};return Gr.default=c,Gr}var Kr={},VE;function SU(){if(VE)return Kr;VE=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.test=Kr.serialize=Kr.default=void 0;var e=l0(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,f,p,h)=>++f>c.maxDepth?(0,e.printElementAsLeaf)(l.type,c):(0,e.printElement)(l.type,l.props?(0,e.printProps)(o(l),l.props,c,d+c.indent,f,p,h):"",l.children?(0,e.printChildren)(l.children,c,d+c.indent,f,p,h):"",c,d);Kr.serialize=i;const a=l=>l&&l.$$typeof===n;Kr.test=a;var u={serialize:i,test:a};return Kr.default=u,Kr}var WE;function RU(){if(WE)return yr;WE=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=yr.DEFAULT_OPTIONS=void 0,yr.format=D,yr.plugins=void 0;var e=l(qT()),t=Qp(),r=l(pU()),n=l(mU()),o=l(gU()),i=l(vU()),a=l(yU()),s=l(_U()),u=l(SU());function l(j){return j&&j.__esModule?j:{default:j}}const c=Object.prototype.toString,d=Date.prototype.toISOString,f=Error.prototype.toString,p=RegExp.prototype.toString,h=j=>typeof j.constructor=="function"&&j.constructor.name||"Object",m=j=>typeof window<"u"&&j===window,v=/^Symbol\((.*)\)(.*)$/,g=/\n/gi;class w extends Error{constructor(ne,se){super(ne),this.stack=se,this.name=this.constructor.name}}function _(j){return j==="[object Array]"||j==="[object ArrayBuffer]"||j==="[object DataView]"||j==="[object Float32Array]"||j==="[object Float64Array]"||j==="[object Int8Array]"||j==="[object Int16Array]"||j==="[object Int32Array]"||j==="[object Uint8Array]"||j==="[object Uint8ClampedArray]"||j==="[object Uint16Array]"||j==="[object Uint32Array]"}function R(j){return Object.is(j,-0)?"-0":String(j)}function x(j){return`${j}n`}function y(j,ne){return ne?"[Function "+(j.name||"anonymous")+"]":"[Function]"}function b(j){return String(j).replace(v,"Symbol($1)")}function E(j){return"["+f.call(j)+"]"}function C(j,ne,se,be){if(j===!0||j===!1)return""+j;if(j===void 0)return"undefined";if(j===null)return"null";const ve=typeof j;if(ve==="number")return R(j);if(ve==="bigint")return x(j);if(ve==="string")return be?'"'+j.replace(/"|\\/g,"\\$&")+'"':'"'+j+'"';if(ve==="function")return y(j,ne);if(ve==="symbol")return b(j);const ke=c.call(j);return ke==="[object WeakMap]"?"WeakMap {}":ke==="[object WeakSet]"?"WeakSet {}":ke==="[object Function]"||ke==="[object GeneratorFunction]"?y(j,ne):ke==="[object Symbol]"?b(j):ke==="[object Date]"?isNaN(+j)?"Date { NaN }":d.call(j):ke==="[object Error]"?E(j):ke==="[object RegExp]"?se?p.call(j).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(j):j instanceof Error?E(j):null}function N(j,ne,se,be,ve,ke){if(ve.indexOf(j)!==-1)return"[Circular]";ve=ve.slice(),ve.push(j);const le=++be>ne.maxDepth,he=ne.min;if(ne.callToJSON&&!le&&j.toJSON&&typeof j.toJSON=="function"&&!ke)return T(j.toJSON(),ne,se,be,ve,!0);const mt=c.call(j);return mt==="[object Arguments]"?le?"[Arguments]":(he?"":"Arguments ")+"["+(0,t.printListItems)(j,ne,se,be,ve,T)+"]":_(mt)?le?"["+j.constructor.name+"]":(he||!ne.printBasicPrototype&&j.constructor.name==="Array"?"":j.constructor.name+" ")+"["+(0,t.printListItems)(j,ne,se,be,ve,T)+"]":mt==="[object Map]"?le?"[Map]":"Map {"+(0,t.printIteratorEntries)(j.entries(),ne,se,be,ve,T," => ")+"}":mt==="[object Set]"?le?"[Set]":"Set {"+(0,t.printIteratorValues)(j.values(),ne,se,be,ve,T)+"}":le||m(j)?"["+h(j)+"]":(he||!ne.printBasicPrototype&&h(j)==="Object"?"":h(j)+" ")+"{"+(0,t.printObjectProperties)(j,ne,se,be,ve,T)+"}"}function q(j){return j.serialize!=null}function H(j,ne,se,be,ve,ke){let le;try{le=q(j)?j.serialize(ne,se,be,ve,ke,T):j.print(ne,he=>T(he,se,be,ve,ke),he=>{const mt=be+se.indent;return mt+he.replace(g,`
|
|
674
|
+
`+mt)},{edgeSpacing:se.spacingOuter,min:se.min,spacing:se.spacingInner},se.colors)}catch(he){throw new w(he.message,he.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function F(j,ne){for(let se=0;se<j.length;se++)try{if(j[se].test(ne))return j[se]}catch(be){throw new w(be.message,be.stack)}return null}function T(j,ne,se,be,ve,ke){const le=F(ne.plugins,j);if(le!==null)return H(le,j,ne,se,be,ve);const he=C(j,ne.printFunctionName,ne.escapeRegex,ne.escapeString);return he!==null?he:N(j,ne,se,be,ve,ke)}const k={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},I=Object.keys(k),U={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:k};yr.DEFAULT_OPTIONS=U;function G(j){if(Object.keys(j).forEach(ne=>{if(!U.hasOwnProperty(ne))throw new Error(`pretty-format: Unknown option "${ne}".`)}),j.min&&j.indent!==void 0&&j.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(j.theme!==void 0){if(j.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof j.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof j.theme}".`)}}const X=j=>I.reduce((ne,se)=>{const be=j.theme&&j.theme[se]!==void 0?j.theme[se]:k[se],ve=be&&e.default[be];if(ve&&typeof ve.close=="string"&&typeof ve.open=="string")ne[se]=ve;else throw new Error(`pretty-format: Option "theme" has a key "${se}" whose value "${be}" is undefined in ansi-styles.`);return ne},Object.create(null)),Z=()=>I.reduce((j,ne)=>(j[ne]={close:"",open:""},j),Object.create(null)),A=j=>j&&j.printFunctionName!==void 0?j.printFunctionName:U.printFunctionName,$=j=>j&&j.escapeRegex!==void 0?j.escapeRegex:U.escapeRegex,M=j=>j&&j.escapeString!==void 0?j.escapeString:U.escapeString,K=j=>{var ne;return{callToJSON:j&&j.callToJSON!==void 0?j.callToJSON:U.callToJSON,colors:j&&j.highlight?X(j):Z(),compareKeys:j&&typeof j.compareKeys=="function"?j.compareKeys:U.compareKeys,escapeRegex:$(j),escapeString:M(j),indent:j&&j.min?"":L(j&&j.indent!==void 0?j.indent:U.indent),maxDepth:j&&j.maxDepth!==void 0?j.maxDepth:U.maxDepth,min:j&&j.min!==void 0?j.min:U.min,plugins:j&&j.plugins!==void 0?j.plugins:U.plugins,printBasicPrototype:(ne=j?.printBasicPrototype)!==null&&ne!==void 0?ne:!0,printFunctionName:A(j),spacingInner:j&&j.min?" ":`
|
|
675
|
+
`,spacingOuter:j&&j.min?"":`
|
|
676
|
+
`}};function L(j){return new Array(j+1).join(" ")}function D(j,ne){if(ne&&(G(ne),ne.plugins)){const be=F(ne.plugins,j);if(be!==null)return H(be,j,K(ne),"",0,[])}const se=C(j,A(ne),$(ne),M(ne));return se!==null?se:N(j,K(ne),"",0,[])}const Y={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:i.default,Immutable:a.default,ReactElement:s.default,ReactTestComponent:u.default};yr.plugins=Y;var ee=D;return yr.default=ee,yr}var eh=RU();const xU=xc(eh),CU=Cp({__proto__:null,default:xU},[eh]);var AU=Object.prototype.toString;function PU(e){return typeof e=="function"||AU.call(e)==="[object Function]"}function TU(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var OU=Math.pow(2,53)-1;function $U(e){var t=TU(e);return Math.min(Math.max(t,0),OU)}function ir(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=$U(n.length),i=PU(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],i[a]=s,a+=1;return i.length=o,i}function tc(e){"@babel/helpers - typeof";return tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tc(e)}function qU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kU(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,kT(n.key),n)}}function MU(e,t,r){return t&&kU(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function NU(e,t,r){return t=kT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kT(e){var t=IU(e,"string");return tc(t)==="symbol"?t:String(t)}function IU(e,t){if(tc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(tc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var jU=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];qU(this,e),NU(this,"items",void 0),this.items=t}return MU(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})();const DU=typeof Set>"u"?Set:jU;function St(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var LU={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},FU={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function BU(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=FU[t])!==null&&n!==void 0&&n.has(r))})}function MT(e,t){return BU(e,t)}function zU(e){var t=UU(e);if(t===null||t==="presentation"){var r=HU(e);if(t!=="presentation"||MT(e,r||""))return r}return t}function HU(e){var t=LU[St(e)];if(t!==void 0)return t;switch(St(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!MT(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function UU(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Fe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function NT(e){return Fe(e)&&St(e)==="caption"}function rf(e){return Fe(e)&&St(e)==="input"}function VU(e){return Fe(e)&&St(e)==="optgroup"}function WU(e){return Fe(e)&&St(e)==="select"}function GU(e){return Fe(e)&&St(e)==="table"}function KU(e){return Fe(e)&&St(e)==="textarea"}function YU(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function ZU(e){return Fe(e)&&St(e)==="fieldset"}function JU(e){return Fe(e)&&St(e)==="legend"}function XU(e){return Fe(e)&&St(e)==="slot"}function QU(e){return Fe(e)&&e.ownerSVGElement!==void 0}function eV(e){return Fe(e)&&St(e)==="svg"}function tV(e){return QU(e)&&St(e)==="title"}function Uf(e,t){if(Fe(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function nn(e,t){return Fe(e)?t.indexOf(zU(e))!==-1:!1}function rV(e){return e.trim().replace(/\s\s+/g," ")}function nV(e,t){if(!Fe(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function oV(e){return nn(e,["button","combobox","listbox","textbox"])||IT(e,"range")}function IT(e,t){if(!Fe(e))return!1;switch(t){case"range":return nn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function GE(e,t){var r=ir(e.querySelectorAll(t));return Uf(e,"aria-owns").forEach(function(n){r.push.apply(r,ir(n.querySelectorAll(t)))}),r}function iV(e){return WU(e)?e.selectedOptions||GE(e,"[selected]"):GE(e,'[aria-selected="true"]')}function aV(e){return nn(e,["none","presentation"])}function sV(e){return NT(e)}function lV(e){return nn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function uV(e){return!1}function cV(e){return rf(e)||KU(e)?e.value:e.textContent||""}function KE(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function jT(e){var t=St(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function DT(e){if(jT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Fe(r)){var n=DT(r);n!==null&&(t=n)}}),t}function dV(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):DT(e)}function fV(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ir(t);if(!jT(e))return null;var r=e.ownerDocument;return ir(r.querySelectorAll("label")).filter(function(n){return dV(n)===e})}function pV(e){var t=e.assignedNodes();return t.length===0?ir(e.childNodes):t}function LT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new DU,n=YU(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function f(g,w){var _="";if(Fe(g)&&s){var R=l(g,"::before"),x=KE(R);_="".concat(x," ").concat(_)}var y=XU(g)?pV(g):ir(g.childNodes).concat(Uf(g,"aria-owns"));if(y.forEach(function(C){var N=v(C,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),q=Fe(C)?l(C).getPropertyValue("display"):"inline",H=q!=="inline"?" ":"";_+="".concat(H).concat(N).concat(H)}),Fe(g)&&s){var b=l(g,"::after"),E=KE(b);_="".concat(_," ").concat(E)}return _.trim()}function p(g,w){var _=g.getAttributeNode(w);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function h(g){return Fe(g)?p(g,"title"):null}function m(g){if(!Fe(g))return null;if(ZU(g)){r.add(g);for(var w=ir(g.childNodes),_=0;_<w.length;_+=1){var R=w[_];if(JU(R))return v(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GU(g)){r.add(g);for(var x=ir(g.childNodes),y=0;y<x.length;y+=1){var b=x[y];if(NT(b))return v(b,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(eV(g)){r.add(g);for(var E=ir(g.childNodes),C=0;C<E.length;C+=1){var N=E[C];if(tV(N))return N.textContent}return null}else if(St(g)==="img"||St(g)==="area"){var q=p(g,"alt");if(q!==null)return q}else if(VU(g)){var H=p(g,"label");if(H!==null)return H}if(rf(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var F=p(g,"value");if(F!==null)return F;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var T=fV(g);if(T!==null&&T.length!==0)return r.add(g),ir(T).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(rf(g)&&g.type==="image"){var k=p(g,"alt");if(k!==null)return k;var I=p(g,"title");return I!==null?I:"Submit Query"}if(nn(g,["button"])){var U=f(g,{isEmbeddedInLabel:!1});if(U!=="")return U}return null}function v(g,w){if(r.has(g))return"";if(!d&&nV(g,l)&&!w.isReferenced)return r.add(g),"";var _=Fe(g)?g.getAttributeNode("aria-labelledby"):null,R=_!==null&&!r.has(_)?Uf(g,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&R.length>0)return r.add(_),R.map(function(q){return v(q,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=w.recursion&&oV(g)&&i==="name";if(!x){var y=(Fe(g)&&g.getAttribute("aria-label")||"").trim();if(y!==""&&i==="name")return r.add(g),y;if(!aV(g)){var b=m(g);if(b!==null)return r.add(g),b}}if(nn(g,["menu"]))return r.add(g),"";if(x||w.isEmbeddedInLabel||w.isReferenced){if(nn(g,["combobox","listbox"])){r.add(g);var E=iV(g);return E.length===0?rf(g)?g.value:"":ir(E).map(function(q){return v(q,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(IT(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(nn(g,["textbox"]))return r.add(g),cV(g)}if(lV(g)||Fe(g)&&w.isReferenced||sV(g)||uV()){var C=f(g,{isEmbeddedInLabel:w.isEmbeddedInLabel});if(C!=="")return r.add(g),C}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(w.recursion)return r.add(g),f(g,{isEmbeddedInLabel:w.isEmbeddedInLabel});var N=h(g);return N!==null?(r.add(g),N):(r.add(g),"")}return rV(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function rc(e){"@babel/helpers - typeof";return rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rc(e)}function YE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ZE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?YE(Object(r),!0).forEach(function(n){hV(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):YE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hV(e,t,r){return t=mV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mV(e){var t=gV(e,"string");return rc(t)==="symbol"?t:String(t)}function gV(e,t){if(rc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(rc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Uf(e,"aria-describedby").map(function(o){return LT(o,ZE(ZE({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function bV(e){return nn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function u0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return bV(e)?"":LT(e,t)}var It={},ga={},wd={},ba={},JE;function vV(){if(JE)return ba;JE=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.default=void 0;function e(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}var t=e;return ba.default=t,ba}var XE;function kc(){if(XE)return wd;XE=1,Object.defineProperty(wd,"__esModule",{value:!0}),wd.default=n;var e=t(vV());function t(o){return o&&o.__esModule?o:{default:o}}function r(o){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(o)}function n(o,i){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:e.default.bind(i)}),o}return wd}var QE;function yV(){if(QE)return ga;QE=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=void 0;var e=t(kc());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||s(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
677
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var m=[],v=!0,g=!1,w,_;try{for(h=h.call(f);!(v=(w=h.next()).done)&&(m.push(w.value),!(p&&m.length===p));v=!0);}catch(R){g=!0,_=R}finally{try{!v&&h.return!=null&&h.return()}finally{if(g)throw _}}return m}}function i(f){if(Array.isArray(f))return f}function a(f,p){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=s(f))||p){h&&(f=h);var m=0,v=function(){};return{s:v,n:function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}},e:function(x){throw x},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
678
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,w=!1,_;return{s:function(){h=h.call(f)},n:function(){var x=h.next();return g=x.done,x},e:function(x){w=!0,_=x},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(w)throw _}}}}function s(f,p){if(f){if(typeof f=="string")return u(f,p);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var h=0,m=new Array(p);h<p;h++)m[h]=f[h];return m}var l=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return l},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=a(l),v;try{for(m.s();!(v=m.n()).done;){var g=r(v.value,2),w=g[0],_=g[1];p.call(h,_,w,l)}}catch(R){m.e(R)}finally{m.f()}},get:function(p){var h=l.find(function(m){return m[0]===p});return h&&h[1]},has:function(p){return!!c.get(p)},keys:function(){return l.map(function(p){var h=r(p,1),m=h[0];return m})},values:function(){return l.map(function(p){var h=r(p,2),m=h[1];return m})}},d=(0,e.default)(c,c.entries());return ga.default=d,ga}var va={},e_;function wV(){if(e_)return va;e_=1,Object.defineProperty(va,"__esModule",{value:!0}),va.default=void 0;var e=t(kc());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||s(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
679
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var m=[],v=!0,g=!1,w,_;try{for(h=h.call(f);!(v=(w=h.next()).done)&&(m.push(w.value),!(p&&m.length===p));v=!0);}catch(R){g=!0,_=R}finally{try{!v&&h.return!=null&&h.return()}finally{if(g)throw _}}return m}}function i(f){if(Array.isArray(f))return f}function a(f,p){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=s(f))||p){h&&(f=h);var m=0,v=function(){};return{s:v,n:function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}},e:function(x){throw x},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
680
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,w=!1,_;return{s:function(){h=h.call(f)},n:function(){var x=h.next();return g=x.done,x},e:function(x){w=!0,_=x},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(w)throw _}}}}function s(f,p){if(f){if(typeof f=="string")return u(f,p);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var h=0,m=new Array(p);h<p;h++)m[h]=f[h];return m}var l=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return l},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=a(l),v;try{for(m.s();!(v=m.n()).done;){var g=r(v.value,2),w=g[0],_=g[1];p.call(h,_,w,l)}}catch(R){m.e(R)}finally{m.f()}},get:function(p){var h=l.find(function(m){return m[0]===p});return h&&h[1]},has:function(p){return!!c.get(p)},keys:function(){return l.map(function(p){var h=r(p,1),m=h[0];return m})},values:function(){return l.map(function(p){var h=r(p,2),m=h[1];return m})}},d=(0,e.default)(c,c.entries());return va.default=d,va}var ya={},wa={},Ea={},t_;function EV(){if(t_)return Ea;t_=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Ea.default=t,Ea}var _a={},r_;function _V(){if(r_)return _a;r_=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return _a.default=t,_a}var Sa={},n_;function SV(){if(n_)return Sa;n_=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Sa.default=t,Sa}var Ra={},o_;function RV(){if(o_)return Ra;o_=1,Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ra.default=t,Ra}var xa={},i_;function xV(){if(i_)return xa;i_=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return xa.default=t,xa}var Ca={},a_;function CV(){if(a_)return Ca;a_=1,Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Ca.default=t,Ca}var Aa={},s_;function AV(){if(s_)return Aa;s_=1,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Aa.default=t,Aa}var Pa={},l_;function PV(){if(l_)return Pa;l_=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Pa.default=t,Pa}var Ta={},u_;function TV(){if(u_)return Ta;u_=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},t=e;return Ta.default=t,Ta}var Oa={},c_;function OV(){if(c_)return Oa;c_=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Oa.default=t,Oa}var $a={},d_;function $V(){if(d_)return $a;d_=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return $a.default=t,$a}var qa={},f_;function qV(){if(f_)return qa;f_=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return qa.default=t,qa}var p_;function kV(){if(p_)return wa;p_=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.default=void 0;var e=f(EV()),t=f(_V()),r=f(SV()),n=f(RV()),o=f(xV()),i=f(CV()),a=f(AV()),s=f(PV()),u=f(TV()),l=f(OV()),c=f($V()),d=f(qV());function f(m){return m&&m.__esModule?m:{default:m}}var p=[["command",e.default],["composite",t.default],["input",r.default],["landmark",n.default],["range",o.default],["roletype",i.default],["section",a.default],["sectionhead",s.default],["select",u.default],["structure",l.default],["widget",c.default],["window",d.default]],h=p;return wa.default=h,wa}var ka={},Ma={},h_;function MV(){if(h_)return Ma;h_=1,Object.defineProperty(Ma,"__esModule",{value:!0}),Ma.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ma.default=t,Ma}var Na={},m_;function NV(){if(m_)return Na;m_=1,Object.defineProperty(Na,"__esModule",{value:!0}),Na.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},t=e;return Na.default=t,Na}var Ia={},g_;function IV(){if(g_)return Ia;g_=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Ia.default=t,Ia}var ja={},b_;function jV(){if(b_)return ja;b_=1,Object.defineProperty(ja,"__esModule",{value:!0}),ja.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return ja.default=t,ja}var Da={},v_;function DV(){if(v_)return Da;v_=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Da.default=t,Da}var La={},y_;function LV(){if(y_)return La;y_=1,Object.defineProperty(La,"__esModule",{value:!0}),La.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return La.default=t,La}var Fa={},w_;function FV(){if(w_)return Fa;w_=1,Object.defineProperty(Fa,"__esModule",{value:!0}),Fa.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return Fa.default=t,Fa}var Ba={},E_;function BV(){if(E_)return Ba;E_=1,Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ba.default=t,Ba}var za={},__;function zV(){if(__)return za;__=1,Object.defineProperty(za,"__esModule",{value:!0}),za.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return za.default=t,za}var Ha={},S_;function HV(){if(S_)return Ha;S_=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return Ha.default=t,Ha}var Ua={},R_;function UV(){if(R_)return Ua;R_=1,Object.defineProperty(Ua,"__esModule",{value:!0}),Ua.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ua.default=t,Ua}var Va={},x_;function VV(){if(x_)return Va;x_=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return Va.default=t,Va}var Wa={},C_;function WV(){if(C_)return Wa;C_=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},t=e;return Wa.default=t,Wa}var Ga={},A_;function GV(){if(A_)return Ga;A_=1,Object.defineProperty(Ga,"__esModule",{value:!0}),Ga.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ga.default=t,Ga}var Ka={},P_;function KV(){if(P_)return Ka;P_=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ka.default=t,Ka}var Ya={},T_;function YV(){if(T_)return Ya;T_=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ya.default=t,Ya}var Za={},O_;function ZV(){if(O_)return Za;O_=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Za.default=t,Za}var Ja={},$_;function JV(){if($_)return Ja;$_=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return Ja.default=t,Ja}var Xa={},q_;function XV(){if(q_)return Xa;q_=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return Xa.default=t,Xa}var Qa={},k_;function QV(){if(k_)return Qa;k_=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Qa.default=t,Qa}var es={},M_;function eW(){if(M_)return es;M_=1,Object.defineProperty(es,"__esModule",{value:!0}),es.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return es.default=t,es}var ts={},N_;function tW(){if(N_)return ts;N_=1,Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return ts.default=t,ts}var rs={},I_;function rW(){if(I_)return rs;I_=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return rs.default=t,rs}var ns={},j_;function nW(){if(j_)return ns;j_=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ns.default=t,ns}var os={},D_;function oW(){if(D_)return os;D_=1,Object.defineProperty(os,"__esModule",{value:!0}),os.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return os.default=t,os}var is={},L_;function iW(){if(L_)return is;L_=1,Object.defineProperty(is,"__esModule",{value:!0}),is.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},t=e;return is.default=t,is}var as={},F_;function aW(){if(F_)return as;F_=1,Object.defineProperty(as,"__esModule",{value:!0}),as.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},t=e;return as.default=t,as}var ss={},B_;function sW(){if(B_)return ss;B_=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ss.default=t,ss}var ls={},z_;function lW(){if(z_)return ls;z_=1,Object.defineProperty(ls,"__esModule",{value:!0}),ls.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},t=e;return ls.default=t,ls}var us={},H_;function uW(){if(H_)return us;H_=1,Object.defineProperty(us,"__esModule",{value:!0}),us.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return us.default=t,us}var cs={},U_;function cW(){if(U_)return cs;U_=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return cs.default=t,cs}var ds={},V_;function dW(){if(V_)return ds;V_=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return ds.default=t,ds}var fs={},W_;function fW(){if(W_)return fs;W_=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return fs.default=t,fs}var ps={},G_;function pW(){if(G_)return ps;G_=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return ps.default=t,ps}var hs={},K_;function hW(){if(K_)return hs;K_=1,Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hs.default=t,hs}var ms={},Y_;function mW(){if(Y_)return ms;Y_=1,Object.defineProperty(ms,"__esModule",{value:!0}),ms.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ms.default=t,ms}var gs={},Z_;function gW(){if(Z_)return gs;Z_=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return gs.default=t,gs}var bs={},J_;function bW(){if(J_)return bs;J_=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return bs.default=t,bs}var vs={},X_;function vW(){if(X_)return vs;X_=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vs.default=t,vs}var ys={},Q_;function yW(){if(Q_)return ys;Q_=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ys.default=t,ys}var ws={},e3;function wW(){if(e3)return ws;e3=1,Object.defineProperty(ws,"__esModule",{value:!0}),ws.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return ws.default=t,ws}var Es={},t3;function EW(){if(t3)return Es;t3=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},t=e;return Es.default=t,Es}var _s={},r3;function _W(){if(r3)return _s;r3=1,Object.defineProperty(_s,"__esModule",{value:!0}),_s.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return _s.default=t,_s}var Ss={},n3;function SW(){if(n3)return Ss;n3=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return Ss.default=t,Ss}var Rs={},o3;function RW(){if(o3)return Rs;o3=1,Object.defineProperty(Rs,"__esModule",{value:!0}),Rs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return Rs.default=t,Rs}var xs={},i3;function xW(){if(i3)return xs;i3=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},t=e;return xs.default=t,xs}var Cs={},a3;function CW(){if(a3)return Cs;a3=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Cs.default=t,Cs}var As={},s3;function AW(){if(s3)return As;s3=1,Object.defineProperty(As,"__esModule",{value:!0}),As.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return As.default=t,As}var Ps={},l3;function PW(){if(l3)return Ps;l3=1,Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ps.default=t,Ps}var Ts={},u3;function TW(){if(u3)return Ts;u3=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},t=e;return Ts.default=t,Ts}var Os={},c3;function OW(){if(c3)return Os;c3=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Os.default=t,Os}var $s={},d3;function $W(){if(d3)return $s;d3=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return $s.default=t,$s}var qs={},f3;function qW(){if(f3)return qs;f3=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return qs.default=t,qs}var ks={},p3;function kW(){if(p3)return ks;p3=1,Object.defineProperty(ks,"__esModule",{value:!0}),ks.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return ks.default=t,ks}var Ms={},h3;function MW(){if(h3)return Ms;h3=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return Ms.default=t,Ms}var Ns={},m3;function NW(){if(m3)return Ns;m3=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ns.default=t,Ns}var Is={},g3;function IW(){if(g3)return Is;g3=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},t=e;return Is.default=t,Is}var js={},b3;function jW(){if(b3)return js;b3=1,Object.defineProperty(js,"__esModule",{value:!0}),js.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return js.default=t,js}var Ds={},v3;function DW(){if(v3)return Ds;v3=1,Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return Ds.default=t,Ds}var Ls={},y3;function LW(){if(y3)return Ls;y3=1,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return Ls.default=t,Ls}var Fs={},w3;function FW(){if(w3)return Fs;w3=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Fs.default=t,Fs}var Bs={},E3;function BW(){if(E3)return Bs;E3=1,Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},t=e;return Bs.default=t,Bs}var zs={},_3;function zW(){if(_3)return zs;_3=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return zs.default=t,zs}var Hs={},S3;function HW(){if(S3)return Hs;S3=1,Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},t=e;return Hs.default=t,Hs}var Us={},R3;function UW(){if(R3)return Us;R3=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},t=e;return Us.default=t,Us}var Vs={},x3;function VW(){if(x3)return Vs;x3=1,Object.defineProperty(Vs,"__esModule",{value:!0}),Vs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Vs.default=t,Vs}var Ws={},C3;function WW(){if(C3)return Ws;C3=1,Object.defineProperty(Ws,"__esModule",{value:!0}),Ws.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ws.default=t,Ws}var Gs={},A3;function GW(){if(A3)return Gs;A3=1,Object.defineProperty(Gs,"__esModule",{value:!0}),Gs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Gs.default=t,Gs}var Ks={},P3;function KW(){if(P3)return Ks;P3=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ks.default=t,Ks}var Ys={},T3;function YW(){if(T3)return Ys;T3=1,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},t=e;return Ys.default=t,Ys}var Zs={},O3;function ZW(){if(O3)return Zs;O3=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},t=e;return Zs.default=t,Zs}var Js={},$3;function JW(){if($3)return Js;$3=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Js.default=t,Js}var Xs={},q3;function XW(){if(q3)return Xs;q3=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},t=e;return Xs.default=t,Xs}var Qs={},k3;function QW(){if(k3)return Qs;k3=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Qs.default=t,Qs}var el={},M3;function eG(){if(M3)return el;M3=1,Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return el.default=t,el}var tl={},N3;function tG(){if(N3)return tl;N3=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return tl.default=t,tl}var rl={},I3;function rG(){if(I3)return rl;I3=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return rl.default=t,rl}var nl={},j3;function nG(){if(j3)return nl;j3=1,Object.defineProperty(nl,"__esModule",{value:!0}),nl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return nl.default=t,nl}var ol={},D3;function oG(){if(D3)return ol;D3=1,Object.defineProperty(ol,"__esModule",{value:!0}),ol.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return ol.default=t,ol}var il={},L3;function iG(){if(L3)return il;L3=1,Object.defineProperty(il,"__esModule",{value:!0}),il.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return il.default=t,il}var al={},F3;function aG(){if(F3)return al;F3=1,Object.defineProperty(al,"__esModule",{value:!0}),al.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return al.default=t,al}var sl={},B3;function sG(){if(B3)return sl;B3=1,Object.defineProperty(sl,"__esModule",{value:!0}),sl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},t=e;return sl.default=t,sl}var ll={},z3;function lG(){if(z3)return ll;z3=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},t=e;return ll.default=t,ll}var H3;function uG(){if(H3)return ka;H3=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.default=void 0;var e=te(MV()),t=te(NV()),r=te(IV()),n=te(jV()),o=te(DV()),i=te(LV()),a=te(FV()),s=te(BV()),u=te(zV()),l=te(HV()),c=te(UV()),d=te(VV()),f=te(WV()),p=te(GV()),h=te(KV()),m=te(YV()),v=te(ZV()),g=te(JV()),w=te(XV()),_=te(QV()),R=te(eW()),x=te(tW()),y=te(rW()),b=te(nW()),E=te(oW()),C=te(iW()),N=te(aW()),q=te(sW()),H=te(lW()),F=te(uW()),T=te(cW()),k=te(dW()),I=te(fW()),U=te(pW()),G=te(hW()),X=te(mW()),Z=te(gW()),A=te(bW()),$=te(vW()),M=te(yW()),K=te(wW()),L=te(EW()),D=te(_W()),Y=te(SW()),ee=te(RW()),j=te(xW()),ne=te(CW()),se=te(AW()),be=te(PW()),ve=te(TW()),ke=te(OW()),le=te($W()),he=te(qW()),mt=te(kW()),Bo=te(MW()),na=te(NW()),oa=te(IW()),Oh=te(jW()),$h=te(DW()),qh=te(LW()),kh=te(FW()),Mh=te(BW()),Nh=te(zW()),Ih=te(HW()),jh=te(UW()),Dh=te(VW()),Lh=te(WW()),Fh=te(GW()),Bh=te(KW()),zh=te(YW()),Hh=te(ZW()),Uh=te(JW()),Vh=te(XW()),Wh=te(QW()),Gh=te(eG()),Kh=te(tG()),Yh=te(rG()),Zh=te(nG()),Jh=te(oG()),Xh=te(iG()),Qh=te(aG()),em=te(sG()),tm=te(lG());function te(jr){return jr&&jr.__esModule?jr:{default:jr}}var re=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",n.default],["banner",o.default],["blockquote",i.default],["button",a.default],["caption",s.default],["cell",u.default],["checkbox",l.default],["code",c.default],["columnheader",d.default],["combobox",f.default],["complementary",p.default],["contentinfo",h.default],["definition",m.default],["deletion",v.default],["dialog",g.default],["directory",w.default],["document",_.default],["emphasis",R.default],["feed",x.default],["figure",y.default],["form",b.default],["generic",E.default],["grid",C.default],["gridcell",N.default],["group",q.default],["heading",H.default],["img",F.default],["insertion",T.default],["link",k.default],["list",I.default],["listbox",U.default],["listitem",G.default],["log",X.default],["main",Z.default],["mark",A.default],["marquee",$.default],["math",M.default],["menu",K.default],["menubar",L.default],["menuitem",D.default],["menuitemcheckbox",Y.default],["menuitemradio",ee.default],["meter",j.default],["navigation",ne.default],["none",se.default],["note",be.default],["option",ve.default],["paragraph",ke.default],["presentation",le.default],["progressbar",he.default],["radio",mt.default],["radiogroup",Bo.default],["region",na.default],["row",oa.default],["rowgroup",Oh.default],["rowheader",$h.default],["scrollbar",qh.default],["search",kh.default],["searchbox",Mh.default],["separator",Nh.default],["slider",Ih.default],["spinbutton",jh.default],["status",Dh.default],["strong",Lh.default],["subscript",Fh.default],["superscript",Bh.default],["switch",zh.default],["tab",Hh.default],["table",Uh.default],["tablist",Vh.default],["tabpanel",Wh.default],["term",Gh.default],["textbox",Kh.default],["time",Yh.default],["timer",Zh.default],["toolbar",Jh.default],["tooltip",Xh.default],["tree",Qh.default],["treegrid",em.default],["treeitem",tm.default]],rm=re;return ka.default=rm,ka}var ul={},cl={},U3;function cG(){if(U3)return cl;U3=1,Object.defineProperty(cl,"__esModule",{value:!0}),cl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return cl.default=t,cl}var dl={},V3;function dG(){if(V3)return dl;V3=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return dl.default=t,dl}var fl={},W3;function fG(){if(W3)return fl;W3=1,Object.defineProperty(fl,"__esModule",{value:!0}),fl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return fl.default=t,fl}var pl={},G3;function pG(){if(G3)return pl;G3=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return pl.default=t,pl}var hl={},K3;function hG(){if(K3)return hl;K3=1,Object.defineProperty(hl,"__esModule",{value:!0}),hl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return hl.default=t,hl}var ml={},Y3;function mG(){if(Y3)return ml;Y3=1,Object.defineProperty(ml,"__esModule",{value:!0}),ml.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return ml.default=t,ml}var gl={},Z3;function gG(){if(Z3)return gl;Z3=1,Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return gl.default=t,gl}var bl={},J3;function bG(){if(J3)return bl;J3=1,Object.defineProperty(bl,"__esModule",{value:!0}),bl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return bl.default=t,bl}var vl={},X3;function vG(){if(X3)return vl;X3=1,Object.defineProperty(vl,"__esModule",{value:!0}),vl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return vl.default=t,vl}var yl={},Q3;function yG(){if(Q3)return yl;Q3=1,Object.defineProperty(yl,"__esModule",{value:!0}),yl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return yl.default=t,yl}var wl={},eS;function wG(){if(eS)return wl;eS=1,Object.defineProperty(wl,"__esModule",{value:!0}),wl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return wl.default=t,wl}var El={},tS;function EG(){if(tS)return El;tS=1,Object.defineProperty(El,"__esModule",{value:!0}),El.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return El.default=t,El}var _l={},rS;function _G(){if(rS)return _l;rS=1,Object.defineProperty(_l,"__esModule",{value:!0}),_l.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return _l.default=t,_l}var Sl={},nS;function SG(){if(nS)return Sl;nS=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Sl.default=t,Sl}var Rl={},oS;function RG(){if(oS)return Rl;oS=1,Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Rl.default=t,Rl}var xl={},iS;function xG(){if(iS)return xl;iS=1,Object.defineProperty(xl,"__esModule",{value:!0}),xl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return xl.default=t,xl}var Cl={},aS;function CG(){if(aS)return Cl;aS=1,Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Cl.default=t,Cl}var Al={},sS;function AG(){if(sS)return Al;sS=1,Object.defineProperty(Al,"__esModule",{value:!0}),Al.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Al.default=t,Al}var Pl={},lS;function PG(){if(lS)return Pl;lS=1,Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Pl.default=t,Pl}var Tl={},uS;function TG(){if(uS)return Tl;uS=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Tl.default=t,Tl}var Ol={},cS;function OG(){if(cS)return Ol;cS=1,Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ol.default=t,Ol}var $l={},dS;function $G(){if(dS)return $l;dS=1,Object.defineProperty($l,"__esModule",{value:!0}),$l.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return $l.default=t,$l}var ql={},fS;function qG(){if(fS)return ql;fS=1,Object.defineProperty(ql,"__esModule",{value:!0}),ql.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ql.default=t,ql}var kl={},pS;function kG(){if(pS)return kl;pS=1,Object.defineProperty(kl,"__esModule",{value:!0}),kl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return kl.default=t,kl}var Ml={},hS;function MG(){if(hS)return Ml;hS=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return Ml.default=t,Ml}var Nl={},mS;function NG(){if(mS)return Nl;mS=1,Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Nl.default=t,Nl}var Il={},gS;function IG(){if(gS)return Il;gS=1,Object.defineProperty(Il,"__esModule",{value:!0}),Il.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Il.default=t,Il}var jl={},bS;function jG(){if(bS)return jl;bS=1,Object.defineProperty(jl,"__esModule",{value:!0}),jl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return jl.default=t,jl}var Dl={},vS;function DG(){if(vS)return Dl;vS=1,Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return Dl.default=t,Dl}var Ll={},yS;function LG(){if(yS)return Ll;yS=1,Object.defineProperty(Ll,"__esModule",{value:!0}),Ll.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},t=e;return Ll.default=t,Ll}var Fl={},wS;function FG(){if(wS)return Fl;wS=1,Object.defineProperty(Fl,"__esModule",{value:!0}),Fl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Fl.default=t,Fl}var Bl={},ES;function BG(){if(ES)return Bl;ES=1,Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Bl.default=t,Bl}var zl={},_S;function zG(){if(_S)return zl;_S=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return zl.default=t,zl}var Hl={},SS;function HG(){if(SS)return Hl;SS=1,Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Hl.default=t,Hl}var Ul={},RS;function UG(){if(RS)return Ul;RS=1,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},t=e;return Ul.default=t,Ul}var Vl={},xS;function VG(){if(xS)return Vl;xS=1,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Vl.default=t,Vl}var Wl={},CS;function WG(){if(CS)return Wl;CS=1,Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},t=e;return Wl.default=t,Wl}var Gl={},AS;function GG(){if(AS)return Gl;AS=1,Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return Gl.default=t,Gl}var Kl={},PS;function KG(){if(PS)return Kl;PS=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Kl.default=t,Kl}var TS;function YG(){if(TS)return ul;TS=1,Object.defineProperty(ul,"__esModule",{value:!0}),ul.default=void 0;var e=M(cG()),t=M(dG()),r=M(fG()),n=M(pG()),o=M(hG()),i=M(mG()),a=M(gG()),s=M(bG()),u=M(vG()),l=M(yG()),c=M(wG()),d=M(EG()),f=M(_G()),p=M(SG()),h=M(RG()),m=M(xG()),v=M(CG()),g=M(AG()),w=M(PG()),_=M(TG()),R=M(OG()),x=M($G()),y=M(qG()),b=M(kG()),E=M(MG()),C=M(NG()),N=M(IG()),q=M(jG()),H=M(DG()),F=M(LG()),T=M(FG()),k=M(BG()),I=M(zG()),U=M(HG()),G=M(UG()),X=M(VG()),Z=M(WG()),A=M(GG()),$=M(KG());function M(D){return D&&D.__esModule?D:{default:D}}var K=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",n.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",a.default],["doc-biblioref",s.default],["doc-chapter",u.default],["doc-colophon",l.default],["doc-conclusion",c.default],["doc-cover",d.default],["doc-credit",f.default],["doc-credits",p.default],["doc-dedication",h.default],["doc-endnote",m.default],["doc-endnotes",v.default],["doc-epigraph",g.default],["doc-epilogue",w.default],["doc-errata",_.default],["doc-example",R.default],["doc-footnote",x.default],["doc-foreword",y.default],["doc-glossary",b.default],["doc-glossref",E.default],["doc-index",C.default],["doc-introduction",N.default],["doc-noteref",q.default],["doc-notice",H.default],["doc-pagebreak",F.default],["doc-pagelist",T.default],["doc-part",k.default],["doc-preface",I.default],["doc-prologue",U.default],["doc-pullquote",G.default],["doc-qna",X.default],["doc-subtitle",Z.default],["doc-tip",A.default],["doc-toc",$.default]],L=K;return ul.default=L,ul}var Yl={},Zl={},OS;function ZG(){if(OS)return Zl;OS=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return Zl.default=t,Zl}var Jl={},$S;function JG(){if($S)return Jl;$S=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return Jl.default=t,Jl}var Xl={},qS;function XG(){if(qS)return Xl;qS=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return Xl.default=t,Xl}var kS;function QG(){if(kS)return Yl;kS=1,Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.default=void 0;var e=n(ZG()),t=n(JG()),r=n(XG());function n(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],i=o;return Yl.default=i,Yl}var MS;function c0(){if(MS)return ya;MS=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.default=void 0;var e=i(kV()),t=i(uG()),r=i(YG()),n=i(QG()),o=i(kc());function i(g){return g&&g.__esModule?g:{default:g}}function a(g,w,_){return w in g?Object.defineProperty(g,w,{value:_,enumerable:!0,configurable:!0,writable:!0}):g[w]=_,g}function s(g,w){var _=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!_){if(Array.isArray(g)||(_=c(g))||w){_&&(g=_);var R=0,x=function(){};return{s:x,n:function(){return R>=g.length?{done:!0}:{done:!1,value:g[R++]}},e:function(N){throw N},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
681
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,b=!1,E;return{s:function(){_=_.call(g)},n:function(){var N=_.next();return y=N.done,N},e:function(N){b=!0,E=N},f:function(){try{!y&&_.return!=null&&_.return()}finally{if(b)throw E}}}}function u(g,w){return p(g)||f(g,w)||c(g,w)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
682
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(g,w){if(g){if(typeof g=="string")return d(g,w);var _=Object.prototype.toString.call(g).slice(8,-1);if(_==="Object"&&g.constructor&&(_=g.constructor.name),_==="Map"||_==="Set")return Array.from(g);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(g,w)}}function d(g,w){(w==null||w>g.length)&&(w=g.length);for(var _=0,R=new Array(w);_<w;_++)R[_]=g[_];return R}function f(g,w){var _=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(_!=null){var R=[],x=!0,y=!1,b,E;try{for(_=_.call(g);!(x=(b=_.next()).done)&&(R.push(b.value),!(w&&R.length===w));x=!0);}catch(C){y=!0,E=C}finally{try{!x&&_.return!=null&&_.return()}finally{if(y)throw E}}return R}}function p(g){if(Array.isArray(g))return g}var h=[].concat(e.default,t.default,r.default,n.default);h.forEach(function(g){var w=u(g,2),_=w[1],R=s(_.superClass),x;try{for(R.s();!(x=R.n()).done;){var y=x.value,b=s(y),E;try{var C=function(){var q=E.value,H=h.find(function(U){var G=u(U,1),X=G[0];return X===q});if(H)for(var F=H[1],T=0,k=Object.keys(F.props);T<k.length;T++){var I=k[T];Object.prototype.hasOwnProperty.call(_.props,I)||Object.assign(_.props,a({},I,F.props[I]))}};for(b.s();!(E=b.n()).done;)C()}catch(N){b.e(N)}finally{b.f()}}}catch(N){R.e(N)}finally{R.f()}});var m={entries:function(){return h},forEach:function(w){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=s(h),x;try{for(R.s();!(x=R.n()).done;){var y=u(x.value,2),b=y[0],E=y[1];w.call(_,E,b,h)}}catch(C){R.e(C)}finally{R.f()}},get:function(w){var _=h.find(function(R){return R[0]===w});return _&&_[1]},has:function(w){return!!m.get(w)},keys:function(){return h.map(function(w){var _=u(w,1),R=_[0];return R})},values:function(){return h.map(function(w){var _=u(w,2),R=_[1];return R})}},v=(0,o.default)(m,m.entries());return ya.default=v,ya}var Ql={},Bm={},NS;function eK(){if(NS)return Bm;NS=1;var e=Object.prototype.hasOwnProperty;function t(r,n){var o,i;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&t(r[i],n[i]););return i===-1}if(!o||typeof r=="object"){i=0;for(o in r)if(e.call(r,o)&&++i&&!e.call(n,o)||!(o in n)||!t(r[o],n[o]))return!1;return Object.keys(n).length===i}}return r!==r&&n!==n}return Bm.dequal=t,Bm}var IS;function tK(){if(IS)return Ql;IS=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.default=void 0;var e=eK(),t=n(kc()),r=n(c0());function n(x){return x&&x.__esModule?x:{default:x}}function o(x,y){return s(x)||a(x,y)||l(x,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
683
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(x,y){var b=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(b!=null){var E=[],C=!0,N=!1,q,H;try{for(b=b.call(x);!(C=(q=b.next()).done)&&(E.push(q.value),!(y&&E.length===y));C=!0);}catch(F){N=!0,H=F}finally{try{!C&&b.return!=null&&b.return()}finally{if(N)throw H}}return E}}function s(x){if(Array.isArray(x))return x}function u(x,y){var b=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(!b){if(Array.isArray(x)||(b=l(x))||y){b&&(x=b);var E=0,C=function(){};return{s:C,n:function(){return E>=x.length?{done:!0}:{done:!1,value:x[E++]}},e:function(T){throw T},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
684
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,q=!1,H;return{s:function(){b=b.call(x)},n:function(){var T=b.next();return N=T.done,T},e:function(T){q=!0,H=T},f:function(){try{!N&&b.return!=null&&b.return()}finally{if(q)throw H}}}}function l(x,y){if(x){if(typeof x=="string")return c(x,y);var b=Object.prototype.toString.call(x).slice(8,-1);if(b==="Object"&&x.constructor&&(b=x.constructor.name),b==="Map"||b==="Set")return Array.from(x);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(x,y)}}function c(x,y){(y==null||y>x.length)&&(y=x.length);for(var b=0,E=new Array(y);b<y;b++)E[b]=x[b];return E}for(var d=[],f=r.default.keys(),p=0;p<f.length;p++){var h=f[p],m=r.default.get(h);if(m)for(var v=[].concat(m.baseConcepts,m.relatedConcepts),g=0;g<v.length;g++){var w=v[g];w.module==="HTML"&&(function(){var x=w.concept;if(x){var y=d.find(function(N){return(0,e.dequal)(N,x)}),b;y?b=y[1]:b=[];for(var E=!0,C=0;C<b.length;C++)if(b[C]===h){E=!1;break}E&&b.push(h),d.push([x,b])}})()}}var _={entries:function(){return d},forEach:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=u(d),C;try{for(E.s();!(C=E.n()).done;){var N=o(C.value,2),q=N[0],H=N[1];y.call(b,H,q,d)}}catch(F){E.e(F)}finally{E.f()}},get:function(y){var b=d.find(function(E){return y.name===E[0].name&&(0,e.dequal)(y.attributes,E[0].attributes)});return b&&b[1]},has:function(y){return!!_.get(y)},keys:function(){return d.map(function(y){var b=o(y,1),E=b[0];return E})},values:function(){return d.map(function(y){var b=o(y,2),E=b[1];return E})}},R=(0,t.default)(_,_.entries());return Ql.default=R,Ql}var eu={},jS;function rK(){if(jS)return eu;jS=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.default=void 0;var e=r(kc()),t=r(c0());function r(y){return y&&y.__esModule?y:{default:y}}function n(y,b){return a(y)||i(y,b)||u(y,b)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
685
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(y,b){var E=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(E!=null){var C=[],N=!0,q=!1,H,F;try{for(E=E.call(y);!(N=(H=E.next()).done)&&(C.push(H.value),!(b&&C.length===b));N=!0);}catch(T){q=!0,F=T}finally{try{!N&&E.return!=null&&E.return()}finally{if(q)throw F}}return C}}function a(y){if(Array.isArray(y))return y}function s(y,b){var E=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!E){if(Array.isArray(y)||(E=u(y))||b){E&&(y=E);var C=0,N=function(){};return{s:N,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(k){throw k},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
686
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,H=!1,F;return{s:function(){E=E.call(y)},n:function(){var k=E.next();return q=k.done,k},e:function(k){H=!0,F=k},f:function(){try{!q&&E.return!=null&&E.return()}finally{if(H)throw F}}}}function u(y,b){if(y){if(typeof y=="string")return l(y,b);var E=Object.prototype.toString.call(y).slice(8,-1);if(E==="Object"&&y.constructor&&(E=y.constructor.name),E==="Map"||E==="Set")return Array.from(y);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return l(y,b)}}function l(y,b){(b==null||b>y.length)&&(b=y.length);for(var E=0,C=new Array(b);E<b;E++)C[E]=y[E];return C}for(var c=[],d=t.default.keys(),f=0;f<d.length;f++){var p=d[f],h=t.default.get(p),m=[];if(h){for(var v=[].concat(h.baseConcepts,h.relatedConcepts),g=0;g<v.length;g++){var w=v[g];if(w.module==="HTML"){var _=w.concept;_!=null&&m.push(_)}}m.length>0&&c.push([p,m])}}var R={entries:function(){return c},forEach:function(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=s(c),N;try{for(C.s();!(N=C.n()).done;){var q=n(N.value,2),H=q[0],F=q[1];b.call(E,F,H,c)}}catch(T){C.e(T)}finally{C.f()}},get:function(b){var E=c.find(function(C){return C[0]===b});return E&&E[1]},has:function(b){return!!R.get(b)},keys:function(){return c.map(function(b){var E=n(b,1),C=E[0];return C})},values:function(){return c.map(function(b){var E=n(b,2),C=E[1];return C})}},x=(0,e.default)(R,R.entries());return eu.default=x,eu}var DS;function nK(){if(DS)return It;DS=1,Object.defineProperty(It,"__esModule",{value:!0}),It.roles=It.roleElements=It.elementRoles=It.dom=It.aria=void 0;var e=i(yV()),t=i(wV()),r=i(c0()),n=i(tK()),o=i(rK());function i(d){return d&&d.__esModule?d:{default:d}}var a=e.default;It.aria=a;var s=t.default;It.dom=s;var u=r.default;It.roles=u;var l=n.default;It.elementRoles=l;var c=o.default;return It.roleElements=c,It}var Kt=nK(),zm={exports:{}},LS;function oK(){return LS||(LS=1,(function(e){var t=(function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(u,l){if(!i[u]){i[u]={};for(var c=0;c<u.length;c++)i[u][u.charAt(c)]=c}return i[u][l]}var s={compressToBase64:function(u){if(u==null)return"";var l=s._compress(u,6,function(c){return n.charAt(c)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:s._decompress(u.length,32,function(l){return a(n,u.charAt(l))})},compressToUTF16:function(u){return u==null?"":s._compress(u,15,function(l){return r(l+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:s._decompress(u.length,16384,function(l){return u.charCodeAt(l)-32})},compressToUint8Array:function(u){for(var l=s.compress(u),c=new Uint8Array(l.length*2),d=0,f=l.length;d<f;d++){var p=l.charCodeAt(d);c[d*2]=p>>>8,c[d*2+1]=p%256}return c},decompressFromUint8Array:function(u){if(u==null)return s.decompress(u);for(var l=new Array(u.length/2),c=0,d=l.length;c<d;c++)l[c]=u[c*2]*256+u[c*2+1];var f=[];return l.forEach(function(p){f.push(r(p))}),s.decompress(f.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":s._compress(u,6,function(l){return o.charAt(l)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),s._decompress(u.length,32,function(l){return a(o,u.charAt(l))}))},compress:function(u){return s._compress(u,16,function(l){return r(l)})},_compress:function(u,l,c){if(u==null)return"";var d,f,p={},h={},m="",v="",g="",w=2,_=3,R=2,x=[],y=0,b=0,E;for(E=0;E<u.length;E+=1)if(m=u.charAt(E),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=_++,h[m]=!0),v=g+m,Object.prototype.hasOwnProperty.call(p,v))g=v;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(d=0;d<R;d++)y=y<<1,b==l-1?(b=0,x.push(c(y)),y=0):b++;for(f=g.charCodeAt(0),d=0;d<8;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1}else{for(f=1,d=0;d<R;d++)y=y<<1|f,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=0;for(f=g.charCodeAt(0),d=0;d<16;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1}w--,w==0&&(w=Math.pow(2,R),R++),delete h[g]}else for(f=p[g],d=0;d<R;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1;w--,w==0&&(w=Math.pow(2,R),R++),p[v]=_++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(d=0;d<R;d++)y=y<<1,b==l-1?(b=0,x.push(c(y)),y=0):b++;for(f=g.charCodeAt(0),d=0;d<8;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1}else{for(f=1,d=0;d<R;d++)y=y<<1|f,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=0;for(f=g.charCodeAt(0),d=0;d<16;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1}w--,w==0&&(w=Math.pow(2,R),R++),delete h[g]}else for(f=p[g],d=0;d<R;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1;w--,w==0&&(w=Math.pow(2,R),R++)}for(f=2,d=0;d<R;d++)y=y<<1|f&1,b==l-1?(b=0,x.push(c(y)),y=0):b++,f=f>>1;for(;;)if(y=y<<1,b==l-1){x.push(c(y));break}else b++;return x.join("")},decompress:function(u){return u==null?"":u==""?null:s._decompress(u.length,32768,function(l){return u.charCodeAt(l)})},_decompress:function(u,l,c){var d=[],f=4,p=4,h=3,m="",v=[],g,w,_,R,x,y,b,E={val:c(0),position:l,index:1};for(g=0;g<3;g+=1)d[g]=g;for(_=0,x=Math.pow(2,2),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;switch(_){case 0:for(_=0,x=Math.pow(2,8),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;b=r(_);break;case 1:for(_=0,x=Math.pow(2,16),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;b=r(_);break;case 2:return""}for(d[3]=b,w=b,v.push(b);;){if(E.index>u)return"";for(_=0,x=Math.pow(2,h),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;switch(b=_){case 0:for(_=0,x=Math.pow(2,8),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;d[p++]=r(_),b=p-1,f--;break;case 1:for(_=0,x=Math.pow(2,16),y=1;y!=x;)R=E.val&E.position,E.position>>=1,E.position==0&&(E.position=l,E.val=c(E.index++)),_|=(R>0?1:0)*y,y<<=1;d[p++]=r(_),b=p-1,f--;break;case 2:return v.join("")}if(f==0&&(f=Math.pow(2,h),h++),d[b])m=d[b];else if(b===p)m=w+w.charAt(0);else return null;v.push(m),d[p++]=w+m.charAt(0),f--,w=m,f==0&&(f=Math.pow(2,h),h++)}}};return s})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(zm)),zm.exports}var iK=oK();const aK=xc(iK);var wb={};function BT(e){return e.replace(/</g,"<").replace(/>/g,">")}const sK=(e,t,r,n,o,i,a)=>{const s=n+r.indent,u=r.colors;return e.map(l=>{const c=t[l];let d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
|
|
687
|
+
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},lK=3,uK=(e,t,r,n,o,i)=>e.map(a=>{const s=typeof a=="string"?zT(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==lK?"":t.spacingOuter+r+s}).join(""),zT=(e,t)=>{const r=t.colors.content;return r.open+BT(e)+r.close},cK=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+BT(e)+"-->"+r.close},dK=(e,t,r,n,o)=>{const i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},fK=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},pK=1,HT=3,UT=8,VT=11,hK=/^((HTML|SVG)\w*)?Element$/,WT=e=>{const t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},mK=e=>{const t=e.constructor.name,r=e.nodeType;return r===pK&&(hK.test(t)||WT(e))||r===HT&&t==="Text"||r===UT&&t==="Comment"||r===VT&&t==="DocumentFragment"};function gK(e){return e.nodeType===HT}function bK(e){return e.nodeType===UT}function Hm(e){return e.nodeType===VT}function vK(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||WT(t))&&mK(t)},serialize:(t,r,n,o,i,a)=>{if(gK(t))return zT(t.data,r);if(bK(t))return cK(t.data,r);const s=Hm(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?fK(s,r):dK(s,sK(Hm(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Hm(t)?{}:Array.from(t.attributes).reduce((u,l)=>(u[l.name]=l.value,u),{}),r,n+r.indent,o,i,a),uK(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}let GT=null,d0=null,f0=null;try{const e=module&&module.require;d0=e.call(module,"fs").readFileSync,f0=e.call(module,"@babel/code-frame").codeFrameColumns,GT=e.call(module,"picocolors")}catch{}function yK(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),i=[o[0],parseInt(o[1],10),parseInt(o[2],10)],a=i[0],s=i[1],u=i[2];let l="";try{l=d0(a,"utf-8")}catch{return""}const c=f0(l,{start:{line:s,column:u}},{highlightCode:!0,linesBelow:0});return GT.dim(n)+`
|
|
688
|
+
`+c+`
|
|
689
|
+
`}function wK(){if(!d0||!f0)return"";const t=new Error().stack.split(`
|
|
690
|
+
`).slice(1).find(r=>!r.includes("node_modules/"));return yK(t)}const KT=3;function Um(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function p0(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function YT(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function gn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const EK=["filterNode"],_K=()=>{if(typeof process>"u")return!1;let e;try{var t;const r=(t=wb)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},SK=eh.plugins.DOMCollection,RK=1,xK=8;function CK(e){return e.nodeType!==xK&&(e.nodeType!==RK||!e.matches(we().defaultIgnore))}function nc(e,t,r){if(r===void 0&&(r={}),e||(e=p0().body),typeof t!="number"&&(t=typeof process<"u"&&typeof wb<"u"&&wb.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const o=r,i=o.filterNode,a=i===void 0?CK:i,s=yb(o,EK),u=eh.format(e,{plugins:[vK(a),SK],printFunctionName:!1,highlight:_K(),...s});return t!==void 0&&e.outerHTML.length>t?u.slice(0,t)+"...":u}const Eb=function(){const e=wK();console.log(e?nc(...arguments)+`
|
|
691
|
+
|
|
692
|
+
`+e:nc(...arguments))};let wo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=nc(t),n=new Error([e,"Ignored nodes: comments, "+wo.defaultIgnore+`
|
|
693
|
+
`+r].filter(Boolean).join(`
|
|
694
|
+
|
|
695
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function AK(e){try{return wo._disableExpensiveErrorDiagnostics=!0,e()}finally{wo._disableExpensiveErrorDiagnostics=!1}}function PK(e){typeof e=="function"&&(e=e(wo)),wo={...wo,...e}}function we(){return wo}const TK=["button","meter","output","progress","select","textarea","input"];function ZT(e){return TK.includes(e.nodeName.toLowerCase())?"":e.nodeType===KT?e.textContent:Array.from(e.childNodes).map(t=>ZT(t)).join("")}function _b(e){let t;return e.tagName.toLowerCase()==="label"?t=ZT(e):t=e.value||e.textContent,t}function JT(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!OK(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function OK(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function XT(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o;const a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(u=>{const l=e.querySelector('[id="'+u+'"]');return l?{content:_b(l),formControl:null}:{content:"",formControl:null}}):Array.from(JT(t)).map(u=>{const l=_b(u),d=Array.from(u.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(f=>f.matches(i))[0];return{content:l,formControl:d}})}function QT(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Qi(e,t,r,n){if(typeof e!="string")return!1;QT(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):eO(r,o)}function un(e,t,r,n){if(typeof e!="string")return!1;QT(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?eO(r,o):o===String(r)}function h0(e){let t=e===void 0?{}:e,r=t.trim,n=r===void 0?!0:r,o=t.collapseWhitespace,i=o===void 0?!0:o;return a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function Do(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return h0({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function eO(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Mc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===KT&&!!t.textContent).map(t=>t.textContent).join("")}const $K=qK(Kt.elementRoles);function tO(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function th(e,t){t===void 0&&(t={});const r=t,n=r.isSubtreeInaccessible,o=n===void 0?tO:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function m0(e){for(const t of $K){const r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function qK(e){function t(a){let s=a.name,u=a.attributes;return""+s+u.map(l=>{let c=l.name,d=l.value,f=l.constraints,p=f===void 0?[]:f;const h=p.indexOf("undefined")!==-1,m=p.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':h?":not(["+c+"])":m?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let u=a.specificity;return s.specificity-u}function o(a){let s=a.attributes,u=s===void 0?[]:s;const l=u.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");l>=0&&(u=[...u.slice(0,l),...u.slice(l+1)]);const c=t({...a,attributes:u});return d=>l>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(const a of e.entries()){const s=a[0],u=a[1];i=[...i,{match:o(s),roles:Array.from(u),specificity:r(s)}]}return i.sort(n)}function rO(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,u)=>[...s,...i(u)],[])]}return i(e).filter(a=>o===!1?th(a)===!1:!0).reduce((a,s)=>{let u=[];return s.hasAttribute("role")?u=s.getAttribute("role").split(" ").slice(0,1):u=m0(s),u.reduce((l,c)=>Array.isArray(l[c])?{...l,[c]:[...l[c],s]}:{...l,[c]:[s]},a)},{})}function nO(e,t){let r=t.hidden,n=t.includeDescription;const o=rO(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1];const u="-".repeat(50),l=s.map(c=>{const d='Name "'+u0(c,{computedStyleSupportsPseudoElements:we().computedStyleSupportsPseudoElements})+`":
|
|
696
|
+
`,f=nc(c.cloneNode(!1));if(n){const p='Description "'+FT(c,{computedStyleSupportsPseudoElements:we().computedStyleSupportsPseudoElements})+`":
|
|
697
|
+
`;return""+d+p+f}return""+d+f}).join(`
|
|
698
|
+
|
|
699
|
+
`);return a+`:
|
|
700
|
+
|
|
701
|
+
`+l+`
|
|
702
|
+
|
|
703
|
+
`+u}).join(`
|
|
704
|
+
`)}const kK=function(e,t){let r=t===void 0?{}:t,n=r.hidden;return console.log(nO(e,{hidden:n===void 0?!1:n}))};function MK(e){return e.tagName==="OPTION"?e.selected:Nc(e,"aria-selected")}function NK(e){return e.getAttribute("aria-busy")==="true"}function IK(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Nc(e,"aria-checked")}function jK(e){return Nc(e,"aria-pressed")}function DK(e){var t,r;return(t=(r=Nc(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function LK(e){return Nc(e,"aria-expanded")}function Nc(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function FK(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function BK(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function zK(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function HK(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function UK(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const FS=h0();function VK(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function BS(e){return new RegExp(VK(e.toLowerCase()),"i")}function wn(e,t,r,n){let o=n.variant,i=n.name,a="";const s={},u=[["Role","TestId"].includes(e)?r:BS(r)];i&&(s.name=BS(i)),e==="Role"&&th(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
705
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
706
|
+
`),Object.keys(s).length>0&&u.push(s);const l=o+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:o,warning:a,toString(){a&&console.warn(a);let c=u[0],d=u[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(f=>{let p=f[0],h=f[1];return p+": "+h}).join(", ")+" }":"",l+"("+c+d+")"}}}function En(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Vf(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(we().defaultIgnore))return;const i=(n=e.getAttribute("role"))!=null?n:(o=m0(e))==null?void 0:o[0];if(i!=="generic"&&En("Role",r,i))return wn("Role",e,i,{variant:t,name:u0(e,{computedStyleSupportsPseudoElements:we().computedStyleSupportsPseudoElements})});const a=XT(document,e).map(f=>f.content).join(" ");if(En("LabelText",r,a))return wn("LabelText",e,a,{variant:t});const s=e.getAttribute("placeholder");if(En("PlaceholderText",r,s))return wn("PlaceholderText",e,s,{variant:t});const u=FS(Mc(e));if(En("Text",r,u))return wn("Text",e,u,{variant:t});if(En("DisplayValue",r,e.value))return wn("DisplayValue",e,FS(e.value),{variant:t});const l=e.getAttribute("alt");if(En("AltText",r,l))return wn("AltText",e,l,{variant:t});const c=e.getAttribute("title");if(En("Title",r,c))return wn("Title",e,c,{variant:t});const d=e.getAttribute(we().testIdAttribute);if(En("TestId",r,d))return wn("TestId",e,d,{variant:t})}function Ed(e,t){e.stack=t.stack.replace(t.message,e.message)}function WK(e,t){let r=t.container,n=r===void 0?p0():r,o=t.timeout,i=o===void 0?we().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?we().showOriginalStackTrace:a,u=t.stackTraceError,l=t.interval,c=l===void 0?50:l,d=t.onTimeout,f=d===void 0?m=>(Object.defineProperty(m,"message",{value:we().getElementError(m.message,n).message}),m):d,p=t.mutationObserverOptions,h=p===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:p;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(m,v)=>{let g,w,_,R=!1,x="idle";const y=setTimeout(q,i),b=Um();if(b){const H=we(),F=H.unstable_advanceTimersWrapper;for(N();!R;){if(!Um()){const T=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");s||Ed(T,u),v(T);return}if(await F(async()=>{jest.advanceTimersByTime(c)}),R)break;N()}}else{try{gn(n)}catch(T){v(T);return}w=setInterval(C,c);const H=YT(n),F=H.MutationObserver;_=new F(C),_.observe(n,h),N()}function E(H,F){R=!0,clearTimeout(y),b||(clearInterval(w),_.disconnect()),H?v(H):m(F)}function C(){if(Um()){const H=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return s||Ed(H,u),v(H)}else return N()}function N(){if(x!=="pending")try{const H=AK(e);typeof H?.then=="function"?(x="pending",H.then(F=>{x="resolved",E(null,F)},F=>{x="rejected",g=F})):E(null,H)}catch(H){g=H}}function q(){let H;g?(H=g,!s&&H.name==="TestingLibraryElementError"&&Ed(H,u)):(H=new Error("Timed out in waitFor."),s||Ed(H,u)),E(f(H),null)}})}function g0(e,t){const r=new Error("STACK_TRACE_MESSAGE");return we().asyncWrapper(()=>WK(e,{stackTraceError:r,...t}))}function rh(e,t){return we().getElementError(e,t)}function nh(e,t){return rh(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Lo(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,u=o.trim,l=o.normalizer;const c=a?un:Qi,d=Do({collapseWhitespace:s,trim:u,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(f=>c(f.getAttribute(e),f,r,d))}function oO(e,t,r,n){const o=Lo(e,t,r,n);if(o.length>1)throw nh("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function Pi(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(a.length>1){const s=a.map(u=>rh(null,u).message).join(`
|
|
707
|
+
|
|
708
|
+
`);throw nh(t(r,...o)+`
|
|
709
|
+
|
|
710
|
+
Here are the matching elements:
|
|
711
|
+
|
|
712
|
+
`+s,r)}return a[0]||null}}function iO(e,t){return we().getElementError(`A better query is available, try this:
|
|
713
|
+
`+e.toString()+`
|
|
714
|
+
`,t)}function b0(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(!a.length)throw we().getElementError(t(r,...o),r);return a}}function Ti(e){return(t,r,n,o)=>g0(()=>e(t,r,n),{container:t,...o})}const Fn=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const s=e(n,...i),u=i.slice(-1),l=u[0],c=l===void 0?{}:l,d=c.suggest,f=d===void 0?we().throwSuggestions:d;if(s&&f){const p=Vf(s,r);if(p&&!t.endsWith(p.queryName))throw iO(p.toString(),n)}return s},kt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const s=e(n,...i),u=i.slice(-1),l=u[0],c=l===void 0?{}:l,d=c.suggest,f=d===void 0?we().throwSuggestions:d;if(s.length&&f){const p=[...new Set(s.map(h=>{var m;return(m=Vf(h,r))==null?void 0:m.toString()}))];if(p.length===1&&!t.endsWith(Vf(s[0],r).queryName))throw iO(p[0],n)}return s};function bn(e,t,r){const n=Fn(Pi(e,t),e.name,"query"),o=b0(e,r),i=Pi(o,t),a=Fn(i,e.name,"get"),s=kt(o,e.name.replace("query","get"),"getAll"),u=Ti(kt(o,e.name,"findAll")),l=Ti(Fn(i,e.name,"find"));return[n,s,a,u,l]}var GK=Object.freeze({__proto__:null,getElementError:rh,wrapAllByQueryWithSuggestion:kt,wrapSingleQueryWithSuggestion:Fn,getMultipleElementsFoundError:nh,queryAllByAttribute:Lo,queryByAttribute:oO,makeSingleQuery:Pi,makeGetAllQuery:b0,makeFindQuery:Ti,buildQueries:bn});function KK(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:_b(t)})).filter(t=>t.textToMatch!==null)}const YK=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,u=n.normalizer;const l=i?un:Qi,c=Do({collapseWhitespace:s,trim:a,normalizer:u});return KK(e).filter(f=>{let p=f.node,h=f.textToMatch;return l(h,p,t,c)}).map(f=>f.node)},oc=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,u=n.collapseWhitespace,l=n.trim,c=n.normalizer;gn(e);const d=s?un:Qi,f=Do({collapseWhitespace:u,trim:l,normalizer:c}),p=Array.from(e.querySelectorAll("*")).filter(h=>JT(h).length||h.hasAttribute("aria-labelledby")).reduce((h,m)=>{const v=XT(e,m,{selector:i});v.filter(w=>!!w.formControl).forEach(w=>{d(w.content,w.formControl,t,f)&&w.formControl&&h.push(w.formControl)});const g=v.filter(w=>!!w.content).map(w=>w.content);return d(g.join(" "),m,t,f)&&h.push(m),g.length>1&&g.forEach((w,_)=>{d(w,m,t,f)&&h.push(m);const R=[...g];R.splice(_,1),R.length>1&&d(R.join(" "),m,t,f)&&h.push(m)}),h},[]).concat(Lo("aria-label",e,t,{exact:s,normalizer:f}));return Array.from(new Set(p)).filter(h=>h.matches(i))},Po=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];const i=oc(e,t,...n);if(!i.length){const a=YK(e,t,...n);if(a.length){const s=a.map(u=>ZK(e,u)).filter(u=>!!u);throw s.length?we().getElementError(s.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
715
|
+
|
|
716
|
+
`),e):we().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw we().getElementError("Unable to find a label with the text of: "+t,e)}return i};function ZK(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const aO=(e,t)=>"Found multiple elements with the text of: "+t,sO=Fn(Pi(oc,aO),oc.name,"query"),lO=Pi(Po,aO),uO=Ti(kt(Po,Po.name,"findAll")),cO=Ti(Fn(lO,Po.name,"find")),dO=kt(Po,Po.name,"getAll"),fO=Fn(lO,Po.name,"get"),pO=kt(oc,oc.name,"queryAll"),Sb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return gn(t[0]),Lo("placeholder",...t)},JK=(e,t)=>"Found multiple elements with the placeholder text of: "+t,XK=(e,t)=>"Unable to find an element with the placeholder text of: "+t,hO=kt(Sb,Sb.name,"queryAll"),Ic=bn(Sb,JK,XK),mO=Ic[0],gO=Ic[1],bO=Ic[2],vO=Ic[3],yO=Ic[4],Rb=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,u=n.collapseWhitespace,l=n.trim,c=n.ignore,d=c===void 0?we().defaultIgnore:c,f=n.normalizer;gn(e);const p=s?un:Qi,h=Do({collapseWhitespace:u,trim:l,normalizer:f});let m=[];return typeof e.matches=="function"&&e.matches(i)&&(m=[e]),[...m,...Array.from(e.querySelectorAll(i))].filter(v=>!d||!v.matches(d)).filter(v=>p(Mc(v),v,t,h))},QK=(e,t)=>"Found multiple elements with the text: "+t,eY=function(e,t,r){r===void 0&&(r={});const n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,l=Do({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=l!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?l+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},wO=kt(Rb,Rb.name,"queryAll"),jc=bn(Rb,QK,eY),EO=jc[0],_O=jc[1],SO=jc[2],RO=jc[3],xO=jc[4],xb=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,u=n.normalizer;gn(e);const l=i?un:Qi,c=Do({collapseWhitespace:a,trim:s,normalizer:u});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(p=>p.selected).some(p=>l(Mc(p),p,t,c)):l(d.value,d,t,c))},tY=(e,t)=>"Found multiple elements with the display value: "+t+".",rY=(e,t)=>"Unable to find an element with the display value: "+t+".",CO=kt(xb,xb.name,"queryAll"),Dc=bn(xb,tY,rY),AO=Dc[0],PO=Dc[1],TO=Dc[2],OO=Dc[3],$O=Dc[4],nY=/^(img|input|area|.+-.+)$/i,Cb=function(e,t,r){return r===void 0&&(r={}),gn(e),Lo("alt",e,t,r).filter(n=>nY.test(n.tagName))},oY=(e,t)=>"Found multiple elements with the alt text: "+t,iY=(e,t)=>"Unable to find an element with the alt text: "+t,qO=kt(Cb,Cb.name,"queryAll"),Lc=bn(Cb,oY,iY),kO=Lc[0],MO=Lc[1],NO=Lc[2],IO=Lc[3],jO=Lc[4],aY=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ab=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,u=n.normalizer;gn(e);const l=i?un:Qi,c=Do({collapseWhitespace:a,trim:s,normalizer:u});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>l(d.getAttribute("title"),d,t,c)||aY(d)&&l(Mc(d),d,t,c))},sY=(e,t)=>"Found multiple elements with the title: "+t+".",lY=(e,t)=>"Unable to find an element with the title: "+t+".",DO=kt(Ab,Ab.name,"queryAll"),Fc=bn(Ab,sY,lY),LO=Fc[0],FO=Fc[1],BO=Fc[2],zO=Fc[3],HO=Fc[4],Pb=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?we().defaultHidden:o,a=n.name,s=n.description,u=n.queryFallbacks,l=u===void 0?!1:u,c=n.selected,d=n.busy,f=n.checked,p=n.pressed,h=n.current,m=n.level,v=n.expanded,g=n.value,w=g===void 0?{}:g,_=w.now,R=w.min,x=w.max,y=w.text;if(gn(e),c!==void 0){var b;if(((b=Kt.roles.get(t))==null?void 0:b.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var E;if(((E=Kt.roles.get(t))==null?void 0:E.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(f!==void 0){var C;if(((C=Kt.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var N;if(((N=Kt.roles.get(t))==null?void 0:N.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(h!==void 0){var q;if(((q=Kt.roles.get(t))==null?void 0:q.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(_!==void 0){var H;if(((H=Kt.roles.get(t))==null?void 0:H.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(x!==void 0){var F;if(((F=Kt.roles.get(t))==null?void 0:F.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(R!==void 0){var T;if(((T=Kt.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var k;if(((k=Kt.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(v!==void 0){var I;if(((I=Kt.roles.get(t))==null?void 0:I.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const U=new WeakMap;function G(X){return U.has(X)||U.set(X,tO(X)),U.get(X)}return Array.from(e.querySelectorAll(uY(t))).filter(X=>{if(X.hasAttribute("role")){const $=X.getAttribute("role");return l?$.split(" ").filter(Boolean).some(L=>L===t):$.split(" ")[0]===t}return m0(X).some($=>$===t)}).filter(X=>{if(c!==void 0)return c===MK(X);if(d!==void 0)return d===NK(X);if(f!==void 0)return f===IK(X);if(p!==void 0)return p===jK(X);if(h!==void 0)return h===DK(X);if(v!==void 0)return v===LK(X);if(m!==void 0)return m===FK(X);if(_!==void 0||x!==void 0||R!==void 0||y!==void 0){let A=!0;if(_!==void 0&&A&&(A=_===BK(X)),x!==void 0&&A&&(A=x===zK(X)),R!==void 0&&A&&(A=R===HK(X)),y!==void 0){var Z;A&&(A=un((Z=UK(X))!=null?Z:null,X,y,$=>$))}return A}return!0}).filter(X=>a===void 0?!0:un(u0(X,{computedStyleSupportsPseudoElements:we().computedStyleSupportsPseudoElements}),X,a,Z=>Z)).filter(X=>s===void 0?!0:un(FT(X,{computedStyleSupportsPseudoElements:we().computedStyleSupportsPseudoElements}),X,s,Z=>Z)).filter(X=>i===!1?th(X,{isSubtreeInaccessible:G})===!1:!0)};function uY(e){var t;const r='*[role~="'+e+'"]',n=(t=Kt.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>i.name));return[r].concat(Array.from(o)).join(",")}const UO=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},cY=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+UO(o)},dY=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?we().defaultHidden:o,a=n.name,s=n.description;if(we()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+UO(a);let u="";Array.from(e.children).forEach(f=>{u+=nO(f,{hidden:i,includeDescription:s!==void 0})});let l;u.length===0?i===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
717
|
+
Here are the `+(i===!1?"accessible":"available")+` roles:
|
|
718
|
+
|
|
719
|
+
`+u.replace(/\n/g,`
|
|
720
|
+
`).replace(/\n\s\s\n/g,`
|
|
721
|
+
|
|
722
|
+
`)+`
|
|
723
|
+
`).trim();let c="";a===void 0?c="":typeof a=="string"?c=' and name "'+a+'"':c=" and name `"+a+"`";let d="";return s===void 0?d="":typeof s=="string"?d=' and description "'+s+'"':d=" and description `"+s+"`",(`
|
|
724
|
+
Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+c+d+`
|
|
725
|
+
|
|
726
|
+
`+l).trim()},VO=kt(Pb,Pb.name,"queryAll"),Bc=bn(Pb,cY,dY),WO=Bc[0],GO=Bc[1],KO=Bc[2],YO=Bc[3],ZO=Bc[4],v0=()=>we().testIdAttribute,Tb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return gn(t[0]),Lo(v0(),...t)},fY=(e,t)=>"Found multiple elements by: ["+v0()+'="'+t+'"]',pY=(e,t)=>"Unable to find an element by: ["+v0()+'="'+t+'"]',JO=kt(Tb,Tb.name,"queryAll"),zc=bn(Tb,fY,pY),XO=zc[0],QO=zc[1],e5=zc[2],t5=zc[3],r5=zc[4];var Wf=Object.freeze({__proto__:null,queryAllByLabelText:pO,queryByLabelText:sO,getAllByLabelText:dO,getByLabelText:fO,findAllByLabelText:uO,findByLabelText:cO,queryByPlaceholderText:mO,queryAllByPlaceholderText:hO,getByPlaceholderText:bO,getAllByPlaceholderText:gO,findAllByPlaceholderText:vO,findByPlaceholderText:yO,queryByText:EO,queryAllByText:wO,getByText:SO,getAllByText:_O,findAllByText:RO,findByText:xO,queryByDisplayValue:AO,queryAllByDisplayValue:CO,getByDisplayValue:TO,getAllByDisplayValue:PO,findAllByDisplayValue:OO,findByDisplayValue:$O,queryByAltText:kO,queryAllByAltText:qO,getByAltText:NO,getAllByAltText:MO,findAllByAltText:IO,findByAltText:jO,queryByTitle:LO,queryAllByTitle:DO,getByTitle:BO,getAllByTitle:FO,findAllByTitle:zO,findByTitle:HO,queryByRole:WO,queryAllByRole:VO,getAllByRole:GO,getByRole:KO,findAllByRole:YO,findByRole:ZO,queryByTestId:XO,queryAllByTestId:JO,getByTestId:e5,getAllByTestId:QO,findAllByTestId:t5,findByTestId:r5});function Ob(e,t,r){return t===void 0&&(t=Wf),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const i=t[o];return n[o]=i.bind(null,e),n},r)}const n5=e=>!e||Array.isArray(e)&&!e.length;function zS(e){if(n5(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function hY(e,t){const r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){zS(e);const o=(Array.isArray(e)?e:[e]).map(i=>{let a=i.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(i)?i:null});e=()=>o.map(i=>i()).filter(Boolean)}return zS(e()),g0(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!n5(n))throw r},t)}const HS={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},US={doubleClick:"dblClick"},mY=["value","files"],gY=["bubbles","cancelable","detail"];function ic(e,t){return we().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function nf(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,u=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const l={...u,...r},c=l.target,d=c===void 0?{}:c,f=d.value,p=d.files,h=yb(d,mY);f!==void 0&&bY(t,f),p!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:p}),Object.assign(t,h);const m=YT(t),v=m[a]||m.Event;let g;if(typeof v=="function")g=new v(e,l);else{g=m.document.createEvent(a);const _=l.bubbles,R=l.cancelable,x=l.detail,y=yb(l,gY);g.initEvent(e,_,R,x),Object.keys(y).forEach(b=>{g[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(_=>{const R=l[_];typeof R=="object"&&(typeof m.DataTransfer=="function"?Object.defineProperty(g,_,{value:Object.getOwnPropertyNames(R).reduce((x,y)=>(Object.defineProperty(x,y,{value:R[y]}),x),new m.DataTransfer)}):Object.defineProperty(g,_,{value:R}))}),g}Object.keys(HS).forEach(e=>{const t=HS[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();nf[e]=(i,a)=>nf(o,i,a,{EventType:r,defaultInit:n}),ic[e]=(i,a)=>ic(i,nf[e](i,a))});function bY(e,t){const r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.call(e,t);else if(n)n.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(US).forEach(e=>{const t=US[e];ic[e]=function(){return ic[t](...arguments)}});function vY(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
727
|
+
`)}function yY(e){return aK.compressToEncodedURIComponent(vY(e))}function wY(e){return"https://testing-playground.com/#markup="+yY(e)}const EY=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Eb(n,t,r)):Eb(e,t,r),_Y=function(e){if(e===void 0&&(e=p0().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=wY(e.innerHTML);return console.log(`Open this URL in your browser
|
|
728
|
+
|
|
729
|
+
`+t),t},VS={debug:EY,logTestingPlaygroundURL:_Y},SY=typeof document<"u"&&document.body?Ob(document.body,Wf,VS):Object.keys(Wf).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),VS),RY=Object.freeze(Object.defineProperty({__proto__:null,buildQueries:bn,configure:PK,createEvent:nf,findAllByAltText:IO,findAllByDisplayValue:OO,findAllByLabelText:uO,findAllByPlaceholderText:vO,findAllByRole:YO,findAllByTestId:t5,findAllByText:RO,findAllByTitle:zO,findByAltText:jO,findByDisplayValue:$O,findByLabelText:cO,findByPlaceholderText:yO,findByRole:ZO,findByTestId:r5,findByText:xO,findByTitle:HO,fireEvent:ic,getAllByAltText:MO,getAllByDisplayValue:PO,getAllByLabelText:dO,getAllByPlaceholderText:gO,getAllByRole:GO,getAllByTestId:QO,getAllByText:_O,getAllByTitle:FO,getByAltText:NO,getByDisplayValue:TO,getByLabelText:fO,getByPlaceholderText:bO,getByRole:KO,getByTestId:e5,getByText:SO,getByTitle:BO,getConfig:we,getDefaultNormalizer:h0,getElementError:rh,getMultipleElementsFoundError:nh,getNodeText:Mc,getQueriesForElement:Ob,getRoles:rO,getSuggestedQuery:Vf,isInaccessible:th,logDOM:Eb,logRoles:kK,makeFindQuery:Ti,makeGetAllQuery:b0,makeSingleQuery:Pi,prettyDOM:nc,prettyFormat:CU,queries:Wf,queryAllByAltText:qO,queryAllByAttribute:Lo,queryAllByDisplayValue:CO,queryAllByLabelText:pO,queryAllByPlaceholderText:hO,queryAllByRole:VO,queryAllByTestId:JO,queryAllByText:wO,queryAllByTitle:DO,queryByAltText:kO,queryByAttribute:oO,queryByDisplayValue:AO,queryByLabelText:sO,queryByPlaceholderText:mO,queryByRole:WO,queryByTestId:XO,queryByText:EO,queryByTitle:LO,queryHelpers:GK,screen:SY,waitFor:g0,waitForElementToBeRemoved:hY,within:Ob,wrapAllByQueryWithSuggestion:kt,wrapSingleQueryWithSuggestion:Fn},Symbol.toStringTag,{value:"Module"}));var xY=V({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),CY=V({"../../node_modules/strip-indent/index.js"(e,t){var r=xY();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),AY=V({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),o5=V({"../../node_modules/redent/index.js"(e,t){var r=CY(),n=AY();t.exports=(o,i=0,a)=>n(r(o),i,a)}}),PY=V({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}}};return o}e.default=t}}),Hc=V({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(PY());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(i)}function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}}}),TY=V({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Hc());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return u(d)||s(d,f)||i(d,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
730
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,f){if(d){if(typeof d=="string")return a(d,f);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?a(d,f):void 0}}function a(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,h=Array(f);p<f;p++)h[p]=d[p];return h}function s(d,f){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,m,v,g,w=[],_=!0,R=!1;try{if(v=(p=p.call(d)).next,f===0){if(Object(p)!==p)return;_=!1}else for(;!(_=(h=v.call(p)).done)&&(w.push(h.value),w.length!==f);_=!0);}catch(x){R=!0,m=x}finally{try{if(!_&&p.return!=null&&(g=p.return(),Object(g)!==g))return}finally{if(R)throw m}}return w}}function u(d){if(Array.isArray(d))return d}var l=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return l},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=l;p<h.length;p++){var m=n(h[p],2),v=m[0],g=m[1];d.call(f,g,v,l)}},get:function(d){var f=l.filter(function(p){return p[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return l.map(function(d){var f=n(d,1),p=f[0];return p})},values:function(){return l.map(function(d){var f=n(d,2),p=f[1];return p})}};e.default=(0,t.default)(c,c.entries())}}),OY=V({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Hc());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return u(d)||s(d,f)||i(d,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
731
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,f){if(d){if(typeof d=="string")return a(d,f);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?a(d,f):void 0}}function a(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,h=Array(f);p<f;p++)h[p]=d[p];return h}function s(d,f){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,m,v,g,w=[],_=!0,R=!1;try{if(v=(p=p.call(d)).next,f===0){if(Object(p)!==p)return;_=!1}else for(;!(_=(h=v.call(p)).done)&&(w.push(h.value),w.length!==f);_=!0);}catch(x){R=!0,m=x}finally{try{if(!_&&p.return!=null&&(g=p.return(),Object(g)!==g))return}finally{if(R)throw m}}return w}}function u(d){if(Array.isArray(d))return d}var l=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return l},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=l;p<h.length;p++){var m=n(h[p],2),v=m[0],g=m[1];d.call(f,g,v,l)}},get:function(d){var f=l.filter(function(p){return p[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return l.map(function(d){var f=n(d,1),p=f[0];return p})},values:function(){return l.map(function(d){var f=n(d,2),p=f[1];return p})}};e.default=(0,t.default)(c,c.entries())}}),$Y=V({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),qY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),kY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),MY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),NY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),IY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),jY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),DY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),LY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),FY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),BY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),zY=V({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),HY=V({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p($Y()),r=p(qY()),n=p(kY()),o=p(MY()),i=p(NY()),a=p(IY()),s=p(jY()),u=p(DY()),l=p(LY()),c=p(FY()),d=p(BY()),f=p(zY());function p(m){return m&&m.__esModule?m:{default:m}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",a.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",f.default]];e.default=h}}),UY=V({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VY=V({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),WY=V({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),GY=V({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),KY=V({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),YY=V({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ZY=V({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),JY=V({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XY=V({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QY=V({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),eZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),rZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),nZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),iZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),sZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),lZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),uZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),cZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),fZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),pZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),mZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),gZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),bZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),yZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),EZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),_Z=V({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),SZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),RZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),CZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),AZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),PZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),TZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),OZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),$Z=V({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),qZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),kZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),MZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),NZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),IZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),DZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),LZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),FZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),BZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),zZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),HZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),UZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),VZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),WZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),GZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),KZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),YZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),ZZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),XZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),QZ=V({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),eJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),tJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),aJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),sJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),uJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),fJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),pJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),hJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),mJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),bJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),vJ=V({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),yJ=V({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(UY()),r=re(VY()),n=re(WY()),o=re(GY()),i=re(KY()),a=re(YY()),s=re(ZY()),u=re(JY()),l=re(XY()),c=re(QY()),d=re(eZ()),f=re(tZ()),p=re(rZ()),h=re(nZ()),m=re(oZ()),v=re(iZ()),g=re(aZ()),w=re(sZ()),_=re(lZ()),R=re(uZ()),x=re(cZ()),y=re(dZ()),b=re(fZ()),E=re(pZ()),C=re(hZ()),N=re(mZ()),q=re(gZ()),H=re(bZ()),F=re(vZ()),T=re(yZ()),k=re(wZ()),I=re(EZ()),U=re(_Z()),G=re(SZ()),X=re(RZ()),Z=re(xZ()),A=re(CZ()),$=re(AZ()),M=re(PZ()),K=re(TZ()),L=re(OZ()),D=re($Z()),Y=re(qZ()),ee=re(kZ()),j=re(MZ()),ne=re(NZ()),se=re(IZ()),be=re(jZ()),ve=re(DZ()),ke=re(LZ()),le=re(FZ()),he=re(BZ()),mt=re(zZ()),Bo=re(HZ()),na=re(UZ()),oa=re(VZ()),Oh=re(WZ()),$h=re(GZ()),qh=re(KZ()),kh=re(YZ()),Mh=re(ZZ()),Nh=re(JZ()),Ih=re(XZ()),jh=re(QZ()),Dh=re(eJ()),Lh=re(tJ()),Fh=re(rJ()),Bh=re(nJ()),zh=re(oJ()),Hh=re(iJ()),Uh=re(aJ()),Vh=re(sJ()),Wh=re(lJ()),Gh=re(uJ()),Kh=re(cJ()),Yh=re(dJ()),Zh=re(fJ()),Jh=re(pJ()),Xh=re(hJ()),Qh=re(mJ()),em=re(gJ()),tm=re(bJ()),te=re(vJ());function re(jr){return jr&&jr.__esModule?jr:{default:jr}}var rm=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",a.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",h.default],["contentinfo",m.default],["definition",v.default],["deletion",g.default],["dialog",w.default],["directory",_.default],["document",R.default],["emphasis",x.default],["feed",y.default],["figure",b.default],["form",E.default],["generic",C.default],["grid",N.default],["gridcell",q.default],["group",H.default],["heading",F.default],["img",T.default],["insertion",k.default],["link",I.default],["list",U.default],["listbox",G.default],["listitem",X.default],["log",Z.default],["main",A.default],["mark",$.default],["marquee",M.default],["math",K.default],["menu",L.default],["menubar",D.default],["menuitem",Y.default],["menuitemcheckbox",ee.default],["menuitemradio",j.default],["meter",ne.default],["navigation",se.default],["none",be.default],["note",ve.default],["option",ke.default],["paragraph",le.default],["presentation",he.default],["progressbar",mt.default],["radio",Bo.default],["radiogroup",na.default],["region",oa.default],["row",Oh.default],["rowgroup",$h.default],["rowheader",qh.default],["scrollbar",kh.default],["search",Mh.default],["searchbox",Nh.default],["separator",Ih.default],["slider",jh.default],["spinbutton",Dh.default],["status",Lh.default],["strong",Fh.default],["subscript",Bh.default],["superscript",zh.default],["switch",Hh.default],["tab",Uh.default],["table",Vh.default],["tablist",Wh.default],["tabpanel",Gh.default],["term",Kh.default],["textbox",Yh.default],["time",Zh.default],["timer",Jh.default],["toolbar",Xh.default],["tooltip",Qh.default],["tree",em.default],["treegrid",tm.default],["treeitem",te.default]];e.default=rm}}),wJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),EJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_J=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),SJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),RJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),xJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),CJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),AJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),PJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),TJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),OJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$J=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),qJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),MJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),NJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),IJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),DJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),LJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),FJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),BJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),zJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),HJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),UJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),VJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),WJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),GJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),KJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),YJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),ZJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),JJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),QJ=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),eX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),nX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),iX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),aX=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),sX=V({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(wJ()),r=D(EJ()),n=D(_J()),o=D(SJ()),i=D(RJ()),a=D(xJ()),s=D(CJ()),u=D(AJ()),l=D(PJ()),c=D(TJ()),d=D(OJ()),f=D($J()),p=D(qJ()),h=D(kJ()),m=D(MJ()),v=D(NJ()),g=D(IJ()),w=D(jJ()),_=D(DJ()),R=D(LJ()),x=D(FJ()),y=D(BJ()),b=D(zJ()),E=D(HJ()),C=D(UJ()),N=D(VJ()),q=D(WJ()),H=D(GJ()),F=D(KJ()),T=D(YJ()),k=D(ZJ()),I=D(JJ()),U=D(XJ()),G=D(QJ()),X=D(eX()),Z=D(tX()),A=D(rX()),$=D(nX()),M=D(oX()),K=D(iX()),L=D(aX());function D(ee){return ee&&ee.__esModule?ee:{default:ee}}var Y=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",a.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",m.default],["doc-endnote",v.default],["doc-endnotes",g.default],["doc-epigraph",w.default],["doc-epilogue",_.default],["doc-errata",R.default],["doc-example",x.default],["doc-footnote",y.default],["doc-foreword",b.default],["doc-glossary",E.default],["doc-glossref",C.default],["doc-index",N.default],["doc-introduction",q.default],["doc-noteref",H.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagefooter",k.default],["doc-pageheader",I.default],["doc-pagelist",U.default],["doc-part",G.default],["doc-preface",X.default],["doc-prologue",Z.default],["doc-pullquote",A.default],["doc-qna",$.default],["doc-subtitle",M.default],["doc-tip",K.default],["doc-toc",L.default]];e.default=Y}}),lX=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),uX=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),cX=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),dX=V({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(lX()),r=o(uX()),n=o(cX());function o(a){return a&&a.__esModule?a:{default:a}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}}),y0=V({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(HY()),r=a(yJ()),n=a(sX()),o=a(dX()),i=a(Hc());function a(v){return v&&v.__esModule?v:{default:v}}function s(v,g){var w=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!w){if(Array.isArray(v)||(w=c(v))||g){w&&(v=w);var _=0,R=function(){};return{s:R,n:function(){return _>=v.length?{done:!0}:{done:!1,value:v[_++]}},e:function(E){throw E},f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
732
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var x,y=!0,b=!1;return{s:function(){w=w.call(v)},n:function(){var E=w.next();return y=E.done,E},e:function(E){b=!0,x=E},f:function(){try{y||w.return==null||w.return()}finally{if(b)throw x}}}}function u(v,g){return p(v)||f(v,g)||c(v,g)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
733
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(v,g){if(v){if(typeof v=="string")return d(v,g);var w={}.toString.call(v).slice(8,-1);return w==="Object"&&v.constructor&&(w=v.constructor.name),w==="Map"||w==="Set"?Array.from(v):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?d(v,g):void 0}}function d(v,g){(g==null||g>v.length)&&(g=v.length);for(var w=0,_=Array(g);w<g;w++)_[w]=v[w];return _}function f(v,g){var w=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(w!=null){var _,R,x,y,b=[],E=!0,C=!1;try{if(x=(w=w.call(v)).next,g===0){if(Object(w)!==w)return;E=!1}else for(;!(E=(_=x.call(w)).done)&&(b.push(_.value),b.length!==g);E=!0);}catch(N){C=!0,R=N}finally{try{if(!E&&w.return!=null&&(y=w.return(),Object(y)!==y))return}finally{if(C)throw R}}return b}}function p(v){if(Array.isArray(v))return v}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(v){var g=u(v,2),w=g[1],_=s(w.superClass),R;try{for(_.s();!(R=_.n()).done;){var x=R.value,y=s(x),b;try{var E=function(){var C=b.value,N=h.filter(function(k){var I=u(k,1),U=I[0];return U===C})[0];if(N)for(var q=N[1],H=0,F=Object.keys(q.props);H<F.length;H++){var T=F[H];Object.prototype.hasOwnProperty.call(w.props,T)||(w.props[T]=q.props[T])}};for(y.s();!(b=y.n()).done;)E()}catch(C){y.e(C)}finally{y.f()}}}catch(C){_.e(C)}finally{_.f()}});var m={entries:function(){return h},forEach:function(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=s(h),_;try{for(w.s();!(_=w.n()).done;){var R=u(_.value,2),x=R[0],y=R[1];v.call(g,y,x,h)}}catch(b){w.e(b)}finally{w.f()}},get:function(v){var g=h.filter(function(w){return w[0]===v})[0];return g&&g[1]},has:function(v){return!!m.get(v)},keys:function(){return h.map(function(v){var g=u(v,1),w=g[0];return w})},values:function(){return h.map(function(v){var g=u(v,2),w=g[1];return w})}};e.default=(0,i.default)(m,m.entries())}}),fX=V({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Hc()),r=n(y0());function n(y){return y&&y.__esModule?y:{default:y}}function o(y,b){return l(y)||u(y,b)||a(y,b)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
734
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(y,b){if(y){if(typeof y=="string")return s(y,b);var E={}.toString.call(y).slice(8,-1);return E==="Object"&&y.constructor&&(E=y.constructor.name),E==="Map"||E==="Set"?Array.from(y):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?s(y,b):void 0}}function s(y,b){(b==null||b>y.length)&&(b=y.length);for(var E=0,C=Array(b);E<b;E++)C[E]=y[E];return C}function u(y,b){var E=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(E!=null){var C,N,q,H,F=[],T=!0,k=!1;try{if(q=(E=E.call(y)).next,b===0){if(Object(E)!==E)return;T=!1}else for(;!(T=(C=q.call(E)).done)&&(F.push(C.value),F.length!==b);T=!0);}catch(I){k=!0,N=I}finally{try{if(!T&&E.return!=null&&(H=E.return(),Object(H)!==H))return}finally{if(k)throw N}}return F}}function l(y){if(Array.isArray(y))return y}var c=[],d=r.default.keys();for(g=0;g<d.length;g++)if(f=d[g],p=r.default.get(f),p)for(h=[].concat(p.baseConcepts,p.relatedConcepts),m=function(){var y=h[v];if(y.module==="HTML"){var b=y.concept;if(b){var E=c.filter(function(H){return _(H[0],b)})[0],C;E?C=E[1]:C=[];for(var N=!0,q=0;q<C.length;q++)if(C[q]===f){N=!1;break}N&&C.push(f),E||c.push([b,C])}}},v=0;v<h.length;v++)m();var f,p,h,m,v,g,w={entries:function(){return c},forEach:function(y){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,C=c;E<C.length;E++){var N=o(C[E],2),q=N[0],H=N[1];y.call(b,H,q,c)}},get:function(y){var b=c.filter(function(E){return y.name===E[0].name&&x(y.attributes,E[0].attributes)})[0];return b&&b[1]},has:function(y){return!!w.get(y)},keys:function(){return c.map(function(y){var b=o(y,1),E=b[0];return E})},values:function(){return c.map(function(y){var b=o(y,2),E=b[1];return E})}};function _(y,b){return y.name===b.name&&R(y.constraints,b.constraints)&&x(y.attributes,b.attributes)}function R(y,b){if(y===void 0&&b!==void 0||y!==void 0&&b===void 0)return!1;if(y!==void 0&&b!==void 0){if(y.length!==b.length)return!1;for(var E=0;E<y.length;E++)if(y[E]!==b[E])return!1}return!0}function x(y,b){if(y===void 0&&b!==void 0||y!==void 0&&b===void 0)return!1;if(y!==void 0&&b!==void 0){if(y.length!==b.length)return!1;for(var E=0;E<y.length;E++){if(y[E].name!==b[E].name||y[E].value!==b[E].value||y[E].constraints===void 0&&b[E].constraints!==void 0||y[E].constraints!==void 0&&b[E].constraints===void 0)return!1;if(y[E].constraints!==void 0&&b[E].constraints!==void 0){if(y[E].constraints.length!==b[E].constraints.length)return!1;for(var C=0;C<y[E].constraints.length;C++)if(y[E].constraints[C]!==b[E].constraints[C])return!1}}}return!0}e.default=(0,t.default)(w,w.entries())}}),pX=V({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Hc()),r=n(y0());function n(x){return x&&x.__esModule?x:{default:x}}function o(x,y){return l(x)||u(x,y)||a(x,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
735
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(x,y){if(x){if(typeof x=="string")return s(x,y);var b={}.toString.call(x).slice(8,-1);return b==="Object"&&x.constructor&&(b=x.constructor.name),b==="Map"||b==="Set"?Array.from(x):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?s(x,y):void 0}}function s(x,y){(y==null||y>x.length)&&(y=x.length);for(var b=0,E=Array(y);b<y;b++)E[b]=x[b];return E}function u(x,y){var b=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(b!=null){var E,C,N,q,H=[],F=!0,T=!1;try{if(N=(b=b.call(x)).next,y===0){if(Object(b)!==b)return;F=!1}else for(;!(F=(E=N.call(b)).done)&&(H.push(E.value),H.length!==y);F=!0);}catch(k){T=!0,C=k}finally{try{if(!F&&b.return!=null&&(q=b.return(),Object(q)!==q))return}finally{if(T)throw C}}return H}}function l(x){if(Array.isArray(x))return x}var c=[],d=r.default.keys();for(_=0;_<d.length;_++)if(f=d[_],p=r.default.get(f),h=[],p){for(m=[].concat(p.baseConcepts,p.relatedConcepts),w=0;w<m.length;w++)v=m[w],v.module==="HTML"&&(g=v.concept,g!=null&&h.push(g));h.length>0&&c.push([f,h])}var f,p,h,m,v,g,w,_,R={entries:function(){return c},forEach:function(x){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,E=c;b<E.length;b++){var C=o(E[b],2),N=C[0],q=C[1];x.call(y,q,N,c)}},get:function(x){var y=c.filter(function(b){return b[0]===x})[0];return y&&y[1]},has:function(x){return!!R.get(x)},keys:function(){return c.map(function(x){var y=o(x,1),b=y[0];return b})},values:function(){return c.map(function(x){var y=o(x,2),b=y[1];return b})}};e.default=(0,t.default)(R,R.entries())}}),i5=V({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(TY()),r=a(OY()),n=a(y0()),o=a(fX()),i=a(pX());function a(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}}),a5=V({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),a=i.length,s=-1,u,l="",c=i.charCodeAt(0);++s<a;){if(u=i.charCodeAt(s),u==0){l+="�";continue}if(u>=1&&u<=31||u==127||s==0&&u>=48&&u<=57||s==1&&u>=48&&u<=57&&c==45){l+="\\"+u.toString(16)+" ";continue}if(s==0&&a==1&&u==45){l+="\\"+i.charAt(s);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){l+=i.charAt(s);continue}l+="\\"+i.charAt(s)}return l};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),s5=Object.defineProperty,W=(e,t)=>s5(e,"name",{value:t,configurable:!0}),w0=(e,t)=>{for(var r in t)s5(e,r,{get:t[r],enumerable:!0})},Ar={};w0(Ar,{addChainableMethod:()=>q0,addLengthGuard:()=>Wc,addMethod:()=>T0,addProperty:()=>P0,checkError:()=>Dt,compareByInspect:()=>Zf,eql:()=>M5,expectTypes:()=>h5,flag:()=>fe,getActual:()=>ih,getMessage:()=>S0,getName:()=>sh,getOperator:()=>I0,getOwnEnumerableProperties:()=>N0,getOwnEnumerablePropertySymbols:()=>M0,getPathInfo:()=>A0,hasProperty:()=>ah,inspect:()=>_e,isNaN:()=>Jf,isNumeric:()=>ct,isProxyEnabled:()=>Vc,isRegExp:()=>Xf,objDisplay:()=>Eo,overwriteChainableMethod:()=>k0,overwriteMethod:()=>$0,overwriteProperty:()=>O0,proxify:()=>ea,test:()=>E0,transferFlags:()=>pr,type:()=>qe});var Dt={};w0(Dt,{compatibleConstructor:()=>c5,compatibleInstance:()=>u5,compatibleMessage:()=>d5,getConstructorName:()=>f5,getMessage:()=>p5});function oh(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}W(oh,"isErrorInstance");function l5(e){return Object.prototype.toString.call(e)==="[object RegExp]"}W(l5,"isRegExp");function u5(e,t){return oh(t)&&e===t}W(u5,"compatibleInstance");function c5(e,t){return oh(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}W(c5,"compatibleConstructor");function d5(e,t){let r=typeof e=="string"?e:e.message;return l5(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}W(d5,"compatibleMessage");function f5(e){let t=e;return oh(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}W(f5,"getConstructorName");function p5(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}W(p5,"getMessage");function fe(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}W(fe,"flag");function E0(e,t){let r=fe(e,"negate"),n=t[0];return r?!n:n}W(E0,"test");function qe(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}W(qe,"type");var hX="captureStackTrace"in Error,_d,xe=(_d=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,hX&&Error.captureStackTrace(this,r||_d);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},W(_d,"AssertionError"),_d);function h5(e,t){let r=fe(e,"message"),n=fe(e,"ssfi");r=r?r+": ":"",e=fe(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,s){let u=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+a}).join(", "),i=qe(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new xe(r+"object tested must be "+o+", but "+i+" given",void 0,n)}W(h5,"expectTypes");function ih(e,t){return t.length>4?t[4]:e._obj}W(ih,"getActual");var WS={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},mX={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Oi="…";function m5(e,t){let r=WS[mX[t]]||WS[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}W(m5,"colorise");function g5({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=m5),d}W(g5,"normaliseOptions");function b5(e){return e>="\uD800"&&e<="\uDBFF"}W(b5,"isHighSurrogate");function vn(e,t,r=Oi){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&b5(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}W(vn,"truncate");function Qt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",s="",u="";for(let l=0;l<o;l+=1){let c=l+1===e.length,d=l+2===e.length;u=`${Oi}(${e.length-l})`;let f=e[l];t.truncate=i-a.length-(c?0:n.length);let p=s||r(f,t)+(c?"":n),h=a.length+p.length,m=h+u.length;if(c&&h>i&&a.length+u.length<=i||!c&&!d&&m>i||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&m>i&&h+s.length>i))break;if(a+=p,!c&&!d&&h+s.length>=i){u=`${Oi}(${e.length-l-1})`;break}u=""}return`${a}${u}`}W(Qt,"inspectList");function v5(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}W(v5,"quoteComplexKey");function $i([e,t],r){return r.truncate-=2,typeof e=="string"?e=v5(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}W($i,"inspectProperty");function y5(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Qt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Qt(r.map(i=>[i,e[i]]),t,$i)),`[ ${n}${o?`, ${o}`:""} ]`}W(y5,"inspectArray");var gX=W(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Er(e,t){let r=gX(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let s=`${t.stylize(vn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){o+=`${Oi}(${e.length-e[a]+1})`;break}o+=s}let i="";return n.length&&(i=Qt(n.map(a=>[a,e[a]]),t,$i)),`${r}[ ${o}${i?`, ${i}`:""} ]`}W(Er,"inspectTypedArray");function w5(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${vn(n[1],t.truncate-o.length-1)}`,"date")}W(w5,"inspectDate");function $b(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${vn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}W($b,"inspectFunction");function E5([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}W(E5,"inspectMapEntry");function _5(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}W(_5,"mapToEntries");function S5(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Qt(_5(e),t,E5)} }`)}W(S5,"inspectMap");var bX=Number.isNaN||(e=>e!==e);function qb(e,t){return bX(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(vn(String(e),t.truncate),"number")}W(qb,"inspectNumber");function kb(e,t){let r=vn(e.toString(),t.truncate-1);return r!==Oi&&(r+="n"),t.stylize(r,"bigint")}W(kb,"inspectBigInt");function R5(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${vn(o,n)}/${r}`,"regexp")}W(R5,"inspectRegExp");function x5(e){let t=[];return e.forEach(r=>{t.push(r)}),t}W(x5,"arrayFromSet");function C5(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Qt(x5(e),t)} }`)}W(C5,"inspectSet");var GS=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),vX={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},yX=16;function A5(e){return vX[e]||`\\u${`0000${e.charCodeAt(0).toString(yX)}`.slice(-4)}`}W(A5,"escape");function Mb(e,t){return GS.test(e)&&(e=e.replace(GS,A5)),t.stylize(`'${vn(e,t.truncate-2)}'`,"string")}W(Mb,"inspectString");function Nb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}W(Nb,"inspectSymbol");var wX=W(()=>"Promise{…}","getPromiseValue"),EX=wX;function ju(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Qt(r.map(s=>[s,e[s]]),t,$i),i=Qt(n.map(s=>[s,e[s]]),t,$i);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}W(ju,"inspectObject");var Vm=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function P5(e,t){let r="";return Vm&&Vm in e&&(r=e[Vm]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ju(e,t)}`}W(P5,"inspectClass");function T5(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Qt(e,t)} ]`)}W(T5,"inspectArguments");var _X=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function O5(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>_X.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=vn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Qt(r.map(a=>[a,e[a]]),t,$i);return`${n}${o}${i?` { ${i} }`:""}`}W(O5,"inspectObject");function $5([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}W($5,"inspectAttribute");function Gf(e,t){return Qt(e,t,q5,`
|
|
736
|
+
`)}W(Gf,"inspectNodeCollection");function q5(e,t){switch(e.nodeType){case 1:return _0(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}W(q5,"inspectNode");function _0(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Qt(r.map(c=>[c,e.getAttribute(c)]),t,$5," ")),t.truncate-=s.length;let u=t.truncate,l=Gf(e.children,t);return l&&l.length>u&&(l=`${Oi}(${e.children.length})`),`${o}${s}${i}${l}${a}`}W(_0,"inspectHTML");var SX=typeof Symbol=="function"&&typeof Symbol.for=="function",Wm=SX?Symbol.for("chai/inspect"):"@@chai/inspect",Gm=Symbol.for("nodejs.util.inspect.custom"),KS=new WeakMap,YS={},ZS={undefined:W((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:W((e,t)=>t.stylize("null","null"),"null"),boolean:W((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:W((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:qb,Number:qb,bigint:kb,BigInt:kb,string:Mb,String:Mb,function:$b,Function:$b,symbol:Nb,Symbol:Nb,Array:y5,Date:w5,Map:S5,Set:C5,RegExp:R5,Promise:EX,WeakSet:W((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:W((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:T5,Int8Array:Er,Uint8Array:Er,Uint8ClampedArray:Er,Int16Array:Er,Uint16Array:Er,Int32Array:Er,Uint32Array:Er,Float32Array:Er,Float64Array:Er,Generator:W(()=>"","Generator"),DataView:W(()=>"","DataView"),ArrayBuffer:W(()=>"","ArrayBuffer"),Error:O5,HTMLCollection:Gf,NodeList:Gf},RX=W((e,t,r)=>Wm in e&&typeof e[Wm]=="function"?e[Wm](t):Gm in e&&typeof e[Gm]=="function"?e[Gm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&KS.has(e.constructor)?KS.get(e.constructor)(e,t):YS[r]?YS[r](e,t):"","inspectCustom"),xX=Object.prototype.toString;function Kf(e,t={}){let r=g5(t,Kf),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=xX.call(e).slice(8,-1)),o in ZS)return ZS[o](e,r);if(n&&e){let a=RX(e,r,o);if(a)return typeof a=="string"?a:Kf(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ju(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?_0(e,r):"constructor"in e?e.constructor!==Object?P5(e,r):ju(e,r):e===Object(e)?ju(e,r):r.stylize(String(e),o)}W(Kf,"inspect");var Ot={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function _e(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ot.truncateThreshold?Ot.truncateThreshold:1/0};return Kf(e,o)}W(_e,"inspect");function Eo(e){let t=_e(e),r=Object.prototype.toString.call(e);if(Ot.truncateThreshold&&t.length>=Ot.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}W(Eo,"objDisplay");function S0(e,t){let r=fe(e,"negate"),n=fe(e,"object"),o=t[3],i=ih(e,t),a=r?t[2]:t[1],s=fe(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Eo(n)}).replace(/#\{act\}/g,function(){return Eo(i)}).replace(/#\{exp\}/g,function(){return Eo(o)}),s?s+": "+a:a}W(S0,"getMessage");function pr(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}W(pr,"transferFlags");function Ib(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}W(Ib,"type");function R0(){this._key="chai/deep-eql__"+Math.random()+Date.now()}W(R0,"FakeMap");R0.prototype={get:W(function(e){return e[this._key]},"get"),set:W(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var k5=typeof WeakMap=="function"?WeakMap:R0;function jb(e,t,r){if(!r||To(e)||To(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}W(jb,"memoizeCompare");function gu(e,t,r,n){if(!(!r||To(e)||To(t))){var o=r.get(e);o?o.set(t,n):(o=new k5,o.set(t,n),r.set(e,o))}}W(gu,"memoizeSet");var M5=Uc;function Uc(e,t,r){if(r&&r.comparator)return Db(e,t,r);var n=x0(e,t);return n!==null?n:Db(e,t,r)}W(Uc,"deepEqual");function x0(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:To(e)||To(t)?!1:null}W(x0,"simpleEqual");function Db(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new k5;var n=r&&r.comparator,o=jb(e,t,r.memoize);if(o!==null)return o;var i=jb(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return gu(e,t,r.memoize,a),a;var s=x0(e,t);if(s!==null)return s}var u=Ib(e);if(u!==Ib(t))return gu(e,t,r.memoize,!1),!1;gu(e,t,r.memoize,!0);var l=N5(e,t,u,r);return gu(e,t,r.memoize,l),l}W(Db,"extensiveDeepEqual");function N5(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Uc(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return C0(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Bn(e,t,n);case"RegExp":return I5(e,t);case"Generator":return j5(e,t,n);case"DataView":return Bn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Bn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Lb(e,t,n);case"Map":return Lb(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return L5(e,t,n)}}W(N5,"extensiveDeepEqualByType");function I5(e,t){return e.toString()===t.toString()}W(I5,"regexpEqual");function Lb(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(W(function(i,a){n.push([i,a])},"gatherEntries")),t.forEach(W(function(i,a){o.push([i,a])},"gatherEntries")),Bn(n.sort(),o.sort(),r)}W(Lb,"entriesEqual");function Bn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Uc(e[o],t[o],r)===!1)return!1;return!0}W(Bn,"iterableEqual");function j5(e,t,r){return Bn(Yf(e),Yf(t),r)}W(j5,"generatorEqual");function D5(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}W(D5,"hasIteratorFunction");function Fb(e){if(D5(e))try{return Yf(e[Symbol.iterator]())}catch{return[]}return[]}W(Fb,"getIteratorEntries");function Yf(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}W(Yf,"getGeneratorEntries");function Bb(e){var t=[];for(var r in e)t.push(r);return t}W(Bb,"getEnumerableKeys");function zb(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}W(zb,"getEnumerableSymbols");function C0(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Uc(e[r[i]],t[r[i]],n)===!1)return!1;return!0}W(C0,"keysEqual");function L5(e,t,r){var n=Bb(e),o=Bb(t),i=zb(e),a=zb(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Bn(Hb(n).sort(),Hb(o).sort())===!1?!1:C0(e,t,n,r);var s=Fb(e),u=Fb(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),Bn(s,u,r)):n.length===0&&s.length===0&&o.length===0&&u.length===0}W(L5,"objectEqual");function To(e){return e===null||typeof e!="object"}W(To,"isPrimitive");function Hb(e){return e.map(W(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}W(Hb,"mapSymbols");function ah(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}W(ah,"hasProperty");function F5(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}W(F5,"parsePath");function Ub(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}W(Ub,"internalGetPathValue");function A0(e,t){let r=F5(t),n=r[r.length-1],o={parent:r.length>1?Ub(e,r,r.length-1):e,name:n.p||n.i,value:Ub(e,r)};return o.exists=ah(o.parent,o.name),o}W(A0,"getPathInfo");var Sd,O=(Sd=class{__flags={};constructor(e,t,r,n){return fe(this,"ssfi",r||Sd),fe(this,"lockSsfi",n),fe(this,"object",e),fe(this,"message",t),fe(this,"eql",Ot.deepEqual||M5),ea(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ot.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ot.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ot.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ot.showDiff=e}static addProperty(e,t){P0(this.prototype,e,t)}static addMethod(e,t){T0(this.prototype,e,t)}static addChainableMethod(e,t,r){q0(this.prototype,e,t,r)}static overwriteProperty(e,t){O0(this.prototype,e,t)}static overwriteMethod(e,t){$0(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){k0(this.prototype,e,t,r)}assert(e,t,r,n,o,i){let a=E0(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),Ot.showDiff!==!0&&(i=!1),!a){t=S0(this,arguments);let s={actual:ih(this,arguments),expected:n,showDiff:i},u=I0(this,arguments);throw u&&(s.operator=u),new xe(t,s,Ot.includeStack?this.assert:fe(this,"ssfi"))}}get _obj(){return fe(this,"object")}set _obj(e){fe(this,"object",e)}},W(Sd,"Assertion"),Sd);function Vc(){return Ot.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}W(Vc,"isProxyEnabled");function P0(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:W(function n(){!Vc()&&!fe(this,"lockSsfi")&&fe(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new O;return pr(this,i),i},"propertyGetter"),configurable:!0})}W(P0,"addProperty");var CX=Object.getOwnPropertyDescriptor(function(){},"length");function Wc(e,t,r){return CX.configurable&&Object.defineProperty(e,"length",{get:W(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}W(Wc,"addLengthGuard");function B5(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}W(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}W(B5,"getProperties");var JS=["__flags","__methods","_obj","assert"];function ea(e,t){return Vc()?new Proxy(e,{get:W(function r(n,o){if(typeof o=="string"&&Ot.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,a=4;throw B5(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&JS.indexOf(s)===-1){let u=z5(o,s,a);u<a&&(i=s,a=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return JS.indexOf(o)===-1&&!fe(n,"lockSsfi")&&fe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}W(ea,"proxify");function z5(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}W(z5,"stringDistanceCapped");function T0(e,t,r){let n=W(function(){fe(this,"lockSsfi")||fe(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new O;return pr(this,i),i},"methodWrapper");Wc(n,t,!1),e[t]=ea(n,t)}W(T0,"addMethod");function O0(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=W(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:W(function i(){!Vc()&&!fe(this,"lockSsfi")&&fe(this,"ssfi",i);let a=fe(this,"lockSsfi");fe(this,"lockSsfi",!0);let s=r(o).call(this);if(fe(this,"lockSsfi",a),s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}W(O0,"overwriteProperty");function $0(e,t,r){let n=e[t],o=W(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=W(function(){fe(this,"lockSsfi")||fe(this,"ssfi",i);let a=fe(this,"lockSsfi");fe(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(fe(this,"lockSsfi",a),s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingMethodWrapper");Wc(i,t,!1),e[t]=ea(i,t)}W($0,"overwriteMethod");var AX=typeof Object.setPrototypeOf=="function",XS=W(function(){},"testFn"),PX=Object.getOwnPropertyNames(XS).filter(function(e){let t=Object.getOwnPropertyDescriptor(XS,e);return typeof t!="object"?!0:!t.configurable}),TX=Function.prototype.call,OX=Function.prototype.apply;function q0(e,t,r,n){typeof n!="function"&&(n=W(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:W(function(){o.chainingBehavior.call(this);let i=W(function(){fe(this,"lockSsfi")||fe(this,"ssfi",i);let a=o.method.apply(this,arguments);if(a!==void 0)return a;let s=new O;return pr(this,s),s},"chainableMethodWrapper");if(Wc(i,t,!0),AX){let a=Object.create(this);a.call=TX,a.apply=OX,Object.setPrototypeOf(i,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(PX.indexOf(a)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,s)});return pr(this,i),ea(i)},"chainableMethodGetter"),configurable:!0})}W(q0,"addChainableMethod");function k0(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=W(function(){let s=n(i).call(this);if(s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingChainableMethodGetter");let a=o.method;o.method=W(function(){let s=r(a).apply(this,arguments);if(s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingChainableMethodWrapper")}W(k0,"overwriteChainableMethod");function Zf(e,t){return _e(e)<_e(t)?-1:1}W(Zf,"compareByInspect");function M0(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}W(M0,"getOwnEnumerablePropertySymbols");function N0(e){return Object.keys(e).concat(M0(e))}W(N0,"getOwnEnumerableProperties");var Jf=Number.isNaN;function H5(e){let t=qe(e);return["Array","Object","Function"].indexOf(t)!==-1}W(H5,"isObjectType");function I0(e,t){let r=fe(e,"operator"),n=fe(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let a=H5(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}W(I0,"getOperator");function sh(e){return e.name}W(sh,"getName");function Xf(e){return Object.prototype.toString.call(e)==="[object RegExp]"}W(Xf,"isRegExp");function ct(e){return["Number","BigInt"].includes(qe(e))}W(ct,"isNumeric");var{flag:B}=Ar;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){O.addProperty(e)});O.addProperty("not",function(){B(this,"negate",!0)});O.addProperty("deep",function(){B(this,"deep",!0)});O.addProperty("nested",function(){B(this,"nested",!0)});O.addProperty("own",function(){B(this,"own",!0)});O.addProperty("ordered",function(){B(this,"ordered",!0)});O.addProperty("any",function(){B(this,"any",!0),B(this,"all",!1)});O.addProperty("all",function(){B(this,"all",!0),B(this,"any",!1)});var QS={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function j0(e,t){t&&B(this,"message",t),e=e.toLowerCase();let r=B(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",o=qe(r).toLowerCase();QS.function.includes(e)?this.assert(QS[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}W(j0,"an");O.addChainableMethod("an",j0);O.addChainableMethod("a",j0);function U5(e,t){return Jf(e)&&Jf(t)||e===t}W(U5,"SameValueZero");function Gc(){B(this,"contains",!0)}W(Gc,"includeChainingBehavior");function Kc(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=qe(r).toLowerCase(),o=B(this,"message"),i=B(this,"negate"),a=B(this,"ssfi"),s=B(this,"deep"),u=s?"deep ":"",l=s?B(this,"eql"):U5;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new xe(o+"unable to use .deep.include with WeakSet",void 0,a);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new xe(o+"the given combination of arguments ("+n+" and "+qe(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+qe(e).toLowerCase(),void 0,a);let d=Object.keys(e),f=null,p=0;if(d.forEach(function(h){let m=new O(r);if(pr(this,m,!0),B(m,"lockSsfi",!0),!i||d.length===1){m.property(h,e[h]);return}try{m.property(h,e[h])}catch(v){if(!Dt.compatibleConstructor(v,xe))throw v;f===null&&(f=v),p++}},this),i&&d.length>1&&p===d.length)throw f;return}}this.assert(c,"expected #{this} to "+u+"include "+_e(e),"expected #{this} to not "+u+"include "+_e(e))}W(Kc,"include");O.addChainableMethod("include",Kc,Gc);O.addChainableMethod("contain",Kc,Gc);O.addChainableMethod("contains",Kc,Gc);O.addChainableMethod("includes",Kc,Gc);O.addProperty("ok",function(){this.assert(B(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});O.addProperty("true",function(){this.assert(B(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!B(this,"negate"))});O.addProperty("numeric",function(){let e=B(this,"object");this.assert(["Number","BigInt"].includes(qe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!B(this,"negate"))});O.addProperty("callable",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n=r?`${r}: `:"",o=B(this,"negate"),i=o?`${n}expected ${_e(e)} not to be a callable function`:`${n}expected ${_e(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(qe(e));if(a&&o||!a&&!o)throw new xe(i,void 0,t)});O.addProperty("false",function(){this.assert(B(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!B(this,"negate"))});O.addProperty("null",function(){this.assert(B(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});O.addProperty("undefined",function(){this.assert(B(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});O.addProperty("NaN",function(){this.assert(Jf(B(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function D0(){let e=B(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}W(D0,"assertExist");O.addProperty("exist",D0);O.addProperty("exists",D0);O.addProperty("empty",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n;switch(r=r?r+": ":"",qe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new xe(r+".empty was passed a weak collection",void 0,t);case"function":{let o=r+".empty was passed a function "+sh(e);throw new xe(o.trim(),void 0,t)}default:if(e!==Object(e))throw new xe(r+".empty was passed non-string primitive "+_e(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function L0(){let e=B(this,"object"),t=qe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}W(L0,"checkArguments");O.addProperty("arguments",L0);O.addProperty("Arguments",L0);function lh(e,t){t&&B(this,"message",t);let r=B(this,"object");if(B(this,"deep")){let n=B(this,"lockSsfi");B(this,"lockSsfi",!0),this.eql(e),B(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}W(lh,"assertEqual");O.addMethod("equal",lh);O.addMethod("equals",lh);O.addMethod("eq",lh);function F0(e,t){t&&B(this,"message",t);let r=B(this,"eql");this.assert(r(e,B(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}W(F0,"assertEql");O.addMethod("eql",F0);O.addMethod("eqls",F0);function uh(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new xe(i+"the argument to above must be a date",void 0,a);if(!ct(e)&&(n||ct(r)))throw new xe(i+"the argument to above must be a number",void 0,a);if(!n&&s!=="date"&&!ct(r)){let l=s==="string"?"'"+r+"'":r;throw new xe(i+"expected "+l+" to be a number or a date",void 0,a)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}W(uh,"assertAbove");O.addMethod("above",uh);O.addMethod("gt",uh);O.addMethod("greaterThan",uh);function ch(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to least must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to least must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new xe(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}W(ch,"assertLeast");O.addMethod("least",ch);O.addMethod("gte",ch);O.addMethod("greaterThanOrEqual",ch);function dh(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to below must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to below must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new xe(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}W(dh,"assertBelow");O.addMethod("below",dh);O.addMethod("lt",dh);O.addMethod("lessThan",dh);function fh(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to most must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to most must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new xe(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}W(fh,"assertMost");O.addMethod("most",fh);O.addMethod("lte",fh);O.addMethod("lessThanOrEqual",fh);O.addMethod("within",function(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"doLength"),i=B(this,"message"),a=i?i+": ":"",s=B(this,"ssfi"),u=qe(n).toLowerCase(),l=qe(e).toLowerCase(),c=qe(t).toLowerCase(),d,f=!0,p=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new O(n,i,s,!0).to.have.property("length"),!o&&u==="date"&&(l!=="date"||c!=="date"))d=a+"the arguments to within must be dates";else if((!ct(e)||!ct(t))&&(o||ct(n)))d=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!ct(n)){let h=u==="string"?"'"+n+"'":n;d=a+"expected "+h+" to be a number or a date"}else f=!1;if(f)throw new xe(d,void 0,s);if(o){let h="length",m;u==="map"||u==="set"?(h="size",m=n.size):m=n.length,this.assert(m>=e&&m<=t,"expected #{this} to have a "+h+" within "+p,"expected #{this} to not have a "+h+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function B0(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"ssfi"),o=B(this,"message"),i;try{i=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new xe(o+"The instanceof assertion needs a constructor but "+qe(e)+" was given.",void 0,n)):s}let a=sh(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}W(B0,"assertInstanceOf");O.addMethod("instanceof",B0);O.addMethod("instanceOf",B0);function z0(e,t,r){r&&B(this,"message",r);let n=B(this,"nested"),o=B(this,"own"),i=B(this,"message"),a=B(this,"object"),s=B(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new xe(i+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new xe(i+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new xe(i+'The "nested" and "own" flags cannot be combined.',void 0,s);if(a==null)throw new xe(i+"Target cannot be null or undefined.",void 0,s);let l=B(this,"deep"),c=B(this,"negate"),d=n?A0(a,e):null,f=n?d.value:a[e],p=l?B(this,"eql"):(v,g)=>v===g,h="";l&&(h+="deep "),o&&(h+="own "),n&&(h+="nested "),h+="property ";let m;o?m=Object.prototype.hasOwnProperty.call(a,e):n?m=d.exists:m=ah(a,e),(!c||arguments.length===1)&&this.assert(m,"expected #{this} to have "+h+_e(e),"expected #{this} to not have "+h+_e(e)),arguments.length>1&&this.assert(m&&p(t,f),"expected #{this} to have "+h+_e(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+_e(e)+" of #{act}",t,f),B(this,"object",f)}W(z0,"assertProperty");O.addMethod("property",z0);function H0(e,t,r){B(this,"own",!0),z0.apply(this,arguments)}W(H0,"assertOwnProperty");O.addMethod("ownProperty",H0);O.addMethod("haveOwnProperty",H0);function U0(e,t,r){typeof t=="string"&&(r=t,t=null),r&&B(this,"message",r);let n=B(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=B(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+_e(e)+" on #{this} to match "+_e(t)+", got "+_e(o),"expected the own property descriptor for "+_e(e)+" on #{this} to not match "+_e(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+_e(e),"expected #{this} to not have an own property descriptor for "+_e(e)),B(this,"object",o)}W(U0,"assertOwnPropertyDescriptor");O.addMethod("ownPropertyDescriptor",U0);O.addMethod("haveOwnPropertyDescriptor",U0);function V0(){B(this,"doLength",!0)}W(V0,"assertLengthChain");function W0(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=qe(r).toLowerCase(),o=B(this,"message"),i=B(this,"ssfi"),a="length",s;switch(n){case"map":case"set":a="size",s=r.size;break;default:new O(r,o,i,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,s)}W(W0,"assertLength");O.addChainableMethod("length",W0,V0);O.addChainableMethod("lengthOf",W0,V0);function G0(e,t){t&&B(this,"message",t);let r=B(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}W(G0,"assertMatch");O.addMethod("match",G0);O.addMethod("matches",G0);O.addMethod("string",function(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new O(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+_e(e),"expected #{this} to not contain "+_e(e))});function K0(e){let t=B(this,"object"),r=qe(t),n=qe(e),o=B(this,"ssfi"),i=B(this,"deep"),a,s="",u,l=!0,c=B(this,"message");c=c?c+": ":"";let d=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=i?"deeply ":"",u=[],t.forEach(function(g,w){u.push(w)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=N0(t),n){case"Array":if(arguments.length>1)throw new xe(d,void 0,o);break;case"Object":if(arguments.length>1)throw new xe(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(g){return typeof g=="symbol"?g:String(g)})}if(!e.length)throw new xe(c+"keys required",void 0,o);let f=e.length,p=B(this,"any"),h=B(this,"all"),m=e,v=i?B(this,"eql"):(g,w)=>g===w;if(!p&&!h&&(h=!0),p&&(l=m.some(function(g){return u.some(function(w){return v(g,w)})})),h&&(l=m.every(function(g){return u.some(function(w){return v(g,w)})}),B(this,"contains")||(l=l&&e.length==u.length)),f>1){e=e.map(function(w){return _e(w)});let g=e.pop();h&&(a=e.join(", ")+", and "+g),p&&(a=e.join(", ")+", or "+g)}else a=_e(e[0]);a=(f>1?"keys ":"key ")+a,a=(B(this,"contains")?"contain ":"have ")+a,this.assert(l,"expected #{this} to "+s+a,"expected #{this} to not "+s+a,m.slice(0).sort(Zf),u.sort(Zf),!0)}W(K0,"assertKeys");O.addMethod("keys",K0);O.addMethod("key",K0);function ph(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"ssfi"),i=B(this,"message"),a=B(this,"negate")||!1;new O(n,i,o,!0).is.a("function"),(Xf(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(p){u=!0,s=p}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,f=!1;if(l||!l&&!a){let p="an error";e instanceof Error?p="#{exp}":e&&(p=Dt.getConstructorName(e));let h=s;if(s instanceof Error)h=s.toString();else if(typeof s=="string")h=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{h=Dt.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),h)}if(e&&s&&(e instanceof Error&&Dt.compatibleInstance(s,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!a?" but #{act} was thrown":""),e.toString(),s.toString())),Dt.compatibleConstructor(s,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dt.getConstructorName(e),s instanceof Error?s.toString():s&&Dt.getConstructorName(s)))),s&&t!==void 0&&t!==null){let p="including";Xf(t)&&(p="matching"),Dt.compatibleMessage(s,t)===a&&(c&&a?f=!0:this.assert(a,"expected #{this} to throw error "+p+" #{exp} but got #{act}","expected #{this} to throw error not "+p+" #{exp}",t,Dt.getMessage(s)))}d&&f&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dt.getConstructorName(e),s instanceof Error?s.toString():s&&Dt.getConstructorName(s)),B(this,"object",s)}W(ph,"assertThrows");O.addMethod("throw",ph);O.addMethod("throws",ph);O.addMethod("Throw",ph);function Y0(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+_e(e),"expected #{this} to not respond to "+_e(e))}W(Y0,"respondTo");O.addMethod("respondTo",Y0);O.addMethod("respondsTo",Y0);O.addProperty("itself",function(){B(this,"itself",!0)});function Z0(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Eo(e),"expected #{this} to not satisfy"+Eo(e),!B(this,"negate"),n)}W(Z0,"satisfy");O.addMethod("satisfy",Z0);O.addMethod("satisfies",Z0);function J0(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new xe(o?`${o}: ${a}`:a,void 0,i);if(new O(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new xe(o?`${o}: ${a}`:a,void 0,i);new O(e,o,i,!0).is.numeric;let s=W(l=>l<0n?-l:l,"abs"),u=W(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}W(J0,"closeTo");O.addMethod("closeTo",J0);O.addMethod("approximately",J0);function V5(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(s,u){if(o)return r?r(s,i[u]):s===i[u];if(!r){let l=i.indexOf(s);return l===-1?!1:(n||i.splice(l,1),!0)}return i.some(function(l,c){return r(s,l)?(n||i.splice(c,1),!0):!1})})}W(V5,"isSubsetOf");O.addMethod("members",function(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new O(r,n,o,!0).to.be.iterable,new O(e,n,o,!0).to.be.iterable;let i=B(this,"contains"),a=B(this,"ordered"),s,u,l;i?(s=a?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=a?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=B(this,"deep")?B(this,"eql"):void 0;this.assert(V5(e,r,c,i,a),u,l,e,r,!0)});O.addProperty("iterable",function(e){e&&B(this,"message",e);let t=B(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function W5(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi"),i=B(this,"contains"),a=B(this,"deep"),s=B(this,"eql");new O(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(u){return s(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}W(W5,"oneOf");O.addMethod("oneOf",W5);function X0(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","change"),B(this,"realDelta",s!==a),this.assert(a!==s,"expected "+u+" to change","expected "+u+" to not change")}W(X0,"assertChanges");O.addMethod("change",X0);O.addMethod("changes",X0);function Q0(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),new O(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","increase"),B(this,"realDelta",s-a),this.assert(s-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}W(Q0,"assertIncreases");O.addMethod("increase",Q0);O.addMethod("increases",Q0);function e1(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),new O(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","decrease"),B(this,"realDelta",a-s),this.assert(s-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}W(e1,"assertDecreases");O.addMethod("decrease",e1);O.addMethod("decreases",e1);function G5(e,t){t&&B(this,"message",t);let r=B(this,"deltaMsgObj"),n=B(this,"initialDeltaValue"),o=B(this,"finalDeltaValue"),i=B(this,"deltaBehavior"),a=B(this,"realDelta"),s;i==="change"?s=Math.abs(o-n)===Math.abs(e):s=a===Math.abs(e),this.assert(s,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}W(G5,"assertDelta");O.addMethod("by",G5);O.addProperty("extensible",function(){let e=B(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});O.addProperty("sealed",function(){let e=B(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});O.addProperty("frozen",function(){let e=B(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});O.addProperty("finite",function(e){let t=B(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Qf(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Qf(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?Qf(n,o):typeof n=="function"?n(o):o===n}):!1}W(Qf,"compareSubset");O.addMethod("containSubset",function(e){let t=fe(this,"object"),r=Ot.showDiff;this.assert(Qf(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function _o(e,t){return new O(e,t)}W(_o,"expect");_o.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new xe(r,{actual:e,expected:t,operator:n},_o.fail)};var K5={};w0(K5,{Should:()=>qX,should:()=>$X});function t1(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new O(this.valueOf(),null,e):new O(this,null,e)}W(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}W(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new xe(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new O(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new O(n,a).to.Throw(o,i)},r.exist=function(n,o){new O(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new O(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new O(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new O(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}W(t1,"loadShould");var $X=t1,qX=t1;function P(e,t){new O(null,null,P,!0).assert(e,t,"[ negation message unavailable ]")}W(P,"assert");P.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new xe(r,{actual:e,expected:t,operator:n},P.fail)};P.isOk=function(e,t){new O(e,t,P.isOk,!0).is.ok};P.isNotOk=function(e,t){new O(e,t,P.isNotOk,!0).is.not.ok};P.equal=function(e,t,r){let n=new O(e,r,P.equal,!0);n.assert(t==fe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};P.notEqual=function(e,t,r){let n=new O(e,r,P.notEqual,!0);n.assert(t!=fe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};P.strictEqual=function(e,t,r){new O(e,r,P.strictEqual,!0).to.equal(t)};P.notStrictEqual=function(e,t,r){new O(e,r,P.notStrictEqual,!0).to.not.equal(t)};P.deepEqual=P.deepStrictEqual=function(e,t,r){new O(e,r,P.deepEqual,!0).to.eql(t)};P.notDeepEqual=function(e,t,r){new O(e,r,P.notDeepEqual,!0).to.not.eql(t)};P.isAbove=function(e,t,r){new O(e,r,P.isAbove,!0).to.be.above(t)};P.isAtLeast=function(e,t,r){new O(e,r,P.isAtLeast,!0).to.be.least(t)};P.isBelow=function(e,t,r){new O(e,r,P.isBelow,!0).to.be.below(t)};P.isAtMost=function(e,t,r){new O(e,r,P.isAtMost,!0).to.be.most(t)};P.isTrue=function(e,t){new O(e,t,P.isTrue,!0).is.true};P.isNotTrue=function(e,t){new O(e,t,P.isNotTrue,!0).to.not.equal(!0)};P.isFalse=function(e,t){new O(e,t,P.isFalse,!0).is.false};P.isNotFalse=function(e,t){new O(e,t,P.isNotFalse,!0).to.not.equal(!1)};P.isNull=function(e,t){new O(e,t,P.isNull,!0).to.equal(null)};P.isNotNull=function(e,t){new O(e,t,P.isNotNull,!0).to.not.equal(null)};P.isNaN=function(e,t){new O(e,t,P.isNaN,!0).to.be.NaN};P.isNotNaN=function(e,t){new O(e,t,P.isNotNaN,!0).not.to.be.NaN};P.exists=function(e,t){new O(e,t,P.exists,!0).to.exist};P.notExists=function(e,t){new O(e,t,P.notExists,!0).to.not.exist};P.isUndefined=function(e,t){new O(e,t,P.isUndefined,!0).to.equal(void 0)};P.isDefined=function(e,t){new O(e,t,P.isDefined,!0).to.not.equal(void 0)};P.isCallable=function(e,t){new O(e,t,P.isCallable,!0).is.callable};P.isNotCallable=function(e,t){new O(e,t,P.isNotCallable,!0).is.not.callable};P.isObject=function(e,t){new O(e,t,P.isObject,!0).to.be.a("object")};P.isNotObject=function(e,t){new O(e,t,P.isNotObject,!0).to.not.be.a("object")};P.isArray=function(e,t){new O(e,t,P.isArray,!0).to.be.an("array")};P.isNotArray=function(e,t){new O(e,t,P.isNotArray,!0).to.not.be.an("array")};P.isString=function(e,t){new O(e,t,P.isString,!0).to.be.a("string")};P.isNotString=function(e,t){new O(e,t,P.isNotString,!0).to.not.be.a("string")};P.isNumber=function(e,t){new O(e,t,P.isNumber,!0).to.be.a("number")};P.isNotNumber=function(e,t){new O(e,t,P.isNotNumber,!0).to.not.be.a("number")};P.isNumeric=function(e,t){new O(e,t,P.isNumeric,!0).is.numeric};P.isNotNumeric=function(e,t){new O(e,t,P.isNotNumeric,!0).is.not.numeric};P.isFinite=function(e,t){new O(e,t,P.isFinite,!0).to.be.finite};P.isBoolean=function(e,t){new O(e,t,P.isBoolean,!0).to.be.a("boolean")};P.isNotBoolean=function(e,t){new O(e,t,P.isNotBoolean,!0).to.not.be.a("boolean")};P.typeOf=function(e,t,r){new O(e,r,P.typeOf,!0).to.be.a(t)};P.notTypeOf=function(e,t,r){new O(e,r,P.notTypeOf,!0).to.not.be.a(t)};P.instanceOf=function(e,t,r){new O(e,r,P.instanceOf,!0).to.be.instanceOf(t)};P.notInstanceOf=function(e,t,r){new O(e,r,P.notInstanceOf,!0).to.not.be.instanceOf(t)};P.include=function(e,t,r){new O(e,r,P.include,!0).include(t)};P.notInclude=function(e,t,r){new O(e,r,P.notInclude,!0).not.include(t)};P.deepInclude=function(e,t,r){new O(e,r,P.deepInclude,!0).deep.include(t)};P.notDeepInclude=function(e,t,r){new O(e,r,P.notDeepInclude,!0).not.deep.include(t)};P.nestedInclude=function(e,t,r){new O(e,r,P.nestedInclude,!0).nested.include(t)};P.notNestedInclude=function(e,t,r){new O(e,r,P.notNestedInclude,!0).not.nested.include(t)};P.deepNestedInclude=function(e,t,r){new O(e,r,P.deepNestedInclude,!0).deep.nested.include(t)};P.notDeepNestedInclude=function(e,t,r){new O(e,r,P.notDeepNestedInclude,!0).not.deep.nested.include(t)};P.ownInclude=function(e,t,r){new O(e,r,P.ownInclude,!0).own.include(t)};P.notOwnInclude=function(e,t,r){new O(e,r,P.notOwnInclude,!0).not.own.include(t)};P.deepOwnInclude=function(e,t,r){new O(e,r,P.deepOwnInclude,!0).deep.own.include(t)};P.notDeepOwnInclude=function(e,t,r){new O(e,r,P.notDeepOwnInclude,!0).not.deep.own.include(t)};P.match=function(e,t,r){new O(e,r,P.match,!0).to.match(t)};P.notMatch=function(e,t,r){new O(e,r,P.notMatch,!0).to.not.match(t)};P.property=function(e,t,r){new O(e,r,P.property,!0).to.have.property(t)};P.notProperty=function(e,t,r){new O(e,r,P.notProperty,!0).to.not.have.property(t)};P.propertyVal=function(e,t,r,n){new O(e,n,P.propertyVal,!0).to.have.property(t,r)};P.notPropertyVal=function(e,t,r,n){new O(e,n,P.notPropertyVal,!0).to.not.have.property(t,r)};P.deepPropertyVal=function(e,t,r,n){new O(e,n,P.deepPropertyVal,!0).to.have.deep.property(t,r)};P.notDeepPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};P.ownProperty=function(e,t,r){new O(e,r,P.ownProperty,!0).to.have.own.property(t)};P.notOwnProperty=function(e,t,r){new O(e,r,P.notOwnProperty,!0).to.not.have.own.property(t)};P.ownPropertyVal=function(e,t,r,n){new O(e,n,P.ownPropertyVal,!0).to.have.own.property(t,r)};P.notOwnPropertyVal=function(e,t,r,n){new O(e,n,P.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};P.deepOwnPropertyVal=function(e,t,r,n){new O(e,n,P.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};P.notDeepOwnPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};P.nestedProperty=function(e,t,r){new O(e,r,P.nestedProperty,!0).to.have.nested.property(t)};P.notNestedProperty=function(e,t,r){new O(e,r,P.notNestedProperty,!0).to.not.have.nested.property(t)};P.nestedPropertyVal=function(e,t,r,n){new O(e,n,P.nestedPropertyVal,!0).to.have.nested.property(t,r)};P.notNestedPropertyVal=function(e,t,r,n){new O(e,n,P.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};P.deepNestedPropertyVal=function(e,t,r,n){new O(e,n,P.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};P.notDeepNestedPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};P.lengthOf=function(e,t,r){new O(e,r,P.lengthOf,!0).to.have.lengthOf(t)};P.hasAnyKeys=function(e,t,r){new O(e,r,P.hasAnyKeys,!0).to.have.any.keys(t)};P.hasAllKeys=function(e,t,r){new O(e,r,P.hasAllKeys,!0).to.have.all.keys(t)};P.containsAllKeys=function(e,t,r){new O(e,r,P.containsAllKeys,!0).to.contain.all.keys(t)};P.doesNotHaveAnyKeys=function(e,t,r){new O(e,r,P.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};P.doesNotHaveAllKeys=function(e,t,r){new O(e,r,P.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};P.hasAnyDeepKeys=function(e,t,r){new O(e,r,P.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};P.hasAllDeepKeys=function(e,t,r){new O(e,r,P.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};P.containsAllDeepKeys=function(e,t,r){new O(e,r,P.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};P.doesNotHaveAnyDeepKeys=function(e,t,r){new O(e,r,P.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};P.doesNotHaveAllDeepKeys=function(e,t,r){new O(e,r,P.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};P.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new O(e,n,P.throws,!0).to.throw(t,r);return fe(o,"object")};P.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new O(e,n,P.doesNotThrow,!0).to.not.throw(t,r)};P.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new xe(n+'Invalid operator "'+t+'"',void 0,P.operator)}let i=new O(o,n,P.operator,!0);i.assert(fe(i,"object")===!0,"expected "+_e(e)+" to be "+t+" "+_e(r),"expected "+_e(e)+" to not be "+t+" "+_e(r))};P.closeTo=function(e,t,r,n){new O(e,n,P.closeTo,!0).to.be.closeTo(t,r)};P.approximately=function(e,t,r,n){new O(e,n,P.approximately,!0).to.be.approximately(t,r)};P.sameMembers=function(e,t,r){new O(e,r,P.sameMembers,!0).to.have.same.members(t)};P.notSameMembers=function(e,t,r){new O(e,r,P.notSameMembers,!0).to.not.have.same.members(t)};P.sameDeepMembers=function(e,t,r){new O(e,r,P.sameDeepMembers,!0).to.have.same.deep.members(t)};P.notSameDeepMembers=function(e,t,r){new O(e,r,P.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};P.sameOrderedMembers=function(e,t,r){new O(e,r,P.sameOrderedMembers,!0).to.have.same.ordered.members(t)};P.notSameOrderedMembers=function(e,t,r){new O(e,r,P.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};P.sameDeepOrderedMembers=function(e,t,r){new O(e,r,P.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};P.notSameDeepOrderedMembers=function(e,t,r){new O(e,r,P.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};P.includeMembers=function(e,t,r){new O(e,r,P.includeMembers,!0).to.include.members(t)};P.notIncludeMembers=function(e,t,r){new O(e,r,P.notIncludeMembers,!0).to.not.include.members(t)};P.includeDeepMembers=function(e,t,r){new O(e,r,P.includeDeepMembers,!0).to.include.deep.members(t)};P.notIncludeDeepMembers=function(e,t,r){new O(e,r,P.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};P.includeOrderedMembers=function(e,t,r){new O(e,r,P.includeOrderedMembers,!0).to.include.ordered.members(t)};P.notIncludeOrderedMembers=function(e,t,r){new O(e,r,P.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};P.includeDeepOrderedMembers=function(e,t,r){new O(e,r,P.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};P.notIncludeDeepOrderedMembers=function(e,t,r){new O(e,r,P.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};P.oneOf=function(e,t,r){new O(e,r,P.oneOf,!0).to.be.oneOf(t)};P.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${_e(e)} to be an iterable`:`expected ${_e(e)} to be an iterable`,new xe(t,void 0,P.isIterable)};P.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.changes,!0).to.change(t,r)};P.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.changesBy,!0).to.change(t,r).by(n)};P.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotChange,!0).to.not.change(t,r)};P.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.changesButNotBy,!0).to.change(t,r).but.not.by(n)};P.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.increases,!0).to.increase(t,r)};P.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.increasesBy,!0).to.increase(t,r).by(n)};P.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotIncrease,!0).to.not.increase(t,r)};P.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};P.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.decreases,!0).to.decrease(t,r)};P.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.decreasesBy,!0).to.decrease(t,r).by(n)};P.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotDecrease,!0).to.not.decrease(t,r)};P.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new O(e,o,P.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};P.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};P.ifError=function(e){if(e)throw e};P.isExtensible=function(e,t){new O(e,t,P.isExtensible,!0).to.be.extensible};P.isNotExtensible=function(e,t){new O(e,t,P.isNotExtensible,!0).to.not.be.extensible};P.isSealed=function(e,t){new O(e,t,P.isSealed,!0).to.be.sealed};P.isNotSealed=function(e,t){new O(e,t,P.isNotSealed,!0).to.not.be.sealed};P.isFrozen=function(e,t){new O(e,t,P.isFrozen,!0).to.be.frozen};P.isNotFrozen=function(e,t){new O(e,t,P.isNotFrozen,!0).to.not.be.frozen};P.isEmpty=function(e,t){new O(e,t,P.isEmpty,!0).to.be.empty};P.isNotEmpty=function(e,t){new O(e,t,P.isNotEmpty,!0).to.not.be.empty};P.containsSubset=function(e,t,r){new O(e,r).to.containSubset(t)};P.doesNotContainSubset=function(e,t,r){new O(e,r).to.not.containSubset(t)};var kX=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of kX)P[t]=P[e];var eR=[];function gi(e){let t={use:gi,AssertionError:xe,util:Ar,config:Ot,expect:_o,assert:P,Assertion:O,...K5};return~eR.indexOf(e)||(e(t,Ar),eR.push(e)),t}W(gi,"use");var Y5={};Wp(Y5,{toAppearAfter:()=>Oee,toAppearBefore:()=>Qb,toBeChecked:()=>N$,toBeDisabled:()=>A$,toBeEmpty:()=>f$,toBeEmptyDOMElement:()=>p$,toBeEnabled:()=>P$,toBeInTheDOM:()=>Gb,toBeInTheDocument:()=>d$,toBeInvalid:()=>$$,toBePartiallyChecked:()=>j$,toBePartiallyPressed:()=>z$,toBePressed:()=>B$,toBeRequired:()=>T$,toBeValid:()=>q$,toBeVisible:()=>_$,toContainElement:()=>Kb,toContainHTML:()=>h$,toHaveAccessibleDescription:()=>Yb,toHaveAccessibleErrorMessage:()=>g$,toHaveAccessibleName:()=>Jb,toHaveAttribute:()=>b$,toHaveClass:()=>v$,toHaveDescription:()=>D$,toHaveDisplayValue:()=>M$,toHaveErrorMessage:()=>L$,toHaveFocus:()=>y$,toHaveFormValues:()=>w$,toHaveRole:()=>Zb,toHaveSelection:()=>F$,toHaveStyle:()=>Xb,toHaveTextContent:()=>m$,toHaveValue:()=>k$});var tR=tr(o5());function Z5(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function r1(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var J5={};Z5(J5);r1(J5,"default",()=>X5);var X5=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},Q5={};Z5(Q5);r1(Q5,"default",()=>e$);var e$=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},MX={};r1(MX,"CssTypes",()=>Qe);var Qe;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Qe||(Qe={}));var Km=/\/\*[^]*?(?:\*\/|$)/g,NX=(e,t)=>{t=t||{};let r=1,n=1;function o($){let M=$.match(/\n/g);M&&(r+=M.length);let K=$.lastIndexOf(`
|
|
737
|
+
`);n=~K?$.length-K:n+$.length}function i(){let $={line:r,column:n};return function(M){return M.position=new e$($,{line:r,column:n},t?.source||""),p(),M}}let a=[];function s($){let M=new X5(t?.source||"",$,r,n,e);if(t?.silent)a.push(M);else throw M}function u(){let $=d();return{type:Qe.stylesheet,stylesheet:{source:t?.source,rules:$,parsingErrors:a}}}function l(){return f(/^{\s*/)}function c(){return f(/^}/)}function d(){let $,M=[];for(p(),h(M);e.length&&e.charAt(0)!=="}"&&($=Z()||A());)$&&(M.push($),h(M));return M}function f($){let M=$.exec(e);if(!M)return;let K=M[0];return o(K),e=e.slice(K.length),M}function p(){f(/^\s*/)}function h($){let M;for($=$||[];M=m();)M&&$.push(M);return $}function m(){let $=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let M=f(/^\/\*[^]*?\*\//);return M?$({type:Qe.comment,comment:M[0].slice(2,-2)}):s("End of comment missing")}function v($,M,K){let L=M+1,D=!1,Y=$.indexOf(")",L);for(;!D&&Y!==-1;){let ee=$.indexOf("(",L);ee!==-1&&ee<Y?(L=v($,ee+1)+1,Y=$.indexOf(")",L)):D=!0}return D&&Y!==-1?Y:-1}function g(){let $=f(/^([^{]+)/);if(!$)return;let M=Wt($[0]).replace(Km,"");if(M.indexOf(",")===-1)return[M];let K=0,L=M.indexOf("(",K);for(;L!==-1;){let D=v(M,L);if(D===-1)break;K=D+1,M=M.substring(0,L)+M.substring(L,D).replace(/,/g,"")+M.substring(D),L=M.indexOf("(",K)}return M=M.replace(/("|')(?:\\\1|.)*?\1/g,D=>D.replace(/,/g,"")),M.split(",").map(D=>Wt(D.replace(/\u200C/g,",")))}function w(){let $=i(),M=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!M)return;let K=Wt(M[0]);if(!f(/^:\s*/))return s("property missing ':'");let L=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),D=$({type:Qe.declaration,property:K.replace(Km,""),value:L?Wt(L[0]).replace(Km,""):""});return f(/^[;\s]*/),D}function _(){let $=[];if(!l())return s("missing '{'");h($);let M;for(;M=w();)M&&($.push(M),h($));return c()?$:s("missing '}'")}function R(){let $,M=[],K=i();for(;$=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)M.push($[1]),f(/^,\s*/);if(M.length)return K({type:Qe.keyframe,values:M,declarations:_()||[]})}function x(){let $=i(),M=f(/^@([-\w]+)?keyframes\s*/);if(!M)return;let K=M[1],L=f(/^([-\w]+)\s*/);if(!L)return s("@keyframes missing name");let D=L[1];if(!l())return s("@keyframes missing '{'");let Y,ee=h();for(;Y=R();)ee.push(Y),ee=ee.concat(h());return c()?$({type:Qe.keyframes,name:D,vendor:K,keyframes:ee}):s("@keyframes missing '}'")}function y(){let $=i(),M=f(/^@supports *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@supports missing '{'");let L=h().concat(d());return c()?$({type:Qe.supports,supports:K,rules:L}):s("@supports missing '}'")}function b(){let $=i();if(!f(/^@host\s*/))return;if(!l())return s("@host missing '{'");let M=h().concat(d());return c()?$({type:Qe.host,rules:M}):s("@host missing '}'")}function E(){let $=i(),M=f(/^@container *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@container missing '{'");let L=h().concat(d());return c()?$({type:Qe.container,container:K,rules:L}):s("@container missing '}'")}function C(){let $=i(),M=f(/^@layer *([^{;@]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return f(/^[;\s]*/),$({type:Qe.layer,layer:K});let L=h().concat(d());return c()?$({type:Qe.layer,layer:K,rules:L}):s("@layer missing '}'")}function N(){let $=i(),M=f(/^@media *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@media missing '{'");let L=h().concat(d());return c()?$({type:Qe.media,media:K,rules:L}):s("@media missing '}'")}function q(){let $=i(),M=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(M)return $({type:Qe.customMedia,name:Wt(M[1]),media:Wt(M[2])})}function H(){let $=i();if(!f(/^@page */))return;let M=g()||[];if(!l())return s("@page missing '{'");let K=h(),L;for(;L=w();)K.push(L),K=K.concat(h());return c()?$({type:Qe.page,selectors:M,declarations:K}):s("@page missing '}'")}function F(){let $=i(),M=f(/^@([-\w]+)?document *([^{]+)/);if(!M)return;let K=Wt(M[1]),L=Wt(M[2]);if(!l())return s("@document missing '{'");let D=h().concat(d());return c()?$({type:Qe.document,document:L,vendor:K,rules:D}):s("@document missing '}'")}function T(){let $=i();if(!f(/^@font-face\s*/))return;if(!l())return s("@font-face missing '{'");let M=h(),K;for(;K=w();)M.push(K),M=M.concat(h());return c()?$({type:Qe.fontFace,declarations:M}):s("@font-face missing '}'")}function k(){let $=i();if(!f(/^@starting-style\s*/))return;if(!l())return s("@starting-style missing '{'");let M=h().concat(d());return c()?$({type:Qe.startingStyle,rules:M}):s("@starting-style missing '}'")}let I=X("import"),U=X("charset"),G=X("namespace");function X($){let M=new RegExp("^@"+$+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let K=i(),L=f(M);if(!L)return;let D={type:$};return D[$]=L[1].trim(),K(D)}}function Z(){if(e[0]==="@")return x()||N()||q()||y()||I()||U()||G()||F()||H()||b()||T()||E()||k()||C()}function A(){let $=i(),M=g();return M?(h(),$({type:Qe.rule,selectors:M,declarations:_()||[]})):s("selector missing")}return Vb(u())};function Wt(e){return e?e.trim():""}function Vb(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(a=>{Vb(a,n)}):i&&typeof i=="object"&&Vb(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var IX=NX,jX=IX,DX=Object.prototype.toString;function LX(e){return typeof e=="function"||DX.call(e)==="[object Function]"}function FX(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var BX=Math.pow(2,53)-1;function zX(e){var t=FX(e);return Math.min(Math.max(t,0),BX)}function ar(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=zX(n.length),i=LX(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],i[a]=s,a+=1;return i.length=o,i}function ac(e){"@babel/helpers - typeof";return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ac(e)}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UX(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t$(n.key),n)}}function VX(e,t,r){return t&&UX(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function WX(e,t,r){return t=t$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t$(e){var t=GX(e,"string");return ac(t)==="symbol"?t:String(t)}function GX(e,t){if(ac(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ac(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var KX=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];HX(this,e),WX(this,"items",void 0),this.items=t}return VX(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),YX=typeof Set>"u"?Set:KX;function Rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var ZX={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},JX={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function XX(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=JX[t])!==null&&n!==void 0&&n.has(r))})}function r$(e,t){return XX(e,t)}function QX(e){var t=tQ(e);if(t===null||Wb.indexOf(t)!==-1){var r=eQ(e);if(Wb.indexOf(t||"")===-1||r$(e,r||""))return r}return t}function eQ(e){var t=ZX[Rt(e)];if(t!==void 0)return t;switch(Rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!r$(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function tQ(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Wb=["presentation","none"];function Be(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function n$(e){return Be(e)&&Rt(e)==="caption"}function of(e){return Be(e)&&Rt(e)==="input"}function rQ(e){return Be(e)&&Rt(e)==="optgroup"}function nQ(e){return Be(e)&&Rt(e)==="select"}function oQ(e){return Be(e)&&Rt(e)==="table"}function iQ(e){return Be(e)&&Rt(e)==="textarea"}function aQ(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function sQ(e){return Be(e)&&Rt(e)==="fieldset"}function lQ(e){return Be(e)&&Rt(e)==="legend"}function uQ(e){return Be(e)&&Rt(e)==="slot"}function cQ(e){return Be(e)&&e.ownerSVGElement!==void 0}function dQ(e){return Be(e)&&Rt(e)==="svg"}function fQ(e){return cQ(e)&&Rt(e)==="title"}function ep(e,t){if(Be(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function on(e,t){return Be(e)?t.indexOf(QX(e))!==-1:!1}function pQ(e){return e.trim().replace(/\s\s+/g," ")}function hQ(e,t){if(!Be(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function mQ(e){return on(e,["button","combobox","listbox","textbox"])||o$(e)}function o$(e,t){return Be(e)?on(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function rR(e,t){var r=ar(e.querySelectorAll(t));return ep(e,"aria-owns").forEach(function(n){r.push.apply(r,ar(n.querySelectorAll(t)))}),r}function gQ(e){return nQ(e)?e.selectedOptions||rR(e,"[selected]"):rR(e,'[aria-selected="true"]')}function bQ(e){return on(e,Wb)}function vQ(e){return n$(e)}function yQ(e){return on(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function wQ(e){return!1}function EQ(e){return of(e)||iQ(e)?e.value:e.textContent||""}function nR(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function i$(e){var t=Rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function a$(e){if(i$(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Be(r)){var n=a$(r);n!==null&&(t=n)}}),t}function _Q(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):a$(e)}function SQ(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ar(t);if(!i$(e))return null;var r=e.ownerDocument;return ar(r.querySelectorAll("label")).filter(function(n){return _Q(n)===e})}function RQ(e){var t=e.assignedNodes();return t.length===0?ar(e.childNodes):t}function s$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new YX,n=aQ(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function f(g,w){var _="";if(Be(g)&&s){var R=l(g,"::before"),x=nR(R);_="".concat(x," ").concat(_)}var y=uQ(g)?RQ(g):ar(g.childNodes).concat(ep(g,"aria-owns"));if(y.forEach(function(C){var N=v(C,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),q=Be(C)?l(C).getPropertyValue("display"):"inline",H=q!=="inline"?" ":"";_+="".concat(H).concat(N).concat(H)}),Be(g)&&s){var b=l(g,"::after"),E=nR(b);_="".concat(_," ").concat(E)}return _.trim()}function p(g,w){var _=g.getAttributeNode(w);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function h(g){return Be(g)?p(g,"title"):null}function m(g){if(!Be(g))return null;if(sQ(g)){r.add(g);for(var w=ar(g.childNodes),_=0;_<w.length;_+=1){var R=w[_];if(lQ(R))return v(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(oQ(g)){r.add(g);for(var x=ar(g.childNodes),y=0;y<x.length;y+=1){var b=x[y];if(n$(b))return v(b,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(dQ(g)){r.add(g);for(var E=ar(g.childNodes),C=0;C<E.length;C+=1){var N=E[C];if(fQ(N))return N.textContent}return null}else if(Rt(g)==="img"||Rt(g)==="area"){var q=p(g,"alt");if(q!==null)return q}else if(rQ(g)){var H=p(g,"label");if(H!==null)return H}if(of(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var F=p(g,"value");if(F!==null)return F;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var T=SQ(g);if(T!==null&&T.length!==0)return r.add(g),ar(T).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(of(g)&&g.type==="image"){var k=p(g,"alt");if(k!==null)return k;var I=p(g,"title");return I!==null?I:"Submit Query"}if(on(g,["button"])){var U=f(g,{isEmbeddedInLabel:!1});if(U!=="")return U}return null}function v(g,w){if(r.has(g))return"";if(!d&&hQ(g,l)&&!w.isReferenced)return r.add(g),"";var _=Be(g)?g.getAttributeNode("aria-labelledby"):null,R=_!==null&&!r.has(_)?ep(g,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&R.length>0)return r.add(_),R.map(function(q){return v(q,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=w.recursion&&mQ(g)&&i==="name";if(!x){var y=(Be(g)&&g.getAttribute("aria-label")||"").trim();if(y!==""&&i==="name")return r.add(g),y;if(!bQ(g)){var b=m(g);if(b!==null)return r.add(g),b}}if(on(g,["menu"]))return r.add(g),"";if(x||w.isEmbeddedInLabel||w.isReferenced){if(on(g,["combobox","listbox"])){r.add(g);var E=gQ(g);return E.length===0?of(g)?g.value:"":ar(E).map(function(q){return v(q,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(o$(g))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(on(g,["textbox"]))return r.add(g),EQ(g)}if(yQ(g)||Be(g)&&w.isReferenced||vQ(g)||wQ()){var C=f(g,{isEmbeddedInLabel:w.isEmbeddedInLabel});if(C!=="")return r.add(g),C}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(w.recursion)return r.add(g),f(g,{isEmbeddedInLabel:w.isEmbeddedInLabel});var N=h(g);return N!==null?(r.add(g),N):(r.add(g),"")}return pQ(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function sc(e){"@babel/helpers - typeof";return sc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sc(e)}function oR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function iR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oR(Object(r),!0).forEach(function(n){xQ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xQ(e,t,r){return t=CQ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CQ(e){var t=AQ(e,"string");return sc(t)==="symbol"?t:String(t)}function AQ(e,t){if(sc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(sc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ep(e,"aria-describedby").map(function(i){return s$(i,iR(iR({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function TQ(e){return on(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function OQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return TQ(e)?"":s$(e,t)}var n1=tr(i5()),$Q=tr(AP()),qQ=tr(a5()),l$=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
738
|
+
`)}},aR=class extends l${constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},sR=class extends l${constructor(...e){super("be a Node",...e)}};function u$(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function kQ(e,...t){u$(e,sR,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new sR(e,...t)}function Ee(e,...t){u$(e,aR,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new aR(e,...t)}var MQ=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
|
|
739
|
+
`)}};function NQ(e,...t){let r=jX(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new MQ({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function lR(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function it(e,t,r,n,o,i){return[`${t}
|
|
740
|
+
`,`${r}:
|
|
741
|
+
${e.utils.EXPECTED_COLOR((0,tR.default)(lR(e,n),2))}`,`${o}:
|
|
742
|
+
${e.utils.RECEIVED_COLOR((0,tR.default)(lR(e,i),2))}`].join(`
|
|
743
|
+
`)}function IQ(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function hh(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function mh(e){return e.replace(/\s+/g," ").trim()}function zn(e){return e.tagName&&e.tagName.toLowerCase()}function jQ({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function DQ(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var LQ=["meter","progressbar","slider","spinbutton"];function FQ(e){if(LQ.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function c$(e){if(e)switch(e.tagName.toLowerCase()){case"input":return DQ(e);case"select":return jQ(e);default:return e.value??FQ(e)}}function BQ(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function o1(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}function Gb(e,t){return hh("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ee(e,Gb,this),t&&Ee(t,Gb,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
744
|
+
`)}}function d$(e){(e!==null||!this.isNot)&&Ee(e,d$,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
745
|
+
`)}}function f$(e){return hh("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ee(e,f$,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
746
|
+
`)}}function p$(e){return Ee(e,p$,this),{pass:zQ(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
747
|
+
`)}}function zQ(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Kb(e,t){return Ee(e,Kb,this),t!==null&&Ee(t,Kb,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
748
|
+
`)].join(`
|
|
749
|
+
`)}}function HQ(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function h$(e,t){if(Ee(e,h$,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(HQ(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
750
|
+
`)}}function m$(e,t,r={normalizeWhitespace:!0}){kQ(e,m$,this);let n=r.normalizeWhitespace?mh(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&IQ(n,t),message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function Yb(e,t){Ee(e,Yb,this);let r=PQ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Yb.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var tu="aria-invalid",UQ=["false"];function g$(e,t){Ee(e,g$,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>it(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(tu);if(!e.hasAttribute(tu)||UQ.includes(i))return{pass:!1,message:()=>it(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${tu}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${tu}="${e.getAttribute(tu)}`:null)};let a=mh(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>it(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var VQ=KQ(n1.elementRoles);function Zb(e,t){Ee(e,Zb,this);let r=WQ(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Zb.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function WQ(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):GQ(e)}function GQ(e){for(let{match:t,roles:r}of VQ)if(t(e))return[...r];return[]}function KQ(e){function t({name:a,attributes:s}){return`${a}${s.map(({name:u,value:l,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${u}])`:l?`[${u}="${l}"]`:`[${u}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:s}){return s-a}function o(a){let{attributes:s=[]}=a,u=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);let l=t({...a,attributes:s});return c=>u>=0&&c.type!=="text"?!1:c.matches(l)}let i=[];for(let[a,s]of e.entries())i=[...i,{match:o(a),roles:Array.from(s),specificity:r(a)}];return i.sort(n)}function Jb(e,t){Ee(e,Jb,this);let r=OQ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Jb.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function uR(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function YQ(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function b$(e,t,r){Ee(e,b$,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let a=this.isNot?"not to":"to",s=o?uR(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:YQ(this.utils.stringify,t,r)});return it(this,u,`Expected the element ${a} have attribute`,uR(this.utils.stringify,t,r),"Received",s)}}}function ZQ(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function cR(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function dR(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function v$(e,...t){Ee(e,v$,this);let{expectedClassNames:r,options:n}=ZQ(t),o=cR(e.getAttribute("class")),i=r.reduce((s,u)=>s.concat(typeof u=="string"||!u?cR(u):u),[]),a=i.some(s=>s instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:dR(i,o)&&i.length===o.length,message:()=>{let s=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:dR(i,o),message:()=>{let s=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${s} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?it(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
751
|
+
`)}}function JQ(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function XQ(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function fR(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
752
|
+
`)}function QQ(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(fR(t),fR(n)).replace(`${$Q.default.red("+ Received")}
|
|
753
|
+
`,"")}function Xb(e,t){Ee(e,Xb,this);let r=typeof t=="object"?t:NQ(t,Xb,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=JQ(e.ownerDocument,r),i=n(e);return{pass:XQ(o,i),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),QQ(this.utils.diff,o,i)].join(`
|
|
754
|
+
|
|
755
|
+
`)}}}function y$(e){return Ee(e,y$,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
756
|
+
`)}}function eee(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function tee(e,t){let r=[...e.querySelectorAll(`[name="${(0,qQ.default)(t)}"]`)];if(r.length!==0)return r.length===1?c$(r[0]):eee(r)}function ree(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function nee(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[ree(r)]:tee(e,r)}),{})}function w$(e,t){if(Ee(e,w$,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=nee(e);return{pass:Object.entries(t).every(([n,o])=>o1(r[n],o)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,s)=>({...a,[s]:r[s]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
|
|
757
|
+
|
|
758
|
+
`)}}}function oee(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function iee(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function E$(e,t){return oee(e)&&iee(e,t)&&(!e.parentElement||E$(e.parentElement,e))}function _$(e){Ee(e,_$,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&E$(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
759
|
+
`)}}}var aee=["fieldset","input","select","optgroup","option","button","textarea"];function see(e,t){return zn(e)==="legend"&&zn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>zn(r)==="legend"))}function lee(e,t){return R$(t)&&!see(e,t)}function uee(e){return e.includes("-")}function S$(e){let t=zn(e);return aee.includes(t)||uee(t)}function R$(e){return S$(e)&&e.hasAttribute("disabled")}function x$(e){let t=e.parentElement;return!!t&&(lee(e,t)||x$(t))}function C$(e){return S$(e)&&(R$(e)||x$(e))}function A$(e){Ee(e,A$,this);let t=C$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
760
|
+
`)}}}function P$(e){Ee(e,P$,this);let t=!C$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
761
|
+
`)}}}var cee=["select","textarea"],dee=["input","select","textarea"],fee=["color","hidden","range","submit","image","reset"],pee=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function hee(e){return cee.includes(zn(e))&&e.hasAttribute("required")}function mee(e){return zn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!fee.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function gee(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(dee.includes(zn(e))||e.hasAttribute("role")&&pee.includes(e.getAttribute("role")))}function T$(e){Ee(e,T$,this);let t=hee(e)||mee(e)||gee(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
762
|
+
`)}}}var bee=["form","input","select","textarea"];function vee(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function yee(e){return bee.includes(zn(e))}function O$(e){let t=vee(e);return yee(e)?t||!e.checkValidity():t}function $$(e){Ee(e,$$,this);let t=O$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
763
|
+
`)}}}function q$(e){Ee(e,q$,this);let t=!O$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
764
|
+
`)}}}function k$(e,t){if(Ee(e,k$,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=c$(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?o1(r,t):!!r,message:()=>{let a=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return it(this,s,`Expected the element ${a} have value`,n?o:"(any)","Received",i)}}}function M$(e,t){Ee(e,M$,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=wee(r,e),o=Eee(t),i=o.filter(u=>n.some(l=>u instanceof RegExp?u.test(l):this.equals(l,String(u)))).length,a=i===n.length,s=i===o.length;return{pass:a&&s,message:()=>it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function wee(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function Eee(e){return e instanceof Array?e:[e]}function N$(e){Ee(e,N$,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>I$(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${_ee()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
765
|
+
`)}}}function _ee(){return BQ(See().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function See(){return n1.roles.keys().filter(I$)}function I$(e){return n1.roles.get(e)?.props["aria-checked"]!==void 0}function j$(e){Ee(e,j$,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
766
|
+
`)}}}function D$(e,t){hh("toHaveDescription","Please use toHaveAccessibleDescription."),Ee(e,D$,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(s=>i.getElementById(s)).filter(Boolean);o=mh(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function L$(e,t){if(hh("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ee(e,L$,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>it(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(s=>i.getElementById(s)).filter(Boolean);o=mh(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function Ree(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||a)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}function F$(e,t){Ee(e,F$,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=Ree(e);return{pass:r?o1(n,t):!!n,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return it(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)}}}function B$(e){Ee(e,B$,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePressed()'}:{pass:r&&n==="true",message:()=>{let o=this.utils.matcherHint(`${this.isNot?".not":""}.toBePressed`,"element","");return it(this,o,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)}}}function z$(e){Ee(e,z$,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false"||n==="mixed")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()'}:{pass:r&&n==="mixed",message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyPressed`,"element","");return it(this,i,`Expected element ${o} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)}}}var xee=1,H$=2,U$=4,Cee=8,Aee=16,Pee=32,pR={[xee]:"Node.DOCUMENT_POSITION_DISCONNECTED",[H$]:"Node.DOCUMENT_POSITION_PRECEDING",[U$]:"Node.DOCUMENT_POSITION_FOLLOWING",[Cee]:"Node.DOCUMENT_POSITION_CONTAINS",[Aee]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[Pee]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function Tee(e){return e in pR?`${pR[e]} (${e})`:`Unknown document position (${e})`}function V$(e,t){return function(r,n){Ee(r,Qb,this),Ee(n,Qb,this);let o=r.compareDocumentPosition(n);return{pass:o===t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${Tee(o)}`].join(`
|
|
767
|
+
`)}}}function Qb(e,t){return V$("toAppearBefore",U$).apply(this,[e,t])}function Oee(e,t){return V$("toAppearAfter",H$).apply(this,[e,t])}tr(o5());tr(i5());tr(AP());tr(a5());var Ym,hR;function $ee(){if(hR)return Ym;hR=1;var e,t,r,n,o,i,a,s,u,l,c,d,f,p,h,m,v,g,w;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,h=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,c=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,m=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,w=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,p=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,g=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,v=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,l=RegExp(s.source),Ym=function*(_,{jsx:R=!1}={}){var x,y,b,E,C,N,q,H,F,T,k,I,U,G;for({length:N}=_,E=0,C="",G=[{tag:"JS"}],x=[],k=0,I=!1;E<N;){switch(H=G[G.length-1],H.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[E]==="/"&&(g.test(C)||i.test(C))&&(f.lastIndex=E,q=f.exec(_))){E=f.lastIndex,C=q[0],I=!0,yield{type:"RegularExpressionLiteral",value:q[0],closed:q[1]!==void 0&&q[1]!=="\\"};continue}if(d.lastIndex=E,q=d.exec(_)){switch(U=q[0],F=d.lastIndex,T=U,U){case"(":C==="?NonExpressionParenKeyword"&&G.push({tag:"JSNonExpressionParen",nesting:k}),k++,I=!1;break;case")":k--,I=!0,H.tag==="JSNonExpressionParen"&&k===H.nesting&&(G.pop(),T="?NonExpressionParenEnd",I=!1);break;case"{":d.lastIndex=0,b=!v.test(C)&&(g.test(C)||i.test(C)),x.push(b),I=!1;break;case"}":switch(H.tag){case"InterpolationInTemplate":if(x.length===H.nesting){m.lastIndex=E,q=m.exec(_),E=m.lastIndex,C=q[0],q[1]==="${"?(C="?InterpolationInTemplate",I=!1,yield{type:"TemplateMiddle",value:q[0]}):(G.pop(),I=!0,yield{type:"TemplateTail",value:q[0],closed:q[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===H.nesting){G.pop(),E+=1,C="}",yield{type:"JSXPunctuator",value:"}"};continue}}I=x.pop(),T=I?"?ExpressionBraceEnd":"}";break;case"]":I=!0;break;case"++":case"--":T=I?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(R&&(g.test(C)||i.test(C))){G.push({tag:"JSXTag"}),E+=1,C="<",yield{type:"JSXPunctuator",value:U};continue}I=!1;break;default:I=!1}E=F,C=T,yield{type:"Punctuator",value:U};continue}if(e.lastIndex=E,q=e.exec(_)){switch(E=e.lastIndex,T=q[0],q[0]){case"for":case"if":case"while":case"with":C!=="."&&C!=="?."&&(T="?NonExpressionParenKeyword")}C=T,I=!i.test(q[0]),yield{type:q[1]==="#"?"PrivateIdentifier":"IdentifierName",value:q[0]};continue}if(h.lastIndex=E,q=h.exec(_)){E=h.lastIndex,C=q[0],I=!0,yield{type:"StringLiteral",value:q[0],closed:q[2]!==void 0};continue}if(c.lastIndex=E,q=c.exec(_)){E=c.lastIndex,C=q[0],I=!0,yield{type:"NumericLiteral",value:q[0]};continue}if(m.lastIndex=E,q=m.exec(_)){E=m.lastIndex,C=q[0],q[1]==="${"?(C="?InterpolationInTemplate",G.push({tag:"InterpolationInTemplate",nesting:x.length}),I=!1,yield{type:"TemplateHead",value:q[0]}):(I=!0,yield{type:"NoSubstitutionTemplate",value:q[0],closed:q[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=E,q=r.exec(_)){switch(E=r.lastIndex,T=q[0],q[0]){case"<":G.push({tag:"JSXTag"});break;case">":G.pop(),C==="/"||H.tag==="JSXTagEnd"?(T="?JSX",I=!0):G.push({tag:"JSXChildren"});break;case"{":G.push({tag:"InterpolationInJSX",nesting:x.length}),T="?InterpolationInJSX",I=!1;break;case"/":C==="<"&&(G.pop(),G[G.length-1].tag==="JSXChildren"&&G.pop(),G.push({tag:"JSXTagEnd"}))}C=T,yield{type:"JSXPunctuator",value:q[0]};continue}if(t.lastIndex=E,q=t.exec(_)){E=t.lastIndex,C=q[0],yield{type:"JSXIdentifier",value:q[0]};continue}if(n.lastIndex=E,q=n.exec(_)){E=n.lastIndex,C=q[0],yield{type:"JSXString",value:q[0],closed:q[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=E,q=o.exec(_)){E=o.lastIndex,C=q[0],yield{type:"JSXText",value:q[0]};continue}switch(_[E]){case"<":G.push({tag:"JSXTag"}),E++,C="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":G.push({tag:"InterpolationInJSX",nesting:x.length}),E++,C="?InterpolationInJSX",I=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(w.lastIndex=E,q=w.exec(_)){E=w.lastIndex,yield{type:"WhiteSpace",value:q[0]};continue}if(s.lastIndex=E,q=s.exec(_)){E=s.lastIndex,I=!1,a.test(C)&&(C="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:q[0]};continue}if(u.lastIndex=E,q=u.exec(_)){E=u.lastIndex,l.test(q[0])&&(I=!1,a.test(C)&&(C="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:q[0],closed:q[1]!==void 0};continue}if(p.lastIndex=E,q=p.exec(_)){E=p.lastIndex,I=!1,yield{type:"SingleLineComment",value:q[0]};continue}y=String.fromCodePoint(_.codePointAt(E)),E+=y.length,C=y,I=!1,yield{type:H.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:y}}},Ym}var qee=$ee();hT(qee);var W$={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(W$.keyword);new Set(W$.strict);var kee={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},G$=Object.entries(kee);function gh(e){return String(e)}gh.open="";gh.close="";G$.reduce((e,[t])=>(e[t]=gh,e),{isColorSupported:!1});function Mee(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function Nee(e=!1){let t=Mee(e),r=(a,s,u,l)=>{let c="",d=0;do c+=a.substring(d,l)+u,d=l+s.length,l=a.indexOf(s,d);while(~l);return c+a.substring(d)},n=(a,s,u=a)=>{let l=c=>{let d=String(c),f=d.indexOf(s,a.length);return~f?a+r(d,s,u,f)+s:a+d+s};return l.open=a,l.close=s,l},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,s]of G$)o[a]=t?n(i(s[0]),i(s[1]),s[2]):gh;return o}var Bt=Nee();function Zm(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var lc=Symbol.for("matchers-object"),uc=Symbol.for("$$jest-matchers-object-storybook"),i1=Symbol.for("expect-global"),ev=Symbol.for("asymmetric-matchers-object"),Iee={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,a=t(e);return{pass:a,message:()=>a?`${i(".not.toSatisfy","received","")}
|
|
768
|
+
|
|
769
|
+
Expected value to not satisfy:
|
|
770
|
+
${r||o(t)}
|
|
771
|
+
Received:
|
|
772
|
+
${n(e)}`:`${i(".toSatisfy","received","")}
|
|
773
|
+
|
|
774
|
+
Expected value to satisfy:
|
|
775
|
+
${r||o(t)}
|
|
776
|
+
|
|
777
|
+
Received:
|
|
778
|
+
${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(u=>r(u,e,n));return{pass:s,message:()=>s?`${a(".not.toBeOneOf","received","")}
|
|
779
|
+
|
|
780
|
+
Expected value to not be one of:
|
|
781
|
+
${i(t)}
|
|
782
|
+
Received:
|
|
783
|
+
${o(e)}`:`${a(".toBeOneOf","received","")}
|
|
784
|
+
|
|
785
|
+
Expected value to be one of:
|
|
786
|
+
${i(t)}
|
|
787
|
+
|
|
788
|
+
Received:
|
|
789
|
+
${o(e)}`}}},tp=Bt.green,a1=Bt.red,jee=Bt.inverse,Dee=Bt.bold,xn=Bt.dim;function Lee(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:s="",secondArgument:u="",expectedColor:l=tp,receivedColor:c=a1,secondArgumentColor:d=tp}=n,f="",p="expect";return!i&&t!==""&&(f+=xn(`${p}(`)+c(t),p=")"),s!==""&&(f+=xn(`${p}.`)+s,p=""),a&&(f+=`${xn(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=xn(`${p}.`)+e,p=""),r===""?p+="()":(f+=xn(`${p}(`)+l(r),u&&(f+=xn(", ")+d(u)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(f+=xn(p)),f}var Fee="·";function K$(e){return e.replace(/\s+$/gm,t=>Fee.repeat(t.length))}function Bee(e){return a1(K$(Ht(e)))}function zee(e){return tp(K$(Ht(e)))}function Y$(){return{EXPECTED_COLOR:tp,RECEIVED_COLOR:a1,INVERTED_COLOR:jee,BOLD_WEIGHT:Dee,DIM_COLOR:xn,diff:Xi,matcherHint:Lee,printReceived:Bee,printExpected:zee,printDiffOrStringify:TT,printWithType:Hee}}function Hee(e,t,r){let n=Hf(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
|
|
790
|
+
`:"",i=`${e} has value: ${r(t)}`;return o+i}function s1(){return globalThis[uc].customEqualityTesters}function Ce(e,t,r,n){return r=r||[],Du(e,t,[],[],r,n?Z$:Wee)}function mR(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&ur("Function",e.asymmetricMatch)}function Uee(e,t){let r=mR(e),n=mR(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Du(e,t,r,n,o,i){let a=!0,s=Uee(e,t);if(s!==void 0)return s;let u={equals:Ce};for(let h=0;h<o.length;h++){let m=o[h].call(u,e,t,o);if(m!==void 0)return m}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let l=Object.prototype.toString.call(e);if(l!==Object.prototype.toString.call(t))return!1;switch(l){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let h=+e,m=+t;return h===m||Number.isNaN(h)&&Number.isNaN(m)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(bR(e)&&bR(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),l==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return Vee(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let d=gR(e,i),f,p=d.length;if(gR(t,i).length!==p)return!1;for(;p--;)if(f=d[p],a=i(t,f)&&Du(e[f],t[f],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function Vee(e,t,r,n,o,i){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=Du(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=Du(e.errors,t.errors,r,n,o,i)),a&&(a=Du({...e},{...t},r,n,o,i)),a}function gR(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function Wee(e,t){return Z$(e,t)&&e[t]!==void 0}function Z$(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ur(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function bR(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var J$="@@__IMMUTABLE_KEYED__@@",X$="@@__IMMUTABLE_SET__@@",Gee="@@__IMMUTABLE_LIST__@@",bh="@@__IMMUTABLE_ORDERED__@@",Kee="@@__IMMUTABLE_RECORD__@@";function Yee(e){return!!(e&&e[J$]&&!e[bh])}function Zee(e){return!!(e&&e[X$]&&!e[bh])}function vh(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Jee(e){return!!(e&&vh(e)&&e[Gee])}function Xee(e){return!!(e&&vh(e)&&e[J$]&&e[bh])}function Qee(e){return!!(e&&vh(e)&&e[X$]&&e[bh])}function ete(e){return!!(e&&vh(e)&&e[Kee])}var Q$=Symbol.iterator;function vR(e){return!!(e!=null&&e[Q$])}function Yt(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!vR(e)||!vR(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let a=[...r.filter(l=>l!==Yt),s];function s(l,c){return Yt(l,c,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(ur("Set",e)||Zee(e)){let l=!0;for(let c of e)if(!t.has(c)){let d=!1;for(let f of t)Ce(c,f,a)===!0&&(d=!0);if(d===!1){l=!1;break}}return n.pop(),o.pop(),l}else if(ur("Map",e)||Yee(e)){let l=!0;for(let c of e)if(!t.has(c[0])||!Ce(c[1],t.get(c[0]),a)){let d=!1;for(let f of t){let p=Ce(c[0],f[0],a),h=!1;p===!0&&(h=Ce(c[1],f[1],a)),h===!0&&(d=!0)}if(d===!1){l=!1;break}}return n.pop(),o.pop(),l}}let u=t[Q$]();for(let l of e){let c=u.next();if(c.done||!Ce(l,c.value,a))return!1}if(!u.next().done)return!1;if(!Jee(e)&&!Xee(e)&&!Qee(e)&&!ete(e)){let l=Object.entries(e),c=Object.entries(t);if(!Ce(l,c,a))return!1}return n.pop(),o.pop(),!0}function l1(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||l1(Object.getPrototypeOf(e),t)}function tte(e){return ef(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Yc(e,t,r=[]){let n=r.filter(i=>i!==Yc),o=(i=new WeakMap)=>(a,s)=>{if(tte(s))return Object.keys(s).every(u=>{if(s[u]!=null&&typeof s[u]=="object"){if(i.has(s[u]))return Ce(a[u],s[u],n);i.set(s[u],!0)}let l=a!=null&&l1(a,u)&&Ce(a[u],s[u],[...n,o(i)]);return i.delete(s[u]),l})};return o()(e,t)}function yR(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function wR(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function tv(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(a=>a!==tv);return Ce(e,t,i,!0)&&Ce(n,o)}function rte(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
791
|
+
|
|
792
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
793
|
+
|
|
794
|
+
Expected: ${t}
|
|
795
|
+
Received: serializes to the same string
|
|
796
|
+
`:n}function nte(e,t){return`${t} ${e}${t===1?"":"s"}`}function Jm(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function ote(e,t,r){let n=0,o=(i=new WeakMap)=>(a,s)=>{if(Array.isArray(a)){if(Array.isArray(s)&&s.length===a.length)return s.map((u,l)=>o(i)(a[l],u))}else{if(a instanceof Date)return a;if(ef(a)&&ef(s)){if(Ce(a,s,[...r,Yt,Yc]))return s;let u={};i.set(a,u),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:a.constructor});for(let l of Jm(a))l1(s,l)?u[l]=i.has(a[l])?i.get(a[l]):o(i)(a[l],s[l]):i.has(a[l])||(n+=1,ef(a[l])&&(n+=Jm(a[l]).length),o(i)(a[l],s[l]));if(Jm(u).length>0)return u}}return a};return{subset:o()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,lc)){let e=new WeakMap;Object.defineProperty(globalThis,lc,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,uc)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,uc,{configurable:!0,get:()=>({state:globalThis[lc].get(globalThis[i1]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ev)){let e=Object.create(null);Object.defineProperty(globalThis,ev,{get:()=>e})}function rp(e){return globalThis[lc].get(e)}function Xm(e,t){let r=globalThis[lc],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}var yn=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...rp(e||globalThis[i1]),equals:Ce,isNot:this.inverse,customTesters:s1(),utils:{...Y$(),diff:Xi,stringify:Ht,iterableEquality:Yt,subsetEquality:Yc}}}};yn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Ht(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var ER=class extends yn{constructor(e,t=!1){if(!ur("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=ur("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},ite=class extends yn{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},_R=class extends yn{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!Ce(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},SR=class extends yn{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>Ce(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},ate=class extends yn{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},RR=class extends yn{constructor(e,t=!1){if(!ur("String",e)&&!ur("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=ur("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},xR=class extends yn{precision;constructor(e,t=2,r=!1){if(!ur("Number",e))throw new Error("Expected is not a Number");if(!ur("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!ur("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${nte("digit",this.precision)})`].join(" ")}},ste=(e,t)=>{t.addMethod(e.expect,"anything",()=>new ite),t.addMethod(e.expect,"any",r=>new ate(r)),t.addMethod(e.expect,"stringContaining",r=>new ER(r)),t.addMethod(e.expect,"objectContaining",r=>new _R(r)),t.addMethod(e.expect,"arrayContaining",r=>new SR(r)),t.addMethod(e.expect,"stringMatching",r=>new RR(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new xR(r,n)),e.expect.not={stringContaining:r=>new ER(r,!0),objectContaining:r=>new _R(r,!0),arrayContaining:r=>new SR(r,!0),stringMatching:r=>new RR(r,!0),closeTo:(r,n)=>new xR(r,n,!0)}};function CR(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}function AR(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var a;let s=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
797
|
+
`,s].join(""))}}),{then(a,s){return i=!0,t.then(a,s)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function PR(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(s0(t))}function e6(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{let i=r.apply(this,n);return i&&typeof i=="object"&&typeof i.then=="function"?i.then(yH,a=>{PR(o,a)}):i}catch(i){PR(o,i)}}}var lte=(e,t)=>{let{AssertionError:r}=e,n=s1();function o(l,c){let d=f=>{let p=e6(t,f,c);t.addMethod(e.Assertion.prototype,f,p),t.addMethod(globalThis[uc].matchers,f,p)};Array.isArray(l)?l.forEach(f=>d(f)):d(l)}["throw","throws","Throw"].forEach(l=>{t.overwriteMethod(e.Assertion.prototype,l,c=>function(...d){let f=t.flag(this,"promise"),p=t.flag(this,"object"),h=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw p});else if(f==="resolves"&&typeof p!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",v={showDiff:!1};throw new r(m,v,t.flag(this,"ssfi"))}}c.apply(this,d)})}),o("withTest",function(l){return t.flag(this,"vitest-test",l),this}),o("toEqual",function(l){let c=t.flag(this,"object"),d=Ce(c,l,[...n,Yt]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",l,c)}),o("toStrictEqual",function(l){let c=t.flag(this,"object"),d=Ce(c,l,[...n,Yt,yR,tv,wR],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",l,c)}),o("toBe",function(l){let c=this._obj,d=Object.is(c,l),f="";return d||(Ce(c,l,[...n,Yt,yR,tv,wR],!0)?f="toStrictEqual":Ce(c,l,[...n,Yt])&&(f="toEqual")),this.assert(d,rte(f),"expected #{this} not to be #{exp} // Object.is equality",l,c)}),o("toMatchObject",function(l){let c=this._obj,d=Ce(c,l,[...n,Yt,Yc]),f=t.flag(this,"negate"),{subset:p,stripped:h}=ote(c,l,n);if(d&&f||!d&&!f){let m=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",l,p,!1]),v=h===0?m:`${m}
|
|
798
|
+
(${h} matching ${h===1?"property":"properties"} omitted from actual)`;throw new r(v,{showDiff:!0,expected:l,actual:p})}}),o("toMatch",function(l){let c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof l=="string"?c.includes(l):c.match(l),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",l,c)}),o("toContain",function(l){let c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(l instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof l}`);return this.assert(c.contains(l),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",l,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){Fr(l,"class name",["string"]);let d=t.flag(this,"negate")?c.value.replace(l,"").trim():`${c.value} ${l}`;return this.assert(c.contains(l),`expected "${c.value}" to contain "${l}"`,`expected "${c.value}" not to contain "${l}"`,d,c.value)}return typeof c=="string"&&typeof l=="string"?this.assert(c.includes(l),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",l,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(l))}),o("toContainEqual",function(l){let c=t.flag(this,"object"),d=Array.from(c).findIndex(f=>Ce(f,l,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",l)}),o("toBeTruthy",function(){let l=t.flag(this,"object");this.assert(!!l,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,l)}),o("toBeFalsy",function(){let l=t.flag(this,"object");this.assert(!l,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,l)}),o("toBeGreaterThan",function(l){let c=this._obj;return Fr(c,"actual",["number","bigint"]),Fr(l,"expected",["number","bigint"]),this.assert(c>l,`expected ${c} to be greater than ${l}`,`expected ${c} to be not greater than ${l}`,l,c,!1)}),o("toBeGreaterThanOrEqual",function(l){let c=this._obj;return Fr(c,"actual",["number","bigint"]),Fr(l,"expected",["number","bigint"]),this.assert(c>=l,`expected ${c} to be greater than or equal to ${l}`,`expected ${c} to be not greater than or equal to ${l}`,l,c,!1)}),o("toBeLessThan",function(l){let c=this._obj;return Fr(c,"actual",["number","bigint"]),Fr(l,"expected",["number","bigint"]),this.assert(c<l,`expected ${c} to be less than ${l}`,`expected ${c} to be not less than ${l}`,l,c,!1)}),o("toBeLessThanOrEqual",function(l){let c=this._obj;return Fr(c,"actual",["number","bigint"]),Fr(l,"expected",["number","bigint"]),this.assert(c<=l,`expected ${c} to be less than or equal to ${l}`,`expected ${c} to be not less than or equal to ${l}`,l,c,!1)}),o("toBeNaN",function(){let l=t.flag(this,"object");this.assert(Number.isNaN(l),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,l)}),o("toBeUndefined",function(){let l=t.flag(this,"object");this.assert(l===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,l)}),o("toBeNull",function(){let l=t.flag(this,"object");this.assert(l===null,"expected #{this} to be null","expected #{this} not to be null",null,l)}),o("toBeDefined",function(){let l=t.flag(this,"object");this.assert(typeof l<"u","expected #{this} to be defined","expected #{this} to be undefined",l)}),o("toBeTypeOf",function(l){let c=typeof this._obj,d=l===c;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",l,c)}),o("toBeInstanceOf",function(l){return this.instanceOf(l)}),o("toHaveLength",function(l){return this.have.length(l)}),o("toHaveProperty",function(...l){Array.isArray(l[0])&&(l[0]=l[0].map(w=>String(w).replace(/([.[\]])/g,"\\$1")).join("."));let c=this._obj,[d,f]=l,p=()=>Object.prototype.hasOwnProperty.call(c,d)?{value:c[d],exists:!0}:t.getPathInfo(c,d),{value:h,exists:m}=p(),v=m&&(l.length===1||Ce(f,h,n)),g=l.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(v,`expected #{this} to have property "${d}"${g}`,`expected #{this} to not have property "${d}"${g}`,f,m?h:void 0)}),o("toBeCloseTo",function(l,c=2){let d=this._obj,f=!1,p=0,h=0;return l===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||l===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?f=!0:(p=10**-c/2,h=Math.abs(d-l),f=h<p),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${h}, but expected ${p}`,`expected #{this} to not be close to #{exp}, received difference is ${h}, but expected ${p}`,l,d,!1)});function i(l){if(!Zm(l._obj))throw new TypeError(`${t.inspect(l._obj)} is not a spy or a call to a spy!`)}function a(l){return i(l),l._obj}o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(l){let c=a(this),d=c.getMockName(),f=c.mock.calls.length;return this.assert(f===l,`expected "${d}" to be called #{exp} times, but got ${f} times`,`expected "${d}" to not be called #{exp} times`,l,f,!1)}),o("toHaveBeenCalledOnce",function(){let l=a(this),c=l.getMockName(),d=l.mock.calls.length;return this.assert(d===1,`expected "${c}" to be called once, but got ${d} times`,`expected "${c}" to not be called once`,1,d,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let l=a(this),c=l.getMockName(),d=l.mock.calls.length,f=d>0,p=t.flag(this,"negate"),h=t.getMessage(this,[f,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${d} times`,!0,f]);if(f&&p&&(h=Qm(l,h)),f&&p||!f&&!p)throw new r(h)});function s(l,c){return l.length===c.length&&l.every((d,f)=>Ce(d,c[f],[...n,Yt]))}o(["toHaveBeenCalledWith","toBeCalledWith"],function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls.some(m=>s(m,l)),p=t.flag(this,"negate"),h=t.getMessage(this,[f,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,l]);if(f&&p||!f&&!p)throw new r(Qm(c,h,l))}),o("toHaveBeenCalledExactlyOnceWith",function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls.length,p=c.mock.calls.some(v=>s(v,l))&&f===1,h=t.flag(this,"negate"),m=t.getMessage(this,[p,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,l]);if(p&&h||!p&&!h)throw new r(Qm(c,m,l))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(l,...c){let d=a(this),f=d.getMockName(),p=d.mock.calls[l-1],h=d.mock.calls.length,m=l<=h;this.assert(p&&s(p,c),`expected ${Lu(l)} "${f}" call to have been called with #{exp}${m?"":`, but called only ${h} times`}`,`expected ${Lu(l)} "${f}" call to not have been called with #{exp}`,c,p,m)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls[c.mock.calls.length-1];this.assert(f&&s(f,l),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,l,f)});function u(l,c,d){let f=l.mock.invocationCallOrder,p=c.mock.invocationCallOrder;return f.length===0?!d:p.length===0?!1:f[0]<p[0]}o(["toHaveBeenCalledBefore"],function(l,c=!0){let d=a(this);if(!Zm(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(u(d,l,c),`expected "${d.getMockName()}" to have been called before "${l.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${l.getMockName()}"`,l,d)}),o(["toHaveBeenCalledAfter"],function(l,c=!0){let d=a(this);if(!Zm(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(u(l,d,c),`expected "${d.getMockName()}" to have been called after "${l.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${l.getMockName()}"`,l,d)}),o(["toThrow","toThrowError"],function(l){if(typeof l=="string"||typeof l>"u"||l instanceof RegExp)return this.throws(l===""?/^$/:l);let c=this._obj,d=t.flag(this,"promise"),f=t.flag(this,"negate"),p=null;if(d==="rejects")p=c;else if(d==="resolves"&&typeof c!="function"){if(f)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",m={showDiff:!1};throw new r(h,m,t.flag(this,"ssfi"))}}else{let h=!1;try{c()}catch(m){h=!0,p=m}if(!h&&!f){let m=t.flag(this,"message")||"expected function to throw an error, but it didn't",v={showDiff:!1};throw new r(m,v,t.flag(this,"ssfi"))}}if(typeof l=="function"){let h=l.name||l.prototype.constructor.name;return this.assert(p&&p instanceof l,`expected error to be instance of ${h}`,`expected error not to be instance of ${h}`,l,p)}if(l instanceof Error){let h=Ce(p,l,[...n,Yt]);return this.assert(h,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",l,p)}if(typeof l=="object"&&"asymmetricMatch"in l&&typeof l.asymmetricMatch=="function"){let h=l;return this.assert(p&&h.asymmetricMatch(p),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",h,p)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof l}"`)}),[{name:"toHaveResolved",condition:l=>l.mock.settledResults.length>0&&l.mock.settledResults.some(({type:c})=>c==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:l=>l.mock.calls.length>0&&l.mock.results.some(({type:c})=>c!=="throw"),action:"called"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(){let f=a(this),p=f.getMockName(),h=c(f);this.assert(h,`expected "${p}" to be successfully ${d} at least once`,`expected "${p}" to not be successfully ${d}`,h,!h,!1)})}),[{name:"toHaveResolvedTimes",condition:(l,c)=>l.mock.settledResults.reduce((d,{type:f})=>f==="fulfilled"?++d:d,0)===c,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(l,c)=>l.mock.results.reduce((d,{type:f})=>f==="throw"?d:++d,0)===c,action:"called"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=p.getMockName(),m=c(p,f);this.assert(m,`expected "${h}" to be successfully ${d} ${f} times`,`expected "${h}" to not be successfully ${d} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${m}`,!1)})}),[{name:"toHaveResolvedWith",condition:(l,c)=>l.mock.settledResults.some(({type:d,value:f})=>d==="fulfilled"&&Ce(c,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(l,c)=>l.mock.results.some(({type:d,value:f})=>d==="return"&&Ce(c,f)),action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=c(p,f),m=t.flag(this,"negate");if(h&&m||!h&&!m){let v=p.getMockName(),g=t.getMessage(this,[h,`expected "${v}" to ${d} with: #{exp} at least once`,`expected "${v}" to not ${d} with: #{exp}`,f]),w=d==="return"?p.mock.results:p.mock.settledResults;throw new r(ute(p,w,g,f))}})}),[{name:"toHaveLastResolvedWith",condition:(l,c)=>{let d=l.mock.settledResults[l.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Ce(d.value,c)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(l,c)=>{let d=l.mock.results[l.mock.results.length-1];return d&&d.type==="return"&&Ce(d.value,c)},action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=d==="return"?p.mock.results:p.mock.settledResults,m=h[h.length-1],v=p.getMockName();this.assert(c(p,f),`expected last "${v}" call to ${d} #{exp}`,`expected last "${v}" call to not ${d} #{exp}`,f,m?.value)})}),[{name:"toHaveNthResolvedWith",condition:(l,c,d)=>{let f=l.mock.settledResults[c-1];return f&&f.type==="fulfilled"&&Ce(f.value,d)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(l,c,d)=>{let f=l.mock.results[c-1];return f&&f.type==="return"&&Ce(f.value,d)},action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f,p){let h=a(this),m=h.getMockName(),v=(d==="return"?h.mock.results:h.mock.settledResults)[f-1],g=`${Lu(f)} call`;this.assert(c(h,f,p),`expected ${g} "${m}" call to ${d} #{exp}`,`expected ${g} "${m}" call to not ${d} #{exp}`,p,v?.value)})}),o("withContext",function(l){for(let c in l)t.flag(this,c,l[c]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let l=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",l);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof d?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let f=new Proxy(this,{get:(p,h,m)=>{let v=Reflect.get(p,h,m);return typeof v!="function"?v instanceof e.Assertion?f:v:(...g)=>{t.flag(this,"_name",h);let w=d.then(_=>(t.flag(this,"object",_),v.call(this,...g)),_=>{let R=new r(`promise rejected "${t.inspect(_)}" instead of resolving`,{showDiff:!1});throw R.cause=_,R.stack=l.stack.replace(l.message,R.message),R});return AR(c,w,CR(t,this,!!g.length),l)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let l=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",l);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object"),f=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let p=new Proxy(this,{get:(h,m,v)=>{let g=Reflect.get(h,m,v);return typeof g!="function"?g instanceof e.Assertion?p:g:(...w)=>{t.flag(this,"_name",m);let _=f.then(R=>{let x=new r(`promise resolved "${t.inspect(R)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:R});throw x.stack=l.stack.replace(l.message,x.message),x},R=>(t.flag(this,"object",R),g.call(this,...w)));return AR(c,_,CR(t,this,!!w.length),l)}}});return p})};function Lu(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function Qm(e,t,r){return e.mock.calls.length&&(t+=Bt.gray(`
|
|
799
|
+
|
|
800
|
+
Received:
|
|
801
|
+
|
|
802
|
+
${e.mock.calls.map((n,o)=>{let i=Bt.bold(` ${Lu(o+1)} ${e.getMockName()} call:
|
|
803
|
+
|
|
804
|
+
`);return r?i+=Xi(r,n,{omitAnnotationLines:!0}):i+=Ht(n).split(`
|
|
805
|
+
`).map(a=>` ${a}`).join(`
|
|
806
|
+
`),i+=`
|
|
807
|
+
`,i}).join(`
|
|
808
|
+
`)}`)),t+=Bt.gray(`
|
|
809
|
+
|
|
810
|
+
Number of calls: ${Bt.bold(e.mock.calls.length)}
|
|
811
|
+
`),t}function ute(e,t,r,n){return t.length&&(r+=Bt.gray(`
|
|
812
|
+
|
|
813
|
+
Received:
|
|
814
|
+
|
|
815
|
+
${t.map((o,i)=>{let a=Bt.bold(` ${Lu(i+1)} ${e.getMockName()} call return:
|
|
816
|
+
|
|
817
|
+
`);return n?a+=Xi(n,o.value,{omitAnnotationLines:!0}):a+=Ht(o).split(`
|
|
818
|
+
`).map(s=>` ${s}`).join(`
|
|
819
|
+
`),a+=`
|
|
820
|
+
`,a}).join(`
|
|
821
|
+
`)}`)),r+=Bt.gray(`
|
|
822
|
+
|
|
823
|
+
Number of calls: ${Bt.bold(e.mock.calls.length)}
|
|
824
|
+
`),r}function cte(e,t){let r=e._obj,n=Ar.flag(e,"negate"),o=Ar.flag(e,"promise")||"",i={...Y$(),diff:Xi,stringify:Ht,iterableEquality:Yt,subsetEquality:Yc};return{state:{...rp(t),customTesters:s1(),isNot:n,utils:i,promise:o,equals:Ce,suppressedErrors:[],soft:Ar.flag(e,"soft"),poll:Ar.flag(e,"poll")},isNot:n,obj:r}}var TR=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function dte(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function s(...d){let{state:f,isNot:p,obj:h}=cte(this,t),m=a.call(f,h,...d);if(m&&typeof m=="object"&&typeof m.then=="function")return m.then(({pass:R,message:x,actual:y,expected:b})=>{if(R&&p||!R&&!p)throw new TR(x(),y,b)});let{pass:v,message:g,actual:w,expected:_}=m;if(v&&p||!v&&!p)throw new TR(g(),w,_)}let u=e6(o,i,s);o.addMethod(globalThis[uc].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class l extends yn{constructor(f=!1,...p){super(p,f)}asymmetricMatch(f){let{pass:p}=a.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Ht(f)).join(", ")}>`}}let c=(...d)=>new l(!1,...d);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...d)=>new l(!0,...d),writable:!0}),Object.defineProperty(globalThis[ev],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var fte=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{gi(dte(e,r,n))})};function pte(){gi(fte),gi(lte),gi(ste);let e=((n,o)=>{let{assertionCalls:i}=rp(e);return Xm({assertionCalls:i+1,soft:!1},e),_o(n,o)});Object.assign(e,_o),e.getState=()=>rp(e),e.setState=n=>Xm(n,e),e.extend=n=>_o.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(Iee),e.unreachable=n=>{P.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return Xm({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Ar.addMethod(e,"assertions",t),Ar.addMethod(e,"hasAssertions",r),e.extend(Y5),e}var t6=pte();Object.defineProperty(globalThis,i1,{value:t6,writable:!0,configurable:!0});globalThis.__STORYBOOK_MODULE_MOCK_SPIES__??=new Set;var OR=new Set;function hte(e){return OR.add(e),()=>{OR.delete(e)}}function me(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function rr(e){var t;if(mte(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${gte(e)}`)}function mte(e){return e.nodeType===9}function gte(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function r6(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function u1(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n6=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Dn(this,"kind",void 0),Dn(this,"type",void 0),Dn(this,"file",null),Dn(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},bte=class extends Array{add(...e){let t=new n6(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Rd(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function vte(e){return new class{getData(t){var r;let n=(r=this.items.find(Rd(t,!0)))!==null&&r!==void 0?r:this.items.find(Rd(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(Rd(t,!0)),o=new n6(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Rd(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Dn(this,"dropEffect","none"),Dn(this,"effectAllowed","uninitialized"),Dn(this,"items",new bte),Dn(this,"files",u1(e,[]))}}}function c1(e,t=[]){let r=typeof e.DataTransfer>"u"?vte(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>u1(e,t)}),r}async function yte(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function o6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i6(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){o6(this,"data",void 0),this.data=n}}(r)}var qi=Symbol("Manage ClipboardSub");function $R(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>r6(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[i6(e,r)]}constructor(...r){super(...r),o6(this,"items",[])}},{[qi]:t})}function d1(e){return!!e?.[qi]}function wte(e){if(d1(e.navigator.clipboard))return e.navigator.clipboard[qi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=$R(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=$R(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[qi]}function Ete(e){d1(e.navigator.clipboard)&&e.navigator.clipboard[qi].resetClipboardStub()}function _te(e){d1(e.navigator.clipboard)&&e.navigator.clipboard[qi].detachClipboardStub()}async function Ste(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=c1(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>r6(s,t.FileReader)));return o}async function a6(e,t){let r=rr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],s=await yte(r,a);o.push(i6(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var np=globalThis;typeof np.afterEach=="function"&&np.afterEach(()=>{typeof globalThis.window<"u"&&Ete(globalThis.window)});typeof np.afterAll=="function"&&np.afterAll(()=>{typeof globalThis.window<"u"&&_te(globalThis.window)});var s6=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function f1(e){return e.matches(s6)}function Rte(e){return new e.constructor(e.type,e)}function hn(e){for(let r=e;r;r=r.parentElement)if(me(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(me(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Zc(e){let t=e.activeElement;if(t?.shadowRoot){let r=Zc(t.shadowRoot);if(r)return r}return hn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function eg(e){var t;return(t=Zc(e))!==null&&t!==void 0?t:e.body}function xte(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Oo(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function cc(e){let t=Cte(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Cte(e){return e.nodeType===1?e:e.parentElement}var l6=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(l6||{});function u6(e){return me(e,"button")||me(e,"input")&&e.type in l6}function ki(e){return d6(e)&&!e.readOnly||Oo(e)}var c6=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(c6||{});function d6(e){return me(e,"textarea")||me(e,"input")&&e.type in c6}function Nr(e){return f6(e)&&d6(e)}function Ate(e){return f6(e)&&u6(e)}function f6(e){return e.nodeType===1}function Pte(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&Nr(e)){let n=cc(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Mi(e,t){return we().eventWrapper(e)}function Gn(e){let t=xte(e,f1),r=Zc(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Mi(t?()=>t.focus():()=>r?.blur()),Pte(t??e.ownerDocument.body))}function Tte(e){!f1(e)||Zc(e.ownerDocument)!==e||Mi(()=>e.blur())}var Kn={};Kn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&me(n,"label")&&n.control;if(o&&o!==t)return()=>{f1(o)&&(Gn(o),r.dispatchEvent(o,Rte(e)))};if(me(t,"input",{type:"file"}))return()=>{Tte(t),t.dispatchEvent(new(rr(t)).Event("fileDialog")),Gn(t)}};var Ni=Symbol("Displayed value in UI"),an=Symbol("Displayed selection in UI"),op=Symbol("Initial value to compare on blur");function Ote(e){return typeof e=="object"&&Ni in e}function $te(e){return!!e&&typeof e=="object"&&an in e}function qte(e,t){e[op]===void 0&&(e[op]=e.value),e[Ni]=t,e.value=Object.assign(new String(t),{[Ni]:!0})}function Ir(e){return e[Ni]===void 0?e.value:String(e[Ni])}function p1(e){e[Ni]=void 0}function p6(e){e[op]=void 0}function kte(e){return e[op]}function Mte(e,t){e[an]=t}function ta(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Ir(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[an]===void 0?i(r):e[an].anchorOffset,s=i(t),u=Math.min(a,s),l=Math.max(a,s);if(e[an]={anchorOffset:a,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;let c=Object.assign(new Number(u),{[an]:!0});try{e.setSelectionRange(c,l)}catch{}}function dc(e){var t,r,n;let o=(t=e[an])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Nte(e){return!!e[an]}function af(e){e[an]=void 0}var ip=globalThis.parseInt;function Ite(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ip(t[0],10),n=ip(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,qR(t,o)}return e.length===2?e:qR(t,2)}function qR(e,t){let r=e.slice(0,t),n=Math.min(ip(r,10),23),o=e.slice(t),i=ip(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function h6(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var m6=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(m6||{});function jte(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Dte(e){return me(e,"textarea")||me(e,"input")&&e.type in m6}function g6(e,t,r,n){if(sf(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=kR(e,t,r);if(o){if(sf(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(me(o,"br")){let i=kR(o,void 0,r);return i?sf(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&me(i,"br")?{node:o.parentNode,offset:xd(o)}:{node:i.parentNode,offset:xd(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:xd(o)}:void 0}else return{node:o.parentNode,offset:xd(o)+(r>0?1:0)}}}function kR(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&h1(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Fte(e,r===1?"next":"previous",Lte)}function Lte(e){if(sf(e))return!0;if(h1(e)){if(me(e,["input","textarea"]))return e.type!=="hidden";if(me(e,"br"))return!0}return!1}function xd(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function h1(e){return e.nodeType===1}function sf(e){return e.nodeType===3}function Fte(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Bte(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!h1(e.parentNode)||!Oo(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Bte(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var fc=Symbol("Track programmatic changes for React workaround");function zte(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&rr(e).REACT_VERSION===17}function Hte(e){zte(e)&&(e[fc]={previousValue:String(e.value),tracked:[]})}function Ute(e,t){var r,n;(n=e[fc])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[fc]||(p1(e),ta(e,{focusOffset:t.length}))}function Vte(e,t){var r;let n=e[fc];if(e[fc]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||p1(e),Nte(e)&&ta(e,{focusOffset:o?t:e.value.length})}function b6(e){let t=Wte(e);if(t&&Nr(t))return{type:"input",selection:dc(t)};let r=t?.ownerDocument.getSelection();return{type:cc(e)&&r?.anchorNode&&cc(r.anchorNode)?"contenteditable":"default",selection:r}}function Wte(e){return e.nodeType===1?e:e.parentElement}function Gte(e){let t=b6(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function $o({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(b6(e).type==="input")return ta(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function v6(e){return me(e,"input")&&["date","time"].includes(e.type)}function Ii(e,t,r,n="insertText"){let o=Gte(t);o&&(!v6(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Kte(e,t,o,r,n):Yte(e,t,o,r,n)))}function Kte(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=g6(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Yte(e,t,r,n,o){let i=n;if(Dte(t)){let l=jte(t);if(l!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=l-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:u}=Zte(i,t,r,o);a===u&&s===r.startOffset&&s===r.endOffset||me(t,"input",{type:"number"})&&!Jte(a)||(qte(t,a),$o({focusNode:t,anchorOffset:s,focusOffset:s}),v6(t)?h6(t,a)&&(MR(e,t,s,{}),e.dispatchUIEvent(t,"change"),p6(t)):MR(e,t,s,{data:n,inputType:o}))}function Zte(e,t,{startOffset:r,endOffset:n},o){let i=Ir(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),l=i.substring(u,i.length),c=`${s}${e}${l}`,d=a+e.length;if(me(t,"input",{type:"time"})){let f=Ite(c);f!==""&&h6(t,f)&&(c=f,d=f.length)}return{oldValue:i,newValue:c,newOffset:d}}function MR(e,t,r,n){e.dispatchUIEvent(t,"input",n),Vte(t,r)}function Jte(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}Kn.cut=(e,t,r)=>()=>{ki(t)&&Ii(r,t,"","deleteByCut")};function Xte(e){return e?Oo(e)?e.textContent:Ir(e):null}function Qte(e){let t=rr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function ere(e,t){let r=e.ownerDocument,n=r.querySelectorAll(s6),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||hn(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,l)=>{let c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=me(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let l=u;if(me(l,"input",{type:"radio"})&&l.name){if(l===e){a.push(l);return}else if(l.name===s)return;if(l.checked){a=a.filter(c=>!me(c,"input",{type:"radio",name:l.name})),a.push(l),i[l.name]=l;return}if(typeof i[l.name]<"u")return}a.push(l)});for(let u=a.findIndex(l=>l===e);;)if(u+=t?-1:1,u===a.length?u=0:u===-1&&(u=a.length-1),a[u]===e||a[u]===r.body||Qte(a[u]))return a[u]}function NR(e,t){if(Nr(e)){let r=dc(e);$o({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=g6(r.focusNode,r.focusOffset,t);n&&$o({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function y6(e){var t;if(Nr(e))return $o({focusNode:e,anchorOffset:0,focusOffset:Ir(e).length});let r=(t=cc(e))!==null&&t!==void 0?t:e.ownerDocument.body;$o({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function tre(e){var t;if(Nr(e))return dc(e).startOffset===0&&dc(e).endOffset===Ir(e).length;let r=(t=cc(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function bu(e,t,r){var n;if(Nr(e))return $o({focusNode:e,anchorOffset:t,focusOffset:r});if(Oo(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return $o({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Cd(e,t,r){let n=rr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!hn(o[i])){Gn(o[i]),e.dispatchUIEvent(o[i],"click");return}}}Kn.keydown=(e,t,r)=>{var n,o;return(n=(o=IR[e.key])===null||o===void 0?void 0:o.call(IR,e,t,r))!==null&&n!==void 0?n:rre(e,t,r)};var IR={ArrowDown:(e,t,r)=>{if(me(t,"input",{type:"radio"}))return()=>Cd(r,t,1)},ArrowLeft:(e,t,r)=>me(t,"input",{type:"radio"})?()=>Cd(r,t,-1):()=>NR(t,-1),ArrowRight:(e,t,r)=>me(t,"input",{type:"radio"})?()=>Cd(r,t,1):()=>NR(t,1),ArrowUp:(e,t,r)=>{if(me(t,"input",{type:"radio"}))return()=>Cd(r,t,-1)},Backspace:(e,t,r)=>{if(ki(t))return()=>{Ii(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ki(t))return()=>{Ii(r,t,"","deleteContentForward")}},End:(e,t)=>{if(me(t,["input","textarea"])||Oo(t))return()=>{var r,n;let o=(r=(n=Xte(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;bu(t,o,o)}},Home:(e,t)=>{if(me(t,["input","textarea"])||Oo(t))return()=>{bu(t,0,0)}},PageDown:(e,t)=>{if(me(t,["input"]))return()=>{let r=Ir(t).length;bu(t,r,r)}},PageUp:(e,t)=>{if(me(t,["input"]))return()=>{bu(t,0,0)}},Tab:(e,t,r)=>()=>{let n=ere(t,r.system.keyboard.modifiers.Shift);Gn(n),Nr(n)&&ta(n,{anchorOffset:0,focusOffset:n.value.length})}},rre=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>y6(t)};Kn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(me(t,"button")||me(t,"input")&&nre.includes(t.type)||me(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(me(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&ore.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ki(t)){let n=e.key==="Enter"?Oo(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
825
|
+
`:e.key;return()=>Ii(r,t,o,n)}};var nre=["button","color","file","image","reset","submit"],ore=["email","month","password","search","tel","text","url","week"];Kn.keyup=(e,t,r)=>{var n;return(n=jR[e.key])===null||n===void 0?void 0:n.call(jR,e,t,r)};var jR={" ":(e,t,r)=>{if(u6(t))return()=>r.dispatchUIEvent(t,"click")}};Kn.paste=(e,t,r)=>{if(ki(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ii(r,t,o,"insertFromPaste")}};var w6={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function E6(e){return w6[e].EventType}var ire=["MouseEvent","PointerEvent"];function are(e){return ire.includes(E6(e))}function sre(e){return E6(e)==="KeyboardEvent"}var lre={ClipboardEvent:[cre],Event:[],FocusEvent:[ru,dre],InputEvent:[ru,fre],MouseEvent:[ru,tg,DR],PointerEvent:[ru,tg,DR,hre],KeyboardEvent:[ru,tg,pre]};function _6(e,t,r){let n=rr(t),{EventType:o,defaultInit:i}=w6[e],a=new(ure(n))[o](e,i);var s={};for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(s[u]=r[u]);return s.view=n,lre[o].forEach(function(l){l(a,s)}),a}function ure(e){var t,r,n,o,i,a,s,u,l,c,d,f,p,h,m;let v=(t=e.Event)!==null&&t!==void 0?t:class{},g=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends v{},w=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends v{},_=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends v{},R=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends v{},x=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends v{},y=(s=e.UIEvent)!==null&&s!==void 0?s:class extends v{},b=(u=e.CompositionEvent)!==null&&u!==void 0?u:class extends y{},E=(l=e.FocusEvent)!==null&&l!==void 0?l:class extends y{},C=(c=e.InputEvent)!==null&&c!==void 0?c:class extends y{},N=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends y{},q=(f=e.MouseEvent)!==null&&f!==void 0?f:class extends y{},H=(p=e.DragEvent)!==null&&p!==void 0?p:class extends q{},F=(h=e.PointerEvent)!==null&&h!==void 0?h:class extends q{},T=(m=e.TouchEvent)!==null&&m!==void 0?m:class extends y{};return{Event:v,AnimationEvent:g,ClipboardEvent:w,PopStateEvent:_,ProgressEvent:R,TransitionEvent:x,UIEvent:y,CompositionEvent:b,FocusEvent:E,InputEvent:C,KeyboardEvent:N,MouseEvent:q,DragEvent:H,PointerEvent:F,TouchEvent:T}}function to(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ke(e){return Number(e??0)}function cre(e,{clipboardData:t}){to(e,{clipboardData:t})}function dre(e,{relatedTarget:t}){to(e,{relatedTarget:t})}function fre(e,{data:t,inputType:r,isComposing:n}){to(e,{data:t,isComposing:!!n,inputType:String(r)})}function ru(e,{view:t,detail:r}){to(e,{view:t,detail:Ke(r??0)})}function tg(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:f}){to(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:f}[p]}})}function pre(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){to(e,{key:String(t),code:String(r),location:Ke(n),repeat:!!o,isComposing:!!i,charCode:a})}function DR(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:f,pageY:p}){to(e,{screenX:Ke(n),screenY:Ke(o),clientX:Ke(i),x:Ke(i),clientY:Ke(a),y:Ke(a),button:Ke(s),buttons:Ke(u),relatedTarget:l,offsetX:Ke(c),offsetY:Ke(d),pageX:Ke(f),pageY:Ke(p)})}function hre(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:u,pointerType:l,isPrimary:c,buttons:d}){to(e,{pointerId:Ke(t),width:Ke(r??1),height:Ke(n??1),pressure:Ke(o??(d?.5:0)),tangentialPressure:Ke(i),tiltX:Ke(a),tiltY:Ke(s),twist:Ke(u),pointerType:String(l),isPrimary:!!c})}function mre(e,t,r,n=!1){(are(t)||sre(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=_6(t,e,r);return S6.call(this,e,o,n)}function S6(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=Kn[o])===null||n===void 0?void 0:n.call(Kn,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Mi(()=>e.dispatchEvent(t)),a||i(),!a}return Mi(()=>e.dispatchEvent(t))}function co(e,t,r){let n=_6(t,e,r);Mi(()=>e.dispatchEvent(n))}var LR=Symbol("patched focus/blur methods");function R6(e){if(e.prototype[LR])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,value:o,writable:!0},blur:{configurable:!0,value:i,writable:!0},[LR]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=FR(this.ownerDocument);if(s===this)return;let u=Symbol("focus call");n=u,s&&(r.call(s),co(s,"blur",{relatedTarget:this}),co(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,a),co(this,"focus",{relatedTarget:s})),n===u&&co(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=FR(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),co(a,"blur",{relatedTarget:null}),co(a,"focusout",{relatedTarget:null}))}}function FR(e){let t=Zc(e);return t?.tagName==="BODY"?null:t}var rg=Symbol("Interceptor for programmatical calls");function ni(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][rg])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&o||n)[i];i==="set"?d.call(this,l):d.call(this,...l),c?.()}a[rg]=rg,Object.defineProperty(e,t,{...o??n,[i]:a})}function gre(e){ni(e,"value",function(t){let r=Ote(t);return r&&Hte(this),{applyNative:!!r,realArgs:bre(this,t),then:r?void 0:()=>Ute(this,String(t))}})}function bre(e,t){return me(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function vre(e){ni(e,"setSelectionRange",function(t,...r){let n=$te(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:af(e)}}),ni(e,"selectionStart",function(t){return{realArgs:t,then:()=>af(e)}}),ni(e,"selectionEnd",function(t){return{realArgs:t,then:()=>af(e)}}),ni(e,"select",function(){return{realArgs:[],then:()=>Mte(e,{anchorOffset:0,focusOffset:Ir(e).length})}})}function yre(e){ni(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{p1(e),af(e)}}})}var bi=Symbol("Node prepared with document state workarounds");function x6(e){e[bi]||(e.addEventListener("focus",t=>{let r=t.target;BR(r)},{capture:!0,passive:!0}),e.activeElement&&BR(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=kte(r);n!==void 0&&(r.value!==n&&co(r,"change"),p6(r))},{capture:!0,passive:!0}),e[bi]=bi)}function BR(e){e[bi]||(me(e,["input","textarea"])&&(gre(e),vre(e),yre(e)),e[bi]=bi)}function wre(e){return Ere(e)?e:e.ownerDocument}function Ere(e){return e.nodeType===9}var Lt=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function vu(e,t){e.levelRefs[t]={}}function Ad(e,t){return e.levelRefs[t]}function ji(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var lf=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wr=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),_re=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function zR(e){return _re.includes(e)}var Sre=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function HR(e){return Sre.includes(e)}var Rre=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),o=eg(e.config.document);this.setKeydownTarget(o),this.pressed.add(n,t),zR(r)&&(this.modifiers[r]=!0);let i=e.dispatchUIEvent(o,"keydown",{key:r,code:n});HR(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),i&&this.pressed.setUnprevented(n),i&&this.hasKeyPress(r)&&e.dispatchUIEvent(eg(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed.isUnprevented(n);this.pressed.delete(n),zR(r)&&!this.pressed.values().find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(eg(e.config.document),"keyup",{key:r,code:n},!o),HR(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){io(this,"system",void 0),io(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),io(this,"pressed",new class{add(t,r){var n,o,i;(i=(n=this.registry)[o=t])!==null&&i!==void 0||(n[o]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){io(this,"registry",{})}}),io(this,"carryChar",""),io(this,"lastKeydownTarget",void 0),io(this,"modifierLockStart",{}),this.system=e}},xre=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:wr.LEFT},{code:"AltRight",key:"Alt",location:wr.RIGHT},{code:"ShiftLeft",key:"Shift",location:wr.LEFT},{code:"ShiftRight",key:"Shift",location:wr.RIGHT},{code:"ControlLeft",key:"Control",location:wr.LEFT},{code:"ControlRight",key:"Control",location:wr.RIGHT},{code:"MetaLeft",key:"Meta",location:wr.LEFT},{code:"MetaRight",key:"Meta",location:wr.RIGHT},{code:"OSLeft",key:"OS",location:wr.LEFT},{code:"OSRight",key:"OS",location:wr.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],Cre=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function Are(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var C6=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=rv(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=rv(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){Are(this,"pressed",{})}},UR={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function rv(e=0){return e in UR?UR[e]:Number(e)}var VR={1:2,2:1};function nv(e){return e=rv(e),e in VR?VR[e]:e}function Pre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tre=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){Pre(this,"pressedKeys",new Set)}};function Fu(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function ov({target:e,node:t,offset:r}){return Nr(e)?{node:e,offset:r??Ir(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:A6(e,r)}function A6(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return A6(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function Ore({document:e,target:t,clickCount:r,node:n,offset:o}){if(Ate(t))return;let i=Nr(t),a=String(i?Ir(t):t.textContent),[s,u]=n?[o,o]:$re(a,o,r);if(i)return ta(t,{anchorOffset:s??a.length,focusOffset:u??a.length}),{node:t,start:s??0,end:u??a.length};{let{node:l,offset:c}=ov({target:t,node:n,offset:s}),{node:d,offset:f}=ov({target:t,node:n,offset:u}),p=t.ownerDocument.createRange();try{p.setStart(l,c),p.setEnd(d,f)}catch{throw new Error("The given offset is out of bounds.")}let h=e.getSelection();return h?.removeAllRanges(),h?.addRange(p.cloneRange()),p}}function $re(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function qre(e,{document:t,target:r,node:n,offset:o}){let i=ov({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;ta(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(a.cloneRange())}}function P6(e,t){var r,n,o,i,a,s,u,l,c,d,f,p,h,m,v,g,w,_,R,x,y,b,E,C;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((p=t.coords)===null||p===void 0?void 0:p.offsetY)||((h=e.coords)===null||h===void 0?void 0:h.pageX)!==((m=t.coords)===null||m===void 0?void 0:m.pageX)||((v=e.coords)===null||v===void 0?void 0:v.pageY)!==((g=t.coords)===null||g===void 0?void 0:g.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((_=t.coords)===null||_===void 0?void 0:_.screenX)||((R=e.coords)===null||R===void 0?void 0:R.screenY)!==((x=t.coords)===null||x===void 0?void 0:x.screenY)||((y=e.caret)===null||y===void 0?void 0:y.node)!==((b=t.caret)===null||b===void 0?void 0:b.node)||((E=e.caret)===null||E===void 0?void 0:E.offset)!==((C=t.caret)===null||C===void 0?void 0:C.offset)}function ao(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kre=class{move(e,t,r){let n=this.position,o=this.getTarget(e);if(this.position=t,!P6(n,t))return;let i=this.getTarget(e),a=this.getEventInit("mousemove"),[s,u]=Fu(o,i);return{leave:()=>{o!==i&&(e.dispatchUIEvent(o,"mouseout",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{o!==i&&(e.dispatchUIEvent(i,"mouseover",a),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{r||(e.dispatchUIEvent(i,"mousemove",a),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=this.getEventInit("mousedown",t.button),a=hn(o);!r&&(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Gn(o)),!a&&nv(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!hn(o)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(o,"mouseup",a),this.endSelecting()}let i=Fu(this.buttonDownTarget[n],o)[2][0];if(i){let a=this.getEventInit("click",t.button);a.detail&&(e.dispatchUIEvent(i,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=nv(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=Ore({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&qre(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){ao(this,"position",{}),ao(this,"buttons",new C6),ao(this,"selecting",void 0),ao(this,"buttonDownTarget",{}),ao(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t,r;return this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0},this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){ao(this,"down",{}),ao(this,"count",{})}})}};function ap(e,t){var r;return((r=T6(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Mre(e){let t=rr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var WR=Symbol("Last check for pointer-events");function T6(e,t){let r=t[WR];if(!(e.config.pointerEventsCheck!==lf.Never&&(!r||GR(e.config.pointerEventsCheck,lf.EachApiCall)&&r[Lt.Call]!==Ad(e,Lt.Call)||GR(e.config.pointerEventsCheck,lf.EachTrigger)&&r[Lt.Trigger]!==Ad(e,Lt.Trigger))))return r?.result;let n=Mre(t);return t[WR]={[Lt.Call]:Ad(e,Lt.Call),[Lt.Trigger]:Ad(e,Lt.Trigger),result:n},n}function yu(e,t){let r=T6(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Nre(r.tree)].join(`
|
|
826
|
+
`))}function Nre(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Ire(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
|
|
827
|
+
`)}function Ire(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(me(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(me(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function GR(e,t){return(e&t)>0}function Yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jre=class{init(e){let t=this.getTarget(e),[,r]=Fu(null,t),n=this.getEventInit();return yu(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!P6(r,t))return;let o=this.getTarget(e),i=this.getEventInit(-1),[a,s]=Fu(n,o);return{leave:()=>{ap(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),a.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{yu(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);yu(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);yu(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=Fu(t,null),n=this.getEventInit();ap(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:nv(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Yr(this,"pointerId",void 0),Yr(this,"pointerType",void 0),Yr(this,"isPrimary",void 0),Yr(this,"buttons",void 0),Yr(this,"isMultitouch",!1),Yr(this,"isCancelled",!1),Yr(this,"isDown",!1),Yr(this,"isPrevented",!1),Yr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function _n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dre=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),o.pointerType==="touch"&&o.init(e),o.down(e,t.button),o.pointerType!=="touch"&&this.mouse.down(e,t,o.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t)),i=o.isPrevented;if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t.button),o.pointerType==="touch"&&o.release(e),o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,r,i);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,i)}if(!o.isMultitouch){let a=this.mouse.move(e,r,i);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,i)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){_n(this,"system",void 0),_n(this,"mouse",void 0),_n(this,"buttons",void 0),_n(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0?o:r[n]=new Tre}constructor(){_n(this,"registry",{})}}),_n(this,"pointers",new class{new(t,r,n){let o=r!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===r&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[t]=new jre({pointerId:this.nextId++,pointerType:r,isPrimary:o},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){_n(this,"registry",{}),_n(this,"nextId",1)}}),this.system=e,this.buttons=new C6,this.mouse=new kre,this.pointers.new("mouse","mouse",this.buttons)}};function KR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O6=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){KR(this,"keyboard",new Rre(this)),KR(this,"pointer",new Dre(this))}};async function Lre(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Fre(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Bre(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function zre(e){return this.pointer({target:e})}async function Hre(e){return yu(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Ure({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var $6={"{":"}","[":"]"};function q6(e,t){let r=0,n=e[r]in $6?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?Vre(e,r,t):Wre(e,r,o,t)}}function Vre(e,t,r){let n=e[t];return k6(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Wre(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let u=r==="{"&&e[t]==="\\";t+=Number(u);let l=u?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];k6(l,e,t,n),t+=l.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let f=$6[r],p=e[t]===f?f:"";if(!p)throw new Error(M6([!c&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Gre(d,c)}}function k6(e,t,r,n){if(!e)throw new Error(M6("key descriptor",t[r],t,n))}function Gre(e,t){if(e)return e==="/";if(t)return!1}function M6(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
828
|
+
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
829
|
+
for more information about how userEvent parses your input.`}function Kre(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:u=!0,repeat:l}=q6(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}else if(o==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(a)}while(t);return r}async function Yre(e){let t=Kre(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await ji(this.config),await Zre(this,t[r])}async function Zre(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t),a<o&&await ji(e.config);n&&await i.keyboard.keyup(e,t)}}async function Jre(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function N6(e){let t=Nr(e)?{"text/plain":Xre(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=c1(rr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Xre(e){let t=dc(e);return Ir(e).substring(t.startOffset,t.endOffset)}async function Qre(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=N6(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await a6(t,n),n}async function ene(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=N6(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await a6(r.ownerDocument,n),n}async function tne(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?rne(n,e):e)!==null&&r!==void 0?r:await Ste(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function rne(e,t){let r=c1(rr(e));return r.setData("text",t),r}function YR(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=q6(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function nne(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...YR(t,n)):"keys"in n?r.push(...YR(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await ji(this.config),await one(this,r[n]);this.system.pointer.resetClickCount()}async function one(e,t){var r,n,o,i,a,s;let u="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",l=e.system.pointer.getPreviousPosition(u),c={target:(r=t.target)!==null&&r!==void 0?r:ine(e,l),coords:(n=t.coords)!==null&&n!==void 0?n:l?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:ZR(t)||l==null||(a=l.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:ZR(t)||l==null||(s=l.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(vu(e,Lt.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(vu(e,Lt.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(vu(e,Lt.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(vu(e,Lt.Trigger),await e.system.pointer.move(e,u,c))}function ZR(e){var t,r;return!!((t=(r=e.target)!==null&&r!==void 0?r:e.node)!==null&&t!==void 0?t:e.offset!==void 0)}function ine(e,t){var r;if(!t)throw new Error("This pointer has no previous position. Provide a target property!");return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function ane(e){if(!ki(e)||hn(e))throw new Error("clear()` is only supported on editable elements.");if(Gn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(y6(e),!tre(e))throw new Error("The element content to be cleared could not be selected.");Ii(this,e,"","deleteContentBackward")}async function sne(e,t){return I6.call(this,!0,e,t)}async function lne(e,t){return I6.call(this,!1,e,t)}async function I6(e,t,r){if(!e&&!t.multiple)throw we().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let u=o.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw we().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!hn(s));if(hn(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(me(t,"select"))if(t.multiple)for(let s of i){let u=this.config.pointerEventsCheck===0?!0:ap(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Gn(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),u&&this.dispatchUIEvent(s,"click"),await ji(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:ap(this,t);s?await this.click(t):Gn(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await ji(this.config)}else throw we().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw we().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function une(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&bu(e,o,i??o),await this.keyboard(t),n||await Jre(this))}var JR=Symbol("files and value properties are mocked");function ng(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function cne(e,t){var r;(r=e[JR])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){ng(e,"type",n),ng(e,"value",o),ng(e,"files",i)}e[JR]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function dne(e,t){let r=me(e,"label")?e.control:e;if(!r||!me(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(hn(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||fne(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,s)=>{var u;return a===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(cne(r,u1(rr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Pd(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function fne(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Pd(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Pd(e.name).endsWith(n):r.includes(n)?Pd(e.type).startsWith(n.replace("*","")):Pd(e.type)===n)}var XR={click:Lre,dblClick:Fre,tripleClick:Bre,hover:zre,unhover:Hre,tab:Ure,keyboard:Yre,copy:Qre,cut:ene,paste:tne,pointer:nne,clear:ane,deselectOptions:lne,selectOptions:sne,type:une,upload:dne};function pne(e){return we().asyncWrapper(e)}var j6={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:xre,pointerMap:Cre,pointerEventsCheck:lf.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},hne={...j6,writeToClipboard:!0};function D6(e={},t=hne,r){let n=vne(e,r,t);return{...t,...e,document:n}}function mne(e={}){var t;let r=D6(e);x6(r.document),R6(rr(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return wte(n),m1(r).api}function xt({keyboardState:e,pointerState:t,...r}={},n){var o;let i=D6(r,j6,n);x6(i.document),R6(rr(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new O6;return{api:m1(i,a).api,system:a}}function gne(e){return m1({...this.config,...e},this.system).api}function bne(e,t){function r(...n){return vu(e,Lt.Call),pne(()=>t.apply(e,n).then(async o=>(await ji(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function m1(e,t=new O6){let r={};return Object.assign(r,{config:e,dispatchEvent:S6.bind(r),dispatchUIEvent:mre.bind(r),system:t,levelRefs:{},...XR}),{instance:r,api:{...Object.fromEntries(Object.entries(XR).map(([n,o])=>[n,bne(r,o)])),setup:gne.bind(r)}}}function vne(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&wre(t))!==null&&n!==void 0?n:r.document}var L6={};Wp(L6,{clear:()=>yne,click:()=>wne,copy:()=>Ene,cut:()=>_ne,dblClick:()=>Sne,deselectOptions:()=>Rne,hover:()=>xne,keyboard:()=>Cne,paste:()=>Pne,pointer:()=>Ane,selectOptions:()=>Tne,tab:()=>Mne,tripleClick:()=>One,type:()=>$ne,unhover:()=>qne,upload:()=>kne});function yne(e){return xt().api.clear(e)}function wne(e,t={}){return xt(t,e).api.click(e)}function Ene(e={}){return xt(e).api.copy()}function _ne(e={}){return xt(e).api.cut()}function Sne(e,t={}){return xt(t).api.dblClick(e)}function Rne(e,t,r={}){return xt(r).api.deselectOptions(e,t)}function xne(e,t={}){return xt(t).api.hover(e)}async function Cne(e,t={}){let{api:r,system:n}=xt(t);return r.keyboard(e).then(()=>n)}async function Ane(e,t={}){let{api:r,system:n}=xt(t);return r.pointer(e).then(()=>n)}function Pne(e,t){return xt(t).api.paste(e)}function Tne(e,t,r={}){return xt(r).api.selectOptions(e,t)}function One(e,t={}){return xt(t).api.tripleClick(e)}function $ne(e,t,r={}){return xt(r,e).api.type(e,t,r)}function qne(e,t={}){let{api:r,system:n}=xt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function kne(e,t,r={}){return xt(r).api.upload(e,t)}function Mne(e={}){return xt().api.tab(e)}var Nne={...L6,setup:mne},iv=Xp({...RY},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});iv.screen=new Proxy(iv.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&_t.warn(Ji`
|
|
830
|
+
You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
|
|
831
|
+
|
|
832
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
|
|
833
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:M0e,configure:N0e,createEvent:I0e,fireEvent:j0e,findAllByAltText:D0e,findAllByDisplayValue:L0e,findAllByLabelText:F0e,findAllByPlaceholderText:B0e,findAllByRole:z0e,findAllByTestId:H0e,findAllByText:U0e,findAllByTitle:V0e,findByAltText:W0e,findByDisplayValue:G0e,findByLabelText:K0e,findByPlaceholderText:Y0e,findByRole:Z0e,findByTestId:J0e,findByText:X0e,findByTitle:Q0e,getAllByAltText:e1e,getAllByDisplayValue:t1e,getAllByLabelText:r1e,getAllByPlaceholderText:n1e,getAllByRole:o1e,getAllByTestId:i1e,getAllByText:a1e,getAllByTitle:s1e,getByAltText:l1e,getByDisplayValue:u1e,getByLabelText:c1e,getByPlaceholderText:d1e,getByRole:f1e,getByTestId:p1e,getByText:h1e,getByTitle:m1e,getConfig:g1e,getDefaultNormalizer:b1e,getElementError:v1e,getNodeText:y1e,getQueriesForElement:w1e,getRoles:E1e,getSuggestedQuery:_1e,isInaccessible:S1e,logDOM:R1e,logRoles:x1e,prettyDOM:C1e,queries:A1e,queryAllByAltText:P1e,queryAllByAttribute:T1e,queryAllByDisplayValue:O1e,queryAllByLabelText:$1e,queryAllByPlaceholderText:q1e,queryAllByRole:k1e,queryAllByTestId:M1e,queryAllByText:N1e,queryAllByTitle:I1e,queryByAltText:j1e,queryByAttribute:D1e,queryByDisplayValue:L1e,queryByLabelText:F1e,queryByPlaceholderText:B1e,queryByRole:z1e,queryByTestId:H1e,queryByText:U1e,queryByTitle:V1e,queryHelpers:W1e,screen:G1e,waitFor:K1e,waitForElementToBeRemoved:Y1e,within:Z1e,prettyFormat:J1e}=iv,{userEvent:X1e}=Xp({userEvent:Nne},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:Q1e}=Xp({expect:t6},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===O){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},mutate:!0,intercept:e=>e!=="expect"}),Ine=V({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return(function a(s,u,l){var c,d,f,p=t.call(s),h=t.call(u);if(s===u)return!0;if(s==null||u==null)return!1;if(l.indexOf(s)>-1&&l.indexOf(u)>-1)return!0;if(l.push(s,u),p!=h||(c=n(s),d=n(u),c.length!=d.length||c.some(function(m){return!a(s[m],u[m],l)})))return!1;switch(p.slice(8,-1)){case"Symbol":return s.valueOf()==u.valueOf();case"Date":case"Number":return+s==+u||+s!=+s&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+u;case"Set":case"Map":c=s.entries(),d=u.entries();do if(!a((f=c.next()).value,d.next().value,l))return!1;while(!f.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),u=new Uint8Array(u);case"DataView":s=new Uint8Array(s.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=u.length)return!1;for(f=0;f<s.length;f++)if((f in s||f in u)&&(f in s!=f in u||!a(s[f],u[f],l)))return!1;return!0;case"Object":return a(r(s),r(u),l);default:return!1}})(o,i,[])}})()}});tr(Ine());var jne={};Wp(jne,{argsEnhancers:()=>Fne});var F6=(e,t)=>typeof t[e]>"u"&&!(e in t),Dne=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([a])=>!!i.test(a)).reduce((a,[s,u])=>(F6(s,t)&&(a[s]=Zy(s,{implicit:!0,id:n})),a),{})},Lne=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,a])=>(F6(i,t)&&(o[i]=Zy(typeof a.action=="string"?a.action:i)),o),{})},Fne=[Lne,Dne],Bne={};Wp(Bne,{loaders:()=>Hne});var QR=!1,zne=e=>{let{parameters:t}=e;t?.actions?.disable||QR||(hte((r,n)=>{let o=r.getMockName();o!=="spy"&&o!=="vi.fn()"&&(!/^next\/.*::/.test(o)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/link::Link","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(i=>o.startsWith(i)))&&Zy(o)(n)}),QR=!0)},Hne=[zne],{document:sr}=globalThis,Une=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,ex=e=>{(Array.isArray(e)?e:[e]).forEach(Vne)},Vne=e=>{if(!sr)return;let t=sr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},Wne=(e,t)=>{if(!sr)return;let r=sr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=sr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,sr.head.appendChild(n)}},Gne=(e,t,r)=>{if(!sr)return;let n=sr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=sr.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,a=sr.getElementById(i);a?a.parentElement?.insertBefore(o,a):sr.head.appendChild(o)}},Kne={cellSize:100,cellAmount:10,opacity:.8},tx="addon-backgrounds",rx="addon-backgrounds-grid",Yne=Une()?"":"transition: background-color 0.3s;",Zne=(e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:a=gB,disable:s,grid:u=Kne}=n[Fw]||{},l=r[Fw]||{},c=typeof l=="string"?l:l?.value,d=c?a[c]:void 0,f=typeof d=="string"?d:d?.value||"transparent",p=typeof l=="string"?!1:l.grid||!1,h=!!d&&!s,m=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",v=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",g=n.layout===void 0||n.layout==="padded",w=o==="docs"?20:g?16:0,{cellAmount:_,cellSize:R,opacity:x,offsetX:y=w,offsetY:b=w}=u,E=o==="docs"?`${tx}-docs-${i}`:`${tx}-color`,C=o==="docs"?i:null;pc(()=>{let q=`
|
|
834
|
+
${m} {
|
|
835
|
+
background: ${f} !important;
|
|
836
|
+
${Yne}
|
|
837
|
+
}`;if(!h){ex(E);return}Gne(E,q,C)},[m,E,C,h,f]);let N=o==="docs"?`${rx}-docs-${i}`:`${rx}`;return pc(()=>{if(!p){ex(N);return}let q=[`${R*_}px ${R*_}px`,`${R*_}px ${R*_}px`,`${R}px ${R}px`,`${R}px ${R}px`].join(", "),H=`
|
|
838
|
+
${v} {
|
|
839
|
+
background-size: ${q} !important;
|
|
840
|
+
background-position: ${y}px ${b}px, ${y}px ${b}px, ${y}px ${b}px, ${y}px ${b}px !important;
|
|
841
|
+
background-blend-mode: difference !important;
|
|
842
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px),
|
|
843
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px),
|
|
844
|
+
linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px),
|
|
845
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important;
|
|
846
|
+
}
|
|
847
|
+
`;Wne(N,H)},[_,R,v,N,p,y,b,x]),e()};globalThis.FEATURES?.backgrounds;var{step:e2e}=Xp({step:async(e,t,r)=>t(r)},{intercept:!0}),nx={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},Jne="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),rt=(e,t={},r)=>{let n=Jne.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,i])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",i),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",i),o==="onMouseLeave"&&n.addEventListener("mouseleave",i)):n.setAttribute(o,i)}),r?.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch{n.appendChild(document.createTextNode(String(o)))}}),n},Td=e=>nx[e]&&rt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},nx[e].map(t=>rt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),Xne=e=>{if("elements"in e){let{elements:n,color:o,style:i}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${i} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},Qne=e=>e instanceof Function,nu=new Map,so=new Map,Od=new Map,Zr=e=>{let t=Symbol();return so.set(t,[]),nu.set(t,e),{get:()=>nu.get(t),set:r=>{let n=nu.get(t),o=Qne(r)?r(n):r;o!==n&&(nu.set(t,o),so.get(t)?.forEach(i=>{Od.get(i)?.(),Od.set(i,i(o))}))},subscribe:r=>(so.get(t)?.push(r),()=>{let n=so.get(t);n&&so.set(t,n.filter(o=>o!==r))}),teardown:()=>{so.get(t)?.forEach(r=>{Od.get(r)?.(),Od.delete(r)}),so.delete(t),nu.delete(t)}}},ox=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let i of n.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(i)||[]];for(let s of a){let u=r.get(s);(!u||u.priority<=o)&&r.set(s,{...n,priority:o,selectors:Array.from(new Set((u?.selectors||[]).concat(i)))})}}}return r},eoe=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a}])=>{let{top:s,left:u,width:l,height:c}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a,top:d==="fixed"?s:s+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:l,height:c}}).sort((t,r)=>r.width*r.height-t.width*t.height),ix=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},ax=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:a}=e;a<Pn&&(o=o-Math.round((Pn-a)/2),a=Pn),i<Pn&&(n=n-Math.round((Pn-i)/2),i=Pn),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:s,y:u}=r;return s>=n&&s<=n+i&&u>=o&&u<=o+a},toe=(e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:a=0,centered:s=!1}=r,{scrollX:u,scrollY:l,innerHeight:c,innerWidth:d}=window,f=Math.min(e.style.position==="fixed"?o-l:o,c-e.clientHeight-i-a+l),p=s?e.clientWidth/2:0,h=e.style.position==="fixed"?Math.max(Math.min(n-u,d-p-i),p+i):Math.max(Math.min(n,d-p-i+u),p+i+u);Object.assign(e.style,{...h!==n&&{left:`${h}px`},...f!==o&&{top:`${f}px`}})},sx=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},roe=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},noe=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),Ie="storybook-highlights-menu",lx="storybook-highlights-root",ooe="storybook-root",ioe=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Zr([]),n=Zr(new Map),o=Zr([]),i=Zr(),a=Zr(),s=Zr([]),u=Zr([]),l=Zr(),c=Zr(),d=t.getElementById(lx);r.subscribe(()=>{d||(d=rt("div",{id:lx}),t.body.appendChild(d))}),r.subscribe(b=>{let E=t.getElementById(ooe);if(!E)return;n.set(ox(b));let C=new MutationObserver(()=>n.set(ox(b)));return C.observe(E,{subtree:!0,childList:!0}),()=>{C.disconnect()}}),n.subscribe(b=>{let E=()=>requestAnimationFrame(()=>o.set(eoe(b))),C=new ResizeObserver(E);C.observe(t.body),Array.from(b.keys()).forEach(q=>C.observe(q));let N=Array.from(t.body.querySelectorAll("*")).filter(q=>{let{overflow:H,overflowX:F,overflowY:T}=window.getComputedStyle(q);return["auto","scroll"].some(k=>[H,F,T].includes(k))});return N.forEach(q=>q.addEventListener("scroll",E)),()=>{C.disconnect(),N.forEach(q=>q.removeEventListener("scroll",E))}}),n.subscribe(b=>{let E=Array.from(b.keys()).filter(({style:N})=>N.position==="sticky"),C=()=>requestAnimationFrame(()=>{o.set(N=>N.map(q=>{if(E.includes(q.element)){let{top:H,left:F}=q.element.getBoundingClientRect();return{...q,top:H+window.scrollY,left:F+window.scrollX}}return q}))});return t.addEventListener("scroll",C),()=>t.removeEventListener("scroll",C)}),n.subscribe(b=>{s.set(E=>E.filter(({element:C})=>b.has(C)))}),s.subscribe(b=>{b.length?(c.set(E=>b.some(C=>C.element===E?.element)?E:void 0),l.set(E=>b.some(C=>C.element===E?.element)?E:void 0)):(c.set(void 0),l.set(void 0),i.set(void 0))});let f=new Map(new Map);r.subscribe(b=>{b.forEach(({keyframes:E})=>{if(E){let C=f.get(E);C||(C=t.createElement("style"),C.setAttribute("data-highlight","keyframes"),f.set(E,C),t.head.appendChild(C)),C.innerHTML=E}}),f.forEach((E,C)=>{b.some(N=>N.keyframes===C)||(E.remove(),f.delete(C))})});let p=new Map(new Map);o.subscribe(b=>{b.forEach(E=>{let C=p.get(E.element);if(d&&!C){let N={popover:"manual","data-highlight-dimensions":`w${E.width.toFixed(0)}h${E.height.toFixed(0)}`,"data-highlight-coordinates":`x${E.left.toFixed(0)}y${E.top.toFixed(0)}`};C=d.appendChild(rt("div",N,[rt("div")])),p.set(E.element,C)}}),p.forEach((E,C)=>{b.some(({element:N})=>N===C)||(E.remove(),p.delete(C))})}),o.subscribe(b=>{let E=b.filter(N=>N.menu);if(!E.length)return;let C=N=>{requestAnimationFrame(()=>{let q=t.getElementById(Ie),H={x:N.pageX,y:N.pageY};if(q&&!ix(q,H)){let F=E.filter(T=>{let k=p.get(T.element);return ax(T,k,H)});i.set(F.length?H:void 0),s.set(F)}})};return t.addEventListener("click",C),()=>t.removeEventListener("click",C)});let h=()=>{let b=t.getElementById(Ie),E=a.get();!E||b&&ix(b,E)||u.set(C=>{let N=o.get().filter(T=>{let k=p.get(T.element);return ax(T,k,E)}),q=C.filter(T=>N.includes(T)),H=N.filter(T=>!C.includes(T)),F=C.length-q.length;return H.length||F?[...q,...H]:C})};a.subscribe(h),o.subscribe(h);let m=()=>{let b=c.get(),E=b?[b]:s.get(),C=E.length===1?E[0]:l.get(),N=i.get()!==void 0;o.get().forEach(q=>{let H=p.get(q.element);if(H){let F=C===q,T=N?C?F:E.includes(q):u.get()?.includes(q);Object.assign(H.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...q.styles,...T?q.hoverStyles:{},...F?q.focusStyles:{},position:getComputedStyle(q.element).position==="fixed"?"fixed":"absolute",zIndex:Lw-10,top:`${q.top}px`,left:`${q.left}px`,width:`${q.width}px`,height:`${q.height}px`,margin:0,padding:0,cursor:q.menu&&T?"pointer":"default",pointerEvents:q.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(H.children[0].style,{width:"100%",height:"100%",minHeight:`${Pn}px`,minWidth:`${Pn}px`,boxSizing:"content-box",padding:H.style.outlineWidth||"0px"}),sx(H)}})};o.subscribe(m),s.subscribe(m),u.subscribe(m),l.subscribe(m),c.subscribe(m);let v=()=>{if(!d)return;let b=t.getElementById(Ie);if(b)b.innerHTML="";else{let q={id:Ie,popover:"manual"};b=d.appendChild(rt("div",q)),d.appendChild(rt("style",{},[`
|
|
848
|
+
#${Ie} {
|
|
849
|
+
position: absolute;
|
|
850
|
+
z-index: ${Lw};
|
|
851
|
+
width: 300px;
|
|
852
|
+
padding: 0px;
|
|
853
|
+
margin: 15px 0 0 0;
|
|
854
|
+
transform: translateX(-50%);
|
|
855
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
856
|
+
font-size: 12px;
|
|
857
|
+
background: white;
|
|
858
|
+
border: none;
|
|
859
|
+
border-radius: 6px;
|
|
860
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
861
|
+
color: #2E3438;
|
|
862
|
+
}
|
|
863
|
+
#${Ie} ul {
|
|
864
|
+
list-style: none;
|
|
865
|
+
margin: 0;
|
|
866
|
+
padding: 0;
|
|
867
|
+
}
|
|
868
|
+
#${Ie} > ul {
|
|
869
|
+
max-height: 300px;
|
|
870
|
+
overflow-y: auto;
|
|
871
|
+
padding: 4px 0;
|
|
872
|
+
}
|
|
873
|
+
#${Ie} li {
|
|
874
|
+
padding: 0 4px;
|
|
875
|
+
margin: 0;
|
|
876
|
+
}
|
|
877
|
+
#${Ie} li > :not(ul) {
|
|
878
|
+
display: flex;
|
|
879
|
+
padding: 8px;
|
|
880
|
+
margin: 0;
|
|
881
|
+
align-items: center;
|
|
882
|
+
gap: 8px;
|
|
883
|
+
border-radius: 4px;
|
|
884
|
+
}
|
|
885
|
+
#${Ie} button {
|
|
886
|
+
width: 100%;
|
|
887
|
+
border: 0;
|
|
888
|
+
background: transparent;
|
|
889
|
+
color: inherit;
|
|
890
|
+
text-align: left;
|
|
891
|
+
font-family: inherit;
|
|
892
|
+
font-size: inherit;
|
|
893
|
+
}
|
|
894
|
+
#${Ie} button:focus-visible {
|
|
895
|
+
outline-color: #029CFD;
|
|
896
|
+
}
|
|
897
|
+
#${Ie} button:hover {
|
|
898
|
+
background: rgba(2, 156, 253, 0.07);
|
|
899
|
+
color: #029CFD;
|
|
900
|
+
cursor: pointer;
|
|
901
|
+
}
|
|
902
|
+
#${Ie} li code {
|
|
903
|
+
white-space: nowrap;
|
|
904
|
+
overflow: hidden;
|
|
905
|
+
text-overflow: ellipsis;
|
|
906
|
+
line-height: 16px;
|
|
907
|
+
font-size: 11px;
|
|
908
|
+
}
|
|
909
|
+
#${Ie} li svg {
|
|
910
|
+
flex-shrink: 0;
|
|
911
|
+
margin: 1px;
|
|
912
|
+
color: #73828C;
|
|
913
|
+
}
|
|
914
|
+
#${Ie} li > button:hover svg, #${Ie} li > button:focus-visible svg {
|
|
915
|
+
color: #029CFD;
|
|
916
|
+
}
|
|
917
|
+
#${Ie} .element-list li svg {
|
|
918
|
+
display: none;
|
|
919
|
+
}
|
|
920
|
+
#${Ie} li.selectable svg, #${Ie} li.selected svg {
|
|
921
|
+
display: block;
|
|
922
|
+
}
|
|
923
|
+
#${Ie} .menu-list {
|
|
924
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
925
|
+
}
|
|
926
|
+
#${Ie} .menu-list > li:not(:last-child) {
|
|
927
|
+
padding-bottom: 4px;
|
|
928
|
+
margin-bottom: 4px;
|
|
929
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
930
|
+
}
|
|
931
|
+
#${Ie} .menu-items, #${Ie} .menu-items li {
|
|
932
|
+
padding: 0;
|
|
933
|
+
}
|
|
934
|
+
#${Ie} .menu-item {
|
|
935
|
+
display: flex;
|
|
936
|
+
}
|
|
937
|
+
#${Ie} .menu-item-content {
|
|
938
|
+
display: flex;
|
|
939
|
+
flex-direction: column;
|
|
940
|
+
flex-grow: 1;
|
|
941
|
+
}
|
|
942
|
+
`]))}let E=c.get(),C=E?[E]:s.get();if(C.length&&(b.style.position=getComputedStyle(C[0].element).position==="fixed"?"fixed":"absolute",b.appendChild(rt("ul",{class:"element-list"},C.map(q=>{let H=C.length>1&&!!q.menu?.some(k=>k.some(I=>!I.selectors||I.selectors.some(U=>q.selectors.includes(U)))),F=H?{class:"selectable",onClick:()=>c.set(q),onMouseEnter:()=>l.set(q),onMouseLeave:()=>l.set(void 0)}:E?{class:"selected",onClick:()=>c.set(void 0)}:{},T=H||E;return rt("li",F,[rt(T?"button":"div",T?{type:"button"}:{},[E?Td("chevronLeft"):null,rt("code",{},[q.element.outerHTML]),H?Td("chevronRight"):null])])})))),c.get()||s.get().length===1){let q=c.get()||s.get()[0],H=q.menu?.filter(F=>F.some(T=>!T.selectors||T.selectors.some(k=>q.selectors.includes(k))));H?.length&&b.appendChild(rt("ul",{class:"menu-list"},H.map(F=>rt("li",{},[rt("ul",{class:"menu-items"},F.map(({id:T,title:k,description:I,iconLeft:U,iconRight:G,clickEvent:X})=>{let Z=X&&(()=>e.emit(X,T,noe(q)));return rt("li",{},[rt(Z?"button":"div",Z?{class:"menu-item",type:"button",onClick:Z}:{class:"menu-item"},[U?Td(U):null,rt("div",{class:"menu-item-content"},[rt(I?"strong":"span",{},[k]),I&&rt("span",{},[I])]),G?Td(G):null])])}))]))))}let N=i.get();N?(Object.assign(b.style,{display:"block",left:`${b.style.position==="fixed"?N.x-window.scrollX:N.x}px`,top:`${b.style.position==="fixed"?N.y-window.scrollY:N.y}px`}),sx(b),requestAnimationFrame(()=>toe(b,N,{topOffset:15,centered:!0}))):(roe(b),Object.assign(b.style,{display:"none"}))};s.subscribe(v),c.subscribe(v);let g=b=>{let E=Xne(b);r.set(C=>{let N=E.id?C.filter(q=>q.id!==E.id):C;return E.selectors?.length?[...N,E]:N})},w=b=>{b&&r.set(E=>E.filter(C=>C.id!==b))},_=()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),a.set(void 0),s.set([]),u.set([]),l.set(void 0),c.set(void 0)},R,x=(b,E)=>{let C="scrollIntoView-highlight";clearTimeout(R),w(C);let N=t.querySelector(b);if(!N){console.warn(`Cannot scroll into view: ${b} not found`);return}N.scrollIntoView({behavior:"smooth",block:"center",...E});let q=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(H=>[...H,{id:C,priority:1e3,selectors:[b],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${q} 3s linear forwards`},keyframes:`@keyframes ${q} {
|
|
943
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
944
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
945
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
946
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
947
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
948
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
949
|
+
}`}]),R=setTimeout(()=>w(C),3500)},y=b=>{requestAnimationFrame(()=>a.set({x:b.pageX,y:b.pageY}))};t.body.addEventListener("mousemove",y),e.on(sB,g),e.on(lB,w),e.on(uB,_),e.on(cB,x),e.on(BP,({newPhase:b})=>{b==="loading"&&_()})};globalThis?.FEATURES?.highlight&&sv?.ready&&sv.ready().then(ioe);function B6(){let e=pe.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function aoe(){let e=pe.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");ub(t!=null);let{width:r,height:n}=B6();return av(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",pe.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function av(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=pe.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}var ot={};function soe(){ot.canvas||(ot=aoe())}function z6(){ot.context&&ot.context.clearRect(0,0,ot.width??0,ot.height??0)}function loe(e){z6(),e(ot.context)}function uoe(){ub(ot.canvas),ub(ot.context),av(ot.canvas,ot.context,{width:0,height:0});let{width:e,height:t}=B6();av(ot.canvas,ot.context,{width:e,height:t}),ot.width=e,ot.height=t}function coe(){ot.canvas&&(z6(),ot.canvas.parentNode?.removeChild(ot.canvas),ot={})}var Wo={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},sn=6;function ux(e,{x:t,y:r,w:n,h:o,r:i}){t=t-n/2,r=r-o/2,n<2*i&&(i=n/2),o<2*i&&(i=o/2),e.beginPath(),e.moveTo(t+i,r),e.arcTo(t+n,r,t+n,r+o,i),e.arcTo(t+n,r+o,t,r+o,i),e.arcTo(t,r+o,t,r,i),e.arcTo(t,r,t+n,r,i),e.closePath()}function doe(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let s=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom,l=a+r.left+t.left,c=i+r.top+t.top;return e==="top"?l+=s/2:e==="right"?(l+=s,c+=u/2):e==="bottom"?(l+=s/2,c+=u):e==="left"?c+=u/2:e==="center"&&(l+=s/2,c+=u/2),{x:l,y:c}}function foe(e,t,{margin:r,border:n,padding:o},i,a){let s=f=>0,u=0,l=0,c=a?1:.5,d=a?i*2:0;return e==="padding"?s=f=>o[f]*c+d:e==="border"?s=f=>o[f]+n[f]*c+d:e==="margin"&&(s=f=>o[f]+n[f]+r[f]*c+d),t==="top"?l=-s("top"):t==="right"?u=s("right"):t==="bottom"?l=s("bottom"):t==="left"&&(u=-s("left")),{offsetX:u,offsetY:l}}function poe(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function hoe(e,t,r){return e==="top"?t.y=r.y-r.h-sn:e==="right"?t.x=r.x+r.w/2+sn+t.w/2:e==="bottom"?t.y=r.y+r.h+sn:e==="left"&&(t.x=r.x-r.w/2-sn-t.w/2),{x:t.x,y:t.y}}function H6(e,t,{x:r,y:n,w:o,h:i},a){return ux(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Wo[t]}dd`,e.fill(),e.strokeStyle=Wo[t],e.stroke(),e.fillStyle=Wo.text,e.fillText(a,r,n),ux(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Wo[t]}dd`,e.fill(),e.strokeStyle=Wo[t],e.stroke(),e.fillStyle=Wo.text,e.fillText(a,r,n),{x:r,y:n,w:o,h:i}}function U6(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+sn*2,i=n+sn*2;return{w:o,h:i}}function moe(e,t,{type:r,position:n="center",text:o},i,a=!1){let{x:s,y:u}=doe(n,t),{offsetX:l,offsetY:c}=foe(r,n,t,sn+1,a);s+=l,u+=c;let{w:d,h:f}=U6(e,o);if(i&&poe({x:s,y:u,w:d,h:f},i)){let p=hoe(n,{x:s,y:u,w:d},i);s=p.x,u=p.y}return H6(e,r,{x:s,y:u,w:d,h:f},o)}function goe(e,{w:t,h:r}){let n=t*.5+sn,o=r*.5+sn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}function boe(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,a=i[o.x],s=i[o.y],{w:u,h:l}=U6(e,n),{offsetX:c,offsetY:d}=goe(o,{w:u,h:l});return a+=c,s+=d,H6(e,r,{x:a,y:s,w:u,h:l},n)}function ou(e,t,r,n){let o=[];r.forEach((i,a)=>{let s=n&&i.position==="center"?boe(e,t,i):moe(e,t,i,o[a-1],n);o[a]=s})}function voe(e,t,r,n){let o=r.reduce((i,a)=>(Object.prototype.hasOwnProperty.call(i,a.position)||(i[a.position]=[]),i[a.position]?.push(a),i),{});o.top&&ou(e,t,o.top,n),o.right&&ou(e,t,o.right,n),o.bottom&&ou(e,t,o.bottom,n),o.left&&ou(e,t,o.left,n),o.center&&ou(e,t,o.center,n)}var yh={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},cx=30;function Gt(e){return parseInt(e.replace("px",""),10)}function oi(e){return Number.isInteger(e)?e:e.toFixed(2)}function g1(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function yoe(e){let t={top:pe.window.scrollY,bottom:pe.window.scrollY+pe.window.innerHeight,left:pe.window.scrollX,right:pe.window.scrollX+pe.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}function woe(e){let t=pe.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:a,height:s}=e.getBoundingClientRect(),{marginTop:u,marginBottom:l,marginLeft:c,marginRight:d,paddingTop:f,paddingBottom:p,paddingLeft:h,paddingRight:m,borderBottomWidth:v,borderTopWidth:g,borderLeftWidth:w,borderRightWidth:_}=t;r=r+pe.window.scrollY,n=n+pe.window.scrollX,i=i+pe.window.scrollY,o=o+pe.window.scrollX;let R={top:Gt(u),bottom:Gt(l),left:Gt(c),right:Gt(d)},x={top:Gt(f),bottom:Gt(p),left:Gt(h),right:Gt(m)},y={top:Gt(g),bottom:Gt(v),left:Gt(w),right:Gt(_)},b={top:r-R.top,bottom:i+R.bottom,left:n-R.left,right:o+R.right};return{margin:R,padding:x,border:y,top:r,left:n,bottom:i,right:o,width:a,height:s,extremities:b,floatingAlignment:yoe(b)}}function Eoe(e,{margin:t,width:r,height:n,top:o,left:i,bottom:a,right:s}){let u=n+t.bottom+t.top;e.fillStyle=yh.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(s,o-t.top,t.right,u),e.fillRect(i,a,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,u);let l=[{type:"margin",text:oi(t.top),position:"top"},{type:"margin",text:oi(t.right),position:"right"},{type:"margin",text:oi(t.bottom),position:"bottom"},{type:"margin",text:oi(t.left),position:"left"}];return g1(l)}function _oe(e,{padding:t,border:r,width:n,height:o,top:i,left:a,bottom:s,right:u}){let l=n-r.left-r.right,c=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=yh.padding,e.fillRect(a+r.left,i+r.top,l,t.top),e.fillRect(u-t.right-r.right,i+t.top+r.top,t.right,c),e.fillRect(a+r.left,s-t.bottom-r.bottom,l,t.bottom),e.fillRect(a+r.left,i+t.top+r.top,t.left,c);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return g1(d)}function Soe(e,{border:t,width:r,height:n,top:o,left:i,bottom:a,right:s}){let u=n-t.top-t.bottom;e.fillStyle=yh.border,e.fillRect(i,o,r,t.top),e.fillRect(i,a-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,u),e.fillRect(s-t.right,o+t.top,t.right,u);let l=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return g1(l)}function Roe(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let s=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=yh.content,e.fillRect(a+r.left+t.left,i+r.top+t.top,s,u),[{type:"content",position:"center",text:`${oi(s)} x ${oi(u)}`}]}function xoe(e){return t=>{if(e&&t){let r=woe(e),n=Eoe(t,r),o=_oe(t,r),i=Soe(t,r),a=Roe(t,r),s=r.width<=cx*3||r.height<=cx;voe(t,r,[...a,...o,...i,...n],s)}}}function Coe(e){loe(xoe(e))}var Aoe=(e,t)=>{let r=pe.document.elementFromPoint(e,t),n=o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o};return n(r)||r},dx,$d={x:0,y:0};function fx(e,t){dx=Aoe(e,t),Coe(dx)}var Poe=(e,t)=>{let{measureEnabled:r}=t.globals||{},n=r&&!t.parameters?.measure?.disable;return pc(()=>{if(typeof globalThis.document>"u")return;let o=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),$d.x=i.clientX,$d.y=i.clientY})};return globalThis.document.addEventListener("pointermove",o),()=>{globalThis.document.removeEventListener("pointermove",o)}},[]),pc(()=>{let o=a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),fx(a.clientX,a.clientY)})},i=()=>{window.requestAnimationFrame(()=>{uoe()})};return t.viewMode==="story"&&n&&(globalThis.document.addEventListener("pointerover",o),soe(),globalThis.window.addEventListener("resize",i),fx($d.x,$d.y)),()=>{globalThis.window.removeEventListener("resize",i),coe()}},[n,t.viewMode]),e()};globalThis.FEATURES?.measure;var px=e=>{(Array.isArray(e)?e:[e]).forEach(Toe)},Toe=e=>{let t=typeof e=="string"?e:e.join(""),r=pe.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},Ooe=(e,t)=>{let r=pe.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=pe.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,pe.document.head.appendChild(n)}};function $oe(e){return Ji`
|
|
950
|
+
${e} body {
|
|
951
|
+
outline: 1px solid #2980b9 !important;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
${e} article {
|
|
955
|
+
outline: 1px solid #3498db !important;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
${e} nav {
|
|
959
|
+
outline: 1px solid #0088c3 !important;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
${e} aside {
|
|
963
|
+
outline: 1px solid #33a0ce !important;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
${e} section {
|
|
967
|
+
outline: 1px solid #66b8da !important;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
${e} header {
|
|
971
|
+
outline: 1px solid #99cfe7 !important;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
${e} footer {
|
|
975
|
+
outline: 1px solid #cce7f3 !important;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
${e} h1 {
|
|
979
|
+
outline: 1px solid #162544 !important;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
${e} h2 {
|
|
983
|
+
outline: 1px solid #314e6e !important;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
${e} h3 {
|
|
987
|
+
outline: 1px solid #3e5e85 !important;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
${e} h4 {
|
|
991
|
+
outline: 1px solid #449baf !important;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
${e} h5 {
|
|
995
|
+
outline: 1px solid #c7d1cb !important;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
${e} h6 {
|
|
999
|
+
outline: 1px solid #4371d0 !important;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
${e} main {
|
|
1003
|
+
outline: 1px solid #2f4f90 !important;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
${e} address {
|
|
1007
|
+
outline: 1px solid #1a2c51 !important;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
${e} div {
|
|
1011
|
+
outline: 1px solid #036cdb !important;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
${e} p {
|
|
1015
|
+
outline: 1px solid #ac050b !important;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
${e} hr {
|
|
1019
|
+
outline: 1px solid #ff063f !important;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
${e} pre {
|
|
1023
|
+
outline: 1px solid #850440 !important;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
${e} blockquote {
|
|
1027
|
+
outline: 1px solid #f1b8e7 !important;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
${e} ol {
|
|
1031
|
+
outline: 1px solid #ff050c !important;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
${e} ul {
|
|
1035
|
+
outline: 1px solid #d90416 !important;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
${e} li {
|
|
1039
|
+
outline: 1px solid #d90416 !important;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
${e} dl {
|
|
1043
|
+
outline: 1px solid #fd3427 !important;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
${e} dt {
|
|
1047
|
+
outline: 1px solid #ff0043 !important;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
${e} dd {
|
|
1051
|
+
outline: 1px solid #e80174 !important;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
${e} figure {
|
|
1055
|
+
outline: 1px solid #ff00bb !important;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
${e} figcaption {
|
|
1059
|
+
outline: 1px solid #bf0032 !important;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
${e} table {
|
|
1063
|
+
outline: 1px solid #00cc99 !important;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
${e} caption {
|
|
1067
|
+
outline: 1px solid #37ffc4 !important;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
${e} thead {
|
|
1071
|
+
outline: 1px solid #98daca !important;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
${e} tbody {
|
|
1075
|
+
outline: 1px solid #64a7a0 !important;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
${e} tfoot {
|
|
1079
|
+
outline: 1px solid #22746b !important;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
${e} tr {
|
|
1083
|
+
outline: 1px solid #86c0b2 !important;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
${e} th {
|
|
1087
|
+
outline: 1px solid #a1e7d6 !important;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
${e} td {
|
|
1091
|
+
outline: 1px solid #3f5a54 !important;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
${e} col {
|
|
1095
|
+
outline: 1px solid #6c9a8f !important;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
${e} colgroup {
|
|
1099
|
+
outline: 1px solid #6c9a9d !important;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
${e} button {
|
|
1103
|
+
outline: 1px solid #da8301 !important;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
${e} datalist {
|
|
1107
|
+
outline: 1px solid #c06000 !important;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
${e} fieldset {
|
|
1111
|
+
outline: 1px solid #d95100 !important;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
${e} form {
|
|
1115
|
+
outline: 1px solid #d23600 !important;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
${e} input {
|
|
1119
|
+
outline: 1px solid #fca600 !important;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
${e} keygen {
|
|
1123
|
+
outline: 1px solid #b31e00 !important;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
${e} label {
|
|
1127
|
+
outline: 1px solid #ee8900 !important;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
${e} legend {
|
|
1131
|
+
outline: 1px solid #de6d00 !important;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
${e} meter {
|
|
1135
|
+
outline: 1px solid #e8630c !important;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
${e} optgroup {
|
|
1139
|
+
outline: 1px solid #b33600 !important;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
${e} option {
|
|
1143
|
+
outline: 1px solid #ff8a00 !important;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
${e} output {
|
|
1147
|
+
outline: 1px solid #ff9619 !important;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
${e} progress {
|
|
1151
|
+
outline: 1px solid #e57c00 !important;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
${e} select {
|
|
1155
|
+
outline: 1px solid #e26e0f !important;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
${e} textarea {
|
|
1159
|
+
outline: 1px solid #cc5400 !important;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
${e} details {
|
|
1163
|
+
outline: 1px solid #33848f !important;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
${e} summary {
|
|
1167
|
+
outline: 1px solid #60a1a6 !important;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
${e} command {
|
|
1171
|
+
outline: 1px solid #438da1 !important;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
${e} menu {
|
|
1175
|
+
outline: 1px solid #449da6 !important;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
${e} del {
|
|
1179
|
+
outline: 1px solid #bf0000 !important;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
${e} ins {
|
|
1183
|
+
outline: 1px solid #400000 !important;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
${e} img {
|
|
1187
|
+
outline: 1px solid #22746b !important;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
${e} iframe {
|
|
1191
|
+
outline: 1px solid #64a7a0 !important;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
${e} embed {
|
|
1195
|
+
outline: 1px solid #98daca !important;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
${e} object {
|
|
1199
|
+
outline: 1px solid #00cc99 !important;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
${e} param {
|
|
1203
|
+
outline: 1px solid #37ffc4 !important;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
${e} video {
|
|
1207
|
+
outline: 1px solid #6ee866 !important;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
${e} audio {
|
|
1211
|
+
outline: 1px solid #027353 !important;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
${e} source {
|
|
1215
|
+
outline: 1px solid #012426 !important;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
${e} canvas {
|
|
1219
|
+
outline: 1px solid #a2f570 !important;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
${e} track {
|
|
1223
|
+
outline: 1px solid #59a600 !important;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
${e} map {
|
|
1227
|
+
outline: 1px solid #7be500 !important;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
${e} area {
|
|
1231
|
+
outline: 1px solid #305900 !important;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
${e} a {
|
|
1235
|
+
outline: 1px solid #ff62ab !important;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
${e} em {
|
|
1239
|
+
outline: 1px solid #800b41 !important;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
${e} strong {
|
|
1243
|
+
outline: 1px solid #ff1583 !important;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
${e} i {
|
|
1247
|
+
outline: 1px solid #803156 !important;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
${e} b {
|
|
1251
|
+
outline: 1px solid #cc1169 !important;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
${e} u {
|
|
1255
|
+
outline: 1px solid #ff0430 !important;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
${e} s {
|
|
1259
|
+
outline: 1px solid #f805e3 !important;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
${e} small {
|
|
1263
|
+
outline: 1px solid #d107b2 !important;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
${e} abbr {
|
|
1267
|
+
outline: 1px solid #4a0263 !important;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
${e} q {
|
|
1271
|
+
outline: 1px solid #240018 !important;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
${e} cite {
|
|
1275
|
+
outline: 1px solid #64003c !important;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
${e} dfn {
|
|
1279
|
+
outline: 1px solid #b4005a !important;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
${e} sub {
|
|
1283
|
+
outline: 1px solid #dba0c8 !important;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
${e} sup {
|
|
1287
|
+
outline: 1px solid #cc0256 !important;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
${e} time {
|
|
1291
|
+
outline: 1px solid #d6606d !important;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
${e} code {
|
|
1295
|
+
outline: 1px solid #e04251 !important;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
${e} kbd {
|
|
1299
|
+
outline: 1px solid #5e001f !important;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
${e} samp {
|
|
1303
|
+
outline: 1px solid #9c0033 !important;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
${e} var {
|
|
1307
|
+
outline: 1px solid #d90047 !important;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
${e} mark {
|
|
1311
|
+
outline: 1px solid #ff0053 !important;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
${e} bdi {
|
|
1315
|
+
outline: 1px solid #bf3668 !important;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
${e} bdo {
|
|
1319
|
+
outline: 1px solid #6f1400 !important;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
${e} ruby {
|
|
1323
|
+
outline: 1px solid #ff7b93 !important;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
${e} rt {
|
|
1327
|
+
outline: 1px solid #ff2f54 !important;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
${e} rp {
|
|
1331
|
+
outline: 1px solid #803e49 !important;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
${e} span {
|
|
1335
|
+
outline: 1px solid #cc2643 !important;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
${e} br {
|
|
1339
|
+
outline: 1px solid #db687d !important;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
${e} wbr {
|
|
1343
|
+
outline: 1px solid #db175b !important;
|
|
1344
|
+
}`}var qoe=(e,t)=>{let r=t.globals||{},n=!t.parameters?.[Dw]?.disable&&[!0,"true"].includes(r[Dw]),o=t.viewMode==="docs",i=Foe(()=>$oe(o?'[data-story-block="true"]':".sb-show-main"),[t]);return pc(()=>{let a=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?Ooe(a,i):px(a),()=>{px(a)}},[n,i,t]),e()};globalThis.FEATURES?.outline;var V6=Qn({name:ye(),message:ye()}),koe=Qn({id:ye(),name:ye(),snippet:ut(ye()),description:ut(ye()),summary:ut(ye()),warning:ut(ye()),error:ut(V6)}),Moe=Qn({id:ye(),name:ye(),path:ye(),import:ut(ye()),stories:Gp(ye(),koe),error:ut(V6)});ut(Moe);var Noe=class{constructor(){this.getChannel=()=>{if(this.channel)return this.channel;let e=cb();return e?(this.channel=e,this.resolve(),this.channel):NF()},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel||!!cb(),this.setChannel=e=>{this.channel=e,xP(e),this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},og="__STORYBOOK_ADDONS_PREVIEW";function Ioe(){return globalThis[og]||(globalThis[og]=new Noe),globalThis[og]}var sv=Ioe(),joe=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),W6=()=>new Error(`Storybook preview hooks can only be called inside decorators and story functions.
|
|
1345
|
+
|
|
1346
|
+
When combining Storybook hooks (e.g. useArgs) with framework hooks (e.g. React's useState, useEffect, useRef) in the same render function, use Storybook's equivalents from 'storybook/preview-api' instead: useState, useEffect, useRef, useMemo, useCallback, useReducer.`);function Doe(){return pe.STORYBOOK_HOOKS_CONTEXT||null}function G6(){let e=Doe();if(e==null)throw W6();return e}function Loe(e,t,r){let n=G6();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&mu.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&mu.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&mu.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&mu.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
1347
|
+
Previous: ${o.deps}
|
|
1348
|
+
Incoming: ${r}`),(r==null||o.deps==null||!joe(r,o.deps))&&(t(o),o.deps=r),o}throw W6()}function K6(e,t,r){let{memoizedState:n}=Loe(e,o=>{o.memoizedState=t()},r);return n}function Foe(e,t){return K6("useMemo",e,t)}function pc(e,t){let r=G6(),n=K6("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}tr(LP());var Boe=tr(LP());(0,Boe.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));Ji`
|
|
1349
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
1350
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
1351
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
1352
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
1353
|
+
`;function zoe(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var Hoe=e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]};function hx(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var Uoe=(e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&_t.warn(Ji`
|
|
1354
|
+
CSF Auto-title received a numeric fileName. This typically happens when
|
|
1355
|
+
webpack is mis-configured in production mode. To force webpack to produce
|
|
1356
|
+
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
1357
|
+
`);let a=zoe(String(e));if(o.exec(a)){if(!r){let s=a.replace(n,""),u=hx([i,s]).split("/");return u=Hoe(u),u.join("/")}return i?hx([i,r]):r}},mx=/\s*\/\s*/,Voe=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(mx),a=r.title.trim().split(mx);e.includeNames&&(i.push(t.name),a.push(r.name));let s=0;for(;i[s]||a[s];){if(!i[s])return-1;if(!a[s])return 1;let u=i[s],l=a[s];if(u!==l){let d=o.indexOf(u),f=o.indexOf(l),p=o.indexOf("*");return d!==-1||f!==-1?(d===-1&&(p!==-1?d=p:d=o.length),f===-1&&(p!==-1?f=p:f=o.length),d-f):n==="configure"?0:u.localeCompare(l,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(u);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],s+=1}return 0},Woe=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Voe(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},t2e=(e,t,r)=>{try{return Woe(e,t,r)}catch(n){throw new Error(Ji`
|
|
1358
|
+
Error sorting stories with sort parameter ${t}:
|
|
1359
|
+
|
|
1360
|
+
> ${n.message}
|
|
1361
|
+
|
|
1362
|
+
Are you using a V6-style sort function in V7 mode?
|
|
1363
|
+
|
|
1364
|
+
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
1365
|
+
`)}},{fetch:r2e}=pe,Goe=new Set(["area","base","body","head","link","map","meta","nobr","optgroup","option","script","style","template","title","track","wbr"]);`${Array.from(Goe).map(e=>`:not(${e})`).join("")}`;var{history:n2e,document:o2e}=pe,Koe=tr(TF()),{document:i2e}=pe;new Koe.default({escapeXML:!0});var{document:a2e}=pe;let Y6=null;const lv=new Set;function Yoe(){for(const e of lv)e()}function s2e(e){return Y6=e,Yoe(),e}function Jc(){return Y6}function Zoe(e){return lv.add(e),()=>lv.delete(e)}function b1(){return Jc()?.rootPath??"__unscoped__"}let ig=null;async function Joe(){let e;try{e=await import(uF)}catch(t){throw new Error(`The story runtime failed to load from the project module graph — is \`@storybook/react\` installed in the project? (${String(t instanceof Error?t.message:t)})`)}for(const t of["composeStories","setProjectAnnotations","createRoot","flushSync"])if(typeof e[t]!="function")throw new Error(`The packaged story runtime did not export ${t} as a function — see vite-plugin-module-doorways.ts.`);return{composeStories:e.composeStories,setProjectAnnotations:e.setProjectAnnotations,createRoot:e.createRoot,flushSync:e.flushSync}}async function v1(){return ig||(ig=Joe()),ig}let gx=null;function l2e(e){return gx??=v1().then(t=>{t.setProjectAnnotations(e??[])}),gx}function Xoe(e){if(!e||typeof e!="function"&&typeof e!="object")return;const t=e.displayName;return typeof t=="string"?t:typeof e=="function"&&e.name?e.name:void 0}async function u2e(e,t){const r=t??{};if(r.default===null||typeof r.default!="object")return{ok:!1,error:`[stories] ${e} has no default export — every CSF file exports \`export default { title, component, ... } satisfies Meta<...>\` (see the template example: src/ui/Button.stories.tsx). Skipped.`};let n;try{n=(await v1()).composeStories(r)}catch(l){return{ok:!1,error:`[stories] ${e} failed to compose — ${String(l instanceof Error?l.message:l)}`}}const o=r.default,i=typeof o.title=="string"?o.title:void 0,a=Xoe(o.component),s=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").trim(),u=Object.entries(n).filter(l=>typeof l[1]=="function").map(([l,c])=>{const d=c,f=r[l],p=f&&typeof f=="object"?f:null,h=o.globals&&typeof o.globals=="object"?o.globals:null,m=p?.globals&&typeof p.globals=="object"?p.globals:null,v=p?.name;return{name:l,id:typeof d.id=="string"?d.id:l,label:typeof v=="string"?v:s(typeof d.storyName=="string"?d.storyName:l),...i?{title:i}:{},...a?{componentName:a}:{},tags:Array.isArray(d.tags)?d.tags.filter(g=>typeof g=="string"):[],parameters:d.parameters&&typeof d.parameters=="object"?d.parameters:{},globals:d.globals&&typeof d.globals=="object"?{...d.globals}:{},viewportLocked:Object.hasOwn(h??{},"viewport")||Object.hasOwn(m??{},"viewport"),args:d.args&&typeof d.args=="object"?{...d.args}:{},Component:c}});return u.length===0?{ok:!1,error:`[stories] ${e} exports no named stories — a CSF file needs at least one named export alongside the default Meta export (see src/ui/Button.stories.tsx). Skipped.`}:{ok:!0,stories:u}}function Qoe(e){let t="",r=0;for(;r<e.length;){const n=e[r];if(n==="*"){if(e[r+1]==="*"){t+=e[r+2]==="/"?"(?:.*/)?":".*",r+=e[r+2]==="/"?3:2;continue}t+="[^/]*",r+=1;continue}if(n==="?"){t+="[^/]",r+=1;continue}t+=n.replace(/[.+^${}()|[\]\\]/g,"\\$&"),r+=1}return new RegExp(`^${t}$`)}function bx(e){return e.replaceAll("\\","/").replace(/^\.\//,"").replace(/^\//,"")}function vx(e,t){const r=bx(e);return t.some(n=>Qoe(bx(n)).test(r))}function eie(e,t){if(e===void 0)return;const r=[];for(const n of t){n.include!==void 0&&vx(e,n.include)&&r.push({surface:n.surface,regionId:n.id});for(const o of n.mounts??[])vx(e,o.include)&&r.push({surface:o.surface,regionId:n.id})}return r.length===1?r[0]:void 0}function tie(e,t,r){const n=new Set([e]),o=new Set;let i=[e];for(let a=0;a<64&&i.length>0;a++){const s=[];for(const u of i)for(const l of t(u)??[]){if(!l||n.has(l))continue;n.add(l);const c=r(l);c?o.add(c.surface):s.push(l)}i=s}return o}function rie(e){const t=e.regions??[],r=eie(e.projectRelative,t);if(r)return{surface:r.surface,regionId:r.regionId,via:"declared-include",reached:[]};const n=e.regionOfEntry(e.file);if(n)return{surface:n.surface,regionId:n.id,via:"root-entry",reached:[]};const o=e.importersOf?[...tie(e.file,e.importersOf,e.regionOfEntry)]:[];return o.length===1?{surface:o[0],via:"import-graph",reached:o}:{via:"ambiguous",reached:o,ambiguity:o.length>1?"differing-surfaces":"unreached"}}function hc(e){return e.replaceAll("\\","/").replace(/^\.\//,"").replace(/^\//,"")}function nie(e){const t=new Map;for(const r of e)r.entry&&t.set(hc(r.entry),r);return r=>t.get(hc(r))}function oie(e,t){const r=hc(e);return rie({file:r,projectRelative:r,regions:t,regionOfEntry:nie(t)})}function iie(e,t){let r;for(const n of t){if(!n.entry)continue;const o=hc(n.entry),i=o.includes("/")?o.slice(0,o.lastIndexOf("/")+1):"";i===""||i==="src/"||!e.startsWith(i)||(r===void 0||i.length>r.depth)&&(r={region:n,depth:i.length})}return r?.region}function yx(e){return e==="stage"||e==="canvas"||e==="dom"?e:void 0}function aie(e){if(e.via==="declared-include")return"declared-include";if(e.via==="root-entry")return"root-entry"}function c2e(e){const t=e.regions??[],r=e.modulePath?hc(e.modulePath):"";if(!r)return{via:"undeclared",reason:"story has no module path"};const n=oie(r,t),o=yx(n.surface),i=aie(n);if(o&&i)return{medium:o,via:i};const a=iie(r,t),s=yx(a?.surface);return s?{medium:s,via:"root-folder"}:{via:"undeclared",reason:`${r} is not named by a region include/mount, is not a manifest root entry and is not in a root entry's folder`}}const sie=/\.stories\.[jt]sx?$/i;function ag(e){const{root:t,groups:r}=aB(e,{rootSeparator:"|",groupSeparator:"/"});return[...t?[t]:[],...r].map(n=>n.trim()).filter(Boolean)}function lie(e){const t=e.replaceAll("\\","/").replace(/^\.\//,""),r=t.lastIndexOf("/src/");return{directory:t.startsWith("src/")?"src":r>=0?t.slice(0,r+4):t.slice(0,Math.max(0,t.lastIndexOf("/"))),files:"**/*.stories.@(js|jsx|mjs|ts|tsx)",titlePrefix:"",importPathMatcher:sie}}function d2e(e){const t=e.modulePath.replaceAll("\\","/").replace(/^\.\//,""),r=e.title&&ag(e.title).length>0?e.title:void 0,n=Uoe(t,lie(t),r),o=n?ag(n):r?ag(r):[t];return{segments:o.slice(0,-1),leaf:o.at(-1)??e.modulePath}}function f2e(e){return[...e.segments,e.leaf].join("/")}const sp=Object.freeze({id:"kit",title:"Studio",lights:[{color:"#fff3dd",intensity:1.9,direction:[-6,-10,4],space:"world",castShadow:!0},{color:"#ffffff",intensity:1,direction:[-10,-20,-10],space:"world"}],ambient:{color:"#ffffff",intensity:.5},environmentIntensity:1}),Sn=Object.freeze({drawMode:"solid",lighting:{source:"studio",auto:{takeover:["light"]},studioPreset:sp.id,preview:{sceneLights:!0,sun:{enabled:!0,color:"#ffffff",energy:1,altitude:60,azimuth:150,shadowDistance:100},environment:{enabled:!0,sky:{top:"#62748c",horizon:"#a9abaf",ground:"#332b22",topCurve:.15,groundCurve:.02,clouds:null},image:null,energy:1,rotation:0}},tone:{mapper:"aces",exposure:1}},backdrop:{source:"fill",color:"#3d3d3d",opacity:0,blur:0},xray:{enabled:!1,alpha:1},overlays:{grid:{visible:!0,majorEvery:10},selection:{outline:!0,wire:!1,box:!1,origins:!1},axes:"floor",navigation:"interactive",navigationControls:!0,cameraReadout:!0,floor:{visible:!1,color:"#2b3038"},drafting:{rulers:!0,guides:!0,origin:!0,viewport:!0,gridWhenSnapping:!0,position:!0,lock:!0,group:!0,transformation:!0}},interaction:{bootTool:"transform",boxSelect:"contain",transformHandles:{scale:!0,viewRotate:!0,freeMove:!0}},world:{upAxis:"y",handedness:"right"},camera:{fov:{degrees:50,axis:"vertical"},opening:[.6301,.4537,.6301]}}),wx=Object.freeze({id:"document",title:"Document's studio",lights:[],ambient:{color:"#ffffff",intensity:0},environmentIntensity:0}),ii=new Map([[sp.id,sp],[wx.id,wx]]);function p2e(e){if(ii.has(e.id))throw new Error(`registerStudioPreset: "${e.id}" is already registered.`);return ii.set(e.id,e),Yn(),()=>{ii.get(e.id)===e&&(ii.delete(e.id),Yn())}}function h2e(e){return ii.get(e)??sp}function m2e(){return[...ii.values()]}function uie(e){return X6(e).overlays.grid.visible}function g2e(e){return X6(e).overlays.drafting}function b2e(e,t){Z6(e,{overlays:{drafting:t}})}function v2e(e,t){uie(e)!==t&&Z6(e,{overlays:{grid:{visible:t}}})}const go=new Map;function y2e(e,t){if(go.has(e))throw new Error(`registerStartingPresentation: the "${e}" stage already has starting values.`);return go.set(e,t),Yn(),()=>{go.get(e)===t&&(go.delete(e),Yn())}}const er=new Map;function w2e(e){return go.get(e)??null}function E2e(e){const t=go.get(e)?.modes;return t!==void 0&&Object.values(t).some(r=>r?.lighting!==void 0)}function _2e(e,t,r=null){const n=er.get(e);n&&n.stageKind===t&&n.documentLayer===r||(er.set(e,{stageKind:t,documentLayer:r,chosen:n?.chosen??{}}),Yn())}function Z6(e,t){const r=er.get(e)??{stageKind:"",documentLayer:null,chosen:{}};er.set(e,{...r,chosen:die(r.chosen,t)}),Yn()}function S2e(e){const t=er.get(e);t&&(er.set(e,{...t,chosen:{}}),Yn())}function R2e(e){return er.get(e)?.chosen??{}}function x2e(e,t){const r=er.get(e)??{stageKind:"",documentLayer:null,chosen:{}};er.set(e,{...r,chosen:t}),Yn()}function C2e(e){const t=er.get(e);return t&&t.stageKind!==""?{stageKind:t.stageKind,documentLayer:t.documentLayer}:null}const J6=new Map;function A2e(e,t){J6.set(e,t)}function P2e(e){return J6.get(e)??null}function T2e(){return[...er.entries()].filter(([,e])=>e.stageKind!=="").map(([e,t])=>({viewId:e,stageKind:t.stageKind}))}function X6(e){const t=er.get(e),r=[go.get(t?.stageKind??""),t?.documentLayer??void 0,t?.chosen].filter(n=>n!==void 0);return cie(r)}function cie(e){const t=e.reduce((s,u)=>u.drawMode??s,Sn.drawMode);let r={lighting:Sn.lighting,backdrop:Sn.backdrop,xray:Sn.xray},n=Sn.overlays,o=Sn.interaction,i=Sn.world,a=Sn.camera;for(const s of e){s.all&&(r=$n(r,s.all));const u=s.modes?.[t];u&&(r=$n(r,u)),s.overlays&&(n=$n(n,s.overlays)),s.interaction&&(o=$n(o,s.interaction)),s.world&&(i=$n(i,s.world)),s.camera&&(a=$n(a,s.camera))}return{drawMode:t,lighting:r.lighting,backdrop:r.backdrop,xray:r.xray,overlays:n,interaction:o,world:i,camera:a}}let Q6=0;const uv=new Set;function Yn(){Q6+=1;for(const e of uv)e()}function O2e(e){return uv.add(e),()=>uv.delete(e)}function $2e(){return Q6}function qd(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function $n(e,t){if(!qd(e)||!qd(t))return t===void 0?e:t;const r={...e};for(const[n,o]of Object.entries(t))o!==void 0&&(r[n]=qd(o)&&qd(r[n])?$n(r[n],o):o);return r}function die(e,t){return $n(e,t)}const ai=new Map,cv=new Set;function Ex(){for(const e of cv)e()}function q2e(e){for(const t of e.images)if(ai.has(t.id))throw new Error(`registerEnvironmentImages: "${t.id}" is already registered.`);for(const t of e.images)ai.set(t.id,t);return Ex(),()=>{for(const t of e.images)ai.get(t.id)===t&&ai.delete(t.id);Ex()}}function k2e(e){return ai.get(e)??null}function M2e(){return[...ai.values()]}function N2e(e){return cv.add(e),()=>{cv.delete(e)}}const uf=new Map,dv=new Set;let eq=0,sg=!1;function _x(){sg||(sg=!0,queueMicrotask(()=>{sg=!1,eq+=1;for(const e of[...dv])e()}))}function I2e(e,t){return uf.set(e,t),_x(),()=>{uf.get(e)===t&&(uf.delete(e),_x())}}function j2e(e){return dv.add(e),()=>dv.delete(e)}function D2e(){return eq}function L2e(e){return e?uf.get(e)??null:null}const Zo=new Map;function F2e(e){Zo.set(e,(Zo.get(e)??0)+1);let t=!1;return()=>{if(t)return;t=!0;const r=(Zo.get(e)??0)-1;r>0?Zo.set(e,r):Zo.delete(e)}}function B2e(e){return(Zo.get(e)??0)>0}const fv=new Set;function z2e(e){return fv.add(e),()=>fv.delete(e)}function H2e(e,t){for(const r of fv){const n=r(e,t);if(n)return n}return null}const fie=["glb","gltf","fbx","obj","dae","stl","ply","3ds"],pie=["blend","usd","usda","usdc"],hie=["png","jpg","jpeg","webp","gif","svg"],mie=["hdr","exr"],gie=["mp3","ogg","wav","flac"],bie=["mp4","webm"],vie=["cube"],yie=["glsl","vert","frag"],wie=["txt","md","ts","tsx","js","jsx","css","html","mtl","csv","xml","yaml","yml"];function qt(e,t){return[e,{format:e,...t}]}const Sx={kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"model"},pv=new Map([...fie.map(e=>qt(e,{...Sx,kind:e==="glb"||e==="gltf"?"model":"source",runtimeReady:e==="glb"||e==="gltf",placeable:e==="glb"||e==="gltf"})),qt("spz",{kind:"model",previewable:!0,importable:!0,runtimeReady:!0,placeable:!0,animated:!1,editor:"model"}),qt("bvh",{kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!0,editor:"model"}),...pie.map(e=>qt(e,{...Sx,previewable:!1,editor:"source"})),...hie.map(e=>qt(e,{kind:"image",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:e==="gif",editor:"image"})),...mie.map(e=>qt(e,{kind:"image",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"environment"})),...gie.map(e=>qt(e,{kind:"audio",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"audio"})),...bie.map(e=>qt(e,{kind:"video",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!0,editor:"video"})),...vie.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"source"})),...yie.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"source"})),...wie.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"source"})),qt("inputmap.json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"data"}),qt("data.json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"data"}),qt("json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"data"})]),Eie={format:"unknown",kind:"unknown",previewable:!1,importable:!1,runtimeReady:!1,placeable:!1,animated:!1,editor:"none"};function _ie(e){const t=e.split(/[?#]/,1)[0].toLowerCase();for(const o of["inputmap.json","data.json"])if(t.endsWith(`.${o}`))return o;const r=t.lastIndexOf("."),n=r>=0?t.slice(r+1):"";return pv.has(n)?n:n==="json"?"json":"unknown"}function Sie(e){const t=pv.get(e.toLowerCase());return t||(pv.get(_ie(e))??Eie)}function U2e(e){switch(e.editor){case"model":return"model";case"image":return"image";case"environment":return"image";case"video":return"video";case"audio":return"audio";case"data":return"json";case"source":return"source";default:return null}}let Xr=[];const hv=new Set;function tq(){for(const e of hv)e()}function V2e(e){return hv.add(e),()=>{hv.delete(e)}}function W2e(e){const t=Xr.findIndex(r=>r.worldId===e.worldId);if(t===-1)Xr=[...Xr,e];else{const r=[...Xr];r[t]=e,Xr=r}tq()}function G2e(){return Xr}function K2e(e){const t=Xr.findIndex(r=>r.worldId===e);t!==-1&&(Xr=Xr.filter((r,n)=>n!==t),tq())}function Y2e(e){return e instanceof Error?e.message:String(e)}let rq=0;function Z2e(){rq++}function J2e(){return rq}function Rie(e){return e==="stage"||e==="canvas"||e==="dom"?e:null}function xie(e){if(!(e instanceof No))return null;const t=Ly()?.descriptor;if(!t)return null;const r=e.childAdapters();if(t.kind==="world"){const n=t.provenance?.rootId,o=n?r.find(a=>a.worldId===n):void 0,i=o?Rie(o.kind):null;return o&&i?{adapter:o.adapter,surface:i}:null}if(t.kind==="scene"){const n=r.find(o=>o.kind==="stage"&&o.adapter.capabilities.transform);return n?{adapter:e.projectedDocumentAdapter(n.worldId)??n.adapter,surface:"stage"}:null}return null}function nq(e){const t=lF(),r=mr(e),n=xie(r),o=Ly()?.descriptor.kind;return{adapter:t?.adapter??n?.adapter??r,surface:o==="story"?"dom":n?.surface??null,documentSelection:t}}function Xc(e){return nq(e).adapter}function Cie(e){const t=[];return Mp(Xc(e).hierarchy,r=>{t.push({id:r.id,name:r.label,childIds:[...r.childIds]})}),t}function Aie(e){let t=null;return Mp(e.hierarchy,r=>{const n=r.secondaryLabel?.trim();if(!(r.role!=="document"||!n))return t=n,!1}),t}function X2e(e){return Aie(mr(e))}function Q2e(e){const t=mr(e);return t.capabilities.persist?t.persistence?.destination??null:null}function ewe(e){const t=mr(e).persistence;return t?.lastError?.()?"failed":t?.isDirty()?"unsaved":"saved"}function twe(e){return mr(e).persistence?.lastError?.()??null}function rwe(e){const t=Xc(e),r=t.selection?.get()[0]??null;return r?t.truth?.resolve(r,"position").site??null:null}function nwe(e){const t=Xc(e),r=t.selection?.get()[0]??null;return r?t.truth?.resolve(r,"position").writeAnchorKind??null:null}function owe(e){return[...Xc(e).selection?.get()??e.selectedEntityIds]}function Pie(e,t){const r=Xc(e);Wi(r,t)||e.selectMultiple([...t])}function iwe(e){Pie(e,Cie(e).map(t=>t.id))}async function awe(e){await yA(mr(e),"the shell saved the active document")}function Tie(e){return`volter.${e}`}class Oie extends Error{constructor(t,r){super(t),this.data=r}name="VerbError"}function swe(e,t){for(const[r,n]of Object.entries(t))e.subscriptions.push(e.commands.registerCommand(Tie(r),async o=>{const i=await n({...o,type:r});if(!i.ok)throw new Oie(i.error??`${r} failed`,i.data);return i.data??{}}))}function lwe(e,t,r){for(const n of r)e.subscriptions.push(e.commands.registerCommand(`volter.${t}.${n.id}`,o=>n.run(o)))}const $ie=3e3;function uwe(){const e=new Map,t=new Map,r=new Set;let n=0;const o=(i,a)=>{e.set(i,a),n++;for(const s of r)s()};return{start(i,a,s){o(i,a);let u=a;const l=c=>{u=c,o(i,c)};return t.set(i,s(l).catch(c=>{l({...u,state:"failed",error:c instanceof Error?c.message:String(c)})}).finally(()=>t.delete(i))),a},async status(i){const a=e.get(i);if(!a)throw new Error(`Nothing has started under ${i}.`);return a.state==="rendering"&&await Promise.race([t.get(i),new Promise(s=>setTimeout(s,$ie))]),e.get(i)},get:i=>e.get(i)??null,running:()=>[...e.values()].some(i=>i.state==="rendering"),subscribe(i){return r.add(i),()=>{r.delete(i)}},version:()=>n}}const Rx="volter.collaboration.participant.v1",mv=globalThis.__VOLTER_EDITOR_PRESENCE_BOOTSTRAP__;function qie(){if(mv?.participantId)return mv.participantId;const e=globalThis.crypto?.randomUUID?.()??`participant-${Date.now()}`;try{const t=globalThis.localStorage?.getItem(Rx);if(t)return t;globalThis.localStorage?.setItem(Rx,e)}catch{}return e}const kie=qie(),cwe=mv?.displayName||"Local editor",Mie=Symbol.for("volter.collaboration.revision"),gv=globalThis[Mie]??={value:0};function Nie(e){Number.isInteger(e)&&e>=gv.value&&(gv.value=e)}function wu(){return{participantId:kie,expectedRevision:gv.value}}function y1(){return typeof __VOLTER_PROJECT_PATH__<"u"?__VOLTER_PROJECT_PATH__:""}let lp=null;const bv=new Set;function Iie(){return lp!==null}function Rn(){return lp}function dwe(e){if(lp!==e){lp=e;for(const t of bv)t()}}function jie(e){return bv.add(e),()=>{bv.delete(e)}}async function ln(e){const t=e.byteOffset===0&&e.byteLength===e.buffer.byteLength?e.buffer:e.slice().buffer,r=await crypto.subtle.digest("SHA-256",t);return[...new Uint8Array(r)].map(n=>n.toString(16).padStart(2,"0")).join("")}function xx(e){let t="";for(let n=0;n<e.byteLength;n+=32768)t+=String.fromCharCode(...e.subarray(n,n+32768));return btoa(t)}function fwe(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}const up="/__editor";function oq(e){return e.replace(/\\/g,"/").replace(/^\/+/,"").replace(/\/+$/,"")}function iu(e){const t=oq(e);if(!t||t.split("/").includes(".."))throw new Error(`projectFiles: "${e}" is not a project-relative path.`);return t}function Die(e){const t=oq(e);if(t.split("/").includes(".."))throw new Error(`projectFiles: "${e}" is not a project-relative directory.`);return t}function Lie(e){return new Error(`projectFiles.write("${e}"): the standalone editor has no general project-root write route, and this door does not invent one. Source files are written through \`/__ui-source/apply\` (\`ui-source/source-write-backend.ts\`), \`public/**\` through \`/__editor/save-file\`, \`.volter/**\` through \`/__editor/volter-file\`. Under the Code-OSS frame the workbench file service owns the whole folder and this refusal cannot occur.`)}async function Fie(e){const t=await fetch(`/@fs/${y1()}/${e}`);if(!t.ok)throw new Error(`projectFiles.read "${e}": HTTP ${t.status}`);return t.text()}async function Bie(e){const t=await fetch(`/@fs/${y1()}/${e}`);if(!t.ok)throw new Error(`projectFiles.readBytes "${e}": HTTP ${t.status}`);return new Uint8Array(await t.arrayBuffer())}async function zie(e){const t=await fetch(`${up}/file-stat?${new URLSearchParams({path:e})}`);if(t.status===404)return null;if(!t.ok)throw new Error(`projectFiles.stat "${e}": HTTP ${t.status}`);return await t.json()}async function Hie(e,t){if(e.startsWith("public/")){const r=typeof t=="string"?{path:e.slice(7),content:t,...wu()}:{path:e.slice(7),content:xx(t),encoding:"base64",...wu()},n=await fetch(`${up}/save-file`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(Si(n,`Write ${e} failed`),!n.ok)throw new Error(`projectFiles.write "${e}": HTTP ${n.status}`);return}if(e.startsWith(".volter/")){const r=typeof t=="string"?{path:e,content:t,...wu()}:{path:e,content:xx(t),encoding:"base64",...wu()},n=await fetch(`${up}/volter-file`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(Si(n,`Write ${e} failed`),!n.ok)throw new Error(`projectFiles.write "${e}": HTTP ${n.status}`);return}throw Lie(e)}async function Uie(e){try{const t=await fetch(`/@fs/${y1()}/${e}`,{method:"HEAD"});return t.ok?!(t.headers.get("content-type")??"").toLowerCase().includes("text/html"):!1}catch{return!1}}async function Vie(e){if(!e.startsWith("public"))throw new Error(`projectFiles.list("${e}"): the standalone editor lists only \`public/**\` (\`/__editor/assets\`); source trees are listed by glob through \`/__editor/source-files\` (\`api/project-source.ts\`'s \`listProjectSourceFiles\`).`);const t=e==="public"?"":e.slice(7),r=await fetch(`${up}/assets?${new URLSearchParams({dir:t})}`),{entries:n}=await Mo(r,`projectFiles.list "${e}" failed`);return n.map(o=>({name:o.name,path:t?`public/${t}/${o.name}`:`public/${o.name}`,type:o.type==="directory"?"dir":"file"}))}const cf={frameOwned:Iie,async read(e){const t=iu(e);return await(Rn()?.read(t)??Fie(t))},async readBytes(e){const t=iu(e),r=Rn();return await(r?.readBytes?r.readBytes(t):Bie(t))},async write(e,t){const r=iu(e),n=Rn();return n?await n.write(r,t):await Hie(r,t)},async exists(e){const t=iu(e);return await(Rn()?.exists(t)??Uie(t))},async stat(e){const t=iu(e),r=Rn();return await(r?.stat?r.stat(t):zie(t))},async list(e){const t=Die(e),r=Rn();return await(r?.list?r.list(t):Vie(t))},watch(e){let t=Rn()?.watch(e);const r=jie(()=>{t?.(),t=Rn()?.watch(e)});return()=>{r(),t?.()}}};async function Wie(e,t){const r=await e.json().catch(()=>null);throw e.status===409&&r?.code==="SOURCE_REVISION_CONFLICT"&&Number.isInteger(r.currentRevision)?new Error(`${t} conflicts with source revision ${r.currentRevision}; inspect it before reapplying.`):new Error(typeof r?.error=="string"?r.error:`${t} failed with HTTP ${e.status}.`)}async function pwe(){try{const e=await fetch(`${Pr}/recent-projects`);return(await Mo(e,"Could not list recent projects")).projects}catch{return[]}}const Cx={reopenLastProject:!1};async function hwe(){try{const e=await fetch(`${Pr}/launcher-settings`),t=await Mo(e,"Could not read launcher settings");return{reopenLastProject:typeof t.reopenLastProject=="boolean"?t.reopenLastProject:Cx.reopenLastProject}}catch{return{...Cx}}}async function mwe(e,t,r={}){const n=await fetch(`${Pr}/create-project`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,location:t,...r})});return Si(n,"Could not create the project"),await n.json()}async function gwe(e){const t=await fetch(`${Pr}/reveal`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e})});kp(t,`Could not reveal ${e}`)}function bwe(){const e=typeof navigator>"u"?"":navigator.platform;return e.includes("Mac")?"Finder":e.startsWith("Win")?"File Explorer":"File Manager"}async function vwe(e){try{const t=await fetch(`${Pr}/save-thumbnail`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({dataUrl:e})});return kp(t,"Could not save the project thumbnail"),!0}catch{return!1}}async function ywe(){let e;try{const r=await fetch(`${Pr}/project`);e=await Mo(r,`No answer from ${Pr}/project`)}catch(r){return{status:"unknown",error:r instanceof Error?r.message:String(r)}}if(e.project)return{status:"project",project:e.project};const t=e.serving;return t&&typeof t.path=="string"?{status:"unreadable",path:t.path,error:typeof t.error=="string"?t.error:"unknown error"}:e.project===null?{status:"none"}:{status:"unknown",error:`Unrecognized ${Pr}/project response`}}function wh(e){return/^(\/|https?:|data:|blob:)/.test(e)?e:`/${e}`}async function wwe(e){try{const t=await fetch(wh(e));if(t.ok)return await t.text()}catch{}return null}async function Ewe(e){try{const t=await fetch(`/__editor/source-file?path=${encodeURIComponent(e.replace(/^\.?\//,""))}`,{cache:"no-store"});if(t.ok)return await t.text()}catch{}return null}function Gie(e){return(e.headers.get("content-type")??"").toLowerCase().includes("text/html")}async function Kie(e){try{const t=await fetch(wh(e),{method:"HEAD"});return t.ok?Gie(t)?"absent":"present":"absent"}catch{return"unreachable"}}async function _we(e){return await Kie(e)==="present"}async function Swe(e,t={}){if(e.length===0)return[];const r=await fetch(`/__editor/source-files?${new URLSearchParams([...e.map(i=>["include",i]),...t.order==="mtime"?[["order","mtime"]]:[]])}`),n=`Listing ${e.join(", ")}`;Si(r,n);const o=await r.json();if(!r.ok)throw new Error(`${n}: ${o.error??`HTTP ${r.status}`}`);return o.files}function J(e,t,r){function n(s,u){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,u);const l=a.prototype,c=Object.keys(l);for(let d=0;d<c.length;d++){const f=c[d];f in s||(s[f]=l[f].bind(s))}}const o=r?.Parent??Object;class i extends o{}Object.defineProperty(i,"name",{value:e});function a(s){var u;const l=r?.Parent?new i:this;n(l,s),(u=l._zod).deferred??(u.deferred=[]);for(const c of l._zod.deferred)c();return l}return Object.defineProperty(a,"init",{value:n}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}class vi extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class iq extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const aq={};function Zn(e){return aq}function sq(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function vv(e,t){return typeof t=="bigint"?t.toString():t}function Eh(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function w1(e){return e==null}function E1(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Yie(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){const u=n.match(/\d?e-(\d?)/);u?.[1]&&(o=Number.parseInt(u[1]))}const i=r>o?r:o,a=Number.parseInt(e.toFixed(i).replace(".","")),s=Number.parseInt(t.toFixed(i).replace(".",""));return a%s/10**i}const Ax=Symbol("evaluating");function Pe(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==Ax)return n===void 0&&(n=Ax,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Fo(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function ro(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function Px(e){return JSON.stringify(e)}function Zie(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const lq="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function mc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Jie=Eh(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Di(e){if(mc(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(mc(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function uq(e){return Di(e)?{...e}:Array.isArray(e)?[...e]:e}const Xie=new Set(["string","number","symbol"]);function Li(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function no(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function oe(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Qie(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const eae={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function tae(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=ro(e._zod.def,{get shape(){const a={};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=r.shape[s])}return Fo(this,"shape",a),a},checks:[]});return no(e,i)}function rae(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=ro(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return Fo(this,"shape",a),a},checks:[]});return no(e,i)}function nae(e,t){if(!Di(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const i=e._zod.def.shape;for(const a in t)if(Object.getOwnPropertyDescriptor(i,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const o=ro(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Fo(this,"shape",i),i}});return no(e,o)}function oae(e,t){if(!Di(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=ro(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return Fo(this,"shape",n),n}});return no(e,r)}function iae(e,t){const r=ro(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return Fo(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return no(e,r)}function aae(e,t,r){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=ro(t._zod.def,{get shape(){const s=t._zod.def.shape,u={...s};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(u[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(const l in s)u[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return Fo(this,"shape",u),u},checks:[]});return no(t,a)}function sae(e,t,r){const n=ro(t._zod.def,{get shape(){const o=t._zod.def.shape,i={...o};if(r)for(const a in r){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(i[a]=new e({type:"nonoptional",innerType:o[a]}))}else for(const a in o)i[a]=new e({type:"nonoptional",innerType:o[a]});return Fo(this,"shape",i),i}});return no(t,n)}function si(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function bo(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function kd(e){return typeof e=="string"?e:e?.message}function Jn(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=kd(e.inst?._zod.def?.error?.(e))??kd(t?.error?.(e))??kd(r.customError?.(e))??kd(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function _1(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function gc(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const cq=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,vv,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},dq=J("$ZodError",cq),fq=J("$ZodError",cq,{Parent:Error});function lae(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function uae(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const i of o.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(a=>n({issues:a}));else if(i.code==="invalid_key")n({issues:i.issues});else if(i.code==="invalid_element")n({issues:i.issues});else if(i.path.length===0)r._errors.push(t(i));else{let a=r,s=0;for(;s<i.path.length;){const u=i.path[s];s===i.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(t(i))):a[u]=a[u]||{_errors:[]},a=a[u],s++}}};return n(e),r}const S1=e=>(t,r,n,o)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new vi;if(a.issues.length){const s=new(o?.Err??e)(a.issues.map(u=>Jn(u,i,Zn())));throw lq(s,o?.callee),s}return a.value},R1=e=>async(t,r,n,o)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const s=new(o?.Err??e)(a.issues.map(u=>Jn(u,i,Zn())));throw lq(s,o?.callee),s}return a.value},_h=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new vi;return i.issues.length?{success:!1,error:new(e??dq)(i.issues.map(a=>Jn(a,o,Zn())))}:{success:!0,data:i.value}},cae=_h(fq),Sh=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>Jn(a,o,Zn())))}:{success:!0,data:i.value}},dae=Sh(fq),fae=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return S1(e)(t,r,o)},pae=e=>(t,r,n)=>S1(e)(t,r,n),hae=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return R1(e)(t,r,o)},mae=e=>async(t,r,n)=>R1(e)(t,r,n),gae=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return _h(e)(t,r,o)},bae=e=>(t,r,n)=>_h(e)(t,r,n),vae=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Sh(e)(t,r,o)},yae=e=>async(t,r,n)=>Sh(e)(t,r,n),wae=/^[cC][^\s-]{8,}$/,Eae=/^[0-9a-z]+$/,_ae=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Sae=/^[0-9a-vA-V]{20}$/,Rae=/^[A-Za-z0-9]{27}$/,xae=/^[a-zA-Z0-9_-]{21}$/,Cae=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Aae=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Tx=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Pae=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tae="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Oae(){return new RegExp(Tae,"u")}const $ae=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,qae=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,kae=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Mae=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Nae=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,pq=/^[A-Za-z0-9_-]*$/,Iae=/^\+[1-9]\d{6,14}$/,hq="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",jae=new RegExp(`^${hq}$`);function mq(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Dae(e){return new RegExp(`^${mq(e)}$`)}function Lae(e){const t=mq({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${hq}T(?:${n})$`)}const Fae=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Bae=/^-?\d+$/,gq=/^-?\d+(?:\.\d+)?$/,zae=/^(?:true|false)$/i,Hae=/^[^A-Z]*$/,Uae=/^[^a-z]*$/,Nt=J("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),bq={number:"number",bigint:"bigint",object:"date"},vq=J("$ZodCheckLessThan",(e,t)=>{Nt.init(e,t);const r=bq[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),yq=J("$ZodCheckGreaterThan",(e,t)=>{Nt.init(e,t);const r=bq[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Vae=J("$ZodCheckMultipleOf",(e,t)=>{Nt.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Yie(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),Wae=J("$ZodCheckNumberFormat",(e,t)=>{Nt.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,i]=eae[t.format];e._zod.onattach.push(a=>{const s=a._zod.bag;s.format=t.format,s.minimum=o,s.maximum=i,r&&(s.pattern=Bae)}),e._zod.check=a=>{const s=a.value;if(r){if(!Number.isInteger(s)){a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Gae=J("$ZodCheckMaxLength",(e,t)=>{var r;Nt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!w1(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const a=_1(o);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Kae=J("$ZodCheckMinLength",(e,t)=>{var r;Nt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!w1(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const a=_1(o);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Yae=J("$ZodCheckLengthEquals",(e,t)=>{var r;Nt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!w1(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,i=o.length;if(i===t.length)return;const a=_1(o),s=i>t.length;n.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Rh=J("$ZodCheckStringFormat",(e,t)=>{var r,n;Nt.init(e,t),e._zod.onattach.push(o=>{const i=o._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),Zae=J("$ZodCheckRegex",(e,t)=>{Rh.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Jae=J("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Hae),Rh.init(e,t)}),Xae=J("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Uae),Rh.init(e,t)}),Qae=J("$ZodCheckIncludes",(e,t)=>{Nt.init(e,t);const r=Li(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),ese=J("$ZodCheckStartsWith",(e,t)=>{Nt.init(e,t);const r=new RegExp(`^${Li(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),tse=J("$ZodCheckEndsWith",(e,t)=>{Nt.init(e,t);const r=new RegExp(`.*${Li(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),rse=J("$ZodCheckOverwrite",(e,t)=>{Nt.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class nse{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
|
|
1366
|
+
`).filter(a=>a),o=Math.min(...n.map(a=>a.length-a.trimStart().length)),i=n.map(a=>a.slice(o)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,o.join(`
|
|
1367
|
+
`))}}const ose={major:4,minor:3,patch:6},Le=J("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ose;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const o of n)for(const i of o._zod.onattach)i(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(a,s,u)=>{let l=si(a),c;for(const d of s){if(d._zod.def.when){if(!d._zod.def.when(a))continue}else if(l)continue;const f=a.issues.length,p=d._zod.check(a);if(p instanceof Promise&&u?.async===!1)throw new vi;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,a.issues.length!==f&&(l||(l=si(a,f)))});else{if(a.issues.length===f)continue;l||(l=si(a,f))}}return c?c.then(()=>a):a},i=(a,s,u)=>{if(si(a))return a.aborted=!0,a;const l=o(s,n,u);if(l instanceof Promise){if(u.async===!1)throw new vi;return l.then(c=>e._zod.parse(c,u))}return e._zod.parse(l,u)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){const l=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return l instanceof Promise?l.then(c=>i(c,a,s)):i(l,a,s)}const u=e._zod.parse(a,s);if(u instanceof Promise){if(s.async===!1)throw new vi;return u.then(l=>o(l,n,s))}return o(u,n,s)}}Pe(e,"~standard",()=>({validate:o=>{try{const i=cae(e,o);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return dae(e,o).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),x1=J("$ZodString",(e,t)=>{Le.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Fae(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),ze=J("$ZodStringFormat",(e,t)=>{Rh.init(e,t),x1.init(e,t)}),ise=J("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Aae),ze.init(e,t)}),ase=J("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Tx(n))}else t.pattern??(t.pattern=Tx());ze.init(e,t)}),sse=J("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Pae),ze.init(e,t)}),lse=J("$ZodURL",(e,t)=>{ze.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),use=J("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Oae()),ze.init(e,t)}),cse=J("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=xae),ze.init(e,t)}),dse=J("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=wae),ze.init(e,t)}),fse=J("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Eae),ze.init(e,t)}),pse=J("$ZodULID",(e,t)=>{t.pattern??(t.pattern=_ae),ze.init(e,t)}),hse=J("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Sae),ze.init(e,t)}),mse=J("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Rae),ze.init(e,t)}),gse=J("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Lae(t)),ze.init(e,t)}),bse=J("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=jae),ze.init(e,t)}),vse=J("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Dae(t)),ze.init(e,t)}),yse=J("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Cae),ze.init(e,t)}),wse=J("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=$ae),ze.init(e,t),e._zod.bag.format="ipv4"}),Ese=J("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=qae),ze.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),_se=J("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=kae),ze.init(e,t)}),Sse=J("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Mae),ze.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[o,i]=n;if(!i)throw new Error;const a=Number(i);if(`${a}`!==i)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function wq(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Rse=J("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Nae),ze.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{wq(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function xse(e){if(!pq.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return wq(r)}const Cse=J("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=pq),ze.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{xse(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Ase=J("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Iae),ze.init(e,t)});function Pse(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const Tse=J("$ZodJWT",(e,t)=>{ze.init(e,t),e._zod.check=r=>{Pse(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Eq=J("$ZodNumber",(e,t)=>{Le.init(e,t),e._zod.pattern=e._zod.bag.pattern??gq,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;const i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),Ose=J("$ZodNumberFormat",(e,t)=>{Wae.init(e,t),Eq.init(e,t)}),$se=J("$ZodBoolean",(e,t)=>{Le.init(e,t),e._zod.pattern=zae,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}const o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),qse=J("$ZodUnknown",(e,t)=>{Le.init(e,t),e._zod.parse=r=>r}),kse=J("$ZodNever",(e,t)=>{Le.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function Ox(e,t,r){e.issues.length&&t.issues.push(...bo(r,e.issues)),t.value[r]=e.value}const Mse=J("$ZodArray",(e,t)=>{Le.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const i=[];for(let a=0;a<o.length;a++){const s=o[a],u=t.element._zod.run({value:s,issues:[]},n);u instanceof Promise?i.push(u.then(l=>Ox(l,r,a))):Ox(u,r,a)}return i.length?Promise.all(i).then(()=>r):r}});function cp(e,t,r,n,o){if(e.issues.length){if(o&&!(r in n))return;t.issues.push(...bo(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function _q(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=Qie(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Sq(e,t,r,n,o,i){const a=[],s=o.keySet,u=o.catchall._zod,l=u.def.type,c=u.optout==="optional";for(const d in t){if(s.has(d))continue;if(l==="never"){a.push(d);continue}const f=u.run({value:t[d],issues:[]},n);f instanceof Promise?e.push(f.then(p=>cp(p,r,d,t,c))):cp(f,r,d,t,c)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>r):r}const Nse=J("$ZodObject",(e,t)=>{if(Le.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const u={...s};return Object.defineProperty(t,"shape",{value:u}),u}})}const n=Eh(()=>_q(t));Pe(e._zod,"propValues",()=>{const s=t.shape,u={};for(const l in s){const c=s[l]._zod;if(c.values){u[l]??(u[l]=new Set);for(const d of c.values)u[l].add(d)}}return u});const o=mc,i=t.catchall;let a;e._zod.parse=(s,u)=>{a??(a=n.value);const l=s.value;if(!o(l))return s.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),s;s.value={};const c=[],d=a.shape;for(const f of a.keys){const p=d[f],h=p._zod.optout==="optional",m=p._zod.run({value:l[f],issues:[]},u);m instanceof Promise?c.push(m.then(v=>cp(v,s,f,l,h))):cp(m,s,f,l,h)}return i?Sq(c,l,s,u,n.value,e):c.length?Promise.all(c).then(()=>s):s}}),Ise=J("$ZodObjectJIT",(e,t)=>{Nse.init(e,t);const r=e._zod.parse,n=Eh(()=>_q(t)),o=f=>{const p=new nse(["shape","payload","ctx"]),h=n.value,m=_=>{const R=Px(_);return`shape[${R}]._zod.run({ value: input[${R}], issues: [] }, ctx)`};p.write("const input = payload.value;");const v=Object.create(null);let g=0;for(const _ of h.keys)v[_]=`key_${g++}`;p.write("const newResult = {};");for(const _ of h.keys){const R=v[_],x=Px(_),b=f[_]?._zod?.optout==="optional";p.write(`const ${R} = ${m(_)};`),b?p.write(`
|
|
1368
|
+
if (${R}.issues.length) {
|
|
1369
|
+
if (${x} in input) {
|
|
1370
|
+
payload.issues = payload.issues.concat(${R}.issues.map(iss => ({
|
|
1371
|
+
...iss,
|
|
1372
|
+
path: iss.path ? [${x}, ...iss.path] : [${x}]
|
|
1373
|
+
})));
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
if (${R}.value === undefined) {
|
|
1378
|
+
if (${x} in input) {
|
|
1379
|
+
newResult[${x}] = undefined;
|
|
1380
|
+
}
|
|
1381
|
+
} else {
|
|
1382
|
+
newResult[${x}] = ${R}.value;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
`):p.write(`
|
|
1386
|
+
if (${R}.issues.length) {
|
|
1387
|
+
payload.issues = payload.issues.concat(${R}.issues.map(iss => ({
|
|
1388
|
+
...iss,
|
|
1389
|
+
path: iss.path ? [${x}, ...iss.path] : [${x}]
|
|
1390
|
+
})));
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
if (${R}.value === undefined) {
|
|
1394
|
+
if (${x} in input) {
|
|
1395
|
+
newResult[${x}] = undefined;
|
|
1396
|
+
}
|
|
1397
|
+
} else {
|
|
1398
|
+
newResult[${x}] = ${R}.value;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
`)}p.write("payload.value = newResult;"),p.write("return payload;");const w=p.compile();return(_,R)=>w(f,_,R)};let i;const a=mc,s=!aq.jitless,l=s&&Jie.value,c=t.catchall;let d;e._zod.parse=(f,p)=>{d??(d=n.value);const h=f.value;return a(h)?s&&l&&p?.async===!1&&p.jitless!==!0?(i||(i=o(t.shape)),f=i(f,p),c?Sq([],h,f,p,d,e):f):r(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),f)}});function $x(e,t,r,n){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!si(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(a=>Jn(a,n,Zn())))}),t)}const Rq=J("$ZodUnion",(e,t)=>{Le.init(e,t),Pe(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),Pe(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),Pe(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),Pe(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>E1(i.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(r)return n(o,i);let a=!1;const s=[];for(const u of t.options){const l=u._zod.run({value:o.value,issues:[]},i);if(l instanceof Promise)s.push(l),a=!0;else{if(l.issues.length===0)return l;s.push(l)}}return a?Promise.all(s).then(u=>$x(u,o,e,i)):$x(s,o,e,i)}}),jse=J("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Rq.init(e,t);const r=e._zod.parse;Pe(e._zod,"propValues",()=>{const o={};for(const i of t.options){const a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[s,u]of Object.entries(a)){o[s]||(o[s]=new Set);for(const l of u)o[s].add(l)}}return o});const n=Eh(()=>{const o=t.options,i=new Map;for(const a of o){const s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(const u of s){if(i.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);i.set(u,a)}}return i});e._zod.parse=(o,i)=>{const a=o.value;if(!mc(a))return o.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),o;const s=n.value.get(a?.[t.discriminator]);return s?s._zod.run(o,i):t.unionFallback?r(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),o)}}),Dse=J("$ZodIntersection",(e,t)=>{Le.init(e,t),e._zod.parse=(r,n)=>{const o=r.value,i=t.left._zod.run({value:o,issues:[]},n),a=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([u,l])=>qx(r,u,l)):qx(r,i,a)}});function yv(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Di(e)&&Di(t)){const r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};for(const i of n){const a=yv(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};o[i]=a.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const o=e[n],i=t[n],a=yv(o,i);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function qx(e,t,r){const n=new Map;let o;for(const s of t.issues)if(s.code==="unrecognized_keys"){o??(o=s);for(const u of s.keys)n.has(u)||n.set(u,{}),n.get(u).l=!0}else e.issues.push(s);for(const s of r.issues)if(s.code==="unrecognized_keys")for(const u of s.keys)n.has(u)||n.set(u,{}),n.get(u).r=!0;else e.issues.push(s);const i=[...n].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(i.length&&o&&e.issues.push({...o,keys:i}),si(e))return e;const a=yv(t.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const Lse=J("$ZodTuple",(e,t)=>{Le.init(e,t);const r=t.items;e._zod.parse=(n,o)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];const a=[],s=[...r].reverse().findIndex(c=>c._zod.optin!=="optional"),u=s===-1?0:r.length-s;if(!t.rest){const c=i.length>r.length,d=i.length<u-1;if(c||d)return n.issues.push({...c?{code:"too_big",maximum:r.length,inclusive:!0}:{code:"too_small",minimum:r.length},input:i,inst:e,origin:"array"}),n}let l=-1;for(const c of r){if(l++,l>=i.length&&l>=u)continue;const d=c._zod.run({value:i[l],issues:[]},o);d instanceof Promise?a.push(d.then(f=>Md(f,n,l))):Md(d,n,l)}if(t.rest){const c=i.slice(r.length);for(const d of c){l++;const f=t.rest._zod.run({value:d,issues:[]},o);f instanceof Promise?a.push(f.then(p=>Md(p,n,l))):Md(f,n,l)}}return a.length?Promise.all(a).then(()=>n):n}});function Md(e,t,r){e.issues.length&&t.issues.push(...bo(r,e.issues)),t.value[r]=e.value}const Fse=J("$ZodRecord",(e,t)=>{Le.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Di(o))return r.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),r;const i=[],a=t.keyType._zod.values;if(a){r.value={};const s=new Set;for(const l of a)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){s.add(typeof l=="number"?l.toString():l);const c=t.valueType._zod.run({value:o[l],issues:[]},n);c instanceof Promise?i.push(c.then(d=>{d.issues.length&&r.issues.push(...bo(l,d.issues)),r.value[l]=d.value})):(c.issues.length&&r.issues.push(...bo(l,c.issues)),r.value[l]=c.value)}let u;for(const l in o)s.has(l)||(u=u??[],u.push(l));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:u})}else{r.value={};for(const s of Reflect.ownKeys(o)){if(s==="__proto__")continue;let u=t.keyType._zod.run({value:s,issues:[]},n);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&gq.test(s)&&u.issues.length){const d=t.keyType._zod.run({value:Number(s),issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){t.mode==="loose"?r.value[s]=o[s]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>Jn(d,n,Zn())),input:s,path:[s],inst:e});continue}const c=t.valueType._zod.run({value:o[s],issues:[]},n);c instanceof Promise?i.push(c.then(d=>{d.issues.length&&r.issues.push(...bo(s,d.issues)),r.value[u.value]=d.value})):(c.issues.length&&r.issues.push(...bo(s,c.issues)),r.value[u.value]=c.value)}}return i.length?Promise.all(i).then(()=>r):r}}),Bse=J("$ZodEnum",(e,t)=>{Le.init(e,t);const r=sq(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(o=>Xie.has(typeof o)).map(o=>typeof o=="string"?Li(o):o.toString()).join("|")})$`),e._zod.parse=(o,i)=>{const a=o.value;return n.has(a)||o.issues.push({code:"invalid_value",values:r,input:a,inst:e}),o}}),zse=J("$ZodLiteral",(e,t)=>{if(Le.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?Li(n):n?Li(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,o)=>{const i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),Hse=J("$ZodTransform",(e,t)=>{Le.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new iq(e.constructor.name);const o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(a=>(r.value=a,r));if(o instanceof Promise)throw new vi;return r.value=o,r}});function kx(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const xq=J("$ZodOptional",(e,t)=>{Le.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Pe(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Pe(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${E1(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>kx(i,r.value)):kx(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),Use=J("$ZodExactOptional",(e,t)=>{xq.init(e,t),Pe(e._zod,"values",()=>t.innerType._zod.values),Pe(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Vse=J("$ZodNullable",(e,t)=>{Le.init(e,t),Pe(e._zod,"optin",()=>t.innerType._zod.optin),Pe(e._zod,"optout",()=>t.innerType._zod.optout),Pe(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${E1(r.source)}|null)$`):void 0}),Pe(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),Wse=J("$ZodDefault",(e,t)=>{Le.init(e,t),e._zod.optin="optional",Pe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Mx(i,t)):Mx(o,t)}});function Mx(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Gse=J("$ZodPrefault",(e,t)=>{Le.init(e,t),e._zod.optin="optional",Pe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Kse=J("$ZodNonOptional",(e,t)=>{Le.init(e,t),Pe(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Nx(i,e)):Nx(o,e)}});function Nx(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Yse=J("$ZodCatch",(e,t)=>{Le.init(e,t),Pe(e._zod,"optin",()=>t.innerType._zod.optin),Pe(e._zod,"optout",()=>t.innerType._zod.optout),Pe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(a=>Jn(a,n,Zn()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(i=>Jn(i,n,Zn()))},input:r.value}),r.issues=[]),r)}}),Zse=J("$ZodPipe",(e,t)=>{Le.init(e,t),Pe(e._zod,"values",()=>t.in._zod.values),Pe(e._zod,"optin",()=>t.in._zod.optin),Pe(e._zod,"optout",()=>t.out._zod.optout),Pe(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const i=t.out._zod.run(r,n);return i instanceof Promise?i.then(a=>Nd(a,t.in,n)):Nd(i,t.in,n)}const o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>Nd(i,t.out,n)):Nd(o,t.out,n)}});function Nd(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const Jse=J("$ZodReadonly",(e,t)=>{Le.init(e,t),Pe(e._zod,"propValues",()=>t.innerType._zod.propValues),Pe(e._zod,"values",()=>t.innerType._zod.values),Pe(e._zod,"optin",()=>t.innerType?._zod?.optin),Pe(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(Ix):Ix(o)}});function Ix(e){return e.value=Object.freeze(e.value),e}const Xse=J("$ZodCustom",(e,t)=>{Nt.init(e,t),Le.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>jx(i,r,n,e));jx(o,r,n,e)}});function jx(e,t,r,n){if(!e){const o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(gc(o))}}var Dx;class Qse{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function ele(){return new Qse}(Dx=globalThis).__zod_globalRegistry??(Dx.__zod_globalRegistry=ele());const Eu=globalThis.__zod_globalRegistry;function tle(e,t){return new e({type:"string",...oe(t)})}function rle(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...oe(t)})}function Lx(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...oe(t)})}function nle(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...oe(t)})}function ole(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...oe(t)})}function ile(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...oe(t)})}function ale(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...oe(t)})}function sle(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...oe(t)})}function lle(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...oe(t)})}function ule(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...oe(t)})}function cle(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...oe(t)})}function dle(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...oe(t)})}function fle(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...oe(t)})}function ple(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...oe(t)})}function hle(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...oe(t)})}function mle(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...oe(t)})}function gle(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...oe(t)})}function ble(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...oe(t)})}function vle(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...oe(t)})}function yle(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...oe(t)})}function wle(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...oe(t)})}function Ele(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...oe(t)})}function _le(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...oe(t)})}function Sle(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...oe(t)})}function Rle(e,t){return new e({type:"string",format:"date",check:"string_format",...oe(t)})}function xle(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...oe(t)})}function Cle(e,t){return new e({type:"string",format:"duration",check:"string_format",...oe(t)})}function Ale(e,t){return new e({type:"number",checks:[],...oe(t)})}function Ple(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...oe(t)})}function Tle(e,t){return new e({type:"boolean",...oe(t)})}function Ole(e){return new e({type:"unknown"})}function $le(e,t){return new e({type:"never",...oe(t)})}function Fx(e,t){return new vq({check:"less_than",...oe(t),value:e,inclusive:!1})}function lg(e,t){return new vq({check:"less_than",...oe(t),value:e,inclusive:!0})}function Bx(e,t){return new yq({check:"greater_than",...oe(t),value:e,inclusive:!1})}function ug(e,t){return new yq({check:"greater_than",...oe(t),value:e,inclusive:!0})}function zx(e,t){return new Vae({check:"multiple_of",...oe(t),value:e})}function Cq(e,t){return new Gae({check:"max_length",...oe(t),maximum:e})}function dp(e,t){return new Kae({check:"min_length",...oe(t),minimum:e})}function Aq(e,t){return new Yae({check:"length_equals",...oe(t),length:e})}function qle(e,t){return new Zae({check:"string_format",format:"regex",...oe(t),pattern:e})}function kle(e){return new Jae({check:"string_format",format:"lowercase",...oe(e)})}function Mle(e){return new Xae({check:"string_format",format:"uppercase",...oe(e)})}function Nle(e,t){return new Qae({check:"string_format",format:"includes",...oe(t),includes:e})}function Ile(e,t){return new ese({check:"string_format",format:"starts_with",...oe(t),prefix:e})}function jle(e,t){return new tse({check:"string_format",format:"ends_with",...oe(t),suffix:e})}function ra(e){return new rse({check:"overwrite",tx:e})}function Dle(e){return ra(t=>t.normalize(e))}function Lle(){return ra(e=>e.trim())}function Fle(){return ra(e=>e.toLowerCase())}function Ble(){return ra(e=>e.toUpperCase())}function zle(){return ra(e=>Zie(e))}function Hle(e,t,r){return new e({type:"array",element:t,...oe(r)})}function Ule(e,t,r){const n=oe(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function Vle(e,t,r){return new e({type:"custom",check:"custom",fn:t,...oe(r)})}function Wle(e){const t=Gle(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(gc(n,r.value,t._zod.def));else{const o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(gc(o))}},e(r.value,r)));return t}function Gle(e,t){const r=new Nt({check:"custom",...oe(t)});return r._zod.check=e,r}function fp(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Eu,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function Ne(e,t,r={path:[],schemaPath:[]}){var n;const o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a);const s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{const c={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,c);else{const f=a.schema,p=t.processors[o.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);p(e,t,f,c)}const d=e._zod.parent;d&&(a.ref||(a.ref=d),Ne(d,t,c),t.seen.get(d).isParent=!0)}const u=t.metadataRegistry.get(e);return u&&Object.assign(a.schema,u),t.io==="input"&&Pt(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&a.schema._prefault&&((n=a.schema).default??(n.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function pp(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=new Map;for(const a of e.seen.entries()){const s=e.metadataRegistry.get(a[0])?.id;if(s){const u=n.get(s);if(u&&u!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(s,a[0])}}const o=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const d=e.external.registry.get(a[0])?.id,f=e.external.uri??(h=>h);if(d)return{ref:f(d)};const p=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=p,{defId:p,ref:`${f("__shared")}#/${s}/${p}`}}if(a[1]===r)return{ref:"#"};const l=`#/${s}/`,c=a[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:l+c}},i=a=>{if(a[1].schema.$ref)return;const s=a[1],{ref:u,defId:l}=o(a);s.def={...s.schema},l&&(s.defId=l);const c=s.schema;for(const d in c)delete c[d];c.$ref=u};if(e.cycles==="throw")for(const a of e.seen.entries()){const s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
|
|
1402
|
+
|
|
1403
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const s=a[1];if(t===a[0]){i(a);continue}if(e.external){const l=e.external.registry.get(a[0])?.id;if(t!==a[0]&&l){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(s.cycle){i(a);continue}if(s.count>1&&e.reused==="ref"){i(a);continue}}}function hp(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=a=>{const s=e.seen.get(a);if(s.ref===null)return;const u=s.def??s.schema,l={...u},c=s.ref;if(s.ref=null,c){n(c);const f=e.seen.get(c),p=f.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(p)):Object.assign(u,p),Object.assign(u,l),a._zod.parent===c)for(const m in u)m==="$ref"||m==="allOf"||m in l||delete u[m];if(p.$ref&&f.def)for(const m in u)m==="$ref"||m==="allOf"||m in f.def&&JSON.stringify(u[m])===JSON.stringify(f.def[m])&&delete u[m]}const d=a._zod.parent;if(d&&d!==c){n(d);const f=e.seen.get(d);if(f?.schema.$ref&&(u.$ref=f.schema.$ref,f.def))for(const p in u)p==="$ref"||p==="allOf"||p in f.def&&JSON.stringify(u[p])===JSON.stringify(f.def[p])&&delete u[p]}e.override({zodSchema:a,jsonSchema:u,path:s.path??[]})};for(const a of[...e.seen.entries()].reverse())n(a[0]);const o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(a)}Object.assign(o,r.def??r.schema);const i=e.external?.defs??{};for(const a of e.seen.entries()){const s=a[1];s.def&&s.defId&&(i[s.defId]=s.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?o.$defs=i:o.definitions=i);try{const a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:mp(t,"input",e.processors),output:mp(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function Pt(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return Pt(n.element,r);if(n.type==="set")return Pt(n.valueType,r);if(n.type==="lazy")return Pt(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return Pt(n.innerType,r);if(n.type==="intersection")return Pt(n.left,r)||Pt(n.right,r);if(n.type==="record"||n.type==="map")return Pt(n.keyType,r)||Pt(n.valueType,r);if(n.type==="pipe")return Pt(n.in,r)||Pt(n.out,r);if(n.type==="object"){for(const o in n.shape)if(Pt(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(const o of n.options)if(Pt(o,r))return!0;return!1}if(n.type==="tuple"){for(const o of n.items)if(Pt(o,r))return!0;return!!(n.rest&&Pt(n.rest,r))}return!1}const Kle=(e,t={})=>r=>{const n=fp({...r,processors:t});return Ne(e,n),pp(n,e),hp(n,e)},mp=(e,t,r={})=>n=>{const{libraryOptions:o,target:i}=n??{},a=fp({...o??{},target:i,io:t,processors:r});return Ne(e,a),pp(a,e),hp(a,e)},Yle={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Pq=(e,t,r,n)=>{const o=r;o.type="string";const{minimum:i,maximum:a,format:s,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof i=="number"&&(o.minLength=i),typeof a=="number"&&(o.maxLength=a),s&&(o.format=Yle[s]??s,o.format===""&&delete o.format,s==="time"&&delete o.format),l&&(o.contentEncoding=l),u&&u.size>0){const c=[...u];c.length===1?o.pattern=c[0].source:c.length>1&&(o.allOf=[...c.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},Tq=(e,t,r,n)=>{const o=r,{minimum:i,maximum:a,format:s,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:c}=e._zod.bag;typeof s=="string"&&s.includes("int")?o.type="integer":o.type="number",typeof c=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.minimum=c,o.exclusiveMinimum=!0):o.exclusiveMinimum=c),typeof i=="number"&&(o.minimum=i,typeof c=="number"&&t.target!=="draft-04"&&(c>=i?delete o.minimum:delete o.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.maximum=l,o.exclusiveMaximum=!0):o.exclusiveMaximum=l),typeof a=="number"&&(o.maximum=a,typeof l=="number"&&t.target!=="draft-04"&&(l<=a?delete o.maximum:delete o.exclusiveMaximum)),typeof u=="number"&&(o.multipleOf=u)},Oq=(e,t,r,n)=>{r.type="boolean"},Zle=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Jle=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Xle=(e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},Qle=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},eue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},$q=(e,t,r,n)=>{r.not={}},tue=(e,t,r,n)=>{},qq=(e,t,r,n)=>{},rue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},kq=(e,t,r,n)=>{const o=e._zod.def,i=sq(o.entries);i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),r.enum=i},Mq=(e,t,r,n)=>{const o=e._zod.def,i=[];for(const a of o.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),i.every(a=>typeof a=="boolean")&&(r.type="boolean"),i.every(a=>a===null)&&(r.type="null"),r.enum=i},nue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},oue=(e,t,r,n)=>{const o=r,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");o.type="string",o.pattern=i.source},iue=(e,t,r,n)=>{const o=r,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:u}=e._zod.bag;a!==void 0&&(i.minLength=a),s!==void 0&&(i.maxLength=s),u?u.length===1?(i.contentMediaType=u[0],Object.assign(o,i)):(Object.assign(o,i),o.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(o,i)},aue=(e,t,r,n)=>{r.type="boolean"},Nq=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},sue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Iq=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},lue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},uue=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},jq=(e,t,r,n)=>{const o=r,i=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(o.minItems=a),typeof s=="number"&&(o.maxItems=s),o.type="array",o.items=Ne(i.element,t,{...n,path:[...n.path,"items"]})},Dq=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object",o.properties={};const a=i.shape;for(const l in a)o.properties[l]=Ne(a[l],t,{...n,path:[...n.path,"properties",l]});const s=new Set(Object.keys(a)),u=new Set([...s].filter(l=>{const c=i.shape[l]._zod;return t.io==="input"?c.optin===void 0:c.optout===void 0}));u.size>0&&(o.required=Array.from(u)),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=Ne(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},Lq=(e,t,r,n)=>{const o=e._zod.def,i=o.inclusive===!1,a=o.options.map((s,u)=>Ne(s,t,{...n,path:[...n.path,i?"oneOf":"anyOf",u]}));i?r.oneOf=a:r.anyOf=a},Fq=(e,t,r,n)=>{const o=e._zod.def,i=Ne(o.left,t,{...n,path:[...n.path,"allOf",0]}),a=Ne(o.right,t,{...n,path:[...n.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,u=[...s(i)?i.allOf:[i],...s(a)?a.allOf:[a]];r.allOf=u},Bq=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=i.items.map((f,p)=>Ne(f,t,{...n,path:[...n.path,a,p]})),l=i.rest?Ne(i.rest,t,{...n,path:[...n.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(o.prefixItems=u,l&&(o.items=l)):t.target==="openapi-3.0"?(o.items={anyOf:u},l&&o.items.anyOf.push(l),o.minItems=u.length,l||(o.maxItems=u.length)):(o.items=u,l&&(o.additionalItems=l));const{minimum:c,maximum:d}=e._zod.bag;typeof c=="number"&&(o.minItems=c),typeof d=="number"&&(o.maxItems=d)},zq=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object";const a=i.keyType,u=a._zod.bag?.patterns;if(i.mode==="loose"&&u&&u.size>0){const c=Ne(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(const d of u)o.patternProperties[d.source]=c}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(o.propertyNames=Ne(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),o.additionalProperties=Ne(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const l=a._zod.values;if(l){const c=[...l].filter(d=>typeof d=="string"||typeof d=="number");c.length>0&&(o.required=c)}},Hq=(e,t,r,n)=>{const o=e._zod.def,i=Ne(o.innerType,t,n),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},Uq=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},Vq=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.default=JSON.parse(JSON.stringify(o.defaultValue))},Wq=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(o.defaultValue)))},Gq=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType;let a;try{a=o.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},Kq=(e,t,r,n)=>{const o=e._zod.def,i=t.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;Ne(i,t,n);const a=t.seen.get(e);a.ref=i},Yq=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},cue=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},C1=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},due=(e,t,r,n)=>{const o=e._zod.innerType;Ne(o,t,n);const i=t.seen.get(e);i.ref=o},Hx={string:Pq,number:Tq,boolean:Oq,bigint:Zle,symbol:Jle,null:Xle,undefined:Qle,void:eue,never:$q,any:tue,unknown:qq,date:rue,enum:kq,literal:Mq,nan:nue,template_literal:oue,file:iue,success:aue,custom:Nq,function:sue,transform:Iq,map:lue,set:uue,array:jq,object:Dq,union:Lq,intersection:Fq,tuple:Bq,record:zq,nullable:Hq,nonoptional:Uq,default:Vq,prefault:Wq,catch:Gq,pipe:Kq,readonly:Yq,promise:cue,optional:C1,lazy:due};function fue(e,t){if("_idmap"in e){const n=e,o=fp({...t,processors:Hx}),i={};for(const u of n._idmap.entries()){const[l,c]=u;Ne(c,o)}const a={},s={registry:n,uri:t?.uri,defs:i};o.external=s;for(const u of n._idmap.entries()){const[l,c]=u;pp(o,c),a[l]=hp(o,c)}if(Object.keys(i).length>0){const u=o.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:i}}return{schemas:a}}const r=fp({...t,processors:Hx});return Ne(e,r),pp(r,e),hp(r,e)}const pue=J("ZodISODateTime",(e,t)=>{gse.init(e,t),Ve.init(e,t)});function hue(e){return Sle(pue,e)}const mue=J("ZodISODate",(e,t)=>{bse.init(e,t),Ve.init(e,t)});function gue(e){return Rle(mue,e)}const bue=J("ZodISOTime",(e,t)=>{vse.init(e,t),Ve.init(e,t)});function vue(e){return xle(bue,e)}const yue=J("ZodISODuration",(e,t)=>{yse.init(e,t),Ve.init(e,t)});function wue(e){return Cle(yue,e)}const Eue=(e,t)=>{dq.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>uae(e,r)},flatten:{value:r=>lae(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,vv,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,vv,2)}},isEmpty:{get(){return e.issues.length===0}}})},nr=J("ZodError",Eue,{Parent:Error}),_ue=S1(nr),Sue=R1(nr),Rue=_h(nr),xue=Sh(nr),Cue=fae(nr),Aue=pae(nr),Pue=hae(nr),Tue=mae(nr),Oue=gae(nr),$ue=bae(nr),que=vae(nr),kue=yae(nr),He=J("ZodType",(e,t)=>(Le.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:mp(e,"input"),output:mp(e,"output")}}),e.toJSONSchema=Kle(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(ro(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(r,n)=>no(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>_ue(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>Rue(e,r,n),e.parseAsync=async(r,n)=>Sue(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>xue(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>Cue(e,r,n),e.decode=(r,n)=>Aue(e,r,n),e.encodeAsync=async(r,n)=>Pue(e,r,n),e.decodeAsync=async(r,n)=>Tue(e,r,n),e.safeEncode=(r,n)=>Oue(e,r,n),e.safeDecode=(r,n)=>$ue(e,r,n),e.safeEncodeAsync=async(r,n)=>que(e,r,n),e.safeDecodeAsync=async(r,n)=>kue(e,r,n),e.refine=(r,n)=>e.check(Cce(r,n)),e.superRefine=r=>e.check(Ace(r)),e.overwrite=r=>e.check(ra(r)),e.optional=()=>Gx(e),e.exactOptional=()=>hce(e),e.nullable=()=>Kx(e),e.nullish=()=>Gx(Kx(e)),e.nonoptional=r=>wce(e,r),e.array=()=>So(e),e.or=r=>ek([e,r]),e.and=r=>sce(e,r),e.transform=r=>Yx(e,fce(r)),e.default=r=>bce(e,r),e.prefault=r=>yce(e,r),e.catch=r=>_ce(e,r),e.pipe=r=>Yx(e,r),e.readonly=()=>xce(e),e.describe=r=>{const n=e.clone();return Eu.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return Eu.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return Eu.get(e);const n=e.clone();return Eu.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),Zq=J("_ZodString",(e,t)=>{x1.init(e,t),He.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Pq(e,n,o);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(qle(...n)),e.includes=(...n)=>e.check(Nle(...n)),e.startsWith=(...n)=>e.check(Ile(...n)),e.endsWith=(...n)=>e.check(jle(...n)),e.min=(...n)=>e.check(dp(...n)),e.max=(...n)=>e.check(Cq(...n)),e.length=(...n)=>e.check(Aq(...n)),e.nonempty=(...n)=>e.check(dp(1,...n)),e.lowercase=n=>e.check(kle(n)),e.uppercase=n=>e.check(Mle(n)),e.trim=()=>e.check(Lle()),e.normalize=(...n)=>e.check(Dle(...n)),e.toLowerCase=()=>e.check(Fle()),e.toUpperCase=()=>e.check(Ble()),e.slugify=()=>e.check(zle())}),Mue=J("ZodString",(e,t)=>{x1.init(e,t),Zq.init(e,t),e.email=r=>e.check(rle(Nue,r)),e.url=r=>e.check(sle(Iue,r)),e.jwt=r=>e.check(_le(Jue,r)),e.emoji=r=>e.check(lle(jue,r)),e.guid=r=>e.check(Lx(Ux,r)),e.uuid=r=>e.check(nle(Id,r)),e.uuidv4=r=>e.check(ole(Id,r)),e.uuidv6=r=>e.check(ile(Id,r)),e.uuidv7=r=>e.check(ale(Id,r)),e.nanoid=r=>e.check(ule(Due,r)),e.guid=r=>e.check(Lx(Ux,r)),e.cuid=r=>e.check(cle(Lue,r)),e.cuid2=r=>e.check(dle(Fue,r)),e.ulid=r=>e.check(fle(Bue,r)),e.base64=r=>e.check(yle(Kue,r)),e.base64url=r=>e.check(wle(Yue,r)),e.xid=r=>e.check(ple(zue,r)),e.ksuid=r=>e.check(hle(Hue,r)),e.ipv4=r=>e.check(mle(Uue,r)),e.ipv6=r=>e.check(gle(Vue,r)),e.cidrv4=r=>e.check(ble(Wue,r)),e.cidrv6=r=>e.check(vle(Gue,r)),e.e164=r=>e.check(Ele(Zue,r)),e.datetime=r=>e.check(hue(r)),e.date=r=>e.check(gue(r)),e.time=r=>e.check(vue(r)),e.duration=r=>e.check(wue(r))});function Re(e){return tle(Mue,e)}const Ve=J("ZodStringFormat",(e,t)=>{ze.init(e,t),Zq.init(e,t)}),Nue=J("ZodEmail",(e,t)=>{sse.init(e,t),Ve.init(e,t)}),Ux=J("ZodGUID",(e,t)=>{ise.init(e,t),Ve.init(e,t)}),Id=J("ZodUUID",(e,t)=>{ase.init(e,t),Ve.init(e,t)}),Iue=J("ZodURL",(e,t)=>{lse.init(e,t),Ve.init(e,t)}),jue=J("ZodEmoji",(e,t)=>{use.init(e,t),Ve.init(e,t)}),Due=J("ZodNanoID",(e,t)=>{cse.init(e,t),Ve.init(e,t)}),Lue=J("ZodCUID",(e,t)=>{dse.init(e,t),Ve.init(e,t)}),Fue=J("ZodCUID2",(e,t)=>{fse.init(e,t),Ve.init(e,t)}),Bue=J("ZodULID",(e,t)=>{pse.init(e,t),Ve.init(e,t)}),zue=J("ZodXID",(e,t)=>{hse.init(e,t),Ve.init(e,t)}),Hue=J("ZodKSUID",(e,t)=>{mse.init(e,t),Ve.init(e,t)}),Uue=J("ZodIPv4",(e,t)=>{wse.init(e,t),Ve.init(e,t)}),Vue=J("ZodIPv6",(e,t)=>{Ese.init(e,t),Ve.init(e,t)}),Wue=J("ZodCIDRv4",(e,t)=>{_se.init(e,t),Ve.init(e,t)}),Gue=J("ZodCIDRv6",(e,t)=>{Sse.init(e,t),Ve.init(e,t)}),Kue=J("ZodBase64",(e,t)=>{Rse.init(e,t),Ve.init(e,t)}),Yue=J("ZodBase64URL",(e,t)=>{Cse.init(e,t),Ve.init(e,t)}),Zue=J("ZodE164",(e,t)=>{Ase.init(e,t),Ve.init(e,t)}),Jue=J("ZodJWT",(e,t)=>{Tse.init(e,t),Ve.init(e,t)}),Jq=J("ZodNumber",(e,t)=>{Eq.init(e,t),He.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Tq(e,n,o),e.gt=(n,o)=>e.check(Bx(n,o)),e.gte=(n,o)=>e.check(ug(n,o)),e.min=(n,o)=>e.check(ug(n,o)),e.lt=(n,o)=>e.check(Fx(n,o)),e.lte=(n,o)=>e.check(lg(n,o)),e.max=(n,o)=>e.check(lg(n,o)),e.int=n=>e.check(Vx(n)),e.safe=n=>e.check(Vx(n)),e.positive=n=>e.check(Bx(0,n)),e.nonnegative=n=>e.check(ug(0,n)),e.negative=n=>e.check(Fx(0,n)),e.nonpositive=n=>e.check(lg(0,n)),e.multipleOf=(n,o)=>e.check(zx(n,o)),e.step=(n,o)=>e.check(zx(n,o)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function Bu(e){return Ale(Jq,e)}const Xue=J("ZodNumberFormat",(e,t)=>{Ose.init(e,t),Jq.init(e,t)});function Vx(e){return Ple(Xue,e)}const Que=J("ZodBoolean",(e,t)=>{$se.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Oq(e,r,n)});function Xq(e){return Tle(Que,e)}const ece=J("ZodUnknown",(e,t)=>{qse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qq()});function Wx(){return Ole(ece)}const tce=J("ZodNever",(e,t)=>{kse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>$q(e,r,n)});function rce(e){return $le(tce,e)}const nce=J("ZodArray",(e,t)=>{Mse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>jq(e,r,n,o),e.element=t.element,e.min=(r,n)=>e.check(dp(r,n)),e.nonempty=r=>e.check(dp(1,r)),e.max=(r,n)=>e.check(Cq(r,n)),e.length=(r,n)=>e.check(Aq(r,n)),e.unwrap=()=>e.element});function So(e,t){return Hle(nce,e,t)}const oce=J("ZodObject",(e,t)=>{Ise.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Dq(e,r,n,o),Pe(e,"shape",()=>t.shape),e.keyof=()=>Or(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Wx()}),e.loose=()=>e.clone({...e._zod.def,catchall:Wx()}),e.strict=()=>e.clone({...e._zod.def,catchall:rce()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>nae(e,r),e.safeExtend=r=>oae(e,r),e.merge=r=>iae(e,r),e.pick=r=>tae(e,r),e.omit=r=>rae(e,r),e.partial=(...r)=>aae(tk,e,r[0]),e.required=(...r)=>sae(rk,e,r[0])});function yt(e,t){const r={type:"object",shape:e??{},...oe(t)};return new oce(r)}const Qq=J("ZodUnion",(e,t)=>{Rq.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Lq(e,r,n,o),e.options=t.options});function ek(e,t){return new Qq({type:"union",options:e,...oe(t)})}const ice=J("ZodDiscriminatedUnion",(e,t)=>{Qq.init(e,t),jse.init(e,t)});function Rwe(e,t,r){return new ice({type:"union",options:t,discriminator:e,...oe(r)})}const ace=J("ZodIntersection",(e,t)=>{Dse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Fq(e,r,n,o)});function sce(e,t){return new ace({type:"intersection",left:e,right:t})}const lce=J("ZodTuple",(e,t)=>{Lse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Bq(e,r,n,o),e.rest=r=>e.clone({...e._zod.def,rest:r})});function xwe(e,t,r){const n=t instanceof Le,o=n?r:t,i=n?t:null;return new lce({type:"tuple",items:e,rest:i,...oe(o)})}const uce=J("ZodRecord",(e,t)=>{Fse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>zq(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function wv(e,t,r){return new uce({type:"record",keyType:e,valueType:t,...oe(r)})}const Ev=J("ZodEnum",(e,t)=>{Bse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(n,o,i)=>kq(e,n,o),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{const i={};for(const a of n)if(r.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Ev({...t,checks:[],...oe(o),entries:i})},e.exclude=(n,o)=>{const i={...t.entries};for(const a of n)if(r.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Ev({...t,checks:[],...oe(o),entries:i})}});function Or(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Ev({type:"enum",entries:r,...oe(t)})}const cce=J("ZodLiteral",(e,t)=>{zse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Mq(e,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Cwe(e,t){return new cce({type:"literal",values:Array.isArray(e)?e:[e],...oe(t)})}const dce=J("ZodTransform",(e,t)=>{Hse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Iq(e,r),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new iq(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(gc(i,r.value,t));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(gc(a))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function fce(e){return new dce({type:"transform",transform:e})}const tk=J("ZodOptional",(e,t)=>{xq.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>C1(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Gx(e){return new tk({type:"optional",innerType:e})}const pce=J("ZodExactOptional",(e,t)=>{Use.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>C1(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function hce(e){return new pce({type:"optional",innerType:e})}const mce=J("ZodNullable",(e,t)=>{Vse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Hq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Kx(e){return new mce({type:"nullable",innerType:e})}const gce=J("ZodDefault",(e,t)=>{Wse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Vq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function bce(e,t){return new gce({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():uq(t)}})}const vce=J("ZodPrefault",(e,t)=>{Gse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Wq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function yce(e,t){return new vce({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():uq(t)}})}const rk=J("ZodNonOptional",(e,t)=>{Kse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Uq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function wce(e,t){return new rk({type:"nonoptional",innerType:e,...oe(t)})}const Ece=J("ZodCatch",(e,t)=>{Yse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Gq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function _ce(e,t){return new Ece({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const Sce=J("ZodPipe",(e,t)=>{Zse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Kq(e,r,n,o),e.in=t.in,e.out=t.out});function Yx(e,t){return new Sce({type:"pipe",in:e,out:t})}const Rce=J("ZodReadonly",(e,t)=>{Jse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Yq(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function xce(e){return new Rce({type:"readonly",innerType:e})}const nk=J("ZodCustom",(e,t)=>{Xse.init(e,t),He.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Nq(e,r)});function Awe(e,t){return Ule(nk,e??(()=>!0),t)}function Cce(e,t={}){return Vle(nk,e,t)}function Ace(e){return Wle(e)}const Zx={custom:"custom"},Pce=2,Tce=ek([Or(["stage","canvas","dom"]),yt({module:Re().describe("Project-folder-relative path to a custom adapter module (trust boundary)"),surface:Or(["stage","canvas","dom"]).describe("Native surface exposed by this custom adapter contract")}).strict(),yt({surface:Or(["stage","canvas","dom"]).describe("Native surface captured from the unmodified project"),ingest:yt({dataWriter:Re().optional().describe("Project-relative path to a HOST-ADDED ES module that writes this project's own DATA file back — the sibling of a source write for a project whose authorable truth is not source. A level-based project places its enemies, pickups and objectives in binary records inside a level file, reaching no source literal, so an authored move of one is an edit to that file and nothing else can write it. The module declares two exports and the host knows nothing else about it: `dataFile` (a project-relative string — the ONE file this writer edits) and `planDataEdit(bytes, {record, property, baseline, next})`, which returns `{changed: true, bytes}` or `{changed: false, reason}` and may be async. It is loaded in the editor realm beside the project, so it may `import()` the project's own modules to resolve what only a running project knows (a level writer asks the project`s own spatial lookup which cell a moved object landed in, and refuses \"outside the level\" rather than writing data the project would read back wrong). It NEVER fabricates: a record it cannot address, or a property it does not model, is a named refusal. An object is anchored to a record by carrying `userData.volterRecordIndex` — the project declares that identity itself (a recorded patch or a shim); the host never infers one."),assets:wv(Re(),Re()).optional().describe("Path-substring -> served-URL rewrites for this ingested project"),moduleAliases:wv(Re(),Re()).optional().describe("The project's OWN bundler path aliases, restated as a mounting fact so its source resolves unedited. A project built with its own Vite/webpack config routinely imports itself through an alias (`~/lib/config`, `@/store/x`); the editor boots Vite from the ENGINE's config and never reads a project's own, so without this every such import is an unresolvable specifier and the mount dies at transform time. Key = the specifier PREFIX exactly as the project writes it (\"~/\"); value = the repo-root-relative directory it means (\"/vendor/<id>/src/\"). SELF-SCOPING: the host honors an entry only for importers inside the vendored folder the value points into, so one project's alias can never capture another module's import. Rewriting the project's own imports instead would be a large non-seam-shaped diff against unmodified source — this declares the fact rather than editing it away."),domStubs:So(Re()).optional().describe("DOM API stub ids this ingested project requires to run headlessly/in-realm"),captureTimeoutMs:Bu().optional().describe("How long the host waits for this project's first captured frame before the mount FAILS by name. A project that needs a long boot (streamed world assets, a menu the player must clear) raises it; the default is 10s.")}).strict().describe("Ingest adapter configuration for an unmodified project (a repo-vendored one or your own external folder)")}).strict()]).describe("Root adapter identity: built-in 'stage'/'canvas'/'dom' (what the host hands the root — 'canvas' covers any canvas library or raw WebGL, 'dom' covers React/Vue/plain HTML), a custom { module, surface } adapter, or an { ingest, surface } adapter for an unmodified project."),Oce=yt({id:Re().describe("Unique id for this root within the manifest (enforced-unique, D-V6 — ProjectManifestSchema.roots rejects duplicates)"),description:Re().optional().describe("Optional one-line description of this root's content"),adapter:Tce.describe("This root's adapter and sole rendering/lifecycle discriminator"),entry:Re().optional().describe("Module exporting a world root — a TSX component, which the built-in stage dialect renders, or a setup()/adapter (stage), or a React component (dom). Required for every built-in adapter root."),styles:So(Re()).optional().describe("Project-root-relative CSS files this root's mount needs — the PAGE-level stylesheet a project written to own a browser tab keeps its layout in (an ingested project is the standing case: its own entry imported the sheet, the host shim that replaces that entry cannot, because `html`/`body`/`*` rules would restyle the editor). Declared here, the editor serves each file rewritten to apply ONLY inside the container it mounts the root's DOM in (`@scope`; packages/sdk/src/scoped-project-css.ts), so the HUD is styled on the UI board's story cards and on the play surface without the editor seeing a single one of those rules. The files themselves are never modified."),world:yt({entry:Re().describe("Project-relative path to the project's OWN module exporting that component"),export:Re().optional().describe("Named export to read from that module; omit when the module default-exports it")}).strict().optional().describe("The component this root's WORLD is, in the project's own source. Two readers, and they mount different things: the EDITOR mounts THIS component alone as the root's design-time document, while `entry` above stays what PLAY mounts (the whole project — its own composition, its own HUD, its own loop). It sits on the ROOT rather than inside any one adapter because the split it names is not about ingest: a project whose runtime entry is a SHELL over the thing an author actually edits has this shape whether the source is vendored or first-party. A project whose world is not a separate component omits this and keeps mounting through `entry` in both modes."),zOrder:Bu().int().default(0).describe("Canvas stacking order; ties broken by array order"),pausable:Xq().default(!0).describe("Whether play-mode pause/step applies to this root"),loop:Or(["gated","self-driven"]).default("gated").describe("gated: host-driven loop (default). self-driven: this root drives its own loop (composited, unsynchronized)")}).strict();function $ce(e){return typeof e.adapter=="string"?e.adapter:e.adapter.surface}const qce=Or(["starter","feature","sample-project","lesson-companion"]).describe("Content kind: starter (minimal per-genre starting point), feature (demonstrates a subsystem), sample-project (a complete project as an architectural reference), lesson-companion (exists to back a Learn-site lesson)"),kce=Or(["beginner","intermediate","advanced"]).describe("Learner-facing difficulty rating"),Mce=yt({kind:qce,title:Re().min(1).describe("Learner-facing display title"),summary:Re().min(1).describe("One-sentence learner-facing summary"),difficulty:kce,features:So(Re().regex(/^[a-z0-9]+(-[a-z0-9]+)*$/,"features tags must be kebab-case")).describe("Short kebab-case tags describing project features"),thumbnail:Re().optional().describe("Optional thumbnail image reference, PROJECT-relative (canonical path: learn/thumbnail.png)"),preview:Re().optional().describe("Optional short preview video/loop reference, PROJECT-relative (canonical path: learn/preview.mp4)"),lesson:Re().optional().describe("Optional Learn-site lesson URL that teaches this project 1:1 (e.g. https://example.com/manual/physics/joints/)")}).strict().describe("Learner-facing metadata carried by example project manifests."),Nce=yt({$schema:Re().optional().describe("Optional JSON Schema URI for editor autocomplete and validation"),manifestVersion:Bu().int().describe(`The manifest format version the project was written with (this editor writes ${Pce}); a manifest is read by its shape, never refused for its number`),name:Re().describe("Project display name"),appId:Re().optional().describe("Stable reverse-domain application id used by packaged targets"),version:Re().describe("The project's own version"),engine:yt({version:Re().describe("Exact @volter/project semver this project was scaffolded/last upgraded against — an identity pin, not a range")}).strict().describe("Engine version pin"),roots:So(Oce).superRefine((e,t)=>{const r=new Map;for(const i of e)r.set(i.id,(r.get(i.id)??0)+1);const n=[...r.entries()].filter(([,i])=>i>1).map(([i])=>i);if(n.length>0){const i=n.map(a=>`"${a}"`).join(", ");t.addIssue({code:Zx.custom,message:n.length===1?`Project manifest: duplicate root id ${i} — root ids must be unique across the manifest (enforced-unique).`:`Project manifest: duplicate root ids: ${i} — root ids must be unique across the manifest (enforced-unique).`})}const o=new Map;for(const i of e){const a=$ce(i),s=o.get(a);s?s.push(i.id):o.set(a,[i.id])}for(const[i,a]of o)a.length<2||t.addIssue({code:Zx.custom,message:`Project manifest: a project has at most one ${i} world root — ${a.map(s=>`"${s}"`).join(", ")} all occupy the ${i} surface. Keep one and remove the rest, or move a root to a different medium (stage / canvas / dom); only one root per medium is ever mounted, so a second one's content would never appear.`})}).describe("The project's explicit adapter-root composition — ZERO OR MORE roots, and no implicit root: a project with no roots mounts nothing (a library of models, a folder of documents) and the editor derives its chrome from what IS declared. Root ids are unique, and a project declares at most ONE world root per medium — one `stage`, one `dom`, one canvas-surface root (first-party canvas, canvas ingest and canvas module are the same medium)."),authoring:yt({hierarchy:yt({rootLabels:wv(Re(),Re()).optional().describe("Optional editor labels keyed by adapter-root id"),groups:So(yt({id:Re().describe("Unique editor-only group id"),label:Re().describe("Editor-only group label"),roots:So(Re()).min(1).describe("Adapter-root ids shown under this editor-only group")}).strict()).optional().describe("Optional editor-only hierarchy groups")}).strict().optional().describe("Editor projection for native adapter roots")}).strict().optional().describe("Editor-only authoring metadata; never runtime ownership"),resolution:yt({width:Bu().describe("Canvas width in pixels"),height:Bu().describe("Canvas height in pixels")}).strict().optional().describe("Canvas resolution"),learn:Mce.optional().describe("Optional learner-facing metadata for example projects.")}).strict().describe("Project manifest (volter.project.json) — the complete v2 project configuration"),Ice=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-.]+)?(?:\+[0-9A-Za-z-.]+)?$/;function jce(e){return typeof e=="object"&&"module"in e}function Dce(e){const{adapter:t}=e;if(typeof t=="string"&&!e.entry)throw new Error(`Project manifest: root "${e.id}" uses the '${t}' adapter but declares no \`entry\` — a built-in adapter root is authored as an entry module.`);if(typeof t=="object"&&"ingest"in t&&!e.entry)throw new Error(`Project manifest: root "${e.id}" is an { ingest } root but declares no \`entry\` — the project's own entry module is what the host imports.`)}function Lce(e){const{adapter:t}=e;if(typeof t=="string")return{type:"builtin",identity:t,surface:t};if(jce(t))return{type:"module",identity:"module",module:t.module,surface:t.surface};const r=`ingest-${t.surface}`,n=t.ingest;return{type:"ingest",identity:r,surface:t.surface,dataWriter:n.dataWriter,assets:n.assets,domStubs:n.domStubs,captureTimeoutMs:n.captureTimeoutMs}}function Fce(e){if(!Ice.test(e))throw new Error(`Project manifest: engine.version "${e}" is not a valid exact semver string (e.g. "0.1.0") — §1.5 requires an exact identity pin, not a range.`)}function Bce(e){Dce(e);const t=Lce(e);return{id:e.id,surface:t.surface,description:e.description,adapter:t,entry:e.entry,world:e.world===void 0?void 0:{entry:e.world.entry,export:e.world.export},zOrder:e.zOrder,pausable:e.pausable,loop:e.loop}}function zce(e){const t=Nce.safeParse(e);if(!t.success){const i=t.error.issues.find(a=>a.message.startsWith("Project manifest: duplicate root id")||a.message.startsWith("Project manifest: a project has at most one"));throw i?new Error(i.message):t.error}const r=t.data;Fce(r.engine.version);const n=r.roots.map((i,a)=>({root:Bce(i),index:a}));n.sort((i,a)=>i.root.zOrder-a.root.zOrder||i.index-a.index);const o=n.map(({root:i})=>i);return{manifestVersion:r.manifestVersion,name:r.name,appId:r.appId,version:r.version,engine:{version:r.engine.version},roots:o,resolution:r.resolution,authoring:r.authoring,learn:r.learn}}function zu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function Hce(e){const t=zu(e);if(!t)return;const r=zu(t.rootLabels),n=r?Object.entries(r).flatMap(([u,l])=>{const c=u.trim(),d=typeof l=="string"?l.trim():"";return c&&d?[[c,d]]:[]}):[],o=n.length>0?Object.fromEntries(n):void 0,i=new Set,a=Array.isArray(t.groups)?t.groups.flatMap(u=>{const l=zu(u),c=typeof l?.id=="string"?l.id.trim():"",d=typeof l?.label=="string"?l.label.trim():"",f=Array.isArray(l?.roots)?l.roots.flatMap(p=>{const h=typeof p=="string"?p.trim():"";return h?[h]:[]}):[];return!c||!d||f.length===0||i.has(c)?[]:(i.add(c),[{id:c,label:d,roots:[...new Set(f)]}])}):[],s=a.length>0?a:void 0;if(!(!o&&!s))return{...o?{rootLabels:o}:{},...s?{groups:s}:{}}}function Pwe(e){const t=zu(zu(e)?.authoring);return Hce(t?.hierarchy)}let _v=null;function Twe(e){_v=e}function Owe(){return _v?(_v(),!0):!1}let A1=[];const Sv=new Set;function $we(e){A1=e;for(const t of Sv)t()}function qwe(){return A1}function kwe(e){return Sv.add(e),()=>Sv.delete(e)}function Mwe(e){const t=A1.find(r=>r.id===e);return t?(t.run(),!0):!1}let gp=null;const ok=[];function Nwe(e){if(gp=e,e)for(const t of ok.splice(0))t(e)}function Iwe(e){gp&&Promise.resolve(gp(`${e}.focus`)).catch(()=>{})}const ik=Symbol.for("volter.editor.heldCommands");function jwe(e){globalThis[ik]=e}const ak=Symbol.for("volter.editor.knownCommands");function Dwe(e){globalThis[ak]=e}const sk=Symbol.for("volter.editor.commandSettle");function Lwe(e){globalThis[sk]=e}function Uce(e){const t=n=>n.toLowerCase().split(/[.\-_:]+/).filter(o=>o!==""&&o!=="volter"),r=new Set(t(e));return[...globalThis[ak]?.()??[]].map(n=>{const o=t(n);return{known:n,shared:new Set(o.filter(i=>r.has(i))).size,verb:r.has(o.at(-1)??"")?1:0}}).filter(({shared:n})=>n>0).sort((n,o)=>o.shared-n.shared||o.verb-n.verb||n.known.length-o.known.length).slice(0,6).map(({known:n})=>n)}async function Fwe(e,t){const r=globalThis[ik]?.(e);if(r)return await r(t);const n=gp??await new Promise(o=>ok.push(o));await globalThis[sk]?.(e);try{return await n(e,t)}catch(o){const i=o instanceof Error?o.message:String(o),a=e.startsWith("volter.")&&i===`command '${e}' not found`?Uce(e):[];throw a.length===0?o:new Error(`${i}. The packages' commands nearest it: ${a.join(", ")}.`,{cause:o})}}const Vce=new Set(["product","serving","viewRoutes","projectAdapters"]);function hr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function lk(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"):[]}function Wce(e){return(e.split(/[\\/]/).pop()??e).replace(/\.[jt]sx?$/,"")}function Gce(e){const t=hr(e);if(t===null)return"an entry is not an object";const{viewType:r,displayName:n,document:o,selector:i,priority:a,kind:s,views:u,assetRoute:l}=t;if(o!==void 0&&typeof o!="string")return"a document is a ./-relative module";if(s!==void 0&&(typeof s!="string"||s===""))return"a kind is a non-empty string";if(u!==void 0&&(s===void 0||!Array.isArray(u)||u.some(f=>typeof f!="string")))return"views are a kind's list of view document ids";if(l!==void 0&&(typeof l!="string"||l===""))return"an assetRoute is a non-empty string";if(o===void 0&&s===void 0&&l===void 0)return"an entry names a document, a kind or an assetRoute";const c={...o===void 0?{}:{document:o},...s===void 0?{}:{kind:s},...u===void 0?{}:{views:u},...l===void 0?{}:{assetRoute:l}};if(r===void 0&&n===void 0&&i===void 0&&a===void 0)return c;if(typeof r!="string"||typeof n!="string"||typeof o!="string")return"a file editor needs a viewType, a displayName and a document module";const d=Array.isArray(i)?i.map(f=>hr(f)?.filenamePattern):[];return d.length===0||d.some(f=>typeof f!="string")?`${r}'s selector must list its { filenamePattern }s`:a!==void 0&&a!=="default"&&a!=="option"?`${r}'s priority is 'default' or 'option'`:{...c,declaration:{viewType:r,displayName:n,filenamePatterns:d,priority:a??"default"}}}function Kce(e){if(typeof e=="string")return{module:e};const{module:t,sourceAnalyzer:r,designTimeMount:n}=hr(e)??{};return typeof t!="string"||[r,n].some(o=>o!==void 0&&(typeof o!="string"||o===""))?"an entry is a ./-relative module, or { module, sourceAnalyzer?, designTimeMount? }":{module:t,...typeof r=="string"?{sourceAnalyzer:r}:{},...typeof n=="string"?{designTimeMount:n}:{}}}function Yce(e){const{name:t,module:r}=hr(e)??{};return typeof t!="string"||t===""||typeof r!="string"?"an entry is { name, module }, each a non-empty string":{name:t,module:r}}function Zce(e){const{id:t,title:r,module:n}=hr(e)??{};return typeof t!="string"||t===""||typeof r!="string"||r.trim()===""||typeof n!="string"?"an entry is { id, title, module }, each a non-empty string":{declaration:{id:t,title:r.trim()},module:n}}function Jce(e){const{id:t,name:r,alignment:n,priority:o,module:i}=hr(e)??{};return typeof t!="string"||t===""||typeof r!="string"||r.trim()===""||typeof i!="string"?"an entry is { id, name, alignment, priority?, module }, with a non-empty id, name and module":n!=="left"&&n!=="right"?`${t}'s alignment is 'left' or 'right'`:o!==void 0&&(typeof o!="number"||!Number.isFinite(o))?`${t}'s priority is a number`:{declaration:{id:t,name:r.trim(),alignment:n,priority:o??0},module:i}}function Xce(e){const t=[],r=[],n=[],o=[],i=[],a=[],s=hr(e);if(s===null)return{entries:t,editors:r,utilities:n,statusItems:o,events:i,errors:["`contributes.volter` must be an object of kinds, each a list of ./-relative modules."]};const u=[];for(const[l,c]of Object.entries(s)){if(l==="page"||Vce.has(l))continue;if(l==="activationEvents"){!Array.isArray(c)||c.some(f=>typeof f!="string")?a.push("`contributes.volter.activationEvents` must be a list of activation events."):i.push(...c);continue}if(l!=="views"){u.push([l,c]);continue}const d=hr(c);if(d===null){a.push("`contributes.volter.views` must be an object of containers: `panel`, `statusbar`.");continue}for(const[f,p]of Object.entries(d))u.push([`views.${f}`,p])}for(const[l,c]of u){if(!Array.isArray(c)){a.push(`\`contributes.volter.${l}\` must be a list.`);continue}for(const d of c){const f=p=>{a.push(`\`contributes.volter.${l}\`: ${p}.`)};if(l==="views.panel"){const p=Zce(d);if(typeof p=="string"){f(p);continue}n.push(p.declaration),t.push({key:l,entry:p.module,declared:p.declaration}),i.push(`onView:${p.declaration.id}`)}else if(l==="views.statusbar"){const p=Jce(d);if(typeof p=="string"){f(p);continue}o.push(p.declaration),t.push({key:l,entry:p.module,statusItem:p.declaration})}else if(l==="finders"){const p=Yce(d);if(typeof p=="string"){f(p);continue}t.push({key:l,entry:p.module,finder:p.name}),i.push(`onFinder:${p.name}`)}else if(l==="services"){const p=Kce(d);if(typeof p=="string"){f(p);continue}t.push({key:l,entry:p.module}),p.sourceAnalyzer!==void 0&&i.push(`onSourceAnalysis:${p.sourceAnalyzer}`),p.designTimeMount!==void 0&&i.push(`onDesignTimeMount:${p.designTimeMount}`)}else if(l==="editors"){const p=Gce(d);if(typeof p=="string"){f(p);continue}p.declaration&&(r.push(p.declaration),i.push(`onCustomEditor:${p.declaration.viewType}`)),p.document!==void 0&&(t.push({key:l,entry:p.document}),i.push(`onDocument:${Wce(p.document)}`)),p.kind!==void 0&&i.push(`onDocument:${p.kind}`);for(const h of p.views??[])i.push(`onDocument:${h}`);p.assetRoute!==void 0&&i.push(`onAssetViewer:${p.assetRoute}`)}else typeof d!="string"?f(`${JSON.stringify(d)} is not a ./-relative module`):t.push({key:l,entry:d})}}return{entries:t,editors:r,utilities:n,statusItems:o,events:i,errors:a}}function uk(e,t){return hr(e.contributes)?.[t]}function ck(e){const t=uk(e,"commands");return(Array.isArray(t)?t:[]).flatMap(r=>{const n=hr(r)?.command;return typeof n=="string"?[n]:[]})}function Bwe(e){return[...lk(e.activationEvents),...ck(e).map(t=>`onCommand:${t}`),...Xce(uk(e,"volter")??{}).events]}function zwe(e){const t=e.main!==void 0||e.browser!==void 0,r=new Set(t?lk(e.activationEvents):[]);return ck(e).filter(n=>!r.has(`onCommand:${n}`))}function Hwe(e,t){if(t===void 0)return{entry:null};const r=Array.isArray(t)?t:null;return r===null||r.length>1||r.length===1&&(typeof r[0]!="string"||!r[0].startsWith("./")||r[0].includes(".."))?{malformed:`${e}'s package.json#contributes.volter.page is ${JSON.stringify(t)}: it lists one page entry, a ./-relative module without parent traversal that exports activate(context).`}:{entry:r[0]??null}}function Uwe(e,t){const r=hr(e)?.[t];if(r!==void 0)return Array.isArray(r)&&r.length===1?r[0]:null}const Jx=12e4,_u=new Map,Rv=new Set;let xv=0;function bp(){xv+=1;for(const e of Rv)e()}function Vwe(e,t){const r=_u.get(e);if(r&&r!==t)throw new Error(`An asset viewer for "${e}" is already registered.`);return _u.set(e,t),bp(),()=>{_u.get(e)===t&&(_u.delete(e),bp())}}function dk(e){return Rv.add(e),()=>Rv.delete(e)}function Qce(e){z.useSyncExternalStore(dk,()=>xv,()=>xv);const t=_u.get(e)??null;return z.useEffect(()=>{t===null&&Vp(`onAssetViewer:${e}`)},[e,t]),t}function Wwe({route:e,whenUnregistered:t,...r}){const n=Qce(e);return n?z.createElement(n,r):t}let po=[];function Gwe(e){return po=[...po,e],bp(),()=>{po.includes(e)&&(po=po.filter(t=>t!==e),bp())}}function Kwe(){const e=z.useSyncExternalStore(dk,()=>po,()=>po);return z.useEffect(()=>{Vp("onAssetViewer:json")},[]),e}const ede=Symbol.for("volter.progress"),tde=globalThis,Qr=tde[ede]??={sequence:0,entries:new Map,listeners:new Set};function cg(){for(const e of[...Qr.listeners])try{e()}catch{}}const Xx=e=>(e??[]).map(t=>t.label).join("\0");function rde(e,t){return e.title===t.title&&e.message===t.message&&e.documentId===t.documentId&&e.view===t.view&&e.internal===t.internal&&Xx(e.actions)===Xx(t.actions)}function nde(e,t=Date.now()){const r=`progress:${++Qr.sequence}`;return Qr.entries.set(r,{...e,id:r,at:t}),cg(),{update(n){const o=Qr.entries.get(r);o&&(Qr.entries.set(r,{...n,id:r,at:o.at}),rde(o,n)||cg())},done(){Qr.entries.delete(r)&&cg()}}}function Ywe(){return[...Qr.entries.values()]}function Zwe(e){return e.message?`${e.title}: ${e.message}`:e.title}function Jwe(e){return Qr.listeners.add(e),()=>{Qr.listeners.delete(e)}}function ode(e){const t=z.useRef(null),r=z.useRef(e);r.current=e;const n=e!==null;z.useEffect(()=>{if(!n||!r.current)return;const o=nde(r.current);return t.current=o,()=>{o.done(),t.current===o&&(t.current=null)}},[n]),z.useEffect(()=>{e&&t.current?.update(e)})}function ide(e){return ode(e),null}const Xwe=1e4;async function Qwe(e,t=4e3){if(e())return!0;const r=performance.now();return new Promise(n=>{const o=()=>{e()?n(!0):performance.now()-r>=t?n(!1):setTimeout(o,25)};setTimeout(o,0)})}const en=new Map;function eEe(e){const r=(en.get(e.id)??[]).filter(n=>n.owner!==e.owner);return r.push(e),en.set(e.id,r),()=>{const n=en.get(e.id);if(!n)return;const o=n.filter(i=>i!==e);o.length===0?en.delete(e.id):en.set(e.id,o)}}function tEe(){return[...en.keys()].sort()}function rEe(e,t){const r=en.get(e)??[];r.length===0&&Vp(`onDocument:${e}`);for(const n of r){const o=n.open(t);if(o!==null)return o}return null}async function nEe(e,t){en.get(e)?.length||await Vp(`onDocument:${e}`);const r=en.get(e)??[],n=Qx(r,t);if(n)return eC(n,t);if(r.length===0)return null;const o=new Set;for(const a of r)a.settle&&o.add(a.settle);for(const a of o)await a(t);if(o.size===0)return null;const i=Qx(r,t);return i===null?null:eC(i,t)}function Qx(e,t){for(const r of e){const n=r.open(t);if(n!==null)return{opener:r,documentId:n}}return null}async function eC(e,t){return await e.opener.ready?.(e.documentId,t),e.documentId}let vp=null;const Cv=new Set,Av=new Set;function oEe(e){vp=e;for(const t of Cv)t(e);for(const t of Av)t()}function iEe(){return vp}function aEe(e){return Cv.add(e),vp&&e(vp),()=>{Cv.delete(e)}}function sEe(e){return Av.add(e),()=>{Av.delete(e)}}const ho=new Map;function lEe(e){const r=(ho.get(e.kind)??[]).filter(n=>n.owner!==e.owner);return r.push(e),ho.set(e.kind,r),()=>{const n=ho.get(e.kind);if(!n)return;const o=n.filter(i=>i!==e);o.length===0?ho.delete(e.kind):ho.set(e.kind,o)}}function uEe(e){return ho.get(e)??[]}function cEe(){const e=[];for(const t of ho.values())e.push(...t);return e}const fk=["public","references"];function dEe(e){const t=e.split(/[?#]/,1)[0].replace(/^\/+/,"");return t.startsWith("public/")?t:`public/${t}`}function ade(){return fk.map(e=>`${e}/`).join(" or ")}function pk(e){const t=e.replaceAll("\\","/"),r=[];for(const n of t.split("/"))n===""||n==="."||r.push(n);return r.join("/")}function sde(e){const t=pk(e);return fk.find(r=>t===r||t.startsWith(`${r}/`))}function fEe(e){const t="Generated output path",r=pk(e),n=r.split("/").includes(".."),o=sde(r);if(e.startsWith("/")||n||o===void 0||r===o)throw new Error(`${t} ${JSON.stringify(e)} is invalid; it must be a project-relative path under ${ade()}.`);return r}function hk(e,t){const r=e.endsWith("/")?e.slice(0,-1):e,n=t.startsWith("/")?t.slice(1):t;return lde(`${r}/${n}`)}function lde(e){const t=e.replaceAll("\\","/");return t.startsWith("/")?`/@fs${t}`:`/@fs/${t}`}const mk="volter-mount",pEe="volter-isolate";let tC=0;function hEe(){return tC+=1,tC}function mEe(e,t,r){return`${hk(e,t)}?volter-live-module=${r}`}let dg=Date.now();function gEe(){return dg=Math.max(dg+1,Date.now()),dg}function bEe(e,t,r){return`${hk(e,t)}?${mk}=${r}`}let gk={},Pv=null;const ude=Object.freeze({}),Tv=new Set;function bk(){return Pv!==null&&Pv===b1()?gk:ude}function vEe(e={}){Pv=b1(),gk=e;for(const t of Tv)t()}function cde(e){return Tv.add(e),()=>{Tv.delete(e)}}const dde=Symbol.for("volter.startup-failure"),fde=globalThis,qo=fde[dde]??={failures:new Map,listeners:new Set};function vk(){const e=[...qo.failures.values()];return e.filter(t=>!t.transient).at(-1)??e.at(-1)??null}function yk(){const e=vk();for(const t of[...qo.listeners])try{t(e)}catch{}}function yEe(e,t){qo.failures.delete(e),qo.failures.set(e,t),yk()}function wEe(e){qo.failures.delete(e)&&yk()}function EEe(e){qo.listeners.add(e);const t=vk();return t&&e(t),()=>{qo.listeners.delete(e)}}const pde="volter.project.json",hde="ManifestAbsentError";function rC(e){const t=new Error(`${e} declares no ${pde}`);return t.name=hde,t}async function _Ee(){const e=wh("/volter.project.json"),t=await fetch(e);if(t.status===404)throw rC(e);if(!t.ok)throw new Error(`Failed to load ${e}: ${t.status} ${t.statusText}`);const r=await t.text();if(/^\s*</.test(r))throw rC(e);try{return zce(JSON.parse(r))}catch(n){throw new Error(`Failed to load ${e}: ${n instanceof Error?n.message:String(n)}`)}}async function SEe(){const e=wh("/volter.project.json"),t=await fetch(e);if(!t.ok)return null;const r=await t.text();if(/^\s*</.test(r))return null;try{return JSON.parse(r)}catch(n){throw new Error(`${e} is not valid JSON: ${n instanceof Error?n.message:String(n)}`)}}const mde=Symbol.for("volter.project-module-changes"),gde=globalThis,Ov=gde[mde]??={listeners:new Set,errors:new Map,transformErrorsWired:!1,changesWired:!1},$v=Ov.errors;function REe(e){for(const[t,r]of $v)if(wk(t,e))return r;return null}function xEe(e){for(const t of[...$v.keys()])wk(t,e)&&$v.delete(t)}function nC(e){return e.replaceAll("\\","/")}function wk(e,t){const r=nC(e),n=nC(t).replace(/^\.?\//,"");return r===n||r.endsWith(`/${n}`)}function CEe(e){return Ov.listeners.add(e),()=>{Ov.listeners.delete(e)}}const bc=Symbol.for("volter.editor.project-module-loader"),vc=globalThis;function AEe(e){vc[bc]=e}function PEe(e){return vc[bc]?vc[bc].import(e):Promise.reject(new Error(`importProjectModule(${e}): no host has registered a project module loader`))}function TEe(e){return vc[bc]?vc[bc].source(e):Promise.reject(new Error(`readProjectModuleSource(${e}): no host has registered a project module loader`))}const OEe="editor",oC={editors:"document","views.panel":"utility","views.statusbar":"status",inspectors:"inspector",finders:"finder",looks:"look",services:"service"},qv={"workspace.layout":"layout","workspace.keymap":"keymap","workspace.style":"style","workspace.environment":"environment"},$Ee=Object.keys(qv);function qEe(e){return typeof e=="string"&&Object.hasOwn(qv,e)?qv[e]:null}function kEe(e){return Object.hasOwn(oC,e)?oC[e]:null}const Ek=z.createContext(null);function MEe({adapter:e,nodeId:t,children:r}){const n=z.useMemo(()=>({adapter:e,nodeId:t}),[e,t]);return S.jsx(Ek.Provider,{value:n,children:r})}function NEe(){const e=z.useContext(Ek);if(!e)throw new Error("useSelection: no editor selection in context — this hook only works inside an editor-hosted INSPECTOR tool (placement: 'inspector'). Dock tools and project code have no selection to read.");const{adapter:t,nodeId:r}=e,n=z.useRef(0),o=z.useSyncExternalStore(i=>t.subscribe?.(()=>{n.current++,i()})??(()=>{}),()=>n.current);return z.useMemo(()=>{const i=r?t.hierarchy.node(r):null;return{nodeId:r,node:i}},[t,r,o])}const bde={adapter:null,nodeId:null};function vde(e){return JSON.stringify({id:e.id,title:e.title,hint:e.hint,kindLabel:e.kindLabel,note:e.note,sections:e.sections.map(t=>({id:t.id,title:t.title,order:t.order,description:t.description,defaultOpen:t.defaultOpen,testId:t.testId,railGroup:t.railGroup,bodyKind:t.body.kind})),quickActions:e.quickActions?.map(t=>({id:t.id,title:t.title,label:t.label,placement:t.placement,pressed:t.pressed,disabled:t.disabled}))})}function yde({documentId:e,active:t=!0,type:r,title:n,sections:o,status:i,selection:a}){z.useEffect(()=>{if(t)return QL({documentId:e,title:n,type:r,...i?{status:i}:{}})},[t,e,i,n,r]);const s=z.useRef(a);s.current=a,z.useEffect(()=>{if(t)return sF(e,()=>s.current?.()??bde)},[t,e]);const u={id:e,title:n,kindLabel:r,...i?{note:{text:i,testId:"asset-editor-status"}}:{},sections:o??[]},l=z.useRef(u);l.current=u;const c=vde(u);return z.useEffect(()=>{if(t)return eF(e,()=>l.current)},[t,e,c]),null}function IEe({documentId:e,active:t=!0,type:r,title:n,sections:o,status:i,fill:a=!1,selection:s,children:u}){return S.jsxs("section",{className:"volter-asset-editor","data-testid":`asset-editor:${r}`,"aria-label":`${n} Asset Editor`,children:[S.jsx(yde,{documentId:e,active:t,type:r,title:n,sections:o,status:i,selection:s}),S.jsx("main",{className:`volter-asset-editor__viewport${a?" volter-asset-editor__viewport--fill":""}`,children:u})]})}const df=new Map,kv=new Set;function iC(){for(const e of kv)e()}function jEe(e){const t=Object.entries(e);for(const[r,n]of t)df.set(r,n);return iC(),()=>{for(const[r,n]of t)df.get(r)===n&&df.delete(r);iC()}}function DEe(e){return df.get(e)??null}function LEe(e){return kv.add(e),()=>{kv.delete(e)}}const Go=Or(["shown","hidden"]),wde=yt({workspaceTabs:Go.optional().describe("The workspace tab strip in the top bar; hidden unless a style shows it."),header:Go.optional().describe("The top header bar."),shelf:Go.optional().describe("The utility shelf."),inspector:Or(["column","properties","card"]).optional().describe("Inspector presentation: a narrow docked column, properties panel or card."),drawer:Go.optional().describe("The bottom drawer."),hierarchyTypeSuffix:Go.optional().describe("The `·TypeName` a component-instance row prints after its name in the hierarchy. Hidden leaves the row its name alone; the type stays reachable through the row's own tooltip and the inspector."),hierarchyInstanceRule:Go.optional().describe("The dotted rule a component-instance row draws under its name in the hierarchy. Hidden leaves the name unmarked; the fact stays reachable through the row's own tooltip, its source actions and the inspector."),hierarchyRestrictions:Or(["select+viewport","viewport+render"]).optional().describe("Which restriction columns a hierarchy row carries at its right edge: the selection lock beside the eye, or the eye in its own column with the render column reserved and blank, the viewport having one visibility flag for viewport and render alike.")}).strict().describe("Which chrome regions a style bundle shows or hides."),Ede=yt({$schema:Re().optional().describe("JSON Schema pointer for editor autocomplete; ignored by the editor."),style:Re().optional().describe("Editor style id (`classic`, `glass`, or one a package carries): its material, icon set and type. Choosing one also applies the colour theme it was drawn with."),appearance:yt({regions:wde.optional()}).strict().optional().describe("How the editor chrome looks."),keymap:Re().optional().describe("Active keymap preset id (`volter`, or a contributed preset)."),play:yt({keepPanelsVisible:Xq().optional().describe("Keep editor panels visible when starting Play, instead of letting an immersive workspace hide them. Turning this on during Play restores the panels; turning it off applies on the next Play.")}).strict().optional().describe("How the editor presents Play mode.")}).strict().describe("Editor settings — the user layer and the project layer share this shape.");function aC(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function yc(e,t){const r={...e},n=t;for(const o of Object.keys(n)){const i=n[o],a=r[o];r[o]=aC(a)&&aC(i)?yc(a,i):i}return r}const _de="volter";function _k(e,t,r){if(e.properties){for(const[n,o]of Object.entries(e.properties))_k(o,[...t,n],r);return}t.length===1&&t[0]==="$schema"||r.push({key:[_de,...t].join("."),path:t,type:typeof e.type=="string"?e.type:void 0,values:e.enum,description:e.description??""})}let fg=null,Sk=null;function P1(){if(!fg){const e=[];_k(fue(Ede,{io:"input"}),[],e),fg=e,Sk=new Map(e.map(t=>[t.key,t]))}return fg}function Rk(e){return P1(),Sk?.get(e)??null}function xk(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Sde(e,t){const r=Rk(t);if(!r)return;let n=e;for(const o of r.path){if(!xk(n))return;n=n[o]}return n}function li(e){const t={};for(const[r,n]of e){if(n===void 0)continue;const o=Rk(r);if(!o)continue;let i=t;for(const s of o.path.slice(0,-1)){const u=i[s];xk(u)||(i[s]={}),i=i[s]}const a=o.path[o.path.length-1];a!==void 0&&(i[a]=n)}return t}function Qc(e){const t=new Map;for(const r of P1()){const n=Sde(e,r.key);n!==void 0&&t.set(r.key,n)}return t}async function Ck(e){const t=await fetch(`${Pr}/settings/${e}`);return Mo(t,`Could not read ${e} settings`)}async function Ak(e,t){const r=JSON.stringify(t,null,2),n=await fetch(`${Pr}/settings/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:r});if(n.status===409){const o=await n.json().catch(()=>null);throw new Error(typeof o?.error=="string"?o.error:`Could not save ${e} settings (409).`)}kp(n,`Could not save ${e} settings`)}let Su=null;const Mv=new Set;let pg=null;function ed(){return Su}function FEe(e){Su!==e&&(pg?.(),pg=null,Su=e,Su&&(pg=Su.subscribe(()=>sC())),sC())}function sC(){for(const e of Mv)e()}function Rde(e){return Mv.add(e),()=>Mv.delete(e)}let Zt={},Ft={},Nv={},wc={},lC=!1,hg=null,mg=null,au=null;const Iv=new Set;function xde(){return b1()}function T1(){const e=bk(),t=e.style,r={};return t&&(r.style=t.id),e.keymap&&(r.keymap=e.keymap.id),r}function BEe(){return bk().style?.colorTheme}function Pk(){return ed()?Nv:T1()}function zEe(){return Qc(T1())}function Xn(){const e=ed();if(e){const t=[],r=[],n=[],o=[];for(const{key:i}of P1()){const a=e.inspect(i);t.push([i,a.user]),r.push([i,a.adapter]),n.push([i,a.project]),o.push([i,a.effective])}Zt=li(t),Nv=li(r),Ft=li(n),wc=li(o)}else Nv={},wc=yc(yc(Zt,T1()),Ft);for(const t of Iv)t()}function Tk(e,t,r){r.length!==0&&Te.error(`${e} settings ${t??""} is invalid — ${r.join("; ")}. This session runs on defaults for that layer, and the editor will not write the file until it is fixed.`,"settings")}function Cde(){return lC?Promise.resolve():(mg??=Ck("user").then(e=>{Zt=e.settings,Tk("user",e.path,e.issues)}).catch(()=>{Zt={}}).finally(()=>{lC=!0,mg=null}),mg)}function O1(){const e=xde();return hg===e?Promise.resolve():au?au.then(()=>O1()):Jc()?(au=Ck("project").then(t=>{Ft=t.settings,Tk("project",t.path,t.issues)}).catch(()=>{Ft={}}).finally(()=>{hg=e,au=null}),au):(Ft={},hg=e,Promise.resolve())}function HEe(){return Promise.all([Cde(),O1()]).then(Xn)}function UEe(){return wc}function Ade(){return Zt}function Pde(){return Ft}function Tde(e){const t=ed();if(t)return t.inspect(e);const r=n=>Qc(n).get(e);return{default:void 0,user:r(Zt),adapter:r(Pk()),project:r(Ft),effective:r(wc)}}function VEe(e){const t=ed();return t?t.get(e):Qc(wc).get(e)}function Ode(e){if(!Jc())return"user";const t=Tde(e);return t.adapter!==void 0||t.project!==void 0?"project":"user"}function $1(e,t){const r=[],n=[];for(const i of e)((t??Ode(i[0]))==="project"?n:r).push(i);const o=ed();return o?Promise.allSettled([...r.map(([i,a])=>o.set(i,a,"user")),...n.map(([i,a])=>o.set(i,a,"project"))]).then(()=>{}):(r.length>0&&$de(li(r)),n.length>0&&Mde(li(n)),Promise.resolve())}function WEe(e,t,r){return $1([[e,t]],r)}function $de(e){const t=Zt;Zt=yc(Zt,e),Xn();const r=Zt;Ak("user",r).catch(n=>{Zt===r&&(Zt=t,Xn()),Te.error(`Could not save user settings, so the change is undone: ${n.message}`,"settings")})}function qde(e){return $1(Qc(e))}function kde(e){Jc()&&$1(Qc(e),"project")}function Mde(e){if(!Jc())return;const t=Ft;Ft=yc(Ft,e),Xn();const r=Ft;Ak("project",r).catch(n=>{Ft===r&&(Ft=t,Xn()),Te.error(`Could not save project settings, so the change is undone: ${n.message}`,"settings")})}function Nde(e){return Iv.add(e),()=>Iv.delete(e)}Zoe(()=>{O1().then(Xn)});cde(Xn);Rde(Xn);const xh=Object.freeze([{id:"volter",title:"volter",description:"The editor's own bindings: W/E/R gizmo modes, Ctrl+A select all, F frames."}]),vo=new Map;let jv=0;function GEe(){return[...xh,...[...vo.values()].map(e=>e.descriptor)]}function KEe(){return jv}function YEe(e){if(xh.some(r=>r.id===e.id)||vo.has(e.id))throw new Error(`registerContributedKeymap: keymap "${e.id}" is already registered.`);const t={descriptor:{id:e.id,title:e.title,description:e.description},navigation:e.navigation??null};return vo.set(e.id,t),jv++,ko=null,Fi(),()=>{vo.get(e.id)===t&&(vo.delete(e.id),jv++,ko=null,Fi())}}function Ok(e){return typeof e=="string"&&(xh.some(t=>t.id===e)||vo.has(e))}const Ide=Object.freeze({"viewport.vertexSnapHold":[{key:"v"}]});function jde(e){return Ide[e]??[]}const Dv="volter";let ko=null,uC=!1;const Lv=new Set;function Fi(){for(const e of Lv)e()}function $k(e){return typeof e=="string"&&xh.some(t=>t.id===e)}function qk(){return Pde().keymap??Pk().keymap}function kk(){const e=qk();if(Ok(e))return e;const t=Ade().keymap;return $k(t)?t:Dv}const cC=new Set;function ZEe(){const e=qk();typeof e!="string"||e===Dv||Ok(e)||cC.has(e)||(cC.add(e),Te.warn(`Keymap "${e}" is not available in this project: no declared package contributes it (a package ships one as a \`workspace.keymap\` contribution). Using "${Dv}".`,"editor"))}function Dde(){uC||(uC=!0,Nde(()=>{const e=kk();e!==ko&&(ko=e,Fi())}))}function Bi(){return Dde(),ko??=kk(),ko}function JEe(e){Bi()!==e&&(ko=e,$k(e)?qde({keymap:e}):kde({keymap:e}),Fi())}function Mk(e){return Lv.add(e),()=>Lv.delete(e)}function XEe(){return vo.get(Bi())?.navigation??{orbit:"right"}}function dC(){return typeof navigator<"u"&&navigator.platform.includes("Mac")}const Lde={delete:"Del",backspace:"Backspace",escape:"Esc",enter:"Enter",pagedown:"PgDn",pageup:"PgUp",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"," ":"Space",tab:"Tab"},Fde={Numpad0:"Num0",Numpad1:"Num1",Numpad2:"Num2",Numpad3:"Num3",Numpad4:"Num4",Numpad5:"Num5",Numpad6:"Num6",Numpad7:"Num7",Numpad8:"Num8",Numpad9:"Num9",NumpadDecimal:"Num.",PageDown:"PgDn",PageUp:"PgUp",End:"End",KeyG:"G",KeyH:"H",KeyJ:"J",KeyK:"K"};function Bde(e){return e.code?Fde[e.code]??e.code:Lde[e.key]??(e.key.length===1?e.key.toUpperCase():e.key)}function zde(e){const t=Bde(e);if(e.mod){const n=dC()?"⌘":"Ctrl+";return`${e.ctrl&&dC()?"⌃":""}${n}${e.alt?"⌥":""}${e.shift?"⇧":""}${t}`}const r=[];return e.ctrl&&r.push("Ctrl"),e.alt&&r.push("Alt"),e.shift&&r.push("Shift"),r.push(t),r.join("+")}let Nk=null,fC=null;function QEe(e){fC?.(),Nk=e,fC=e.subscribe(Fi),Fi()}function yi(e){const t=jde(e)[0];return t?zde(t):Nk?.label(e)}const Ik="workspace:scene",Hde="workspace:canvas-scene",Ude="workspace:2d-components",Vde="workspace:ui-components",e_e=new Set([Hde,Ude,Vde]),Ru=new Map;let jk=0;const Fv=new Set;function pC(){jk++;for(const e of Fv)e()}function t_e(e){return Fv.add(e),()=>{Fv.delete(e)}}function r_e(){return jk}function n_e(e){if(Ru.has(e.id))throw new Error(`registerWorkspaceStatus: id "${e.id}" is already registered; unregister the previous renderer first.`);const{id:t,Content:r}=e,n=Symbol(t);return Ru.set(t,{Content:r,token:n}),pC(),()=>{Ru.get(t)?.token===n&&(Ru.delete(t),pC())}}function o_e(e){return Ru.get(e)?.Content}const hC={core:0,project:1};let fo=[],Wde=0,Dk=0;const Bv=new Set;function mC(){Dk++;for(const e of Bv)e()}function i_e(e){return Bv.add(e),()=>{Bv.delete(e)}}function a_e(){return Dk}function s_e(e){if(fo.some(r=>r.registration.id===e.id))throw new Error(`registerWorkspaceUtility: id "${e.id}" is already registered — utility ids key drawer tabs and persisted layout, so they must be unique; unregister the previous contribution first.`);const t={registration:e,seq:Wde++};return fo=[...fo,t],mC(),()=>{fo.includes(t)&&(fo=fo.filter(r=>r!==t),mC())}}function gC(e){return e.section??"core"}function Gde(){return[...fo].sort((e,t)=>hC[gC(e.registration)]-hC[gC(t.registration)]||(e.registration.order??0)-(t.registration.order??0)||e.seq-t.seq).map(e=>e.registration)}function Kde(){return Gde().filter(e=>{if(!e.available)return!0;try{return e.available()}catch{return!1}})}function l_e(){return Kde().map(e=>e.id).join(`
|
|
1404
|
+
`)}const Lk="data-volter-mount-styles",u_e=`[${Lk}]`;function Yde(e){e.setAttribute(Lk,"")}const Fk={installed:!1,sources:[],note:null},bC="data-volter-scoped-project-css";let gg=null,Bk=Fk,zk=null;function c_e(){return zk}function Zde(){return typeof globalThis.CSSScopeRule=="function"}async function Jde(e){if(gg?.projectRoot===e)return gg.state;const t=Xde(e);return gg={projectRoot:e,state:t},t}function d_e(){return Bk}async function Xde(e){const t=await Qde(e);return Bk=t,t}async function Qde(e){let t;try{const i=await fetch("/__editor/scoped-project-css");t=await Mo(i,"Could not read the project scoped CSS")}catch{return Fk}const r=typeof t.css=="string"?t.css:"",n=Array.isArray(t.sources)?t.sources:[],o=typeof t.note=="string"?t.note:null;if(r.length===0)return{installed:!1,sources:n,note:o};if(!Zde()){const i="unstyled — this browser has no CSS `@scope`, so the project stylesheet cannot be contained to the project. Loading it anyway would restyle the editor.";return Te.warn(`[scoped-project-css] ${i}`,"authoring"),{installed:!1,sources:n,note:i}}return efe(e,r),{installed:!0,sources:n,note:o}}function efe(e,t){const r=document.head.querySelector(`style[${bC}]`),n=r instanceof HTMLStyleElement?r:document.createElement("style");n.setAttribute(bC,e),n.textContent=t,n.isConnected||document.head.appendChild(n),zk=t}let Hu=null,zv=[],Hk=null;function f_e(e){Hk=e}function p_e(){return Hk}function Ch(e){Hu?e(Hu):zv.push(e)}function h_e(e){Hu=e;const t=zv;zv=[];for(const r of t)r(e);return()=>{Hu===e&&(Hu=null)}}function m_e(e){Ch(t=>t.showUtility(e))}function g_e(e){Ch(t=>t.showStaticPanel(e))}function b_e(e){Ch(t=>t.toggleUtility(e))}function v_e(){Ch(e=>e.toggleFocus())}const Uk=new WeakMap;function y_e(e,t){Uk.set(e,t)}function tfe(e){for(const t of Array.from(e.querySelectorAll("iframe"))){const r=Uk.get(t),n=r?.container();if(r&&n)return{container:n,canvasFrame:r.canvasFrame}}return null}function Vk(e){return Array.from(document.querySelectorAll("[data-workspace-document-id]")).find(t=>t.dataset.workspaceDocumentId===e&&(Cw()===null||t.dataset.workspaceViewId===Cw()))??null}const Hv=["document","header","shelf","rail","outliner","utility","area"],rfe={rail:{part:"properties",view:"volter.properties",title:"Properties"},outliner:{part:"outliner",view:"volter.outliner",title:"Outliner"}},nfe={header:{prefix:"document-header",title:"header strip"},shelf:{prefix:"document-shelf",title:"tool shelf"}};function q1(e){const t=[e.container,...e.extraRoots??[]];for(let n=0;n<t.length;n++)for(const o of t[n].querySelectorAll("[data-volter-portal]")){const i=o.dataset.volterPortal;if(i===void 0)continue;const a=document.querySelector(`[data-volter-portal-content="${CSS.escape(i)}"]`);a&&!t.includes(a)&&t.push(a)}const r=tfe(e.container)?.container;r&&!t.includes(r)&&t.push(r);for(const n of fF(e.container))t.includes(n)||t.push(n);return t}function ofe(e){return document.querySelector(`[data-volter-part="${e}"]`)}function ife(){const e=[...document.querySelectorAll("[data-volter-utility]")].find(r=>{const n=r.getBoundingClientRect();return n.width>0&&n.height>0});if(!e)throw new Error("No utility view is showing, so scope 'utility' has nothing to reach. Show one in the panel (View: Open View…) and retry.");const t=e.dataset.volterUtility??"";return{container:e,name:"utility",id:t,title:t}}function afe(){const e=Dy().filter(o=>o.descriptor.area).flatMap(o=>Array.from(document.querySelectorAll("[data-workspace-document-id]")).filter(i=>i.dataset.workspaceDocumentId===o.descriptor.id)).filter(o=>{const i=o.getBoundingClientRect();return i.width>0&&i.height>0}),[t,...r]=e;if(!t)throw new Error("No workspace area is showing, so scope 'area' has nothing to reach.");const n=[...new Set(e.map(o=>o.dataset.workspaceDocumentId??""))];return{container:t,extraRoots:r,name:"area",id:n.join(", "),title:n.length>1?`${n.length} workspace areas`:"workspace area"}}function sfe(e){if(e==="utility")return ife();if(e==="area")return afe();const t=e==="rail"||e==="outliner"?rfe[e]:null;if(t){const r=ofe(t.part),n=e==="rail"?[...document.querySelectorAll('[data-testid="inspector-panel"][data-volter-inspector-presentation="card"]')].find(o=>{const i=o.getBoundingClientRect();return i.width>0&&i.height>0})??null:null;if(n&&!r)return{container:n,name:e,id:t.view,title:"Inspector card"};if(n&&r)return{container:r,extraRoots:[n],name:e,id:t.view,title:`${t.title} and the inspector card`};if(!r)throw new Error(`The ${t.title} view (${t.view}) is not open, so scope '${e}' has nothing to reach. Open it from the workbench (View: Open View…) and retry — this door reads and drives what is on screen, and reports its absence rather than an empty match list.`);return{container:r,name:e,id:t.view,title:t.title}}return lfe(e)}function lfe(e){const t=Ly();if(!t)throw new Error(`No active editor document, so scope '${e}' has nothing to reach. The editor's own views are still readable: scope 'outliner' and scope 'rail'.`);const r=Ki()??t.descriptor.id,n=Vk(r);if(!n)throw new Error(`The active document's surface is not mounted: ${r} (${t.title}). Present it first (\`editor.present\`) and retry.`);const o=n.closest(".volter-dock-document")??n;if(e==="document")return{container:o,name:e,id:r,title:t.title};const i=nfe[e],a=o.querySelector(`[data-testid="${i.prefix}:${r}"]`);if(!a)throw new Error(`The active document "${t.title}" (${r}) draws no ${i.title}, so scope '${e}' has nothing to reach. Its whole box is scope 'document'.`);return{container:a,name:e,id:r,title:`${t.title} — ${i.title}`}}function ufe(e,t){return`${e} is in front: a cross-origin page, which no selector reaches. \`matched\` and \`elements\` are the editor's DOM behind it. \`framed\` is the page's own labelled nodes, not filtered by the selector: its \`matched\` counts them all and its \`nodes\` are the first \`limit\`; read them by \`role\` and \`name\`${t?" (unavailable now: see `framedUnavailable`)":""}.`}const cfe=/^role=([\w-]+)(?:\[name=(["'])(.*?)\2\])?$/,k1="Press the page's own node by its role and name, `editor.document.click('role=button[name=\"Restart\"]')` (`role=<role>` or `role=<role>[name=\"<text>\"]`), press its keys with `editor.document.key` and no selector, and read its nodes in `editor.inspect()`'s `inspection.screen`.";async function dfe(e,t,r){const n=e.driver.title(),o=cfe.exec(r.selector);if(o===null)throw new Error(`${JSON.stringify(r.selector)} is no role selector this door takes in ${n}. ${k1}`);if((r.clicks??1)!==1||r.altKey||r.ctrlKey||r.metaKey||r.shiftKey)throw new Error(`A press in ${n} is one click with no modifier keys: its driver gives a press and its release.`);const i=r.at??[.5,.5];if(!(Array.isArray(i)&&i.length===2&&i.every(_=>typeof _=="number"&&Number.isFinite(_))))throw new Error(`click's \`at\` is [x, y], fractions of the node's box; got ${JSON.stringify(i)}.`);const[,a,,s]=o,u=r.index??0,{nodes:l}=await e.driver.nodes(500),c=l.filter(_=>_.role===a&&(s===void 0||typeof _.name=="string"&&_.name.toLowerCase().includes(s.toLowerCase()))),d=c[u],f=d?.bounds;if(d===void 0||!Array.isArray(f)||f.length!==4)throw new Error(`${n} has ${String(c.length)} node(s) of role "${a}"${s===void 0?"":` named like "${s}"`}, so index ${String(u)} does not exist (its nodes: \`editor.inspect()\`'s \`inspection.screen\`).`);const[p,h,m,v]=f,[g,w]=i;return await e.driver.press({x:p+m*g,y:h+v*w}),{note:`Pressed in ${n}, a cross-origin page in front. The press is the page's driver's, so the page gets no user activation from it: audio and other gesture-gated APIs there stay locked.`,scope:t,matched:c.length,elements:[],framed:{title:n,matched:c.length,nodes:[d]}}}function vC(e,t){const r=jf(e.container);return new Error((r?`${r.title()} is in front: a cross-origin page, which no selector reaches (\`editor.document.key\` with no selector presses in it, and \`editor.inspect()\` reads it). `:"")+`Out of scope: ${t}. This step ran in scope '${e.name}' — "${e.title}" (${e.id}) — and reaches ONLY inside it. The other surfaces are named, not walked to: ${Hv.filter(n=>n!==e.name).map(n=>`'${n}'`).join(", ")} (pass \`{ scope }\`). The rest of the page is deliberately unreachable.`)}const yC=400,wC="rgb(1, 2, 3)",ffe="rgba(0, 0, 0, 0)";function pfe(e,t){const r=getComputedStyle(e).getPropertyValue(t).trim();if(r==="")return"";const o=e.ownerDocument.createElement("span");o.style.position="absolute",o.style.pointerEvents="none",o.style.visibility="hidden",o.style.backgroundColor=wC,e.appendChild(o);try{o.style.backgroundColor=`var(${t})`;const i=getComputedStyle(o).backgroundColor.trim();return i===wC||i===ffe?r:i}finally{o.remove()}}function hfe(e,t){const r=getComputedStyle(e),n={};for(const o of t)n[o]=o.startsWith("--")?pfe(e,o):r.getPropertyValue(mfe(o)).trim();return n}function mfe(e){return e.includes("-")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function EC(e,t,r){const n=e,o={};for(const l of Array.from(e.attributes))o[l.name]=l.value;const i=n.getBoundingClientRect(),a=e.value,s=e.checked,u=(n.innerText||e.textContent||"").trim();return{index:t,tag:e.tagName.toLowerCase(),text:u.length>yC?`${u.slice(0,yC)}…`:u,attributes:o,rect:{x:i.x,y:i.y,width:i.width,height:i.height},...typeof a=="string"?{value:a}:{},...typeof s=="boolean"?{checked:s}:{},...n.hasAttribute("disabled")?{disabled:!0}:{},...r&&r.length>0?{styles:hfe(n,r)}:{}}}function ff(e,t,r){const n=Gk(e,t),o=n[r];if(!o)throw vC(e,`${JSON.stringify(t)} matched ${n.length} element(s), so index ${r} does not exist`);if(!q1(e).some(a=>a.contains(o)))throw vC(e,`${JSON.stringify(t)} resolved outside the document's container`);const i=$c(e.container);if(i!==null){const a=o.getBoundingClientRect();if(o.ownerDocument.elementFromPoint(a.x+a.width/2,a.y+a.height/2)===i.frame)throw new Error(`${i.driver.title()} is in front, over ${JSON.stringify(t)}'s match: a cross-origin page, which a CSS selector cannot reach. ${k1}`)}return o}function gfe(e,t=[.5,.5]){const r=e.getBoundingClientRect();return{bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument.defaultView??window,clientX:r.x+r.width*t[0],clientY:r.y+r.height*t[1],button:0,buttons:1}}function M1(e){let t=e;for(;t&&!(t.hasAttribute("tabindex")||t.tabIndex>=0||t.isContentEditable);)t=t.parentElement;(t??e).focus({preventScroll:!0})}function Wk(e,t=[.5,.5]){const r=e.getBoundingClientRect();return{clientX:r.x+r.width*t[0],clientY:r.y+r.height*t[1]}}function bfe(e,t){const{clientX:r,clientY:n}=Wk(e,t);return e.ownerDocument.elementFromPoint(r,n)??e}async function vfe(e,t,r,n,o){const i={...gfe(e,r),...o,...n},a=Math.max(1,Math.round(t)),s=e.ownerDocument;for(let u=1;u<=a;u++){const l={...i,detail:u},c={...i,buttons:0,detail:u};Uu(e,()=>{e.dispatchEvent(new PointerEvent("pointerdown",{...l,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousedown",l)),M1(e)}),await new Promise(f=>setTimeout(f,0));const d=e.isConnected?e:s.elementFromPoint(i.clientX??0,i.clientY??0)??s.body;if(Uu(d,()=>{d.dispatchEvent(new PointerEvent("pointerup",{...c,pointerType:"mouse"})),d.dispatchEvent(new MouseEvent("mouseup",c)),d===e&&e.dispatchEvent(new MouseEvent("click",c))}),d!==e)return}a>=2&&Uu(e,()=>e.dispatchEvent(new MouseEvent("dblclick",{...i,buttons:0,detail:a})))}function yfe(e,t,r,n){const o=e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null;if(!o)throw new Error(`Cannot type into a <${e.tagName.toLowerCase()}>: this verb drives a text field. Click the control that opens one first (the Outliner's rename is a double click — \`click(selector, { clicks: 2 })\`), then \`type\` into the field it puts up.`);const i=e instanceof HTMLTextAreaElement?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,"value")?.set,s=l=>{a?a.call(o,l):o.value=l};o.focus();let u=o.value;r&&u!==""&&(o.select(),u="",s(u),o.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0,inputType:"deleteContentBackward"})));for(const l of[...t]){const c={key:l,bubbles:!0,cancelable:!0,composed:!0};o.dispatchEvent(new KeyboardEvent("keydown",c)),u+=l,s(u),o.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0,inputType:"insertText",data:l})),o.dispatchEvent(new KeyboardEvent("keyup",c))}if(n){const l={key:"Enter",code:"Enter",bubbles:!0,cancelable:!0,composed:!0};o.dispatchEvent(new KeyboardEvent("keydown",l)),o.dispatchEvent(new KeyboardEvent("keyup",l))}}function Uu(e,t){const n=(e.ownerDocument.defaultView??window).Element.prototype,o=n.setPointerCapture,i=n.releasePointerCapture;n.setPointerCapture=()=>{},n.releasePointerCapture=()=>{};try{t()}finally{n.setPointerCapture=o,n.releasePointerCapture=i}}let Uv=null;function wfe(){const e=Uv;if(e===null)throw new Error("Nothing is held: release lets go of a drag that `hold: true` left pressed, and none is.");return Uv=null,Uu(e.element,()=>{e.element.dispatchEvent(new PointerEvent("pointerup",{...e.end,pointerType:"mouse"})),e.element.dispatchEvent(new MouseEvent("mouseup",e.end)),e.button===2&&e.element.dispatchEvent(new MouseEvent("contextmenu",e.end))}),e.element}function Efe(e,t,r,n,o,i,a,s){const u=e.getBoundingClientRect(),l=a===0?1:a===2?2:4,c=(f,p)=>({bubbles:!0,cancelable:!0,composed:!0,view:window,clientX:u.x+u.width*f,clientY:u.y+u.height*p,button:a,buttons:l,altKey:o.altKey??!1,ctrlKey:o.ctrlKey??!1,metaKey:o.metaKey??!1,shiftKey:o.shiftKey??!1}),d=c(t[0],t[1]);Uu(e,()=>{e.dispatchEvent(new PointerEvent("pointermove",{...d,button:-1,buttons:0,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousemove",{...d,buttons:0})),e.dispatchEvent(new PointerEvent("pointerdown",{...d,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousedown",d)),M1(e);const f=Math.max(1,Math.round(n)),p=[t,...i,r];for(let m=0;m+1<p.length;m++){const v=p[m],g=p[m+1];for(let w=1;w<=f;w++){const _=w/f,R=c(v[0]+(g[0]-v[0])*_,v[1]+(g[1]-v[1])*_);e.dispatchEvent(new PointerEvent("pointermove",{...R,button:-1,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousemove",R))}}const h={...c(r[0],r[1]),buttons:0};if(s){Uv={element:e,end:h,button:a};return}e.dispatchEvent(new PointerEvent("pointerup",{...h,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mouseup",h)),a===2?e.dispatchEvent(new MouseEvent("contextmenu",h)):a===0&&t[0]===r[0]&&t[1]===r[1]&&e.dispatchEvent(new MouseEvent("click",h))})}function _fe(e,t){if(t)return t;const r=document.activeElement;return r instanceof HTMLElement&&q1(e).some(n=>n.contains(r))?r:e.container}function Gk(e,t){if(typeof t!="string")throw new Error(`A selector is a CSS selector string, such as '[role="status"]'; it was given ${JSON.stringify(t)}.`);if(t.startsWith("role=")){const r=$c(e.container);throw new Error(`${JSON.stringify(t)} is a role selector, which only \`editor.document.click\` takes, for a page in front${r===null?" (none is)":` (${r.driver.title()})`}. ${k1}`)}try{return q1(e).flatMap(r=>Array.from(r.querySelectorAll(t)))}catch(r){throw new Error(`Invalid selector ${JSON.stringify(t)}: ${String(r)}`)}}function Kk(e,t){const r=t.selector===void 0?null:ff(e,t.selector,t.index??0);return _fe(e,r)}function _C(e,t,r){const n=Kk(e,t);if(t.selector===void 0&&n instanceof HTMLIFrameElement&&jf(e.container)){const o=$c(e.container),i=o!==null&&o.frame===n?o.driver.title():"A cross-origin page";throw new Error(`${i} has the focus: a cross-origin page, which ${r} cannot reach (its events would land on the frame, never in the page). \`editor.document.key\` with no selector presses keys in the page in front.`)}return n}const Sfe={" ":"Space","`":"Backquote","-":"Minus","=":"Equal","[":"BracketLeft","]":"BracketRight","\\":"Backslash",";":"Semicolon","'":"Quote",",":"Comma",".":"Period","/":"Slash"};function Yk(e){return/^[a-z]$/i.test(e)?`Key${e.toUpperCase()}`:/^[0-9]$/.test(e)?`Digit${e}`:Sfe[e]??e}const Rfe={Backspace:8,Tab:9,Enter:13,Escape:27," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Delete:46};function xfe(e){if(/^[a-z0-9]$/i.test(e))return e.toUpperCase().charCodeAt(0);const t=/^F([1-9]|1[0-2])$/.exec(e);return t?111+Number(t[1]):Rfe[e]??0}function Cfe(e){const t=e===void 0?null:/^Numpad([0-9])$/.exec(e);return t?96+Number(t[1]):e==="NumpadDecimal"?110:null}function SC(e,t){const r=new KeyboardEvent(e,Afe(t)),n=Cfe(t.code)??xfe(t.key);return Object.defineProperty(r,"keyCode",{get:()=>n}),Object.defineProperty(r,"which",{get:()=>n}),r}function Afe(e){return{key:e.key,code:e.code??Yk(e.key),bubbles:!0,cancelable:!0,composed:!0,...e.ctrlKey?{ctrlKey:!0}:{},...e.metaKey?{metaKey:!0}:{},...e.shiftKey?{shiftKey:!0}:{},...e.altKey?{altKey:!0}:{}}}function Pfe(e,t){const r=[...e.options].map(o=>o.value);if(!r.includes(t))throw new Error(`No option with value ${JSON.stringify(t)} on this <select> — it offers ${r.map(o=>JSON.stringify(o)).join(", ")||"(no options)"}. The value is the option's \`value\`, not its label; \`query\` reports both.`);const n=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value")?.set;n?n.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),e.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}const bg=["query","click","drag","release","key","paste","select","type"];function Tfe(e){const t=e?.action;if(!bg.includes(t))throw new Error(`Unknown document-probe action ${JSON.stringify(t)}. This door has exactly ${bg.length} verbs: ${bg.join(", ")} (\`editor.document.*\`).`);const r=e.scope??"document";if(!Hv.includes(r))throw new Error(`Unknown scope ${JSON.stringify(r)}. This door addresses exactly these surfaces: ${Hv.map(n=>`'${n}'`).join(", ")}.`);return sfe(r)}async function w_e(e){const t=Tfe(e),r={name:t.name,id:t.id,title:t.title},n=o=>({scope:r,matched:1,elements:[EC(o,0)]});switch(e.action){case"query":{const o=Gk(t,e.selector),i=jf(t.container);let a=null,s=null;if(i)try{a=await i.nodes(e.limit??25)}catch(u){s=u instanceof Error?u.message:String(u)}return{...i?{note:ufe(i.title(),s!==null)}:{},scope:r,matched:o.length,elements:o.slice(0,e.limit??25).map((u,l)=>EC(u,l,e.styles)),...i&&a?{framed:{title:i.title(),matched:a.matched,nodes:[...a.nodes]}}:{},...s!==null?{framedUnavailable:s}:{}}}case"click":{const o=$c(t.container);if(o!==null&&typeof e.selector=="string"&&e.selector.startsWith("role="))return await dfe(o,r,e);const i=ff(t,e.selector,e.index??0),a=e.at;if(a!==void 0&&!(Array.isArray(a)&&a.length===2&&a.every(l=>typeof l=="number"&&Number.isFinite(l))))throw new Error(`click's \`at\` is [x, y], fractions of the element's box; got ${JSON.stringify(a)}.`);const s=i.ownerDocument===document?i:bfe(i,a);await vfe(s,e.clicks??1,a&&s===i?a:void 0,{...e.altKey?{altKey:!0}:{},...e.ctrlKey?{ctrlKey:!0}:{},...e.metaKey?{metaKey:!0}:{},...e.shiftKey?{shiftKey:!0}:{}},s===i?void 0:Wk(i,a));const u=s.ownerDocument.defaultView?.navigator?.userActivation;return u&&!u.hasBeenActive?{...n(s),userActivation:!1,note:"This click is synthetic and gives the page no user activation, and the page has had none: an AudioContext stays suspended and gesture-gated APIs (audio, fullscreen, pointer lock) refuse until a person clicks in the editor, or the browser runs with --autoplay-policy=no-user-gesture-required."}:n(s)}case"type":{const o=_C(t,e,"type");return yfe(o,e.text,e.replace??!0,e.enter??!0),n(o)}case"drag":{if(e.button!==void 0&&![0,1,2].includes(e.button))throw new Error(`Unknown button ${JSON.stringify(e.button)}: 0 primary, 1 middle, 2 secondary.`);const o=ff(t,e.selector,e.index??0),i=o.getBoundingClientRect(),a=[["from",e.from],...(e.via??[]).map((s,u)=>[`via[${u}]`,s]),["to",e.to]];for(const[s,u]of a)if(!u.every(c=>Number.isFinite(c)&&c>=0&&c<=1)&&!(e.leave&&s!=="from"&&u.every(c=>Number.isFinite(c))))throw new Error(`drag ${s} ${JSON.stringify(u)} is not a fraction of the element's box: points are [x, y] from 0 to 1 from its top-left ([0.5, 0.5] is its centre). This element is ${Math.round(i.width)} x ${Math.round(i.height)} px at (${Math.round(i.x)}, ${Math.round(i.y)}); a page pixel px becomes (px - ${Math.round(i.x)}) / ${Math.round(i.width)}.`);return Efe(o,e.from,e.to,e.steps??8,{...e.altKey===void 0?{}:{altKey:e.altKey},...e.ctrlKey===void 0?{}:{ctrlKey:e.ctrlKey},...e.metaKey===void 0?{}:{metaKey:e.metaKey},...e.shiftKey===void 0?{}:{shiftKey:e.shiftKey}},e.via??[],e.button??0,e.hold===!0),n(o)}case"release":return n(wfe());case"key":{if(e.holdMs!==void 0&&(!Number.isFinite(e.holdMs)||e.holdMs<0||e.holdMs>Jx))throw new Error(`key holdMs must be finite, nonnegative and at most ${Jx}.`);const o=e.selector===void 0?jf(t.container):null;if(o)return await o.key({key:e.key,code:e.code??Yk(e.key),holdMs:e.holdMs??0}),{scope:r,matched:1,elements:[],note:`The key went to ${o.title()}, the page in front.`};const i=Kk(t,e);document.activeElement instanceof Node&&i.contains(document.activeElement)||M1(i);const a=document.activeElement,s=a instanceof HTMLElement&&i.contains(a)?a:i;s.dispatchEvent(SC("keydown",e));try{e.holdMs&&await new Promise(u=>setTimeout(u,e.holdMs))}finally{s.dispatchEvent(SC("keyup",e))}return n(i)}case"select":{const o=ff(t,e.selector,e.index??0);if(!(o instanceof HTMLSelectElement))throw new Error(`${JSON.stringify(e.selector)} resolved a <${o.tagName.toLowerCase()}>, not a <select>. This verb sets a dropdown's value; a button or a checkbox takes \`click\`.`);return Pfe(o,e.value),n(o)}case"paste":{const o=_C(t,e,"paste"),i=new DataTransfer;return i.setData("text/plain",e.text),o.dispatchEvent(new ClipboardEvent("paste",{bubbles:!0,cancelable:!0,composed:!0,clipboardData:i})),n(o)}}}const Ofe=Symbol.for("volter.document-play-signals"),$fe=globalThis,Ro=$fe[Ofe]??={owners:new Map,listeners:new Set};function E_e(e,t){t?Ro.owners.set(e,t):Ro.owners.delete(e);for(const r of Ro.listeners)r()}function qfe(e){for(const t of Ro.owners.values()){const r=t.state(e);if(r!=="stopped")return r}return"stopped"}function __e(e){return qfe(e)!=="stopped"}function S_e(e){let t=[];const r=()=>{for(const o of t)o();t=[...Ro.owners.values()].map(o=>o.subscribe(e))},n=()=>{r(),e()};return Ro.listeners.add(n),r(),()=>{Ro.listeners.delete(n);for(const o of t)o();t=[]}}const kfe=5e3,Mfe=350,RC=240;let ui=null,ci=null;function R_e(){ui?.remove(),ui=null,ci?.remove(),ci=null}function x_e(e,t){if(typeof document>"u")return;const r=Ki(),n=r===null?null:Vk(r),o=n?.closest(".volter-editor-theme")??document.querySelector(".volter-editor-theme")??document.body,i=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1;if(n&&!i){const l=n.getBoundingClientRect(),c=document.createElement("div");c.dataset.testid="photograph-flash",Object.assign(c.style,{position:"fixed",left:`${l.left}px`,top:`${l.top}px`,width:`${l.width}px`,height:`${l.height}px`,background:"#ffffff",pointerEvents:"none",zIndex:"var(--volter-z-toast)"}),ci?.remove(),ci=c,o.append(c),c.animate([{opacity:.85},{opacity:0}],{duration:Mfe,easing:"ease-out"}).finished.finally(()=>{c.remove(),ci===c&&(ci=null)})}ui?.remove();const a=document.createElement("button");a.type="button",a.dataset.testid="photograph-notice",a.title=`${t?`${t}: photograph`:"Photograph"} taken. Click to put it away.`,a.setAttribute("aria-label",t?`Photograph taken: ${t}`:"Photograph taken"),Object.assign(a.style,{position:"fixed",right:"var(--volter-space-4)",bottom:"40px",width:"220px",padding:"0",border:"1px solid var(--volter-selection-border)",borderRadius:"var(--volter-radius-md)",background:"var(--volter-surface-raised)",boxShadow:"var(--volter-shadow-lg)",overflow:"hidden",cursor:"pointer",zIndex:"var(--volter-z-toast)"});const s=document.createElement("img");if(s.src=`data:image/png;base64,${e}`,s.alt="The photograph just taken of the document",Object.assign(s.style,{display:"block",width:"100%",height:"auto"}),a.append(s),t){const l=document.createElement("div");l.dataset.testid="photograph-name",l.textContent=t,Object.assign(l.style,{padding:"var(--volter-space-1) var(--volter-space-2)",font:"var(--volter-font-ui-sm, 12px system-ui)",color:"var(--volter-text)",textAlign:"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),a.append(l)}o.append(a),ui=a;const u=()=>{if(ui===a&&(ui=null),!!a.isConnected){if(i){a.remove();return}a.animate([{transform:"translateX(0)"},{transform:"translateX(130%)"}],{duration:RC,easing:"ease-in",fill:"forwards"}).finished.finally(()=>a.remove())}};a.addEventListener("click",u,{once:!0}),i||a.animate([{transform:"translateX(130%)"},{transform:"translateX(0)"}],{duration:RC,easing:"ease-out"}),window.setTimeout(u,kfe)}let _r=[];const Vv=new Set;function Wv(){for(const e of Vv)e()}function C_e(){Wv()}function A_e(){return _r}function P_e(){let e=null;for(const t of _r){const r=t.startedAt();r!==null&&(!e||r>e.startedAt)&&(e={startedAt:r,endedAt:t.endedAt()})}return e}function T_e(){return _r.find(e=>e.mounted())?.surface()??null}function O_e(e){if(_r.some(t=>t.id===e.id))throw new Error(`live session "${e.id}" is already registered.`);return _r=[..._r,e],Wv(),()=>{_r=_r.filter(t=>t!==e),Wv()}}function $_e(){return _r.some(e=>e.mounted())}function q_e(){for(const e of _r)e.stop()}function k_e(e){return Vv.add(e),()=>Vv.delete(e)}const pf=new Map;function M_e(e,t){return pf.set(e,t),()=>{pf.get(e)===t&&pf.delete(e)}}function N_e(){return Object.fromEntries([...pf].map(([e,t])=>[e,t()]))}const hf=new Map;function I_e(e){return hf.set(e.id,e),()=>{hf.get(e.id)===e&&hf.delete(e.id)}}function j_e(){return[...hf.values()]}const Nfe=["workspace:scene","workspace:canvas-scene","workspace:2d-components","workspace:ui-components"],Ife=["animation","behavior","console","light-explorer","story-actions","story-interactions","story-accessibility"],xC="tool:";function jfe(e){return Ife.includes(e)||e.startsWith(xC)&&e.length>xC.length}const Dfe=["scene","asset","tool","document","world","story","workspace"];function D_e(e){return Dfe.includes(e)}const L_e=["version","workspace","style","keymap","panel","document","selection","viewport","utility"],ce="view.",CC=4096,Lfe=new Set(Nfe),Ffe=new Set(["model","image","audio","animation","json","prefab","source"]),Bfe=new Set(["top","front","right","perspective","isometric"]),zfe=["solid","preview","rendered","clay","unlit","wireframe","matcap","normals","overdraw","uv","vertex-colors","bounds","skeleton"],Hfe=new Set(zfe);function Zk(e){const t=e?.trim();return t||null}function Ufe(e,t){t&&(e.set(`${ce}docKind`,t.kind),t.kind==="asset"&&t.entityId?(e.set(`${ce}doc`,t.entityId),e.set(`${ce}assetSource`,"entity")):t.kind==="asset"?e.set(`${ce}doc`,t.path):t.kind==="scene"?e.set(`${ce}doc`,t.path):t.kind==="story"?(e.set(`${ce}doc`,t.modulePath),e.set(`${ce}story`,t.storyName),t.mode==="docs"&&e.set(`${ce}storyMode`,"docs")):e.set(`${ce}doc`,t.id),t.kind==="asset"&&t.assetKind&&e.set(`${ce}assetKind`,t.assetKind))}function Vfe(e,t){t&&(typeof t.camera=="string"?e.set(`${ce}camera`,t.camera):t.camera&&(e.set(`${ce}camera`,"pose"),e.set(`${ce}cameraPosition`,[t.camera.position.x,t.camera.position.y,t.camera.position.z].join(",")),e.set(`${ce}cameraTarget`,[t.camera.target.x,t.camera.target.y,t.camera.target.z].join(",")),t.camera.fov!==void 0&&e.set(`${ce}cameraFov`,String(t.camera.fov))),t.diagnostic&&e.set(`${ce}diagnostic`,t.diagnostic),t.frame&&e.set(`${ce}frame`,t.frame),t.grid!==void 0&&e.set(`${ce}grid`,t.grid?"1":"0"))}function AC(e){if(!e)return null;const t=e.split(",").map(Number);return t.length!==3||t.some(r=>!Number.isFinite(r))?null:{x:t[0],y:t[1],z:t[2]}}function Wfe(e){const t=e.get(`${ce}camera`);if(t&&Bfe.has(t))return t;if(t!=="pose")return;const r=AC(e.get(`${ce}cameraPosition`)),n=AC(e.get(`${ce}cameraTarget`)),o=e.get(`${ce}cameraFov`),i=o===null?void 0:Number(o);if(!(!r||!n||i!==void 0&&!Number.isFinite(i)))return{position:r,target:n,...i!==void 0?{fov:i}:{}}}function Gfe(e,t){const r=Zk(e.get(`${ce}story`));if(r)return{kind:"story",modulePath:t,storyName:r,...e.get(`${ce}storyMode`)==="docs"?{mode:"docs"}:{}}}function Kfe(e,t){const r=e.get(`${ce}assetKind`);return e.get(`${ce}assetSource`)==="entity"?{kind:"asset",entityId:t,assetKind:"model"}:{kind:"asset",path:t,...r&&Ffe.has(r)?{assetKind:r}:{}}}function Yfe(e){const t=e.get(`${ce}docKind`),r=Zk(e.get(`${ce}doc`));if(r)return t==="scene"?{kind:t,path:r}:t==="tool"?{kind:t,id:r}:t==="document"?{kind:t,id:r}:t==="world"?{kind:t,id:r}:t==="story"?Gfe(e,r):t==="workspace"&&Lfe.has(r)?{kind:t,id:r}:t==="asset"?Kfe(e,r):void 0}function Zfe(e){const t=Wfe(e),r=e.get(`${ce}diagnostic`),n=e.get(`${ce}frame`),o=e.get(`${ce}grid`),i={...t?{camera:t}:{},...r&&Hfe.has(r)?{diagnostic:r}:{},...n==="document"||n==="selection"?{frame:n}:{},...o==="0"||o==="1"?{grid:o==="1"}:{}};return Object.keys(i).length>0?i:void 0}function F_e(e,t){const r=new URL(t);for(const n of[...r.searchParams.keys()])n.startsWith(ce)&&r.searchParams.delete(n);if(r.searchParams.set(`${ce}v`,"1"),Ufe(r.searchParams,e.document),e.selection?.ids.length){for(const n of e.selection.ids)r.searchParams.append(`${ce}select`,n);e.selection.focus&&r.searchParams.set(`${ce}focus`,"1")}if(Vfe(r.searchParams,e.viewport),e.workspace&&r.searchParams.set(`${ce}workspace`,e.workspace),e.panel&&r.searchParams.set(`${ce}panel`,e.panel),e.utility&&r.searchParams.set(`${ce}utility`,e.utility),r.search.length>CC)throw new Error(`Editor view URL exceeds the ${CC}-character share limit.`);return r.toString()}function B_e(e){const r=(e instanceof URL?e:new URL(e,"http://editor.invalid")).searchParams;if(r.get(`${ce}v`)!=="1")return null;const n={version:1},o=Yfe(r);o&&(n.document=o);const i=r.getAll(`${ce}select`).filter(c=>c.length>0).slice(0,32);i.length&&(n.selection={ids:i,focus:r.get(`${ce}focus`)==="1"});const a=Zfe(r);a&&(n.viewport=a);const s=r.get(`${ce}workspace`);s&&(n.workspace=s);const u=r.get(`${ce}panel`);u&&(n.panel=u);const l=r.get(`${ce}utility`);return l&&jfe(l)&&(n.utility=l),n}const z_e=["agent","hierarchy","inspector"];let xu=[];function H_e(e){return xu=[...xu,e],()=>{xu=xu.filter(t=>t!==e)}}function U_e(e){return xu.find(t=>t.accepts(e))??null}const Jfe=[[/physic|rigid|collid/i,L7],[/material/i,a7],[/light/i,My],[/camera/i,Np],[/audio|sound|music/i,MA],[/player|character|humanoid|person/i,j7],[/anim|state|machine/i,CA]];function V_e(e){for(const[t,r]of Jfe)if(t.test(e))return r;return qf}async function W_e(e,t){const r=await Promise.all(t.map(n=>Xfe(e,n)));return{assets:r.flatMap(n=>n.assets),failedListings:r.flatMap(n=>n.failedListings)}}async function Xfe(e,t){const r=[""],n=[],o=[];let i=0;for(;r.length>0&&i<512;){const a=r.splice(0,8),s=await Promise.all(a.map(u=>e(t,u)));i+=a.length,s.forEach((u,l)=>{const c=a[l];if(!u.ok){o.push(`${t}/${c}: ${u.reason}`);return}for(const d of u.entries){const f=c?`${c}/${d.name}`:d.name;d.type==="directory"?r.push(f):n.push({path:f,root:t,entry:d})}})}return{assets:n,failedListings:o}}function G_e(e){const t=Sie(e).kind;return t==="model"||t==="image"||t==="video"||t==="audio"?t:"other"}function N1(e){const[t,r]=z.useState(null);return z.useEffect(()=>{let n=0;const o=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>r(e))});return()=>{cancelAnimationFrame(o),cancelAnimationFrame(n)}},[e]),t===e}const Qfe=z.lazy(()=>bF(()=>Promise.resolve().then(()=>Pme),[]).then(e=>({default:e.InspectorCanvasPreview})));function K_e({picture:e,previewKey:t,actions:r,mode:n="section"}){const o=n==="thumbnail",i=N1(t);return S.jsxs("div",{"data-testid":o?"inspection-preview-thumbnail":"inspection-preview",style:o?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[i&&S.jsx(z.Suspense,{fallback:null,children:e()}),!o&&r.map(a=>S.jsx(Xe,{"data-testid":a.id,size:"compact",disabled:a.disabled,title:a.title,onClick:a.run,style:{position:"absolute",right:8,bottom:8},children:a.label},a.id))]})}function Y_e({source:e,component:t,previewKey:r,actions:n,mode:o="section"}){const i=o==="thumbnail",a=N1(r);return S.jsxs("div",{"data-testid":i?"inspection-preview-thumbnail":"inspection-preview",style:i?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[a&&S.jsx("div",{style:{position:"absolute",inset:0,overflow:"hidden",background:"var(--volter-bg-inset)"},children:S.jsx(e.Thumbnail,{component:t})}),!i&&n.map(s=>S.jsx(Xe,{"data-testid":s.id,size:"compact",disabled:s.disabled,title:s.title,onClick:s.run,style:{position:"absolute",right:8,bottom:8},children:s.label},s.id))]})}function Z_e({capture:e,previewKey:t,actions:r,mode:n="section"}){const o=n==="thumbnail",i=N1(t);return S.jsxs("div",{"data-testid":o?"inspection-preview-thumbnail":"inspection-preview",style:o?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[i&&S.jsx(z.Suspense,{fallback:null,children:S.jsx(Qfe,{capture:e,previewKey:t,size:o?96:256})}),!o&&r.map(a=>S.jsx(Xe,{"data-testid":a.id,size:"compact",disabled:a.disabled,title:a.title,onClick:a.run,style:{position:"absolute",right:8,bottom:8},children:a.label},a.id))]})}function epe(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function J_e(e){const t=[],r=[],n=new Map;for(const o of e)o.group?(n.has(o.group)||(n.set(o.group,[]),r.push(o.group)),n.get(o.group).push(o)):t.push(o);return{ungrouped:t,groups:r.map(o=>({name:o,groupId:epe(o),properties:n.get(o)}))}}const Jo=[];function X_e(e){const t=Jo.findIndex(r=>r.owner===e.owner&&r.id===e.id);return t>=0&&Jo.splice(t,1),Jo.push(e),()=>{const r=Jo.indexOf(e);r>=0&&Jo.splice(r,1)}}function Q_e(e){return Jo.find(t=>t.admits(e))??null}const e3e={id:"design",title:"Design"},Jk=Symbol.for("volter.editor.layout-host"),Xk=globalThis;function t3e(e){Xk[Jk]=e}function td(){const e=Xk[Jk];if(!e)throw new Error("Editor layouts require an editor host.");return e}function r3e(e){return z.createElement(td().Frame,e)}function n3e(){return z.createElement(td().Header)}function o3e(){return z.createElement(td().Footer)}function i3e(e){return z.createElement(td().Workspace,e)}function a3e(e){return z.createElement(td().Document,e)}let mf=null;function s3e(e){return mf=e,()=>{mf===e&&(mf=null)}}function l3e(){return mf}function PC(e){return`resource:${e}`}function TC(e){return e.slice(e.lastIndexOf("/")+1)}function OC(e){if(e.includes("\0"))throw new Error("Resource path cannot contain a NUL byte.");const t=e.replaceAll("\\","/");if(t.startsWith("/")||/^[a-zA-Z][a-zA-Z\d+.-]*:/.test(t))throw new Error(`Resource path must be project-relative: "${e}".`);const r=[];for(const n of t.split("/"))if(!(n===""||n===".")){if(n===".."){if(r.length===0)throw new Error(`Resource path escapes the project root: "${e}".`);r.pop();continue}r.push(n)}if(r.length===0)throw new Error("Resource path cannot be empty.");return r.join("/")}function tpe(e,t){const r=e.trim();if(!r||r==="."||r===".."||r.includes("/")||r.includes("\\")||r.includes("\0"))throw new Error(`${t} must be one non-empty path segment.`);return r}class rpe{descriptors=new Map;keyByLocation=new Map;inactive=new Set;registerProject(t,r,n){const o=OC(r),i=`project://${o}`,a=this.existingAt(i,t);return a||this.add({key:PC(crypto.randomUUID()),kind:t,scope:"project",displayName:n??TC(o),location:i,sessionId:null})}registerSession(t,r,n,o){const i=tpe(r,"Session id"),a=OC(n),s=`session://${i}/${a}`,u=this.existingAt(s,t);return u||this.add({key:PC(crypto.randomUUID()),kind:t,scope:"session",displayName:o??TC(a),location:s,sessionId:i})}get(t){return this.descriptors.get(t)??null}isActive(t){return this.descriptors.has(t)&&!this.inactive.has(t)}expireSession(t){const r=[];for(const n of this.descriptors.values())n.sessionId!==t||this.inactive.has(n.key)||(this.inactive.add(n.key),r.push(n.key));return r}expireResources(t){const r=[];for(const n of t){const o=this.descriptors.get(n);!o||this.inactive.has(n)||(this.inactive.add(n),this.keyByLocation.get(o.location)===n&&this.keyByLocation.delete(o.location),r.push(n))}return r}clear(){this.descriptors.clear(),this.keyByLocation.clear(),this.inactive.clear()}add(t){if(this.descriptors.has(t.key))throw new Error(`Duplicate resource key "${t.key}".`);if(this.keyByLocation.has(t.location))throw new Error(`Duplicate resource location "${t.location}".`);return this.descriptors.set(t.key,t),this.keyByLocation.set(t.location,t.key),t}existingAt(t,r){const n=this.keyByLocation.get(t);if(!n)return null;const o=this.descriptors.get(n);if(o.kind!==r)throw new Error(`Resource "${t}" is already registered as ${o.kind}, not ${r}.`);if(this.inactive.has(n))throw new Error(`Resource "${t}" has expired.`);return o}}let Vu=null,Qk=null;const zi=new Set,Gv=new Set,Kv=new Set;let Ec=[];function vg(){return Vu!==null}function u3e(e){if(Vu!==e){Vu=e,Vu||(Ec=[]);for(const t of zi)t()}}function yg(){return Vu}function npe(e){return zi.add(e),()=>zi.delete(e)}function c3e(){for(const e of zi)e()}function ope(e){const t={...e,document:e.document===void 0?Qk?.()??null:e.document};Ec.push(t);for(const r of Gv)r(t);for(const r of zi)r()}function d3e(e){Qk=e}function f3e(){return Ec}function p3e(e){return Gv.add(e),()=>Gv.delete(e)}function h3e(e){const t=new Set(e);Ec=Ec.filter(r=>!r.resources.some(n=>t.has(n)));for(const r of Kv)r(e);for(const r of zi)r()}function m3e(e){return Kv.add(e),()=>Kv.delete(e)}class ipe{tails=new Map;run(t,r){return this.runMany([t],r)}async runMany(t,r){const n=[...new Set(t)].sort();if(n.length===0)return r();const o=n.map(l=>this.tails.get(l)??Promise.resolve()),i=Promise.all(o).then(()=>{});let a;const s=new Promise(l=>{a=l}),u=i.then(()=>s);for(const l of n)this.tails.set(l,u);await i;try{return await r()}finally{a();for(const l of n)this.tails.get(l)===u&&this.tails.delete(l)}}}function ape(e,t){if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}class spe{blobs=new Map;retainedBytes=0;async put(t){if(!Number.isSafeInteger(t.revision)||t.revision<0)throw new Error("Snapshot revision must be a non-negative safe integer.");const r=Uint8Array.from(t.bytes),n=await ln(r),o=this.blobs.get(n);if(o){if(!ape(o.bytes,r))throw new Error(`SHA-256 collision for ${n}.`);o.references++}else this.blobs.set(n,{bytes:r,references:1}),this.retainedBytes+=r.byteLength;return{revision:t.revision,contentType:t.contentType,sha256:n,blobKey:n,byteLength:r.byteLength}}release(t){const r=this.requireBlob(t);r.references--,r.references===0&&(this.blobs.delete(t.blobKey),this.retainedBytes-=r.bytes.byteLength)}read(t){const r=this.requireBlob(t);return{revision:t.revision,contentType:t.contentType,bytes:Uint8Array.from(r.bytes),sha256:t.sha256}}has(t){const r=this.blobs.get(t.blobKey);return!!r&&r.bytes.byteLength===t.byteLength}get uniqueByteLength(){return this.retainedBytes}clear(){this.blobs.clear(),this.retainedBytes=0}requireBlob(t){const r=this.blobs.get(t.blobKey);if(!r)throw new Error(`Snapshot blob "${t.blobKey}" is not retained.`);if(t.sha256!==t.blobKey||r.bytes.byteLength!==t.byteLength)throw new Error(`Snapshot reference "${t.blobKey}" does not match its retained blob.`);return r}}const lpe=2e3,upe=64*1024*1024,cpe=16*1024*1024,dpe=.8,$C="project://";class ft extends Error{constructor(t){super(t.message),this.historyError=t,this.name="HistoryOperationError"}}function fpe(e){const r=(e instanceof Error?e.message:typeof e=="string"?e:null)?.trim();return r||null}function tt(e,t,r,n){const o=fpe(n),i=o&&!t.includes(o)?`${t} ${o.endsWith(".")?o:`${o}.`}`:t,a={code:e,message:i,resources:r};return n===void 0?a:{...a,cause:n}}function Yv(e){return`${(e/(1024*1024)).toFixed(1)} MB`}function ppe(e,t){return`${e} ${t}${e===1?"":"s"}`}function hpe(e,t,r,n){return e==="transactions"?`Undo history is near its step limit — ${t} of ${n.maxTransactions} steps in this editing session. Older steps will start dropping when the limit is reached.`:`Undo history is near its memory limit — ${Yv(r)} of ${Yv(n.maxBytes)} of in-memory snapshots, at only ${t} of ${n.maxTransactions} steps. Older steps will start dropping when the memory limit is reached.`}function mpe(e,t,r){const n=e==="transactions"?`${r.maxTransactions}-step limit`:`${Yv(r.maxBytes)} memory limit`;return`Undo history dropped ${ppe(t,"older step")} to stay within its ${n}. Those edits can no longer be undone; saved files are unaffected.`}function qC(e){const t=new Map;for(const n of e)t.set(n.before.blobKey,n.before.byteLength),t.set(n.after.blobKey,n.after.byteLength);let r=0;for(const n of t.values())r+=n;return r}class g3e{registry=new rpe;snapshots=new spe;persistence=new ipe;limits={maxTransactions:lpe,maxBytes:upe,maxTransactionBytes:cpe};drivers=new Map;listeners=new Set;entries=[];cursorValue=0;version=0;pendingExecutions=0;pendingProducers=0;activeTransaction=!1;disposeRequested=!1;disposeComplete=!1;blockedValue=!1;lastErrorValue=null;limitWarningValue=null;lastEvictionValue=null;droppedTotal=0;executionTail=Promise.resolve();publicSnapshot;unsubscribeOwner;constructor(){this.publicSnapshot=this.buildSnapshot(),this.unsubscribeOwner=npe(()=>this.notify())}subscribe=t=>this.disposeRequested?()=>{}:(this.listeners.add(t),()=>this.listeners.delete(t));getSnapshot=()=>{if(vg()){const t=this.buildSnapshot();(t.canUndo!==this.publicSnapshot.canUndo||t.canRedo!==this.publicSnapshot.canRedo||t.undoLabel!==this.publicSnapshot.undoLabel||t.redoLabel!==this.publicSnapshot.redoLabel)&&(this.publicSnapshot=t)}return this.publicSnapshot};reserveProducer(){this.assertNotDisposed(),this.pendingProducers++,this.notify();let t=!1;return()=>{t||(t=!0,this.pendingProducers--,this.finishDisposeIfIdle(),this.disposeComplete||this.notify())}}registerDriver(t){this.assertNotDisposed();const r=t.descriptor.key;if(!this.registry.get(r))throw new Error(`Driver resource "${r}" is not registered.`);if(this.drivers.has(r))throw new Error(`Resource "${r}" already has a driver.`);return this.drivers.set(r,t),()=>{this.drivers.get(r)===t&&this.drivers.delete(r)}}transaction(t,r){return this.validateOptions(t),this.activeTransaction?Promise.reject(new ft(tt("busy","A history transaction cannot nest another transaction.",[]))):this.enqueue(()=>this.transactionNow(t,r))}async transactionNow(t,r){this.assertCanStartTransaction(),this.activeTransaction=!0,this.notify();const n=new Set(t.resources),o=new Map,i=async s=>{if(!n.has(s))throw new Error(`Transaction did not declare resource "${s}".`);const u=o.get(s);if(u)return u;const l=this.requireDriver(s);this.validateResourceScope(l,t);const c=await l.capture(),d=await this.storeCapturedSnapshot(c),f={beforeSnapshot:c,before:d,afterBytes:Uint8Array.from(c.bytes),afterContentType:c.contentType,beforeOwned:!0};return o.set(s,f),f},a={read:async s=>{const u=await i(s);return{revision:u.beforeSnapshot.revision,contentType:u.afterContentType,bytes:Uint8Array.from(u.afterBytes),sha256:u.beforeSnapshot.sha256}},write:async(s,u,l)=>{const c=await i(s);c.afterBytes=Uint8Array.from(u),c.afterContentType=l??c.afterContentType},writeText:async(s,u,l="text/plain")=>{await a.write(s,new TextEncoder().encode(u),l)},writeJson:async(s,u)=>{await a.writeText(s,JSON.stringify(u,null,2),"application/json")}};try{const s=await r(a),u=await this.finishStaging(o);return u.length===0||await this.commitStagedTransaction(t,u),s}finally{for(const s of o.values())s.beforeOwned&&this.snapshots.release(s.before);this.activeTransaction=!1,this.finishDisposeIfIdle(),this.disposeComplete||this.notify()}}undo(){const t=yg();return t?this.executeDelegate(t,"undo"):this.enqueue(()=>this.undoNow())}redo(){const t=yg();return t?this.executeDelegate(t,"redo"):this.enqueue(()=>this.redoNow())}executeEntry(t,r){return this.enqueue(async()=>{const n=this.entries.find(o=>o.id===t);if(!n)return this.lastErrorValue=tt("expired",`History entry "${t}" is no longer recorded, so it cannot be ${r}ne.`,[]),this.notify(),!1;if(n.status==="expired"){const o=tt("expired",`“${n.label}” belongs to an expired session.`,[]);return n.error=o,this.lastErrorValue=o,this.notify(),!1}return this.executeExisting(n,r,!1)})}async executeDelegate(t,r){if(!(r==="undo"?t.canUndo():t.canRedo()))return!1;try{return(r==="undo"?await t.undo():await t.redo())!==!1}finally{this.notify()}}recordAppliedTransaction(t,r){if(this.assertCanRecordAppliedChange(),this.validateOptions(t),r.length===0)return Promise.resolve(!1);const n=new Set(t.resources);if(r.length!==n.size||r.some(o=>!n.has(o.resource)))return Promise.reject(new Error("Applied history changes must exactly match declared resources."));for(const o of r){const i=this.requireDriver(o.resource);this.validateResourceScope(i,t)}return this.enqueue(async()=>{this.assertCanRecordAppliedChange();const o=[];try{for(const i of r){const a=await this.snapshots.put({revision:0,contentType:i.contentType,bytes:i.beforeBytes}),s=await this.snapshots.put({revision:1,contentType:i.contentType,bytes:i.afterBytes});if(a.sha256===s.sha256){this.snapshots.release(a),this.snapshots.release(s);continue}o.push({resource:i.resource,before:a,after:s})}return o.length===0?!1:(this.appendAppliedTransaction(t,o),!0)}catch(i){throw this.releaseChanges(o),this.lastErrorValue=i instanceof ft?i.historyError:tt("apply-failed",`Failed to journal “${t.label.trim()}”.`,r.map(a=>a.resource),i),this.notify(),i}})}assertCanRecordAppliedChange(){if(this.assertNotDisposed(),this.blockedValue)throw this.lastErrorValue?.code==="compensation-failed"?new ft(this.lastErrorValue):new ft(tt("compensation-failed","History is blocked pending recovery.",[]))}reportAppliedChangeFailure(t,r,n){this.blockedValue||(this.lastErrorValue=tt("apply-failed",`Failed to apply “${t.trim()}”; prior state was restored.`,r,n),this.notify())}blockForCompensationFailure(t,r,n){if(this.blockedValue&&this.lastErrorValue?.code==="compensation-failed")return new ft(this.lastErrorValue);const o=tt("compensation-failed",`History recovery failed while applying “${t.trim()}”.`,r,n);return this.blockedValue=!0,this.lastErrorValue=o,this.notify(),new ft(o)}jumpTo(t){return!Number.isInteger(t)||t<0||t>this.entries.length?Promise.reject(new Error(`History cursor ${t} is out of range.`)):this.enqueue(async()=>{for(;this.cursorValue>t;)if(!await this.undoNow())return!1;for(;this.cursorValue<t;)if(!await this.redoNow())return!1;return!0})}expireSession(t){if(this.disposeRequested)return;const r=new Set(this.registry.expireSession(t));r.size!==0&&(this.entries=this.entries.map(n=>n.sessionId===t||n.changes.some(o=>r.has(o.resource))?{...n,status:"expired",error:null}:n),this.notify())}expireResources(t){if(this.disposeRequested)return;const r=new Set(this.registry.expireResources(t));r.size!==0&&(this.entries=this.entries.map(n=>n.changes.some(o=>r.has(o.resource))?{...n,status:"expired",error:null}:n),this.notify())}dispose(){this.disposeRequested||(this.disposeRequested=!0,this.unsubscribeOwner(),this.listeners.clear(),this.finishDisposeIfIdle())}finishDisposeIfIdle(){if(!(!this.disposeRequested||this.disposeComplete||this.activeTransaction||this.pendingExecutions>0||this.pendingProducers>0)){for(const t of this.entries)this.releaseChanges(t.changes);this.entries=[],this.cursorValue=0,this.drivers.clear(),this.registry.clear(),this.snapshots.clear(),this.blockedValue=!1,this.lastErrorValue=null,this.limitWarningValue=null,this.lastEvictionValue=null,this.droppedTotal=0,this.disposeComplete=!0,this.notify()}}async finishStaging(t){const r=[];try{for(const[n,o]of t){const i=await this.snapshots.put({revision:o.beforeSnapshot.revision+1,contentType:o.afterContentType,bytes:o.afterBytes});if(i.sha256===o.before.sha256){this.snapshots.release(i),this.snapshots.release(o.before),o.beforeOwned=!1;continue}r.push({resource:n,before:o.before,after:i}),o.beforeOwned=!1}return r}catch(n){throw this.releaseChanges(r),n}}async commitStagedTransaction(t,r){const n=qC(r);if(n>this.limits.maxTransactionBytes)throw this.releaseChanges(r),new ft(tt("history-limit",`Transaction requires ${n} bytes; the limit is ${this.limits.maxTransactionBytes}.`,r.map(i=>i.resource)));const o={id:crypto.randomUUID(),label:t.label.trim(),detail:t.detail?.trim()||null,timestamp:Date.now(),scope:t.scope,sessionId:t.scope==="session"?t.sessionId:null,changes:r,byteSize:n,status:"committed",error:null};try{this.assertCanRecordAppliedChange(),await this.persistence.runMany(r.map(i=>i.resource),async()=>{this.assertCanRecordAppliedChange(),await this.preflight(o,"redo"),await this.applyWithCompensation(o,"redo")})}catch(i){const a=i instanceof ft?i.historyError:tt("apply-failed",`Failed to commit “${o.label}”.`,r.map(s=>s.resource),i);throw this.lastErrorValue=a,a.code==="compensation-failed"&&(this.blockedValue=!0),this.releaseChanges(r),this.notify(),i}this.truncateRedo(),this.entries.push(o),this.cursorValue=this.entries.length,this.blockedValue||(this.lastErrorValue=null),this.trimToLimits(),this.notify(),this.offerElement(o)}appendAppliedTransaction(t,r){const n=qC(r);if(n>this.limits.maxTransactionBytes)throw this.releaseChanges(r),new ft(tt("history-limit",`Transaction requires ${n} bytes; the limit is ${this.limits.maxTransactionBytes}.`,r.map(i=>i.resource)));const o={id:crypto.randomUUID(),label:t.label.trim(),detail:t.detail?.trim()||null,timestamp:Date.now(),scope:t.scope,sessionId:t.scope==="session"?t.sessionId:null,changes:r,byteSize:n,status:r.every(i=>this.registry.isActive(i.resource))?"committed":"expired",error:null};this.truncateRedo(),this.entries.push(o),this.cursorValue=this.entries.length,this.blockedValue||(this.lastErrorValue=null),this.trimToLimits(),this.notify(),this.offerElement(o)}offerElement(t){if(!vg())return;const r=[];for(const n of t.changes){const o=this.registry.get(n.resource)?.location;if(!o?.startsWith($C))continue;const i=o.slice($C.length);r.includes(i)||r.push(i)}ope({id:t.id,label:t.label,resources:r,undo:()=>this.executeEntry(t.id,"undo"),redo:()=>this.executeEntry(t.id,"redo")})}async undoNow(){if(this.cursorValue===0||this.blockedValue)return!1;const t=this.entries[this.cursorValue-1];if(t.status==="expired"){const r=tt("expired",`“${t.label}” belongs to an expired session.`,[]);return t.error=r,this.lastErrorValue=r,this.notify(),!1}return this.executeExisting(t,"undo")}async redoNow(){if(this.cursorValue>=this.entries.length||this.blockedValue)return!1;const t=this.entries[this.cursorValue];if(t.status==="expired"){const r=tt("expired",`“${t.label}” belongs to an expired session.`,[]);return t.error=r,this.lastErrorValue=r,this.notify(),!1}return this.executeExisting(t,"redo")}async executeExisting(t,r,n=!0){const o=t.changes.map(i=>i.resource);try{return await this.persistence.runMany(o,async()=>{await this.preflight(t,r),t.status=r==="undo"?"undoing":"redoing",t.error=null,this.notify(),await this.applyWithCompensation(t,r)}),r==="undo"?(n&&this.cursorValue--,t.status="undone"):(n&&this.cursorValue++,t.status="committed"),t.error=null,this.lastErrorValue=null,this.notify(),!0}catch(i){const a=i instanceof ft?i.historyError:tt("apply-failed",`Failed to ${r} “${t.label}”.`,o,i);return t.error=a,t.status=a.code==="compensation-failed"?"failed-partial":"failed",this.lastErrorValue=a,a.code==="compensation-failed"&&(this.blockedValue=!0),this.notify(),!1}}async preflight(t,r){for(const n of t.changes){if(!this.registry.isActive(n.resource))throw new ft(tt("expired",`Resource "${n.resource}" is unavailable.`,[n.resource]));const o=r==="undo"?n.after:n.before,i=await this.requireDriver(n.resource).preflight(o);if(!i.ok)throw new ft(tt(i.reason==="expired"?"expired":"conflict",`Resource "${n.resource}" no longer matches “${t.label}”.`,[n.resource]))}}async applyWithCompensation(t,r){const n=r==="undo"?[...t.changes].reverse():[...t.changes],o=[];try{for(const i of n){const a=r==="undo"?i.before:i.after;await this.requireDriver(i.resource).restore(a),o.push(i)}}catch(i){try{for(const a of[...o].reverse()){const s=r==="undo"?a.after:a.before;await this.requireDriver(a.resource).restore(s)}}catch(a){throw new ft(tt("compensation-failed",`History recovery failed while applying “${t.label}”.`,t.changes.map(s=>s.resource),{applyError:i,compensationError:a}))}throw new ft(tt("apply-failed",`Failed to apply “${t.label}”; prior state was restored.`,t.changes.map(a=>a.resource),i))}}enqueue(t){if(this.disposeRequested)return Promise.reject(new Error("History service is disposed."));this.pendingExecutions++,this.notify();const r=()=>(this.assertNotDisposed(),t()),n=this.executionTail.then(r,r);return this.executionTail=n.then(()=>{},()=>{}),n.finally(()=>{this.pendingExecutions--,this.finishDisposeIfIdle(),this.disposeComplete||this.notify()})}async storeCapturedSnapshot(t){const r=await this.snapshots.put({revision:t.revision,contentType:t.contentType,bytes:t.bytes});if(r.sha256!==t.sha256)throw this.snapshots.release(r),new Error("Resource driver returned bytes that do not match its SHA-256.");return r}truncateRedo(){if(this.cursorValue!==this.entries.length){for(const t of this.entries.slice(this.cursorValue))this.releaseChanges(t.changes);this.entries=this.entries.slice(0,this.cursorValue)}}trimToLimits(){if(vg()){this.evaluateLimitWarning();return}let t=0,r=null;for(;this.entries.length>1;){const n=this.snapshots.uniqueByteLength>this.limits.maxBytes,o=this.entries.length>this.limits.maxTransactions;if(!n&&!o)break;r=n?"bytes":"transactions";const[i,...a]=this.entries;this.entries=a,this.releaseChanges(i.changes),this.cursorValue=Math.max(0,this.cursorValue-1),t++}t>0&&(this.droppedTotal+=t,this.lastEvictionValue={budget:r,droppedCount:t,totalDropped:this.droppedTotal,message:mpe(r,t,this.limits)}),this.evaluateLimitWarning()}evaluateLimitWarning(){const t=this.entries.length/this.limits.maxTransactions,r=this.snapshots.uniqueByteLength/this.limits.maxBytes;if(Math.max(t,r)<dpe){this.limitWarningValue=null;return}const n=r>t?"bytes":"transactions";if(this.limitWarningValue?.budget===n)return;const o=this.snapshots.uniqueByteLength;this.limitWarningValue={budget:n,used:n==="bytes"?o:this.entries.length,limit:n==="bytes"?this.limits.maxBytes:this.limits.maxTransactions,message:hpe(n,this.entries.length,o,this.limits)}}releaseChanges(t){for(const r of t)this.snapshots.has(r.before)&&this.snapshots.release(r.before),this.snapshots.has(r.after)&&this.snapshots.release(r.after)}requireDriver(t){const r=this.drivers.get(t);if(!r)throw new Error(`No history resource driver is registered for "${t}".`);return r}validateOptions(t){if(!t.label.trim())throw new Error("History transaction label cannot be empty.");if(t.resources.length===0)throw new Error("History transaction needs a resource.");if(new Set(t.resources).size!==t.resources.length)throw new Error("History transaction resources must be unique.");if(t.scope==="session"&&!t.sessionId?.trim())throw new Error("A session transaction requires a session id.");if(t.scope==="project"&&t.sessionId!==void 0)throw new Error("A project transaction cannot have a session id.")}assertCanStartTransaction(){if(this.assertNotDisposed(),this.blockedValue)throw new ft(tt("compensation-failed","History is blocked pending recovery.",[]));if(this.activeTransaction)throw new ft(tt("busy","Another history operation is already in progress.",[]))}assertNotDisposed(){if(this.disposeRequested)throw new Error("History service is disposed.")}validateResourceScope(t,r){const n=t.descriptor;if(n.scope!==r.scope)throw new Error(`Resource "${n.key}" does not match transaction scope.`);if(r.scope==="session"&&n.sessionId!==r.sessionId)throw new Error(`Resource "${n.key}" belongs to another session.`)}notify(){this.version++,this.publicSnapshot=this.buildSnapshot();for(const t of this.listeners)t()}buildSnapshot(){const t=yg(),r=this.cursorValue>0?this.entries[this.cursorValue-1]:null,n=this.cursorValue<this.entries.length?this.entries[this.cursorValue]:null,o=this.pendingExecutions===0&&this.pendingProducers===0&&!this.activeTransaction;return{version:this.version,transactions:this.entries.map(i=>({...i,changes:i.changes.map(a=>({...a}))})),cursor:this.cursorValue,busy:!o,blocked:this.blockedValue,canUndo:t?t.canUndo():o&&!!r&&r.status!=="expired"&&!this.blockedValue,canRedo:t?t.canRedo():o&&!!n&&n.status!=="expired"&&!this.blockedValue,undoLabel:t?t.undoLabel?.()??null:r?.label??null,redoLabel:t?t.redoLabel?.()??null:n?.label??null,uniqueSnapshotBytes:this.snapshots.uniqueByteLength,lastError:this.lastErrorValue,limitWarning:this.limitWarningValue,lastEviction:this.lastEvictionValue}}}const lo=new TextEncoder,gpe=new TextDecoder;class bpe{constructor(t,r){this.history=t,this.backend=r}resources=new Map;tail=Promise.resolve();commit(t,r){try{this.history.assertCanRecordAppliedChange()}catch(o){return Promise.reject(o)}const n=this.history.reserveProducer();return this.enqueue(()=>(this.history.assertCanRecordAppliedChange(),this.prepareAndCommit(t,r))).finally(n)}replaceSource(t,r,n){try{this.history.assertCanRecordAppliedChange()}catch(i){return Promise.reject(i)}const o=this.history.reserveProducer();return this.enqueue(async()=>{this.history.assertCanRecordAppliedChange();const i=await this.backend.readSource(r);if(i.source===n)return!1;const a=this.resource(r,i.resourcePath);return this.history.transaction({label:t,resources:[a.descriptor.key],scope:"project"},async s=>(await s.writeText(a.descriptor.key,n,"text/typescript"),!0))}).finally(o)}runGesture(t,r){try{this.history.assertCanRecordAppliedChange()}catch(o){return Promise.reject(o)}const n=this.history.reserveProducer();return this.enqueue(async()=>{this.history.assertCanRecordAppliedChange();const o={label:t,files:new Map,applyOrder:[]};try{const i=await r(this.scopedBackend(o));return await this.recordGesture(o),i}catch(i){try{await this.compensateGesture(o)}catch(a){throw this.history.blockForCompensationFailure(t,this.gestureResourceKeys(o),{operationError:i,compensationError:a})}throw i instanceof ft||this.history.reportAppliedChangeFailure(t,this.gestureResourceKeys(o),i),i}}).finally(n)}enqueue(t){const r=this.tail.then(t,t);return this.tail=r.then(()=>{},()=>{}),r}scopedBackend(t){const r=i=>this.applyInGesture(t,i),{runGesture:n,...o}=this.backend;return{...o,writeStyle:(i,a,s)=>r({kind:"style",oid:i,prop:a,value:s}),removeStyle:(i,a)=>r({kind:"style",oid:i,prop:a,value:null}),writeCss:(i,a,s,u,l)=>r({kind:"css",file:i,selector:a,prop:s,value:u,...l!==void 0?{media:l}:{}}),writeText:(i,a)=>r({kind:"text",oid:i,text:a}),writeProp:(i,a,s,u)=>r({kind:"prop",oid:i,prop:a,value:s,...u?.addIfMissing?{addIfMissing:!0}:{},...u?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(i,a)=>r({kind:"prop",oid:i,prop:a,value:null}),writeComponentDefault:(i,a,s)=>r({kind:"component-default",oid:i,prop:a,value:s}),writeStruct:(i,a,s)=>r({kind:"struct",oid:i,op:a,...s}),writeStructMany:(i,a,s)=>r({kind:"struct-many",oids:i,op:a,...s})}}async recordGesture(t){const r=[...t.files.entries()].filter(([,n])=>n.beforeSha!==n.afterSha).map(([n,o])=>({resource:this.resource(n,o.resourcePath).descriptor.key,beforeBytes:lo.encode(o.before),afterBytes:lo.encode(o.after),contentType:"text/plain"}));r.length!==0&&await this.history.recordAppliedTransaction({label:t.label,resources:r.map(n=>n.resource),scope:"project"},r)}async prepareAndCommit(t,r){const n=await this.backend.prepare(r),o=this.response(n);if(!n.changed||!n.file||!n.resourcePath||n.newSource===void 0)return o;const i=this.resource(n.file,n.resourcePath);return await this.history.transaction({label:t,resources:[i.descriptor.key],scope:"project"},a=>a.writeText(i.descriptor.key,n.newSource,"text/plain")),o}async applyInGesture(t,r){const n=await this.backend.prepare(r),o=this.response(n);if(!n.changed||!n.file||!n.resourcePath||n.newSource===void 0||n.prevSource===void 0||n.prevSha===void 0)return o;const i=n.newSha??await ln(lo.encode(n.newSource)),a=t.files.get(n.file);a?(a.knownShas.add(n.prevSha),a.knownShas.add(i)):t.files.set(n.file,{resourcePath:n.resourcePath,before:n.prevSource,beforeSha:n.prevSha,after:n.prevSource,afterSha:n.prevSha,knownShas:new Set([n.prevSha,i])});const s=t.files.get(n.file);s.after=n.newSource,s.afterSha=i,t.applyOrder.push(n.file);const u=await this.backend.applySource(n.file,n.newSource,n.prevSha);if(!u.applied)throw new Error(u.error??`Failed to apply source file "${n.file}".`);return o}async compensateGesture(t){const r=new Set,n=[...t.applyOrder].reverse().filter(o=>r.has(o)?!1:(r.add(o),!0));for(const o of n){const i=t.files.get(o),a=await this.backend.readSource(o),s=await ln(lo.encode(a.source));if(a.sha!==s)throw new Error(`Source file "${o}" returned bytes that do not match its hash.`);if(s===i.beforeSha)continue;if(!i.knownShas.has(s))throw new Error(`Source file "${o}" changed outside the failed gesture.`);const u=await this.backend.applySource(o,i.before,s);if(!u.applied)throw new Error(u.error??`Failed to compensate source file "${o}".`);const l=await this.backend.readSource(o),c=await ln(lo.encode(l.source));if(l.sha!==c||c!==i.beforeSha)throw new Error(`Source file "${o}" compensated with the wrong hash.`)}}gestureResourceKeys(t){return[...t.files.entries()].map(([r,n])=>this.resource(r,n.resourcePath).descriptor.key)}response(t){return{changed:t.changed,...t.result,file:t.file,prevSource:t.prevSource,newSource:t.newSource,prevSha:t.prevSha,newSha:t.newSha}}resource(t,r){const n=this.resources.get(t);if(n)return n;const o=this.history.registry.registerProject("source",r),i={descriptor:o,expectedSha:null,binary:!1},a={descriptor:o,capture:async()=>{const s=await this.backend.readSource(t);return i.binary=s.bytes!==void 0,{revision:0,contentType:i.binary?"application/octet-stream":"text/plain",bytes:s.bytes??lo.encode(s.source),sha256:s.sha}},preflight:async s=>{const u=await this.backend.readSource(t);return i.expectedSha=u.sha,i.binary=u.bytes!==void 0,u.sha===s.sha256?{ok:!0}:{ok:!1,reason:"content-conflict"}},restore:async s=>{const u=i.expectedSha;if(i.expectedSha=null,!u)throw new Error(`Source resource "${t}" was not preflighted.`);const l=this.history.snapshots.read(s).bytes,c=i.binary?l:gpe.decode(l),d=await this.backend.applySource(t,c,u);if(!d.applied)throw new Error(d.error??`Failed to apply source file "${t}".`);if((d.sha??await ln(typeof c=="string"?lo.encode(c):c))!==s.sha256)throw new Error(`Source file "${t}" restored with the wrong hash.`)}};return this.history.registerDriver(a),this.resources.set(t,i),i}}const kC=new WeakMap;function eM(e,t){let r=kC.get(t);r||(r=new WeakMap,kC.set(t,r));const n=e.historyIdentity;let o=r.get(n);return o||(o=new bpe(t,e),r.set(n,o)),o}function b3e(e,t,r){return eM(e,t).replaceSource(r.label,r.file,r.source)}function v3e(e,t){if(!e||!t)return e;const r=eM(e,t),n=(i,a)=>r.commit(i,a),o=r;return{...e,runGesture:(i,a)=>o.runGesture(i,a),writeStyle:(i,a,s)=>n(`Set ${a}`,{kind:"style",oid:i,prop:a,value:s}),removeStyle:(i,a)=>n(`Remove ${a}`,{kind:"style",oid:i,prop:a,value:null}),writeCss:(i,a,s,u,l)=>n(`Set ${s}`,{kind:"css",file:i,selector:a,prop:s,value:u,...l!==void 0?{media:l}:{}}),writeText:(i,a)=>n("Edit Text",{kind:"text",oid:i,text:a}),writeProp:(i,a,s,u)=>n(`Set ${a}`,{kind:"prop",oid:i,prop:a,value:s,...u?.addIfMissing?{addIfMissing:!0}:{},...u?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(i,a)=>n(`Revert ${a}`,{kind:"prop",oid:i,prop:a,value:null}),writeComponentDefault:(i,a,s)=>n(`Apply ${a} to Component`,{kind:"component-default",oid:i,prop:a,value:s}),writeStruct:(i,a,s)=>n(`${a[0]?.toUpperCase()??""}${a.slice(1)}`,{kind:"struct",oid:i,op:a,...s}),writeStructMany:(i,a,s)=>n(`${a[0]?.toUpperCase()??""}${a.slice(1)} ${i.length} Elements`,{kind:"struct-many",oids:i,op:a,...s})}}function vpe(e){if(e&&typeof e=="object"&&"revision"in e){const t=e.revision;typeof t=="number"&&Nie(t)}}async function y3e(e){return bt("/__ui-source/csf-story",e)}async function w3e(e){return bt("/__ui-source/named-style",e)}async function bt(e,t){const r=wu(),n=t&&typeof t=="object"&&!Array.isArray(t)?{...t,...r}:t,o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});o.ok===!1&&o.status===409&&await Wie(o,`Source mutation ${e}`);const i=await Zv(o,e);return vpe(i),i}async function Zv(e,t){Si(e,`Source request ${t} failed`);let r;try{r=await e.json()}catch(n){throw e.ok!==!1?n:new Error(`Source request ${t} failed with HTTP ${e.status}.`,{cause:n})}if(e.ok===!1){const n=r&&typeof r=="object"?String(r.error??r.message??e.statusText):e.statusText;throw new Error(`Source request ${t} failed with HTTP ${e.status}${n?`: ${n}`:""}.`)}return r}const Jv=new Map;function MC(e,t){const r=e.file??t;r&&e.resourcePath&&Jv.set(r,e.resourcePath)}async function ype(e){const t=Jv.get(e);if(t)return t;const r=await bt("/__ui-source/read",{file:e});return Jv.set(e,r.resourcePath),r.resourcePath}async function wpe(e,t,r){const n=await ype(e),o=typeof t=="string";let i;try{i=o?await ln(new TextEncoder().encode(await cf.read(n))):await ln(await cf.readBytes(n))}catch(s){return{applied:!1,error:`Could not read "${n}" to guard the write: ${String(s)}`}}return i!==r?{applied:!1,sha:i,error:"stale: the file changed since this undo/redo entry was recorded"}:(await cf.write(n,t),{applied:!0,sha:o?await ln(new TextEncoder().encode(t)):await ln(t)})}function tM(){return{historyIdentity:Epe,prepare:async e=>{const t=await bt("/__ui-source/prepare",e);return MC(t),t},readSource:async e=>{const t=await bt("/__ui-source/read",{file:e});return MC(t,e),t},applySource:(e,t,r)=>cf.frameOwned()?wpe(e,t,r):bt("/__ui-source/apply",{file:e,source:t,ifMatchSha:r}),writeStyle:(e,t,r)=>bt("/__ui-source/write",{oid:e,prop:t,value:r}),removeStyle:(e,t)=>bt("/__ui-source/write",{oid:e,prop:t,value:null}),writeCss:(e,t,r,n,o)=>bt("/__ui-source/css",{file:e,selector:t,prop:r,value:n,...o!==void 0?{media:o}:{}}),writeText:(e,t)=>bt("/__ui-source/text",{oid:e,text:t}),writeProp:(e,t,r,n)=>bt("/__ui-source/prop",{oid:e,prop:t,value:r,...n?.addIfMissing?{addIfMissing:!0}:{},...n?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(e,t)=>bt("/__ui-source/prop",{oid:e,prop:t,value:null}),writeStruct:(e,t,r)=>bt("/__ui-source/struct",{oid:e,op:t,...r}),writeStructMany:(e,t,r)=>bt("/__ui-source/struct-many",{oids:e,op:t,...r}),forkComponent:(e,t,r)=>bt("/__ui-source/fork-component",{oid:e,definitionOid:t,...r?{name:r}:{}}),extractComponent:(e,t)=>bt("/__ui-source/extract-component",{oid:e,...t?{name:t}:{}}),index:async()=>{const e=await fetch("/__ui-source/index");return Zv(e,"/__ui-source/index")},componentProps:async(e,t)=>{const r=`/__ui-source/component-props?file=${encodeURIComponent(e)}&name=${encodeURIComponent(t.name)}`,n=await fetch(r);return(await Zv(n,"/__ui-source/component-props")).props}}}const Epe={};let su=null,Xv=null;function I1(){if(!su){const e=Promise.resolve().then(()=>fetch("/__editor/project")).then(t=>Mo(t,"`/__editor/project` did not answer the source-write probe")).then(t=>{const r=t.sourceWrite;return Xv=r,r}).catch(()=>(su===e&&(su=null),!1));su=e}return su}function _pe(){return I1()}function E3e(){I1()}function Spe(e){console.warn(`[volter-editor] ${e} mounted before this session's source-write route was confirmed, so its edits are live-only. Remount the surface (reopen the project) to author against the project’s own source.`)}function Rpe(e){return Xv===null&&(I1(),Spe(e)),Xv}function _3e(e){return Rpe(e)?tM():void 0}async function S3e(){return await _pe()?tM():void 0}function xpe(e,t,r){const n=e?.[t];if(n)return n;const o=z.createContext(r);return e&&(e[t]=o),o}const rd=xpe(void 0,"EditorContext",null);function R3e({shell:e,children:t}){return S.jsx(rd.Provider,{value:e,children:t})}function rM(){const e=z.useContext(rd);if(!e)throw new Error("useEditorStore must be used within <EditorProvider>");return e.store}function x3e(){const e=z.useContext(rd);if(!e)throw new Error("useEditorStats must be used within <EditorProvider>");return e.stats}function C3e(){return z.useContext(rd)?.store??null}function A3e(){return z.useContext(rd)?.stats??null}function Cpe(e,t){return e==="selection"&&t==="selection"?"selection":"content"}class P3e{_selection=new Set;_history=null;_listeners=new Set;_deferredNotifyTimer=null;_deferredNotifyScope="content";_version=0;_shellVersion=0;_contentVersion=0;_hierarchyRowFacetVersion=0;subscribe=t=>(this._listeners.add(t),()=>this._listeners.delete(t));getSnapshot=()=>this._version;getShellSnapshot=()=>this._shellVersion;get contentVersion(){return this._contentVersion}get hierarchyRowFacetVersion(){return this._hierarchyRowFacetVersion}get projectHistory(){return this._history}_notify(t="content",r="shell",n=t!=="selection"){this._deferredNotifyTimer!==null&&(clearTimeout(this._deferredNotifyTimer),this._deferredNotifyTimer=null),this._beforeNotify(),this._version++,r==="shell"&&this._shellVersion++,t!=="selection"&&this._contentVersion++,n&&this._hierarchyRowFacetVersion++;for(const o of this._listeners)o()}_transformMode="combined";_transformSpace="world";_snapEnabled=!1;_snapValues={translate:1,rotate:15,scale:.25};_snapToSurface=!1;_rotationSnap=!1;_snap2D={step:8,offsetX:0,offsetY:0,primaryEvery:8,rotationOffset:0,rotationStep:15,scaleStep:.1,relative:!1,pixel:!0};_scaleSnap=!1;_smartSnap={enabled:!1,parent:!0,others:!0,guides:!0,sides:!0,center:!0};_preserveChildrenTransform=!1;_pivotMode="active-element";_gizmoAnchor="auto";_showHelpers=!0;_showGizmos=!0;_helperVisibility={bounds:!1,lights:!0,cameras:!0,colliders:!0,joints:!0,particles:!0,lod:!0,audio:!0,splines:!0,navmesh:!0,constraints:!0,reflectionProbes:!0,triggerVolumes:!0,skeletons:!1,weights:!1,cursor:!0,empties:!0};get transformMode(){return this._transformMode}get transformSpace(){return this._transformSpace}get snapEnabled(){return this._snapEnabled}get snapValues(){return this._snapValues}get snapToSurface(){return this._snapToSurface}get snap2D(){return this._snap2D}setSnap2D(t){this._snap2D={...this._snap2D,...t},this._notify()}get rotationSnap(){return this._rotationSnap}get scaleSnap(){return this._scaleSnap}setRotationSnap(t){this._rotationSnap=t,this._notify()}setScaleSnap(t){this._scaleSnap=t,this._notify()}get smartSnap(){return this._smartSnap}get preserveChildrenTransform(){return this._preserveChildrenTransform}get pivotMode(){return this._pivotMode}get gizmoAnchor(){return this._gizmoAnchor}get showHelpers(){return this._showHelpers}get showGizmos(){return this._showGizmos}get helperVisibility(){return this._helperVisibility}setTransformMode(t){this._transformMode=t,this._notify()}setTransformSpace(t){this._transformSpace=t,this._notify()}toggleSnap(){this._snapEnabled=!this._snapEnabled,this._notify()}setSnapValues(t){this._snapValues={...this._snapValues,...t},this._notify()}setSmartSnap(t){this._smartSnap={...this._smartSnap,...t},this._notify()}toggleSnapToSurface(){this._snapToSurface=!this._snapToSurface,this._notify()}togglePreserveChildrenTransform(){this._preserveChildrenTransform=!this._preserveChildrenTransform,this._notify()}setPivotMode(t){this._pivotMode=t,this._notify()}setGizmoAnchor(t){this._gizmoAnchor=t,this._notify()}toggleGizmos(){this._showGizmos=!this._showGizmos,this._notify()}toggleHelpers(){this._showHelpers=!this._showHelpers,this._notify()}toggleHelperType(t){this._helperVisibility[t]=!this._helperVisibility[t],this._helperVisibility[t]&&(this._showHelpers=!0),this._notify()}_viewportActionListeners=new Set;onViewportAction=t=>(this._viewportActionListeners.add(t),()=>this._viewportActionListeners.delete(t));requestViewportAction(t){for(const r of this._viewportActionListeners)r(t)}focusOnEntity(t){this.requestViewportAction({type:"focus-entity",id:t})}focusOnSelection(){this.requestViewportAction({type:"focus-selection"})}frameAll(){this.requestViewportAction({type:"frame-all"})}zoomView(t){this.requestViewportAction({type:"zoom-view",direction:t})}focusOnScene(){this.requestViewportAction({type:"focus-scene"})}snapSelectionToFloor(){this.requestViewportAction({type:"snap-selection-to-floor"})}setViewPreset(t){this.requestViewportAction({type:"set-view-preset",preset:t})}stepView(t){this.requestViewportAction({type:"step-view",step:t})}toggleCameraView(){this.requestViewportAction({type:"toggle-camera-view"})}toggleProjection(){this.requestViewportAction({type:"toggle-projection"})}setCameraPose(t,r,n){this.requestViewportAction({type:"set-camera-pose",position:t,target:r,...n!==void 0?{fov:n}:{}})}notifyChange(t="content",r="shell",n=t!=="selection"){this._notify(t,r,n)}_notifyDeferred(t="content"){if(this._deferredNotifyTimer!==null){this._deferredNotifyScope=Cpe(this._deferredNotifyScope,t);return}this._deferredNotifyScope=t,this._deferredNotifyTimer=setTimeout(()=>{this._deferredNotifyTimer=null;const r=this._deferredNotifyScope;this._deferredNotifyScope="content",this._notify(r)},0)}attachHistory(t){if(this._history!==t){if(this._history)throw new Error("EditorStore is already attached to project history.");this._history=t,this._onHistoryAttached()}}get selectedEntityId(){const t=this._selection;return t.size===0?null:[...t].at(-1)}get selectedEntityIds(){return this._selection}get canUndo(){return this._history?.getSnapshot().canUndo??!1}get canRedo(){return this._history?.getSnapshot().canRedo??!1}notifyIngestEdit(){this._notify()}select(t,r="immediate"){const n=this._selection;n.clear(),t&&n.add(t),r==="deferred"?this._notifyDeferred("selection"):this._notify("selection")}selectMultiple(t,r="immediate"){this._selection=new Set(t),r==="deferred"?this._notifyDeferred("selection"):this._notify("selection")}applySelectionBeforePresentation(t){this._selection=new Set(t);let r=!1;return()=>{r||(r=!0,this._notify("selection"))}}addToSelection(t){this._selection.add(t),this._notify("selection")}toggleSelection(t){const r=this._selection;r.has(t)?r.delete(t):r.add(t),this._notify("selection")}_beforeNotify(){}_onHistoryAttached(){}}function wg(e){return Promise.reject(new Error(`This editor tier cannot ${e}.`))}const nM={openPersistence:()=>wg("persist Asset Lab documents"),replaceSource:()=>wg("write project source"),saveThumbnailFraming:()=>wg("write project thumbnail framing")};let gf=nM;function T3e(e){if(gf!==e){if(gf!==nM)throw new Error("An asset document write policy is already installed.");gf=e}}function O3e(){return gf}const Ape=["work","pre-layout","style-and-layout","render"],oM=128;function iM(e){const t=w=>w!==null&&typeof w=="object"&&!Array.isArray(w)?w:null,r=w=>typeof w=="number"&&Number.isFinite(w)&&w>=0?Math.round(w):null,n=w=>typeof w=="string"&&w&&w.replace(/[\u0000-\u001f\u007f]/g,"").slice(0,120)||null,o=w=>{if(typeof w!="string"||w.length>8192)return null;try{const _=new URL(w);return["http:","https:","file:"].includes(_.protocol)?`${_.protocol==="file:"?"file://":_.origin}${_.pathname}`.slice(0,240):null}catch{return null}},i=t(e);if(!i||!Array.isArray(i.scripts))return;const a=r(i.ageMs),s=r(i.durationMs),u=r(i.blockingMs);if(a===null||s===null||u===null)return;const l=[];for(const w of i.scripts.slice(0,3)){const _=t(w);if(!_)continue;const R=r(_.durationMs);R!==null&&l.push({durationMs:R,sourceURL:o(_.sourceURL),sourceFunctionName:n(_.sourceFunctionName),sourceCharPosition:r(_.sourceCharPosition)})}if(l.length>0)return{ageMs:a,durationMs:s,blockingMs:u,scripts:l};const c=t(i.unattributed),d=Ape.find(w=>w===c?.phase),f=r(c?.workMs),p=r(c?.renderMs),h=r(c?.preLayoutMs),m=r(c?.styleAndLayoutMs),v=c?.crossOriginFrames,g=d===void 0||f===null||p===null||h===null||m===null||!Array.isArray(v)?{phase:"not-stated"}:{phase:d,workMs:f,renderMs:p,preLayoutMs:h,styleAndLayoutMs:m,crossOriginFrames:v.slice(0,4).map(o).filter(w=>w!==null)};return{ageMs:a,durationMs:s,blockingMs:u,scripts:l,unattributed:g}}function $3e(e){if(e===null||typeof e!="object"||Array.isArray(e))return;const t=e,r=t.observed;if(typeof r!="number"||!Number.isSafeInteger(r)||r<0||!Array.isArray(t.frames)||t.frames.length>oM)return;const n=[];let o=0;for(const i of t.frames){if(i===null||typeof i!="object"||Array.isArray(i))return;const a=i.sequence;if(typeof a!="number"||!Number.isSafeInteger(a)||a<=o||a>r)return;const s=iM(i);if(!s)return;n.push({...s,sequence:a}),o=a}return{observed:r,frames:n}}const Qv=new Map;function q3e(e,t){Qv.set(e,t),aM()}function aM(){Ope(),Tpe()}const NC=128;let Cu=[],Wu=null,sM=0,ey=!1,yp=!1,wi=null,lM=0;const bf=[];function Ppe(e,t){const r=e.renderStart?e.renderStart-e.startTime:e.duration,n=e.renderStart?t-e.renderStart:0,o=e.styleAndLayoutStart?e.styleAndLayoutStart-e.renderStart:0,i=e.styleAndLayoutStart?t-e.styleAndLayoutStart:0,s=(e.styleAndLayoutStart?[["work",r],["pre-layout",o],["style-and-layout",i]]:[["work",r],["render",n]]).reduce((l,c)=>c[1]>l[1]?c:l)[0],u=[];for(const l of document.querySelectorAll("iframe")){try{const c=new URL(l.src);c.origin!==location.origin&&/^https?:$/.test(c.protocol)&&u.push(c.href)}catch{}if(u.length===4)break}return{phase:s,workMs:r,renderMs:n,preLayoutMs:o,styleAndLayoutMs:i,crossOriginFrames:u}}function Tpe(){if(!(yp||typeof PerformanceObserver>"u"||!(PerformanceObserver.supportedEntryTypes??[]).includes("long-animation-frame")))try{new PerformanceObserver(t=>{for(const r of t.getEntries()){const n=r,o=++lM,i=n.startTime+n.duration;if(!Number.isFinite(i))continue;const a=[];for(const u of n.scripts??[])!Number.isFinite(u.duration)||u.duration<0||(a.push(u),a.sort((l,c)=>c.duration-l.duration),a.length>3&&a.pop());const s=iM({ageMs:0,durationMs:n.duration,blockingMs:n.blockingDuration,scripts:a.map(u=>({durationMs:u.duration,sourceURL:u.sourceURL,sourceFunctionName:u.sourceFunctionName,sourceCharPosition:u.sourceCharPosition})),...a.length===0?{unattributed:Ppe(n,i)}:{}});s&&(bf.push({sequence:o,end:i,reading:s}),bf.length>oM&&bf.shift(),(!wi||i>=wi.end)&&(wi={end:i,reading:s}))}}).observe({type:"long-animation-frame",buffered:!0}),yp=!0}catch{}}function Ope(){if(ey||typeof PerformanceObserver>"u"||!(PerformanceObserver.supportedEntryTypes??[]).includes("longtask"))return;let e;try{e=new PerformanceObserver(t=>{for(const r of t.getEntries()){const n=r.duration;(Wu===null||n>Wu)&&(Wu=n),n>=100&&(sM+=1),Cu.push({start:r.startTime,duration:n}),Cu.length>NC&&(Cu=Cu.slice(-NC))}}),e.observe({type:"longtask",buffered:!0})}catch{return}ey=!0}function $pe(){if(!ey&&!yp)return null;const e=performance.now();return{longestTaskMs:Wu===null?null:Math.round(Wu),tasksOver100ms:sM,...yp?{longAnimationFrame:wi?{...wi.reading,ageMs:Math.max(0,Math.round(e-wi.end))}:null,longAnimationFrames:{observed:lM,frames:bf.map(t=>({...t.reading,sequence:t.sequence,ageMs:Math.max(0,Math.round(e-t.end))}))}}:{}}}function qpe(){const e=performance.now();if(Qv.size===0)return null;const t={};for(const[r,n]of Qv){const o=n(),i=o.lastCallWindow;let a=null;if(i!==null){const s=i.end??e;for(const u of Cu)u.start+u.duration<i.start||u.start>s||(a===null||u.duration>a)&&(a=u.duration)}t[r]={inFlightMs:o.inFlightMs,lastCallMs:o.lastCallMs,maxCallMs:o.maxCallMs,maxCallLabel:o.maxCallLabel,currentPhase:o.currentPhase,completedCalls:o.completedCalls,callsOver5s:o.callsOver5s,callsOver30s:o.callsOver30s,lastCallLongestTaskMs:a===null?null:Math.round(a),wasmMemoryMB:o.wasmMemoryMB}}return t}function IC(e){return!("unavailable"in e)}function kpe(){const t=globalThis.performance?.memory;return!t||typeof t.usedJSHeapSize!="number"||typeof t.totalJSHeapSize!="number"?{unavailable:"performance.memory is unavailable — it is a non-standard Chromium-only API, not exposed by this browser."}:{usedBytes:t.usedJSHeapSize,totalBytes:t.totalJSHeapSize,limitBytes:typeof t.jsHeapSizeLimit=="number"?t.jsHeapSizeLimit:null}}const Mpe=5e3,Npe=4,Ipe=1024*1024;function Eg(e){return Math.round(e/Ipe*100)/100}function jpe(e){const t=e.heap(),r=e.canvases(),n=e.workerCalls(),o=e.stalls();let i=0;for(const a of r)i+=a.width*a.height*Npe;return{heapUsedMB:IC(t)?Eg(t.usedBytes):null,heapLimitMB:IC(t)&&t.limitBytes!==null?Eg(t.limitBytes):null,mountEpochs:e.mountEpochs(),canvases:r.length,canvasMB:Eg(i),...n===null?{}:{workerCalls:n},...o===null?{}:{stalls:o}}}function Dpe(e){const t=new Set;for(const r of e)try{const n=new URL(r.name,"http://volter.invalid").searchParams.get(mk);n!==null&&n.length>0&&t.add(n)}catch{}return t.size}function Lpe(){return{heap:()=>kpe(),mountEpochs:()=>Dpe(performance.getEntriesByType("resource")),canvases:()=>[...document.querySelectorAll("canvas")],workerCalls:()=>qpe(),stalls:()=>$pe()}}let uM=null;function k3e(){return uM}function M3e(e){aM();const t=Lpe(),r=()=>{if(document.visibilityState==="hidden")return;const o=jpe(t);uM=o,e.report(o)};r();const n=setInterval(r,Mpe);return()=>clearInterval(n)}const wp={x:0,y:0,zoom:1};function N3e(e=wp){let t=e;const r=new Set,n=()=>{for(const o of r)o()};return{get:()=>t,setView:(o,i,a)=>{const s=Math.min(4,Math.max(.1,a));t.x===o&&t.y===i&&t.zoom===s||(t={x:o,y:i,zoom:s},n())},setPan:(o,i)=>{const a=t.zoom;t.x===o&&t.y===i||(t={x:o,y:i,zoom:a},n())},setZoom:o=>{const i=Math.min(4,Math.max(.1,o));t.zoom!==i&&(t={x:t.x,y:t.y,zoom:i},n())},reset:()=>{t.x===0&&t.y===0&&t.zoom===1||(t=wp,n())},subscribe:o=>(r.add(o),()=>r.delete(o))}}let Jt=wp;const ty=new Set,I3e={get:()=>vf(),setView:(e,t,r)=>Ah(e,t,r),setPan:(e,t)=>Fpe(e,t),setZoom:e=>Bpe(e),reset:()=>zpe(),subscribe:e=>dM(e)};function cM(){for(const e of ty)e()}function vf(){return Jt}function Ah(e,t,r){const n=Math.min(4,Math.max(.1,r));Jt.x===e&&Jt.y===t&&Jt.zoom===n||(Jt={x:e,y:t,zoom:n},cM())}function Fpe(e,t){Ah(e,t,Jt.zoom)}function Bpe(e){Ah(Jt.x,Jt.y,e)}function zpe(){Jt.x===0&&Jt.y===0&&Jt.zoom===1||(Jt=wp,cM())}function dM(e){return ty.add(e),()=>ty.delete(e)}function j3e(e){if(!(e.x===0&&e.y===0&&e.zoom===1))return e.zoom===1?`translate(${e.x}px, ${e.y}px)`:e.x===0&&e.y===0?`scale(${e.zoom})`:`translate(${e.x}px, ${e.y}px) scale(${e.zoom})`}const Hpe=new Set(["opacity","zIndex","flexGrow","flexShrink","fontWeight","lineHeight"]);function D3e(e){if(typeof e=="number")return e;if(typeof e!="string"||e==="")return;const t=Number.parseFloat(e);return Number.isNaN(t)?void 0:t}function L3e(e,t){if(typeof e!="number"||typeof t!="string")return e;const r=t.trim().match(/^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?([a-z]+|%)$/i)?.[1];return r&&r.toLowerCase()!=="px"?`${e}${r}`:e}function F3e(e,t){return typeof t!="number"?t:t===0||Hpe.has(e)?String(t):`${t}px`}const Upe={hidden:!1,interactive:!1,pickLock:!1},fM=new Map;function Ph(e){return fM.get(e)??Upe}function j1(e,t){fM.set(e,{...Ph(e),...t})}function nd(e){return Ph(e).hidden}function Vpe(e,t){j1(e,{hidden:t})}function B3e(e){Vpe(e,!nd(e))}function Wpe(e){return Ph(e).interactive}function Gpe(e,t){j1(e,{interactive:t})}function z3e(e){Gpe(e,!Wpe(e))}function D1(e){return Ph(e).pickLock}function Kpe(e,t){j1(e,{pickLock:t})}function H3e(e){Kpe(e,!D1(e))}let jC=!1;const pM=new Set(["viewport","hierarchy","inspector","workspace"]);let hM="viewport";const mM="editorActiveHotkeyScope";function U3e(){const e=document.documentElement.dataset[mM];return e&&pM.has(e)?e:hM}function Ype(e){hM=e,document.documentElement.dataset[mM]=e}function Zpe(e){for(const t of e.composedPath()){if(!(t instanceof HTMLElement)||e.type==="focusin"&&t.hasAttribute("data-editor-hotkey-fallback"))continue;const r=t.dataset.editorHotkeyScope;if(r&&pM.has(r))return r}return null}function DC(e){const t=Zpe(e);t&&Ype(t)}function V3e(){jC||(window.addEventListener("pointerdown",DC,!0),window.addEventListener("focusin",DC,!0),jC=!0)}const W3e={console:{id:"console",title:"Console"},lightExplorer:{id:"light-explorer",title:"Light Explorer"}},G3e={storyActions:{id:"story-actions",title:"Actions"},storyInteractions:{id:"story-interactions",title:"Interactions"},storyAccessibility:{id:"story-accessibility",title:"Accessibility"}},Jpe={enabled:"visible",color:"light.color",intensity:"light.intensity",range:"light.distance",shadows:"shadow.cast"};function gM(e){const t=[];return Mp(e.hierarchy,r=>{r.kind==="light"&&t.push(r)}),t}function K3e(e){return gM(e).length}function bM(e,t){return e.find(r=>r.path===Jpe[t])??null}function lu(e,t,r,n,o){const i=bM(r,n);if(!i||!e.inspector)return{supported:!1,writable:!1,value:null};let a;try{a=e.inspector.get(t,i.path)}catch{a=void 0}return{supported:!0,writable:i.readonly!==!0,value:o(a)?a:null}}const LC=e=>typeof e=="boolean",Xpe=e=>typeof e=="string",FC=e=>typeof e=="number"&&Number.isFinite(e);function Y3e(e){return gM(e).map(t=>{let r=[];try{r=e.inspector?.properties(t.id)??[]}catch{}const n=e.hierarchy.nativeObject?.(t.id)?.type;return{id:t.id,name:t.label,type:t.typeLabel??n??"Light",enabled:lu(e,t.id,r,"enabled",LC),color:lu(e,t.id,r,"color",Xpe),intensity:lu(e,t.id,r,"intensity",FC),range:lu(e,t.id,r,"range",FC),shadows:lu(e,t.id,r,"shadows",LC)}})}function Z3e(e,t,r,n){if(!e.inspector)return 0;let o=0;for(const i of t){let a=null;try{a=bM(e.inspector.properties(i),r)}catch{continue}!a||a.readonly||(jD(e,i,a.path,n),o++)}return o}const yf=new Map,wf=new Map,ry=new Set;let vM=0;function yM(){vM++;for(const e of[...ry])e()}function J3e(e,t){const r=yf.get(e),n=t===null?null:Math.max(0,Math.round(t.headerWidth));(t===null?r===void 0:r?.headerWidth===n&&r.shelf===t.shelf)||(t===null||n===null?yf.delete(e):yf.set(e,{headerWidth:n,shelf:t.shelf}),yM())}function X3e(e){return yf.get(e)??null}function Q3e(e){return wf.get(e)??null}function eSe(e,t){(wf.get(e)??null)!==t&&(t===null?wf.delete(e):wf.set(e,t),yM())}function tSe(e){return ry.add(e),()=>{ry.delete(e)}}function rSe(){return vM}const Qpe=5742335;function wM(e,t,r){return e<<16|t<<8|r}function BC(e){const t=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e.trim())?.[1];if(t){const o=t.length===3?[...t].map(i=>`${i}${i}`).join(""):t;return Number.parseInt(o.slice(0,6),16)}const r=/^rgba?\(\s*(\d+(?:\.\d+)?)\s*(?:,\s*|\s+)(\d+(?:\.\d+)?)\s*(?:,\s*|\s+)(\d+(?:\.\d+)?)/i.exec(e.trim());if(!r)return null;const n=r.slice(1,4).map(o=>Math.round(Number(o)));return n.some(o=>o<0||o>255)?null:wM(n[0],n[1],n[2])}function _c(e){const t=BC(e);if(t!==null||typeof document>"u")return t;if(typeof CSS<"u"&&!CSS.supports("color",e))return null;const r=document.createElement("canvas").getContext("2d");return r?(r.fillStyle="#010203",r.fillStyle=e,BC(String(r.fillStyle))):null}function gr(e){return typeof document>"u"?null:e?.closest(`.${tb}`)??document.querySelector(`.${tb}`)}function zC(e){const t=Math.round((e>>16&255)*.42),r=Math.round((e>>8&255)*.42),n=Math.round((e&255)*.42);return wM(t,r,n)}function Je(e,t){return e&&typeof getComputedStyle<"u"?getComputedStyle(e).getPropertyValue(t).trim():""}const EM={"--volter-viewport-background":"--vscode-volter-viewport-background","--volter-viewport-grid":"--vscode-volter-viewport-grid","--volter-viewport-axis-x":"--vscode-volter-viewport-axisX","--volter-viewport-axis-y":"--vscode-volter-viewport-axisY","--volter-viewport-axis-z":"--vscode-volter-viewport-axisZ","--volter-viewport-selection":"--vscode-volter-viewport-selection","--volter-viewport-active":"--vscode-volter-viewport-active","--volter-viewport-wire":"--vscode-volter-viewport-wire","--volter-gizmo-x":"--vscode-volter-gizmo-x","--volter-gizmo-y":"--vscode-volter-gizmo-y","--volter-gizmo-z":"--vscode-volter-gizmo-z","--volter-gizmo-navigation-x":"--vscode-volter-gizmo-navigationX","--volter-gizmo-navigation-y":"--vscode-volter-gizmo-navigationY","--volter-gizmo-navigation-z":"--vscode-volter-gizmo-navigationZ","--volter-gizmo-hover":"--vscode-volter-gizmo-hover","--volter-gizmo-drag":"--vscode-volter-gizmo-drag"};function Sc(e,t){const r=EM[t];return(r?Je(e,r):"")||Je(e,t)}function nSe(e){const t=gr(e),r=Sc(t,"--volter-viewport-selection")||Je(t,"--volter-accent"),n=_c(r||YA.color.accent.default)??Qpe,o=_c(Sc(t,"--volter-viewport-active")),i=Je(t,"--volter-viewport-outline-style"),a=Number.parseFloat(Je(t,"--volter-viewport-outline-width")),s=Je(t,"--volter-viewport-outline-hidden");return{visible:n,hidden:zC(n),...o===null?{}:{active:{visible:o,hidden:zC(o)}},...i===""&&s===""&&!Number.isFinite(a)?{}:{outline:{style:i==="crisp"?"crisp":"soft",width:Number.isFinite(a)&&a>0?a:null,hidden:s!=="false"}}}}function oSe(e){return _M(e).background!==null}function iSe(e){const t=_M(e).background;if(t===null)return!1;const r=t>>16&255,n=t>>8&255,o=t&255;return(.2126*r+.7152*n+.0722*o)/255>.5}function _M(e){const t=gr(e),r=n=>{const o=Sc(t,n);return o?_c(o):null};return{background:r("--volter-viewport-background"),grid:r("--volter-viewport-grid"),axisX:r("--volter-viewport-axis-x"),axisY:r("--volter-viewport-axis-y"),axisZ:r("--volter-viewport-axis-z"),axisLineWidth:(()=>{const n=Je(t,"--volter-viewport-axis-line-width"),o=n?Number.parseFloat(n):Number.NaN;return Number.isFinite(o)?o:null})(),active:r("--volter-viewport-active")}}function aSe(e){const t=gr(e),r=i=>{const a=Sc(t,i);return a?_c(a):null},n=i=>{const a=Je(t,i);if(!a)return null;const s=Number.parseFloat(a);return Number.isFinite(s)?s:null},o=i=>{const a=r(`${i}-x`),s=r(`${i}-y`),u=r(`${i}-z`);return a!==null&&s!==null&&u!==null?[a,s,u]:null};return{axes:o("--volter-gizmo"),navigation:o("--volter-gizmo-navigation"),hover:r("--volter-gizmo-hover"),drag:r("--volter-gizmo-drag"),opacity:n("--volter-viewport-gizmo-opacity"),arrowLength:n("--volter-viewport-gizmo-arrow-length"),arrowHead:n("--volter-viewport-gizmo-arrow-head"),ringWidth:n("--volter-viewport-gizmo-ring-width"),navigationSize:n("--volter-viewport-navigation-size"),background:r("--volter-viewport-background"),navigationForm:(i=>i==="cones"||i==="triad"||i==="godot"?i:"balls")(Je(t,"--volter-viewport-navigation-gizmo")),navigationCorner:Je(t,"--volter-viewport-navigation-corner")==="bottom-left"?"bottom-left":"top-right",highlightSaturation:n("--volter-viewport-gizmo-highlight-saturation"),highlightValue:n("--volter-viewport-gizmo-highlight-value")}}function sSe(e){const t=Je(gr(e),"--volter-viewport-gizmo-size");if(!t)return null;const r=Number.parseFloat(t);return Number.isFinite(r)&&r>0?r:null}function lSe(e){const t=Number.parseFloat(Je(gr(e),"--volter-viewport-marquee-dash"));return Number.isFinite(t)&&t>0?t:null}function uSe(e){const t=gr(e),r=(o,i)=>{const a=Number.parseFloat(Je(t,o));return Number.isFinite(a)&&a>0?a:i},n=r("--volter-viewport-grid-line-width",1);return{lineWidth:n,majorWidth:r("--volter-viewport-grid-major-width",n),majorContrast:r("--volter-viewport-grid-major-contrast",1)}}function cSe(e){const t=gr(e),r=Sc(t,"--volter-viewport-wire"),n=Number.parseFloat(Je(t,"--volter-viewport-wire-opacity"));return{color:r?_c(r):null,opacity:Number.isFinite(n)?n:null}}function dSe(e){const t=gr(e),r=Number.parseFloat(Je(t,"--volter-viewport-selection-box-width"));return{edges:Je(t,"--volter-viewport-selection-box")==="edges",frame:Je(t,"--volter-viewport-selection-box-frame")==="object"?"object":"world",lineWidth:Number.isFinite(r)&&r>0?r:null}}function SM(){const e=gr();return["--volter-viewport-chrome-bar","--volter-viewport-chrome-view-name","--volter-viewport-chrome-tools","--volter-viewport-chrome-display","--volter-viewport-chrome-transform-controls"].map(t=>Je(e,t)).join("|")}function ehe(e){const[t,r,n,o,i]=e.split("|"),a=["strip","pills"],s=["menu","gizmo","bar"],u=["bar-start","bar-end"],l=(c,d,f)=>d.includes(c)?c:f;return{bar:l(t,a,"none"),viewName:l(r,s,"text"),tools:l(n,u,"shelf"),display:l(o,u,"corner"),transformControls:i==="bar"?"bar":"header"}}let ny=null;function the(e){return xM(null,()=>{ny=SM(),e()})}function HC(){return ny??=SM(),ny}let oy=null;function RM(){const e=gr();return JSON.stringify([jy.map(t=>Je(e,`--volter-viewport-word-${t}`)),Je(e,"--volter-viewport-word-helpers")])}function rhe(e){return xM(null,()=>{oy=RM(),e()})}function UC(){return oy??=RM(),oy}function fSe(){const e=z.useSyncExternalStore(rhe,UC,UC);return z.useMemo(()=>{const[t,r]=JSON.parse(e),n={};return jy.forEach((o,i)=>{t[i]&&(n[o]=t[i])}),{shading:n,helpers:r||void 0}},[e])}function pSe(){const e=z.useSyncExternalStore(the,HC,HC);return z.useMemo(()=>ehe(e),[e])}function xM(e,t){t();const r=gr(e);if(!r||typeof MutationObserver>"u")return()=>{};const n=new MutationObserver(t);n.observe(r,{attributes:!0,attributeFilter:["style"]});const o=nhe(r,t);return()=>{n.disconnect(),o()}}const jd=new Set;let Ko=null,_g="";function nhe(e,t){const r=()=>Object.values(EM).map(n=>Je(e,n)).join("|");return jd.add(t),!Ko&&typeof document<"u"&&document.head&&(_g=r(),Ko=new MutationObserver(()=>{const n=r();if(n!==_g){_g=n;for(const o of[...jd])o()}}),Ko.observe(document.head,{childList:!0,subtree:!0,characterData:!0})),()=>{jd.delete(t),jd.size===0&&Ko&&(Ko.disconnect(),Ko=null)}}let Au=[],CM=0;const iy=new Set;function Sg(){CM++;for(const e of iy)e()}function hSe(e){return iy.add(e),()=>iy.delete(e)}function mSe(){return CM}function ohe(){const e=new Set,t=[];for(const r of Au){const n=typeof r.actions=="function"?r.actions():r.actions;for(const o of n){const i=`tool:${o.id}`;e.has(i)||(e.add(i),t.push({...o,id:i}))}}return t}function gSe(e){if(typeof e.actions!="function"){const r=ohe();for(const n of e.actions)if(r.some(o=>o.id===`tool:${n.id}`))throw new Error(`action "tool:${n.id}" is already contributed.`)}Au=[...Au,e];const t=e.subscribe?.(Sg);return Sg(),()=>{t?.(),Au=Au.filter(r=>r!==e),Sg()}}function br(e,t){return{...t,iconName:e}}const bSe=br("outliner-object",Ip),ihe=br("outliner-light",My),ahe=br("outliner-camera",Np),she=br("outliner-audio",B7),lhe=br("outliner-data",E7),VC=br("outliner-mesh",Ip),AM={react:xA,canvas:r9,scene:jA,mesh:VC,"skinned-mesh":VC,"mesh-data":lhe,light:ihe,camera:ahe,audio:she,"reflection-probe":IA,group:X2,object:AA,component:qf,img:hu,a:C7,ul:wm,ol:wm,li:wm,button:Yg,sprite:hu,animatedsprite:I7,nineslicesprite:hu,tilingsprite:hu,text:U7,graphics:Yg,container:X2},vSe=br("outliner-render-on",Np),ySe=br("outliner-render-off",y7),wSe=br("outliner-exclude-on",w7),ESe=br("outliner-exclude-off",Yg),PM=new Set;function _Se(e,t=AA){const r=AM[e];if(r)return r;for(const n of PM)if(e.startsWith(n))return br(e,t);return t}const TM=new Set(["mesh-data"]),OM=new Set;function SSe(e){e.namespace!==void 0&&PM.add(e.namespace);for(const[t,r]of Object.entries(e.glyphs??{}))AM[t]=r;for(const t of e.datablocks??[])TM.add(t);for(const t of e.datablockPrefixes??[])OM.add(t)}function RSe(e){if(e===void 0)return!1;if(TM.has(e))return!0;for(const t of OM)if(e.startsWith(t))return!0;return!1}function $M(e){const t=mr(e);return t instanceof No?t.childAdapters().find(n=>n.kind==="stage"&&n.adapter.capabilities.transform)?.worldId??null:null}function uhe(e){const t=mr(e);if(!(t instanceof No))return!0;if(!t.childAdapters().some(o=>o.kind==="stage"))return!1;const n=$M(e);return n===null?!0:!nd(n)}const che=()=>{};function xSe(e,t){if(t===che)return{hierarchy:e.hierarchy,isComponentRoot:()=>!1};const r=n=>{if(!n)return null;const o=t(n.id)?.componentRoot;return o===void 0?n:{...n,role:"component",typeLabel:o}};return{hierarchy:{roots:()=>e.hierarchy.roots().map(n=>r(n)),node:n=>r(e.hierarchy.node(n))},isComponentRoot:n=>t(n)?.componentRoot!==void 0}}function CSe(e,t,r){for(const n of t)n.more||r(n.node.id)&&e.set(n.node.id,!1);return e}const WC=20,dhe="__more__:",fhe=500;function phe(e,t,r){return e?Math.max(WC,t.get(r)??WC):Number.POSITIVE_INFINITY}function hhe(e,t,r,n,o){return{node:{id:`${dhe}${e}`,label:"",kind:"object",parentId:r,childIds:[]},depth:t,pathKey:`${e}/__more__`,hasChildren:!1,hiddenByCollapse:n,more:{parentPathKey:e,hidden:o}}}function ASe(e,t,r=new Map,n=!1){const o=[],i=new Set,a=(s,u,l,c)=>{if(i.has(s.id)||u>fhe)return;i.add(s.id);const d=s.childIds.length>0;o.push({node:s,depth:u,pathKey:l,hasChildren:d,hiddenByCollapse:c});const f=t.has(l);if(n&&f)return;const p=c||f,h=Math.min(s.childIds.length,phe(n,r,l));for(let m=0;m<h;m++){const v=e.node(s.childIds[m]);v&&a(v,u+1,`${l}.${m}`,p)}n&&s.childIds.length>h&&o.push(hhe(l,u+1,s.id,p,s.childIds.length-h))};return e.roots().forEach((s,u)=>{a(s,0,`r${u}`,!1)}),o}function PSe(e){return`${e.pathKey}:${e.node.id}`}function TSe(e,t,r,n,o){const i=Math.max(0,Math.floor(t/n)-o),a=Math.ceil(r/n)+o*2,s=Math.min(e,i+a);return{start:i,end:s}}const mhe=["position","rotation","scale"];function OSe(e){const t=e.role==="component"&&!!e.typeLabel;return{label:e.label,typeSuffix:t?e.typeLabel:null}}const qM={locked:!1};function kM(e){let t;for(const r of mhe){const n=e(r);if(!n||n.writable)return qM;r==="position"&&(t=n.reason)}return t===void 0?{locked:!0}:{locked:!0,reason:t}}class $Se{entries=new Map;source=null;version=Number.NaN;summaryFor(t,r,n){(this.source!==t||this.version!==r)&&(this.entries.clear(),this.source=t,this.version=r);const o=this.entries.get(n);if(o)return o;const i=t.transforms?.editability,a=i?kM(s=>i(n,s)):qM;return this.entries.set(n,a),a}}const ghe={draggable:!0,renamable:!0},bhe={draggable:!1,renamable:!1};function qSe(e){return e.structural?bhe:ghe}function vhe(e){return!e||e.length===0?null:{count:e.length,tooltip:e.map(t=>t.message).join(`
|
|
1405
|
+
`),codes:e.map(t=>t.code)}}class kSe{entries=new Map;source=null;version=Number.NaN;badgeFor(t,r,n){(this.source!==t||this.version!==r)&&(this.entries.clear(),this.source=t,this.version=r);const o=this.entries.get(n);if(o!==void 0)return o;const i=t.diagnosticsFor?vhe(t.diagnosticsFor(n)):null;return this.entries.set(n,i),i}}const Ef=new Map;function MSe(e){return Ef.set(e.documentId,e),()=>{Ef.get(e.documentId)===e&&Ef.delete(e.documentId)}}function yhe(e){return Ef.get(e)??null}function whe(e,t){const r=[...t];return r.length===0||r.some(n=>e.hierarchy.node(n)===null)?null:e.rects?{worldId:null,kind:"dom"}:r.every(n=>e.hierarchy.nativeObject?.(n)!=null)?{worldId:null,kind:"stage"}:null}function Ehe(e,t){const r=e.childAdapters();let n=null;for(const o of t){const i=r.find(a=>e.groupNodeId(a.worldId)===o)??r.find(a=>e.ownerOf(o)===a.worldId);if(!i||n&&n.worldId!==i.worldId)return null;n=i}return n?{worldId:n.worldId,kind:n.kind,adapter:n.adapter}:null}function _he(e,t){const r=[...t];if(r.length===0)return null;if(e instanceof No)return Ehe(e,r);const n=whe(e,r);return n?{...n,adapter:e}:null}function She(e,t){return!t||t.worldId!==null&&nd(t.worldId)?!1:t.kind!=="stage"||t.worldId===null?!0:$M(e)===t.worldId}const Gu=new Map;let MM=0;const ay=new Set;function GC(){MM++;for(const e of[...ay])e()}function NSe(e,t){const r={store:t};return Gu.set(e,r),GC(),()=>{Gu.get(e)===r&&(Gu.delete(e),GC())}}function Rhe(e){return e===null?null:Gu.get(e)?.store??null}function xhe(e){for(const[t,r]of Gu)if(r.store===e)return t;return null}function ISe(e){return ay.add(e),()=>{ay.delete(e)}}function jSe(){return MM}const Xo=new Map;function DSe(e){return Xo.set(e,(Xo.get(e)??0)+1),()=>{const t=(Xo.get(e)??1)-1;t>0?Xo.set(e,t):Xo.delete(e)}}const NM={count:0,surface:null,visible:!1};function Che(e){return e==="stage"||e==="canvas"||e==="dom"?e:null}function KC(e){switch(e){case"scene":case"world":return{kind:"composition"};case"story":return{kind:"story"};case"asset":return{kind:"artifact"};case"document":return{kind:"data"};default:return{kind:"unknown"}}}function Ahe(e){if(e===null)return{kind:"unknown"};const t=Dy().find(o=>o.descriptor.id===e);if(!t)return{kind:"unknown"};const r=t.descriptor.presentation?.()??null,n=KC(r?.kind);return n.kind!=="unknown"?n:KC(t.descriptor.kind)}function Phe(e){return e instanceof No?e.childAdapters().some(t=>t.kind==="stage"):!e.rects&&typeof e.hierarchy.nativeObject=="function"}function sy(e,t,r,n){const o=mr(e),i=uhe(e)&&Phe(o)?"stage":null,a=e.selectedEntityIds.size;if(a===0)return{documentId:t,chrome:n,subject:r,surface:i,selection:NM};const s=_he(o,e.selectedEntityIds);return{documentId:t,chrome:n,subject:r,surface:i,selection:{count:a,surface:Che(s?.kind),visible:She(e,s)}}}function The(e,t,r="document"){const n=Ahe(t);if(Xo.has(t))return{...sy(e,t,n,r),surface:"canvas"};const o=yhe(t);if(o===null){const a=Dy().find(s=>s.descriptor.id===t)?.descriptor.kind;return a!==void 0&&a!=="scene"&&a!=="world"?{documentId:t,chrome:r,subject:n,surface:null,selection:NM}:sy(e,t,n,r)}const i=o.selection().length;return{documentId:t,chrome:r,subject:n,surface:"stage",selection:{count:i,surface:i>0?"stage":null,visible:!0}}}function LSe(e){const t=Ki();return t!==null?The(e,t):sy(e,null,{kind:"unknown"},"document")}function FSe(e){return Rhe(Ki())??e}function Ohe(e){return e.surface!=="stage"?!1:e.selection.count===0?!0:e.selection.surface==="stage"&&e.selection.visible}function BSe(e){return Ohe(e)?"gizmo":"none"}function zSe(e){return e.surface==="stage"&&e.selection.count>0&&e.selection.surface==="stage"&&e.selection.visible}function IM(e){return e.chrome==="embedded"||e.subject.kind==="story"||e.subject.kind==="artifact"}function HSe(e,t){return IM(e)?!0:e.subject.kind==="data"&&!t}function USe(e){return e.chrome==="document"&&IM(e)}let _f=null;const Ep=new Set;function VSe(e){_f=e;for(const t of Ep)t();return()=>{if(_f===e){_f=null;for(const t of Ep)t()}}}function WSe(){return _f}function GSe(e){return Ep.add(e),()=>{Ep.delete(e)}}const _p=1e-9,jM=1e5;function $he(e,t,r){const n=r.end-r.start,o=r.loop&&n>_p;let i=e,a=t,s=!1,u=0;for(;;){const l=r.end-i;if(!o||a<=l+_p){i=Math.min(i+a,r.end);break}if(a-=l,i=r.start,s=!0,u++,u>jM){i=r.start+a%n;break}}return{pos:i,looped:s}}function qhe(e,t,r){const n=r.end-r.start,o=r.loop&&n>_p;let i=e,a=t,s=!1,u=0;for(;;){const l=i-r.start;if(!o||a<=l+_p){i=Math.max(i-a,r.start);break}if(a-=l,i=r.end,s=!0,u++,u>jM){i=r.end-a%n;break}}return{pos:i,looped:s}}function YC(e,t){return e<t.start?t.start:e>t.end?t.end:e}class khe{_currentTime=0;_range={start:0,end:1,loop:!1};_timeScale=1;_playDirection="forward";_playbackState="stopped";get time(){return this._currentTime}get playbackState(){return this._playbackState}get timeScale(){return this._timeScale}set timeScale(t){if(!Number.isFinite(t)||t<0)throw new Error(`[AnimationClock] timeScale must be a finite number >= 0, got ${t}`);this._timeScale=t}get range(){return this._range}setRange(t){const r=t.start??this._range.start,n=t.end??this._range.end,o=t.loop??this._range.loop;if(n<r)throw new Error(`[AnimationClock] range end (${n}) must be >= start (${r})`);this._range={start:r,end:n,loop:o};const i=YC(this._currentTime,this._range);i!==this._currentTime&&this.seek(i)}play(t){this._playDirection=t,this._playbackState="playing"}pause(){this._playbackState="paused"}stop(){this._playbackState="stopped"}seek(t){return this._currentTime=YC(t,this._range),{currentTime:this._currentTime,looped:!1}}advance(t){if(!Number.isFinite(t))throw new Error(`[AnimationClock] advance(dt) requires a finite dt, got ${t}`);const r=Math.abs(t)*this._timeScale,n=this._currentTime;if(r===0)return{currentTime:n,looped:!1};const o=this._playDirection==="forward"?$he(n,r,this._range):qhe(n,r,this._range);return this._currentTime=o.pos,{currentTime:o.pos,looped:o.looped}}}const Dd={start:0,end:0,fps:30},Mhe=150;class KSe{clock=new khe;subjects=[];activeId=null;listeners=new Set;settleListeners=new Set;settleTimer=null;disposed=!1;cachedSnapshot=null;attach(t){return this.subjects.push(t),this.activeId===null?this.setActiveSubject(t.id):(t.seek(this.clock.time),this.notify()),()=>{const r=this.subjects.indexOf(t);if(r<0)return;if(this.subjects.splice(r,1),this.activeId!==t.id){this.notify();return}this.activeId=null;const n=this.subjects[0];n?this.setActiveSubject(n.id):(this.clock.setRange({start:Dd.start,end:Dd.end,loop:!1}),this.notify())}}setActiveSubject(t){const r=this.subjects.find(o=>o.id===t);if(!r)return;this.activeId=t;const n=r.range();this.clock.setRange({start:n.start,end:n.end}),this.applyTime(this.clock.time),this.notify()}get active(){return this.subjects.find(t=>t.id===this.activeId)??null}fps(){return this.active?.range().fps??Dd.fps}play(t="forward"){this.active&&(this.cancelSettle(),this.clock.play(t),this.notify())}pause(){this.clock.pause(),this.cancelSettle(),this.settle(),this.notify()}stop(){this.clock.pause(),this.cancelSettle(),this.applyTime(this.clock.seek(this.clock.range.start).currentTime),this.clock.stop(),this.settle(),this.notify()}seek(t){this.applyTime(this.clock.seek(t).currentTime),this.clock.playbackState!=="playing"&&this.scheduleSettle(),this.notify()}seekFrame(t){this.seek(t/this.fps())}setLoop(t){this.clock.setRange({loop:t}),this.notify()}setTimeScale(t){this.clock.timeScale=t,this.notify()}tick(t){if(this.disposed||this.clock.playbackState!=="playing")return 0;const r=this.clock.time,n=this.clock.advance(t);return this.applyTime(n.currentTime),this.notify(),n.looped?Math.abs(t)*this.clock.timeScale:n.currentTime-r}applyTime(t){const r=this.active;r&&r.seek(t);for(const n of this.subjects)n!==r&&n.seek(t)}onSettled(t){return this.settleListeners.add(t),()=>{this.settleListeners.delete(t)}}scheduleSettle(){this.cancelSettle(),this.settleTimer=setTimeout(()=>{this.settleTimer=null,this.settle()},Mhe)}cancelSettle(){this.settleTimer!==null&&(clearTimeout(this.settleTimer),this.settleTimer=null)}settle(){if(this.disposed)return;const t=this.clock.time;for(const r of[...this.settleListeners])r(t)}snapshot(){const t=this.cachedSnapshot;if(t)return t;const r=this.active?.range()??Dd,n={time:this.clock.time,range:{start:this.clock.range.start,end:this.clock.range.end,fps:r.fps,loop:this.clock.range.loop},playbackState:this.clock.playbackState,timeScale:this.clock.timeScale,activeSubject:this.activeId,subjects:this.subjects.map(o=>({id:o.id,label:o.label}))};return this.cachedSnapshot=n,n}activeClips(){const r=this.active?.clips?.();return r&&r.length>1?r:null}setActiveClip(t){this.active?.setClip?.(t);const r=this.active?.range();r&&this.clock.setRange({start:r.start,end:r.end}),this.applyTime(this.clock.time),this.notify()}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(){this.cachedSnapshot=null;for(const t of[...this.listeners])t()}dispose(){this.disposed=!0,this.cancelSettle(),this.clock.stop(),this.subjects.length=0,this.activeId=null,this.listeners.clear(),this.settleListeners.clear()}}const Sf=new Map,ly=new Set;function ZC(){for(const e of[...ly])e()}function YSe(e,t){return Sf.set(e,t),ZC(),()=>{Sf.get(e)===t&&(Sf.delete(e),ZC())}}function ZSe(e){return e===null?null:Sf.get(e)??null}function JSe(e){return ly.add(e),()=>{ly.delete(e)}}let Rf=null;function XSe(e){return Rf=e,()=>{Rf===e&&(Rf=null)}}function QSe(){return Rf}function DM(e){return e.map((t,r)=>({entry:t,index:r})).sort((t,r)=>t.entry.zOrder-r.entry.zOrder||t.index-r.index).map(({entry:t})=>t)}const Nhe={transform:!1,inspectorFields:!1,persist:!1};class Ihe{capabilities=Nhe;provenance={source:"boundary",label:"read-only",detail:"Declared world without a live editing surface in this viewport — disclosed, not simulated; rows are read-only."};world;reason;store;pickable;constructor(t,r,n,o){this.store=t,this.world=r,this.reason=n??null,o&&(this.pickable={pick:o})}get disclosure(){return this.reason}get label(){return this.world.entryOrScenePath?.split("/").pop()??this.world.id}get node(){return{id:this.world.id,label:this.label,secondaryLabel:this.reason?"Unavailable":"Read-only",role:"boundary",kind:this.world.kind,parentId:null,childIds:[]}}hierarchy={roots:()=>[this.node],node:t=>t===this.world.id?this.node:null};selection={get:()=>[...this.store.selectedEntityIds],set:t=>this.store.selectMultiple(t)};inspector={properties:t=>{if(t!==this.world.id)return[];const r=[{path:"kind",label:"Kind",type:"string",readonly:!0}];return this.world.adapter!==void 0&&r.push({path:"adapter",label:"Adapter",type:"string",readonly:!0}),this.world.entryOrScenePath!==void 0&&r.push({path:"path",label:"Entry / Scene",type:"string",readonly:!0}),r.push({path:"zOrder",label:"Z Order",type:"number",readonly:!0},{path:"pausable",label:"Pausable",type:"boolean",readonly:!0}),this.reason&&r.push({path:"reason",label:"Reason",type:"string",readonly:!0}),r},get:(t,r)=>{if(t===this.world.id)switch(r){case"kind":return this.world.kind;case"adapter":return this.world.adapter;case"path":return this.world.entryOrScenePath;case"zOrder":return this.world.zOrder;case"pausable":return this.world.pausable;case"reason":return this.reason??void 0;default:return}},set:()=>{}}}function jhe(e){const t=[];for(const{worldId:r,adapter:n}of e.childAdapters()){if(!(n instanceof Ihe))continue;const o=n.inspector.get(r,"kind");if(o!=="dom"&&o!=="canvas"||n.inspector.get(r,"reason")!==void 0)continue;const a=n.inspector.get(r,"adapter");a?.startsWith("ingest")||a?.startsWith("module")||t.push({worldId:r,kind:o,path:n.inspector.get(r,"path"),zOrder:Number(n.inspector.get(r,"zOrder")??0),pausable:n.inspector.get(r,"pausable")!==!1})}return t}function eRe(e){return jhe(e)}const tn=[],uy=new Set;function JC(){for(const e of uy)e()}function tRe(e){const t=tn.findIndex(r=>r.owner===e.owner&&r.kind===e.kind);return t>=0&&tn.splice(t,1),tn.push(e),JC(),()=>{const r=tn.indexOf(e);r<0||(tn.splice(r,1),JC())}}const Dhe=[];function rRe(){return tn.length===0?Dhe:tn}function nRe(e){for(let t=tn.length-1;t>=0;t--){const r=tn[t];if(r&&r.kind===e)return r}return null}function oRe(e){return uy.add(e),()=>{uy.delete(e)}}const Lhe={width:null,height:null};let xf=Lhe;const cy=new Set;function Fhe(){return xf}function Bhe(e,t){const r=e===null?null:Math.max(1,Math.round(e)),n=t===null?null:Math.max(1,Math.round(t));if(!(xf.width===r&&xf.height===n)){xf={width:r,height:n};for(const o of cy)o()}}function iRe(){Bhe(null,null)}function zhe(e){return cy.add(e),()=>cy.delete(e)}const aRe="#191c22",sRe="rgba(255, 255, 255, 0.2)",Hhe="#20242a",Ld="#2d323a";function Uhe(){return`linear-gradient(45deg, ${Ld} 25%, transparent 25%, transparent 75%, ${Ld} 75%), linear-gradient(45deg, ${Ld} 25%, transparent 25%, transparent 75%, ${Ld} 75%)`}const Sr=[],dy=new Set,uu=new Map;function Rg(){for(const e of dy)e()}function lRe(e){const t=Sr.findIndex(r=>r.owner===e.owner&&r.medium===e.medium);if(t>=0){const[r]=Sr.splice(t,1);r&&(uu.get(r)?.(),uu.delete(r))}return Sr.push(e),uu.set(e,e.subscribe(Rg)),Rg(),()=>{const r=Sr.indexOf(e);r<0||(Sr.splice(r,1),uu.get(e)?.(),uu.delete(e),Rg())}}const Vhe=[];function uRe(){return Sr.length===0?Vhe:Sr}function cRe(e){for(let t=Sr.length-1;t>=0;t--){const r=Sr[t];if(r&&r.medium===e)return r}return null}function dRe(e){return Sr.find(t=>t.documentId===e)??null}function fRe(e){return dy.add(e),()=>{dy.delete(e)}}function Hi(e){return e.map(t=>`“${t}”`).join(", ")}function Whe(e,t){const r=t.map(n=>n.worldId);return{tone:"error",title:r.length===1?`${e} root ${Hi(r)} failed`:`${r.length} ${e} roots failed`,description:`${t.map(n=>`${n.worldId} (${n.kind}, ${n.identity}): ${n.message}`).join(`
|
|
1406
|
+
`)}
|
|
1407
|
+
If this followed an edit, Undo (Ctrl+Z) restores the previous source and remounts.`}}function Ghe(e,t){return{tone:"loading",title:t.length===0?`Loading ${e}`:t.length===1?`Loading ${e} root ${Hi(t)}`:`Loading ${t.length} ${e} roots`,description:t.length===0?"Reading the project declaration to identify the root that belongs here.":`Waiting for ${Hi(t)} to finish mounting.`}}function Khe(e,t){return t.length===0?{tone:"neutral",title:`No ${e} root`,description:"No declared root belongs to this surface."}:{tone:"neutral",title:"No renderable content",description:(t.length===1?`Root ${Hi(t)} mounted successfully but currently produces no renderable content.`:`Roots ${Hi(t)} mounted successfully but currently produce no renderable content.`)+" If this world builds its content under its play systems, press Play (▶) to run it."}}function pRe(e){if(e.content==="present")return null;const t=new Set(e.rootIds),r=(e.failures??[]).filter(n=>t.has(n.worldId));return r.length>0?Whe(e.surface,r):e.disclosure?{tone:"neutral",title:`No ${e.surface} editor for ${Hi(e.rootIds)}`,description:e.disclosure}:e.phase==="loading"||e.content==="unknown"?Ghe(e.surface,e.rootIds):Khe(e.surface,e.rootIds)}const Sp=globalThis;function fy(){return Sp.__volterBreakpointListeners??=new Set,Sp.__volterBreakpointListeners}function hRe(){return Sp.__volterActiveBreakpoint??null}function mRe(e){Sp.__volterActiveBreakpoint=e;for(const t of fy())t()}function gRe(e){return fy().add(e),()=>fy().delete(e)}function xg(e,t){if(e.setTransformMode(t),t==="select")return;const r=[...e.selectedEntityIds];if(r.length===0)return;const n=xhe(e),i=((n===null?null:mP(n)?.adapter)??nq(e).adapter).transforms?.editability;if(!i)return;let a;for(const s of r){const u=kM(l=>i(s,l));if(!u.locked)return;a??=u.reason}a&&Gj(a)}function Cg({active:e,onArm:t,faIcon:r,action:n,label:o}){return S.jsx(rn,{text:o,hotkey:yi(n),children:S.jsx(Ln,{"aria-label":o,"aria-pressed":e,shape:"segment",size:"comfortable",onClick:t,children:S.jsx(et,{icon:r,size:"md"})})})}function LM({store:e,dimensions:t="3d",size:r="comfortable",variant:n="ghost",showValues:o=!1}){const[i,a]=z.useState(!1),s=z.useRef(null);return z.useEffect(()=>{if(!i)return;const u=l=>{s.current&&!s.current.contains(l.target)&&a(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[i]),S.jsxs("div",{ref:s,className:"volter-viewport-popover-anchor",children:[S.jsxs(UA,{children:[t==="2d"&&S.jsx(rn,{text:"Smart Snap",children:S.jsx(Ln,{"aria-label":"Toggle smart snap","aria-pressed":e.smartSnap.enabled,variant:n,size:r,onClick:()=>e.setSmartSnap({enabled:!e.smartSnap.enabled}),children:S.jsx(et,{icon:PA,size:"md"})})}),S.jsx(rn,{text:t==="2d"?"Grid Snap":"Toggle Snap",hotkey:yi("viewport.toggleSnap"),children:S.jsx(Ln,{"aria-label":"Toggle snap","aria-pressed":e.snapEnabled,variant:n,size:r,onClick:()=>e.toggleSnap(),children:S.jsx(et,{icon:TA,size:"md"})})}),o?[["translate",kn.tool.move,`${e.snapValues.translate}`],["rotate",kn.tool.rotate,`${e.snapValues.rotate}°`],["scale",kn.tool.scale,`${e.snapValues.scale}`]].map(([u,l,c])=>S.jsx(rn,{text:"Snap Settings",children:S.jsxs(Xe,{"aria-label":`${u} snap step`,"aria-haspopup":"dialog","aria-expanded":i,variant:n,size:r,"data-snap-step":u,onClick:()=>a(!i),children:[S.jsx(et,{icon:l,size:"xs"}),c]})},u)):S.jsx(rn,{text:"Snap Settings",children:S.jsx(Ln,{"aria-label":"Snap settings","aria-haspopup":"dialog","aria-expanded":i,variant:n,size:r,onClick:()=>a(!i),children:S.jsx(et,{icon:NA,size:"xs"})})})]}),i&&S.jsx(Fp,{className:"volter-snap-popover",children:S.jsxs(Dp,{gap:2,children:[t==="2d"?S.jsxs(S.Fragment,{children:[S.jsx(nt,{variant:"caption",tone:"muted",children:"Grid Step (px)"}),S.jsx(lt,{type:"number","aria-label":"Grid step",value:e.snap2D.step,step:1,min:1,onChange:u=>e.setSnap2D({step:Number(u.target.value)||8})}),S.jsx(nt,{variant:"caption",tone:"muted",children:"Grid Offset (px)"}),S.jsxs(ti,{gap:1,children:[S.jsx(lt,{type:"number","aria-label":"Grid offset x",value:e.snap2D.offsetX,step:1,onChange:u=>e.setSnap2D({offsetX:Number(u.target.value)||0})}),S.jsx(lt,{type:"number","aria-label":"Grid offset y",value:e.snap2D.offsetY,step:1,onChange:u=>e.setSnap2D({offsetY:Number(u.target.value)||0})})]}),S.jsx(nt,{variant:"caption",tone:"muted",children:"Primary Line Every (steps)"}),S.jsx(lt,{type:"number","aria-label":"Primary line every",value:e.snap2D.primaryEvery,step:1,min:1,onChange:u=>e.setSnap2D({primaryEvery:Number(u.target.value)||8})})]}):S.jsxs(S.Fragment,{children:[S.jsx(nt,{variant:"caption",tone:"muted",children:"Translate"}),S.jsx(lt,{type:"number",value:e.snapValues.translate,step:.25,min:.01,onChange:u=>e.setSnapValues({translate:Number(u.target.value)||1})})]}),t==="2d"?S.jsxs(S.Fragment,{children:[S.jsx(nt,{variant:"caption",tone:"muted",children:"Rotation Offset (deg)"}),S.jsx(lt,{type:"number","aria-label":"Rotation offset",value:e.snap2D.rotationOffset,step:1,onChange:u=>e.setSnap2D({rotationOffset:Number(u.target.value)||0})}),S.jsx(nt,{variant:"caption",tone:"muted",children:"Rotation Step (deg)"}),S.jsx(lt,{type:"number","aria-label":"Rotation step",value:e.snap2D.rotationStep,step:1,min:1,onChange:u=>e.setSnap2D({rotationStep:Number(u.target.value)||15})}),S.jsx(nt,{variant:"caption",tone:"muted",children:"Scale Step"}),S.jsx(lt,{type:"number","aria-label":"Scale step",value:e.snap2D.scaleStep,step:.05,min:.01,onChange:u=>e.setSnap2D({scaleStep:Number(u.target.value)||.1})})]}):S.jsxs(S.Fragment,{children:[S.jsx(nt,{variant:"caption",tone:"muted",children:"Rotate (deg)"}),S.jsx(lt,{type:"number",value:e.snapValues.rotate,step:5,min:1,onChange:u=>e.setSnapValues({rotate:Number(u.target.value)||15})}),S.jsx(nt,{variant:"caption",tone:"muted",children:"Scale"}),S.jsx(lt,{type:"number",value:e.snapValues.scale,step:.05,min:.01,onChange:u=>e.setSnapValues({scale:Number(u.target.value)||.25})})]}),t==="2d"&&S.jsxs(S.Fragment,{children:[[["Use Rotation Snap",e.rotationSnap,()=>e.setRotationSnap(!e.rotationSnap)],["Use Scale Snap",e.scaleSnap,()=>e.setScaleSnap(!e.scaleSnap)],["Snap Relative",e.snap2D.relative,()=>e.setSnap2D({relative:!e.snap2D.relative})],["Use Pixel Snap",e.snap2D.pixel,()=>e.setSnap2D({pixel:!e.snap2D.pixel})]].map(([u,l,c])=>S.jsxs(ti,{gap:2,align:"center",role:"menuitemcheckbox","aria-checked":l,onClick:c,children:[S.jsx(ku,{checked:l,readOnly:!0}),S.jsx(nt,{children:u})]},u)),S.jsx(nt,{variant:"caption",tone:"muted",children:"Smart Snapping"}),[["parent","Snap to Parent"],["others","Snap to Other Nodes"],["sides","Snap to Node Sides"],["center","Snap to Node Center"],["guides","Snap to Guides"]].map(([u,l])=>S.jsxs(ti,{gap:2,align:"center",role:"menuitemcheckbox","aria-checked":e.smartSnap[u],onClick:()=>e.setSmartSnap({[u]:!e.smartSnap[u]}),children:[S.jsx(ku,{checked:e.smartSnap[u],readOnly:!0}),S.jsx(nt,{children:l})]},u))]}),t==="3d"&&S.jsxs(S.Fragment,{children:[S.jsxs(ti,{gap:2,align:"center",onClick:()=>e.toggleSnapToSurface(),children:[S.jsx(ku,{checked:e.snapToSurface,readOnly:!0}),S.jsx(nt,{children:"Snap to Surface"})]}),S.jsxs(nt,{variant:"caption",tone:"dim",children:["Hold ",S.jsx(Ud,{children:"Ctrl"})," while dragging to snap once ·"," ",S.jsx(Ud,{children:yi("viewport.toggleSnap")})," toggles"]}),S.jsxs(nt,{variant:"caption",tone:"dim",children:["Hold ",S.jsx(Ud,{children:yi("viewport.vertexSnapHold")})," during translate for vertex snap"]})]})]})})]})}const Yhe={"active-element":"Active Element","median-point":"Median Point","individual-origins":"Individual Origins"};function Zhe({store:e}){const t=["active-element","median-point","individual-origins"],r=`Pivot: ${Yhe[e.pivotMode]}`;return S.jsx(rn,{text:r,hotkey:yi("viewport.cyclePivot"),children:S.jsx(Ln,{"aria-label":r,"aria-pressed":e.pivotMode!=="active-element",variant:"secondary",onClick:()=>{const n=t.indexOf(e.pivotMode);e.setPivotMode(t[(n+1)%t.length])},children:S.jsx(et,{icon:kA,size:"md"})})})}const Jhe={auto:"Auto",pivot:"Pivot",center:"Center"};function Xhe({store:e}){const t=["auto","pivot","center"],r=`Anchor: ${Jhe[e.gizmoAnchor]}`;return S.jsx(rn,{text:r,children:S.jsx(Ln,{"aria-label":r,"aria-pressed":e.gizmoAnchor!=="auto",variant:"secondary",onClick:()=>{const n=t.indexOf(e.gizmoAnchor);e.setGizmoAnchor(t[(n+1)%t.length])},children:S.jsx(et,{icon:e.gizmoAnchor==="center"?IA:P7,size:"md"})})})}function Qhe({store:e}){const[t,r]=z.useState(!1),n=z.useRef(null);return z.useEffect(()=>{if(!t)return;const o=i=>{n.current?.contains(i.target)||r(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[t]),S.jsxs("div",{ref:n,className:"volter-viewport-popover-anchor",children:[S.jsx(rn,{text:"Transform options",children:S.jsx(Ln,{"aria-label":"Transform options","aria-haspopup":"dialog","aria-expanded":t,variant:"secondary",onClick:()=>r(o=>!o),children:S.jsx(et,{icon:X7,size:"md"})})}),t?S.jsx(Fp,{style:{minWidth:240},children:S.jsxs(Dp,{gap:3,children:[S.jsxs(Xe,{size:"compact",variant:"ghost",onClick:()=>{e.snapSelectionToFloor(),r(!1)},children:["Snap Selection to Floor ",S.jsx(Ud,{children:yi("viewport.snapToFloor")})]}),S.jsxs(ti,{gap:2,align:"center",onClick:()=>e.togglePreserveChildrenTransform(),style:{cursor:"pointer"},children:[S.jsx(ku,{checked:e.preserveChildrenTransform,readOnly:!0}),S.jsx(nt,{children:"Preserve Children Transform"})]}),S.jsx(nt,{variant:"caption",tone:"dim",children:"Keep source-writable children fixed in world space while their parent moves."})]})}):null]})}function eme({store:e}){const[t,r]=z.useState(!1),n=z.useRef(null),o=e.transformSpace==="world"?"Global":"Local";return S.jsxs("div",{className:"volter-viewport-popover-anchor",children:[S.jsx(rn,{text:`Transform orientation: ${o}`,children:S.jsxs(Xe,{ref:n,type:"button",size:"compact",variant:"secondary","aria-label":`Transform orientation: ${o}`,"aria-haspopup":"menu","aria-expanded":t,onClick:()=>r(i=>!i),className:"volter-transform-orientation-trigger",children:[S.jsx(et,{icon:e.transformSpace==="world"?V7:Ip,size:"sm"}),S.jsx("span",{children:o}),S.jsx(et,{icon:NA,size:"xs"})]})}),t&&S.jsx(Iy,{anchorRef:n,align:"start",clamp:!0,"aria-label":"Transform orientation",onDismiss:()=>r(!1),children:["world","local"].map(i=>S.jsxs(WA,{role:"menuitemradio","aria-checked":e.transformSpace===i,onSelect:()=>{e.setTransformSpace(i),r(!1)},children:[S.jsx("span",{className:"volter-menu-check",children:e.transformSpace===i&&S.jsx(et,{icon:OA,size:"xs"})}),i==="world"?"Global":"Local"]},i))})]})}function bRe({store:e}={}){const t=rM(),r=e??t;z.useSyncExternalStore(r.subscribe,r.getShellSnapshot),z.useSyncExternalStore(Mk,Bi,Bi);const[n,o]=z.useState(null),i=n?.closest(".volter-stage-bar")!=null;return S.jsxs(HA,{compact:!0,label:"Transform controls","data-testid":"transform-header-controls",className:"volter-transform-header-controls",children:[S.jsx("span",{ref:o,hidden:!0}),S.jsx(eme,{store:r}),S.jsxs(UA,{children:[S.jsx(Zhe,{store:r}),S.jsx(Xhe,{store:r})]}),S.jsx(LM,{store:r,size:"default",variant:"secondary",showValues:i}),S.jsx(Qhe,{store:r})]})}function vRe({dimensions:e="3d",store:t,otherToolActive:r=!1,onToolArmed:n,viewTools:o,trailingTools:i}={}){const a=rM(),s=t??a;z.useSyncExternalStore(s.subscribe,s.getShellSnapshot),z.useSyncExternalStore(Mk,Bi,Bi);const u=[{mode:"translate",faIcon:kn.tool.move,action:"transform.translate",label:"Move"},{mode:"rotate",faIcon:kn.tool.rotate,action:"transform.rotate",label:"Rotate"},{mode:"scale",faIcon:kn.tool.scale,action:"transform.scale",label:"Scale"}];return S.jsxs(l9,{label:"Transform tools","data-testid":e==="2d"?"canvas-2d-toolstrip":"3d-toolstrip",className:"volter-viewport-toolbar volter-viewport-toolbar-left",children:[S.jsx(Cg,{faIcon:kn.tool.select,action:"transform.select",label:"Select",active:!r&&(s.transformMode==="select"||e==="2d"&&s.transformMode==="combined"),onArm:()=>{n?.(),xg(s,"select")}}),u.map(l=>S.jsx(Cg,{faIcon:l.faIcon,action:l.action,label:l.label,active:!r&&s.transformMode===l.mode,onArm:()=>{n?.(),xg(s,l.mode)}},l.mode)),e==="2d"?null:S.jsx(Cg,{faIcon:kn.tool.transform,action:"transform.combined",label:"Transform (all handles)",active:s.transformMode==="combined",onArm:()=>xg(s,"combined")}),o,e==="2d"?S.jsx(LM,{store:s,dimensions:"2d"}):null,i]})}function yRe(){const e=z.useSyncExternalStore(Kj,O2,O2);return e?S.jsx("div",{role:"status","aria-live":"polite","data-testid":"transient-hint",style:{position:"absolute",left:"50%",bottom:Tt[6],transform:"translateX(-50%)",maxWidth:"min(440px, 80%)",padding:`${Tt[3]}px ${Tt[5]}px`,borderRadius:ge.shape.medium,border:`1px solid ${ge.boundary.strong}`,background:ge.surface.overlay,color:ge.content.primary,fontSize:"var(--volter-font-base)",lineHeight:1.4,textAlign:"center",pointerEvents:"none",zIndex:Cn.toast},children:e.message},e.id):null}let Rp=null;const py=new Set;function FM(){for(const e of py)e()}function wRe(e){Rp=e,FM()}function ERe(){return Rp!==null}function _Re(e){const t=Rp;t&&(Rp=null,FM(),t(e))}function SRe(e){return py.add(e),()=>py.delete(e)}function xp(e,t,r,n){const o=e.pickable?.pick(t,r)??null;return o?e.selection?.resolve?.(o,{intent:n,scopeId:SA()})?.id??o:null}function XC(e,t,r,n,o){const i=e.pickable?.candidates?.(t,r,o?{includeLocked:o}:void 0)??[],a=[],s=new Set;for(const u of i){const l=e.selection?.resolve?.(u,{intent:n,scopeId:SA()})?.id??u;s.has(l)||(s.add(l),a.push(l))}return a}function RRe(e,t,r,n={}){const o=n.intent??"normal",i=mr(e);if(!(i instanceof No))return xp(i,t,r,o);const a=i.childAdapters(),u=Ki()===Ik?[]:a.filter(f=>f.kind!=="stage"),l=a.filter(f=>f.kind==="stage"),c=u.map(f=>({id:f.worldId,zOrder:f.zOrder,worldId:f.worldId,adapter:f.adapter})),d=[...DM(c).reverse(),...l];for(const{worldId:f,adapter:p}of d){if(nd(f)||D1(f))continue;const h=xp(p,t,r,o);if(h)return h}return null}function xRe(e,t,r,n={}){const o=n.intent??"normal",i=n.includeLocked===!0,a=n.adapter??mr(e);if(!(a instanceof No)){const m=XC(a,t,r,o,i),v=xp(a,t,r,o);return m.length>0?m:v?[v]:[]}const s=a.childAdapters(),l=Ki()===Ik?[]:s.filter(m=>m.kind!=="stage"),c=s.filter(m=>m.kind==="stage"),d=l.map(m=>({id:m.worldId,zOrder:m.zOrder,worldId:m.worldId,adapter:m.adapter})),f=[...DM(d).reverse(),...c],p=[],h=new Set;for(const{worldId:m,adapter:v}of f){if(nd(m)||D1(m))continue;const g=XC(v,t,r,o,i),w=xp(v,t,r,o);for(const _ of g.length>0?g:w?[w]:[])h.has(_)||(h.add(_),p.push(_))}return p}const Ui=20,Th=6,Rc=22,L1=10,QC=Ui+Th,e4=Rc+L1,tme=.6,rme=.4,nme=.7,ome=.45;function t4(e,t,r){return e>=t?[1,!0]:e<=r?[0,!1]:[(e-r)/(t-r),!0]}function r4(e,t){const r=Math.max(0,e),n=t?Math.min(1,r/e4):0,[o,i]=t4(n,nme,ome),a=Math.max(0,r-e4*n),s=Math.min(1,a/QC),[u,l]=t4(s,tme,rme),c=l?QC*s:0;return{frame:{scale:s,opacity:u,visible:l,offset:Th*s+Ui},group:t?{scale:n,opacity:o,visible:i,offset:c+L1*n+Rc}:null}}function n4(e,t){e.style.transformOrigin="0 100%",e.style.transform=t.scale>=1?"":`scale(${t.scale})`,e.style.opacity=t.visible?String(t.opacity):"0",e.style.display=t.visible?"":"none"}const ime=640,ame=400,cu=64,qn=64,o4=72,sme=28,Ag=qn+Rc+L1+Ui+Th;function BM(e,t){const r=new Map(e.map(n=>[n.id,n]));return t.sections.map(n=>({key:n.id,label:n.label,stories:n.storyIds.map(o=>r.get(o))}))}const hy=e=>e.split("/").map(t=>t.trim()).filter(Boolean);function zM(e){const t=new Set(e.filter(n=>n.stories.length===1).map(n=>n.key)),r=[];{const n=new Map;for(const o of e){if(!t.has(o.key)){r.push({key:o.key,label:o.label,stories:[...o.stories]});continue}const i=hy(o.label).slice(0,-1).join("/");let a=n.get(i);a||(a={key:`category:${i}`,label:i||null,stories:[]},n.set(i,a),r.push(a)),a.stories.push(...o.stories)}}return r}function lme(e,t,r){const n=zM(BM(e,t)),o=new Map,i=new Map;let a=cu,s=0;n.forEach((c,d)=>{const f=Math.max(1,Math.ceil(Math.sqrt(c.stories.length))),p=Math.ceil(c.stories.length/f),h=c.stories.map(y=>r(y)),m=Array.from({length:f},()=>0),v=Array.from({length:p},()=>0);h.forEach((y,b)=>{const E=b%f,C=Math.floor(b/f);m[E]=Math.max(m[E],y.width),v[C]=Math.max(v[C],y.height)});const g=m.map((y,b)=>m.slice(0,b).reduce((E,C)=>E+C+qn,0)),w=v.map((y,b)=>v.slice(0,b).reduce((E,C)=>E+C+qn,0)),_=d===0?Number.POSITIVE_INFINITY:c.label!==null?Ag:qn+Ui+Th;c.label!==null&&i.set(c.key,{x:cu,y:a,roomAbove:_}),c.stories.forEach((y,b)=>{const E=Math.floor(b/f),C=b%f,N=h[b],{width:q,height:H}=N,F=cu+g[C],T=a+w[E];o.set(y.id,{x:F,y:T,width:q,height:H,roomAbove:E===0?_:qn,withGroupLabel:n.length>1&&E===0&&c.label!==null})});const R=m.reduce((y,b)=>y+b,0)+Math.max(0,f-1)*qn,x=v.reduce((y,b)=>y+b,0)+Math.max(0,p-1)*qn;s=Math.max(s,R),a+=x+Ag});const u=cu*2+s,l=a-Ag+cu;return{layouts:o,groupOrigins:i,width:u,height:l}}const cn=new WeakMap,my=new Set,ume=null;function du(){for(const e of my)e()}function CRe(e){return my.add(e),()=>my.delete(e)}function ARe(e){return e?cn.get(e)?.viewport()??ume:null}function PRe(e,t){const r=e?cn.get(e):void 0;return r?(r.setViewport(t),!0):!1}function TRe(e){const t=e?cn.get(e):void 0;return!t||t.viewport().locked?!1:(t.setRotation(!t.viewport().rotated),!0)}function cme(){const e=Fhe();return{width:e.width??ime,height:e.height??ame}}function i4(e,t,r){if(t.width<=0||t.height<=0)return;const n=Math.max(1,e.clientWidth-o4*2),o=Math.max(1,e.clientHeight-o4*2),i=Math.min(r,Math.max(.1,Math.min(n/t.width,o/t.height)));Ah(e.clientWidth/2-(t.x+t.width/2)*i,e.clientHeight/2-(t.y+t.height/2)*i,i)}function ORe(e){const t=cn.get(e);return t?(t.fitAll(),!0):!1}function $Re(e,t,r){return e?cn.get(e)?.selectAtClientPoint(t,r)??!1:!1}function qRe(e,t,r){return e?cn.get(e)?.zoomAtClientPoint(t,r)??!1:!1}function kRe(e,t,r,n,o){if(t.length===0)throw new Error("A React story board requires at least one story.");const i=e.parentElement;if(!i)throw new Error("A React story board layer must be attached before mounting.");e.dataset.volterReactStoryBoard="true",e.style.contain="none";const a=document.createElement("div");a.dataset.testid="react-story-board",a.dataset.volterReactStoryBoardCanvas="true",a.style.position="absolute",a.style.left="0",a.style.top="0",a.style.transformOrigin="0 0",e.appendChild(a);const s=document.createElement("div");s.dataset.testid="react-story-board-chrome",s.dataset.volterStoryBoardChromeFor=e.dataset.worldId??"",s.style.position="absolute",s.style.inset="0",s.style.zIndex=String(Cn.sticky),s.style.display=e.style.display||"block",s.style.pointerEvents="none",s.style.overflow="visible",i.appendChild(s);const u=new Map,l=new Map,c=new Map,d=new Map,f=new Map,p=new Map,h=BM(t,o.index),m=new Map,v=new Map,g=new Map,w=new Map;let _,R=t.some(L=>L.id===r)?r:t[0].id,x=!1,y=!1;const b=L=>{const D=o.resolve(L,cme(),g.has(L.id)?g.get(L.id):void 0,w.get(L.id)),Y=p.get(L.id);return Y?{...D,width:Y.frame.width,height:Y.frame.height,layout:"fullscreen"}:D},E=()=>{const L=b(t.find(D=>D.id===R));_={storyId:R,selectedViewportId:L.selectedViewportId,locked:L.locked,rotated:L.rotated,choices:L.choices}};E();const C=new Set(h.filter(L=>L.stories.length===1).map(L=>L.key)),N=new Map;for(const L of h)for(const D of L.stories){const Y=(D.title?hy(D.title).at(-1):void 0)??hy(L.label).at(-1);N.set(D.id,C.has(L.key)?Y??D.label:D.label)}const q=zM(h);for(const L of h.flatMap(D=>D.stories)){const D=document.createElement("section");D.dataset.testid="react-story-frame",D.dataset.storyId=L.id,D.dataset.storyLabel=L.label,D.dataset.storyGroup=o.index.sections.find(se=>se.storyIds.includes(L.id)).label,D.style.position="absolute",D.style.border=`1px solid ${ge.boundary.strong}`,D.style.borderRadius="0",D.style.backgroundColor=Hhe,D.style.backgroundImage=Uhe(),D.style.backgroundPosition="0 0, 8px 8px",D.style.backgroundSize="16px 16px",D.style.boxShadow="none";const Y=document.createElement("button");Y.type="button",Y.dataset.testid="react-story-frame-label",Y.dataset.storyId=L.id,Y.title=`${N.get(L.id)} — click to select, double-click to zoom — ${L.modulePath}`,Y.textContent=N.get(L.id),Y.style.position="absolute",Y.style.height=`${Ui}px`,Y.style.padding="0 2px",Y.style.border="0",Y.style.appearance="none",Y.style.background="transparent",Y.style.color=ge.content.primary,Y.style.font=`600 12px ${ge.typography.sans}`,Y.style.lineHeight=`${Ui}px`,Y.style.textAlign="left",Y.style.cursor="default",Y.style.pointerEvents="auto",Y.style.whiteSpace="nowrap",Y.style.overflow="hidden",Y.style.textOverflow="ellipsis",Y.style.width="max-content",Y.addEventListener("click",()=>n(L.id,"highlight")),Y.addEventListener("dblclick",()=>n(L.id,"zoom"));const ee=document.createElement("div");ee.dataset.testid="react-story-frame-content",ee.dataset.storyId=L.id,ee.style.position="absolute",ee.style.left="0",ee.style.top="0",ee.style.overflow="hidden",ee.style.contain="layout paint",ee.style.boxSizing="border-box";const j=document.createElement("div");j.dataset.testid="react-story-frame-note",j.dataset.storyId=L.id,j.className="volter-banner",j.dataset.tone="info",j.style.position="absolute",j.style.left="0",j.style.right="0",j.style.bottom="0",j.style.display="none",j.style.pointerEvents="none";const ne=document.createElement("div");ne.dataset.testid="react-story-frame-error",ne.dataset.storyId=L.id,ne.className="volter-state-surface",ne.dataset.tone="error",ne.dataset.fill="true",ne.setAttribute("role","alert"),ne.style.display="none",ne.style.pointerEvents="none",D.append(ee,j,ne),a.appendChild(D),s.appendChild(Y),u.set(L.id,{element:D,content:ee}),l.set(L.id,ne),c.set(L.id,j),d.set(L.id,Y)}if(q.length>1)for(const L of q){if(L.label===null)continue;const D=document.createElement("div");D.dataset.testid="react-story-group-label",D.dataset.storyGroup=L.key,D.textContent=L.label,D.style.position="absolute",D.style.height=`${Rc}px`,D.style.lineHeight=`${Rc}px`,D.style.color=ge.content.primary,D.style.font=`700 14px ${ge.typography.sans}`,D.style.whiteSpace="nowrap",D.style.pointerEvents="none",D.style.width="max-content",s.appendChild(D),m.set(L.key,D)}const F=()=>{for(const[L,D]of u){const Y=L===R;D.element.dataset.active=Y?"true":"false",D.element.style.outline=Y?`2px solid ${ge.accent.default}`:"none",D.element.style.outlineOffset=Y?"3px":"0";const ee=d.get(L);ee.setAttribute("aria-pressed",String(Y)),ee.style.color=Y?ge.accent.default:ge.content.muted}},T=(L,D)=>Number.isFinite(L)?L*D:Number.POSITIVE_INFINITY,k=()=>{const L=vf();for(const[D,Y]of f){const ee=d.get(D),{frame:j}=r4(T(Y.roomAbove,L.zoom),Y.withGroupLabel);ee.style.left=`${L.x+Y.x*L.zoom}px`,ee.style.top=`${L.y+Y.y*L.zoom-j.offset}px`;const ne=Math.max(1,(Y.width+qn/2)*L.zoom);ee.style.maxWidth=`${ne}px`,n4(ee,ne>=sme?j:{...j,opacity:0,visible:!1})}for(const[D,Y]of v){const ee=m.get(D);if(!ee)continue;const j=r4(T(Y.roomAbove,L.zoom),!0).group;ee.style.left=`${L.x+Y.x*L.zoom}px`,ee.style.top=`${L.y+Y.y*L.zoom-j.offset}px`,n4(ee,j)}},I=()=>{f.clear(),v.clear();const L=lme(t,o.index,b);for(const[ee,j]of L.groupOrigins)v.set(ee,j);for(const ee of t){const j=L.layouts.get(ee.id);f.set(ee.id,j);const{x:ne,y:se,width:be,height:ve}=j,ke=b(ee),le=u.get(ee.id);le.element.style.left=`${ne}px`,le.element.style.top=`${se}px`,le.element.style.width=`${be}px`,le.element.style.height=`${ve}px`;const he=p.get(ee.id);le.element.style.overflow=he?"hidden":"",le.content.style.width=`${he?he.mount.width:be}px`,le.content.style.height=`${he?he.mount.height:ve}px`,le.content.style.left=`${he?-he.offset.x:0}px`,le.content.style.top=`${he?-he.offset.y:0}px`,le.content.dataset.storyLayout=ke.layout,le.content.style.padding=ke.layout==="padded"?"16px":"0",le.content.style.display=ke.layout==="centered"?"flex":"block",le.content.style.alignItems=ke.layout==="centered"?"center":"",le.content.style.justifyContent=ke.layout==="centered"?"center":""}const D=L.width,Y=L.height;a.style.width=`${D}px`,a.style.height=`${Y}px`,e.style.width=`${D}px`,e.style.height=`${Y}px`,k()},U=()=>{const L=Number.parseFloat(a.style.width),D=Number.parseFloat(a.style.height);i4(i,{x:0,y:0,width:L,height:D},1)};let G=null;const X=()=>{y||(y=!0,queueMicrotask(()=>{y=!1,!x&&(Z(R,!0),G=vf())}))},Z=(L,D)=>{const Y=u.get(L),ee=f.get(L);!Y||!ee||(R=L,F(),E(),du(),D&&i4(i,ee,2))},A=(L,D)=>{for(const[Y,ee]of u){const j=ee.content.getBoundingClientRect();if(L>=j.left&&L<=j.right&&D>=j.top&&D<=j.bottom)return Y}return null},$=zhe(()=>{I(),X()}),M=dM(k);I(),F(),k();const K={element:a,frames:u,activeContent:()=>u.get(R).content,activate:Z,clearError:L=>{const D=l.get(L);D&&(D.style.display="none",D.replaceChildren())},fitAll:U,selectAtClientPoint:(L,D)=>{const Y=A(L,D);return!Y||Y===R?!1:(n(Y,"highlight"),!0)},zoomAtClientPoint:(L,D)=>{const Y=A(L,D);return Y?(n(Y,"zoom"),!0):!1},setError:(L,D)=>{const Y=l.get(L);if(!Y)return;const ee=document.createElement("div");ee.className="volter-state-surface-detail",ee.textContent=D,Y.replaceChildren(ee),Y.style.display=""},setMeasuredFrame:(L,D)=>{if(x||!u.has(L))return;const Y=p.get(L);if(D===null){if(!Y)return;p.delete(L)}else{if(Y&&Y.frame.width===D.frame.width&&Y.frame.height===D.frame.height&&Y.mount.width===D.mount.width&&Y.mount.height===D.mount.height&&Y.offset.x===D.offset.x&&Y.offset.y===D.offset.y)return;p.set(L,D)}I(),k(),G!==null&&vf()===G&&X()},setNote:L=>{for(const D of c.values())D.textContent=L??"",D.style.display=L===null?"none":""},viewport:()=>_,setViewport:L=>{_.locked||(g.set(R,L),I(),E(),du(),Z(R,!0))},setRotation:L=>{_.locked||(w.set(R,L),I(),E(),du(),Z(R,!0))},dispose:()=>{x||(x=!0,$(),M(),cn.get(i)===K&&cn.delete(i),du(),a.remove(),s.remove())}};return cn.set(i,K),du(),X(),K}let HM=null;function MRe(e){HM=e}function NRe(){return HM}const a4=new Set;function dme(e,t,r){return JSON.stringify([e,t,r])}function s4(e,t,r){const n=dme(e,t,r);a4.has(n)||(a4.add(n),Te.warn(`No declaration covers \`${t}\` in ${e}, so the editor GUESSED \`${r}\` from its text. Declare it (a typed prop on the component, a token value that states its own kind) and the editor reads the declaration instead of a heuristic.`,"inspector"))}const UM="data-oid";function fme(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function IRe(e,t){return window.getComputedStyle(e).getPropertyValue(fme(t))}function pme(e){if(!e||typeof e!="object")return null;const t=Object.keys(e).find(r=>r.startsWith("__reactFiber$")||r.startsWith("__reactInternalInstance$"));return t?e[t]??null:null}function F1(e){const t=pme(e);if(!t?.return)return null;const r=t.return;return r.type&&typeof r.type=="function"?r:null}function jRe(e){const t=F1(e);if(!t)return null;const r=t.type;return r.displayName||r.name||null}function hme(e){const t=F1(e);if(!t)return null;const r=t.memoizedProps?.[UM];return typeof r=="string"?r:null}function mme(e){const t=F1(e);if(!t)return null;const r=t.memoizedProps;if(!r||typeof r!="object")return null;const n=new Set(["children","key","ref",UM,"style","className"]),o={};for(const[i,a]of Object.entries(r))n.has(i)||(typeof a=="string"||typeof a=="number"||typeof a=="boolean")&&(o[i]=String(a));return Object.keys(o).length>0?o:null}function DRe(e){const t=hme(e);if(!t)return null;const r=mme(e);return r?{callSiteOid:t,props:r}:null}const B1="__visual-edit-preview-styles";function gme(e){const t={};for(let r=0;r<e.style.length;r++){const n=e.style[r];t[n]=e.style.getPropertyValue(n)}return t}function VM(e,t){const r=(n,o)=>{for(const i of Array.from(n)){if(i instanceof CSSStyleRule){t(i,o);continue}const a=i;if(!a.cssRules)continue;const s=a.media?.mediaText;typeof s=="string"&&!window.matchMedia(s).matches||typeof a.containerQuery=="string"||a.cssText?.trimStart().startsWith("@container")||r(a.cssRules,o)}};for(const n of e){const o=n.ownerNode;if(!(o instanceof Element)||o.id===B1)continue;const i=o.getAttribute("data-vite-dev-id")??null;if(i)try{r(n.cssRules,i)}catch{}}}function LRe(e){const t=document.styleSheets;let r=null;return VM(t,(n,o)=>{n.selectorText.trim()===`.${e}`&&(r={sourceFile:o})}),r}function FRe(){const e=document.styleSheets,t=[];for(const r of e){const n=r.ownerNode;if(!(n instanceof Element)||n.id===B1)continue;const o=n.getAttribute("data-vite-dev-id")??null;if(!o)continue;(o.split("?")[0]??o).endsWith(".css")&&!t.includes(o)&&t.push(o)}return t}function BRe(e){const t=document.styleSheets,r=[];return VM(t,(n,o)=>{e.matches(n.selectorText)&&r.push({selectorText:n.selectorText,properties:gme(n),sourceFile:o})}),r}function bme(){const e=document.styleSheets,t=new Map,r=(n,o,i)=>{if(n instanceof CSSStyleRule){const u=n.selectorText,l=i&&/(^|,)\s*:scope\s*($|,)/.test(u),c=/(^|,)\s*(:root|html)\s*($|,)/.test(u)&&!u.includes("[data-theme");if(!l&&!c)return;for(let d=0;d<n.style.length;d++){const f=n.style[d];f.startsWith("--")&&t.set(f,{sourceFile:o,selector:l?":root":u})}return}const a=n;if(!a.cssRules)return;const s=i||!!a.cssText?.trimStart().startsWith("@scope");for(const u of Array.from(a.cssRules))r(u,o,s)};for(const n of e){const o=n.ownerNode;if(!(o instanceof Element)||o.id===B1)continue;const i=o.getAttribute("data-vite-dev-id")??null;if(i)try{for(const a of Array.from(n.cssRules))r(a,i,!1)}catch{}}return t}function zRe(e){const t=[],r=new Set;for(let o=0;o<e.length;o++){const i=e[o];if(!i.startsWith("--")||i.startsWith("--tw-")||i.startsWith("--fa-")||i.startsWith("--volter-")||i.startsWith("--vscode-")||i==="--chat-input-control-height"||i.startsWith("--dv-")||r.has(i))continue;r.add(i);const a=e.getPropertyValue(i).trim();a&&t.push({name:i,value:a,category:l4(i,a)})}const n=bme();for(const o of n.keys()){if(r.has(o)||o.startsWith("--tw-")||o.startsWith("--fa-")||o.startsWith("--volter-")||o.startsWith("--dv-")||o.startsWith("--vscode-")||o==="--chat-input-control-height")continue;r.add(o);const i=e.getPropertyValue(o).trim();i&&t.push({name:o,value:i,category:l4(o,i)})}for(const o of t){const i=n.get(o.name);i&&(o.declaredIn=i)}return t}const vme=/^(#[0-9a-f]{3,8}|rgba?\(|hsla?\(|oklch\()/i,yme=/spacing|gap|margin|padding|radius|size|width|height/i,wme=/color/i;function l4(e,t){return vme.test(t)?"color":wme.test(e)?(s4(":root",e,"color"),"color"):yme.test(e)&&/^\d/.test(t)?(s4(":root",e,"spacing"),"spacing"):"other"}function HRe(e,t){return!(e.x+e.width<t.x||e.x>t.x+t.width||e.y+e.height<t.y||e.y>t.y+t.height)}function URe(e){const t=[];for(const r of e){if(r.hasVisibleChildren||r.hasText||r.rect.width>=8&&r.rect.height>=8)continue;const n=Math.max(r.rect.width,40),o=Math.max(r.rect.height,24);t.push({oid:r.oid,displayName:r.displayName,rect:{x:r.rect.x-(n-r.rect.width)/2,y:r.rect.y-(o-r.rect.height)/2,width:n,height:o}})}return t}const Eme=new Set(["","transparent","rgba(0, 0, 0, 0)"]);function _me(e){return Eme.has(e)}function VRe(e){for(const t of e)if(!_me(t))return t;return"#fff"}const Sme=["Arial","Helvetica","Times New Roman","Georgia","Verdana","Courier New","Impact","Trebuchet MS","Palatino Linotype","Lucida Console","monospace","sans-serif","serif"];function Rme(e){const t=new Set;for(const r of e)t.add(r.replace(/^["']|["']$/g,""));for(const r of Sme)t.add(r);return[...t].sort((r,n)=>r.localeCompare(n))}function WRe(){return Rme(Array.from(document.fonts,e=>e.family))}function GRe({explanation:e,documentId:t,testId:r,style:n}){return e?e.tone==="loading"?S.jsx(ide,{documentId:t,title:e.title,message:e.description}):S.jsx(BA,{"data-testid":r,tone:e.tone,title:e.title,description:S.jsx("span",{style:{whiteSpace:"pre-wrap"},children:e.description}),style:{position:"absolute",inset:0,pointerEvents:"none",...n}}):null}const KRe="story:isolated",YRe="story:docs",xme={surface:{shell:!0,panel:!0,chrome:!0,raised:!0,inset:!0,overlay:!0},boundary:{default:!0,strong:!0,area:!0,indent:!0,divider:!0},content:{primary:!0,muted:!0,dim:!0,onAccent:!0,menu:!0,status:!0,placeholder:!0,active:!0,selected:!0,onBright:{primary:!0,muted:!0,dim:!0}},accent:{default:!0,muted:!0},semantic:{danger:!0,dangerMuted:!0,dangerFaint:!0,warning:!0,warningMuted:!0,success:!0,successMuted:!0,dynamic:!0,dynamicMuted:!0,instance:!0},neutralOverlay:{hover:!0,active:!0},scrim:!0,viewport:{background:!0,grid:!0,axisX:!0,axisY:!0,axisZ:!0,wire:!0,selection:!0,active:!0,marqueeLine:!0,marqueeFill:!0,marqueeGap:!0},gizmo:{x:!0,y:!0,z:!0,navigationX:!0,navigationY:!0,navigationZ:!0,hover:!0,drag:!0},widget:{regular:!0,menu:!0,field:!0,emboss:!0},category:{object:!0,modifier:!0,material:!0,tool:!0,operator:!0,data:!0,scene:!0,collection:!0,select:!0},region:{outliner:!0,properties:!0}};function WM(e,t=[]){return Object.entries(e).flatMap(([r,n])=>n===!0?[[...t,r]]:WM(n,[...t,r]))}const z1=WM(xme);function H1(e){return`volter.${e.join(".")}`}const ZRe=z1.map(H1);function JRe(e){const t={};for(const r of z1){const n=e(H1(r));if(n===void 0)continue;let o=t;for(const i of r.slice(0,-1))o=o[i]??={};o[r[r.length-1]]=n}return t}function XRe(e){const t={};for(const r of z1){let n=e;for(const o of r)n=n?.[o];typeof n=="string"&&(t[H1(r)]=n)}return t}const Cme={F:["11111","10000","10000","11110","10000","10000","10000"],R:["11110","10001","10001","11110","10100","10010","10001"],O:["01110","10001","10001","10001","10001","10001","01110"],N:["10001","11001","11001","10101","10011","10011","10001"],T:["11111","00100","00100","00100","00100","00100","00100"],I:["11111","00100","00100","00100","00100","00100","11111"],G:["01110","10001","10000","10111","10001","10001","01110"],H:["10001","10001","10001","11111","10001","10001","10001"],P:["11110","10001","10001","11110","10000","10000","10000"],3:["11110","00001","00001","01110","00001","00001","11110"],"/":["00001","00010","00100","00100","01000","10000","10000"],4:["00010","00110","01010","10010","11111","00010","00010"],A:["01110","10001","10001","11111","10001","10001","10001"],B:["11110","10001","10001","11110","10001","10001","11110"],C:["01111","10000","10000","10000","10000","10000","01111"],D:["11110","10001","10001","10001","10001","10001","11110"],E:["11111","10000","10000","11110","10000","10000","11111"],K:["10001","10010","10100","11000","10100","10010","10001"],L:["10000","10000","10000","10000","10000","10000","11111"],M:["10001","11011","10101","10101","10001","10001","10001"],Q:["01110","10001","10001","10001","10101","10010","01101"],S:["01111","10000","10000","01110","00001","00001","11110"],U:["10001","10001","10001","10001","10001","10001","01110"],Z:["11111","00001","00010","00100","01000","10000","11111"],J:["00111","00010","00010","00010","00010","10010","01100"],V:["10001","10001","10001","10001","10001","01010","00100"],W:["10001","10001","10001","10101","10101","11011","10001"],X:["10001","10001","01010","00100","01010","10001","10001"],Y:["10001","10001","01010","00100","00100","00100","00100"],0:["01110","10001","10011","10101","11001","10001","01110"],1:["00100","01100","00100","00100","00100","00100","01110"],2:["01110","10001","00001","00010","00100","01000","11111"],5:["11111","10000","11110","00001","00001","10001","01110"],6:["00110","01000","10000","11110","10001","10001","01110"],7:["11111","00001","00010","00100","01000","01000","01000"],8:["01110","10001","10001","01110","10001","10001","01110"],9:["01110","10001","10001","01111","00001","00010","01100"],"-":["00000","00000","00000","11111","00000","00000","00000"],"+":["00000","00100","00100","11111","00100","00100","00000"],"<":["00010","00100","01000","10000","01000","00100","00010"],">":["01000","00100","00010","00001","00010","00100","01000"]};function QRe(e,t,r){const n=Math.max(1,Math.floor(Math.min(t,r)/128)),o=n*3;return{width:e.length*n*6-n+o*2,height:n*7+o*2}}function exe(e,t,r,n,o,i,a="normal"){const s=Math.max(1,Math.floor(Math.min(o,i)/128)),u=s*3,l=s*6,c=t.length*l-s+u*2,d=s*7+u*2;e.fillStyle=a==="warning"?"rgba(154, 24, 24, 0.92)":"rgba(0, 0, 0, 0.62)",e.fillRect(r,n,c,d),e.fillStyle="#ffffff";for(let f=0;f<t.length;f++){const p=Cme[t[f]];if(p)for(let h=0;h<p.length;h++)for(let m=0;m<p[h].length;m++)p[h][m]==="1"&&e.fillRect(r+u+f*l+m*s,n+u+h*s,s,s)}}function Ame({capture:e,previewKey:t,size:r}){const[n,o]=z.useState(null);return z.useEffect(()=>{let i=!1;return o(null),e(r).then(a=>{i||o(a)},()=>{i||o(null)}),()=>{i=!0}},[e,t,r]),n?S.jsx("img",{src:n,alt:"Selected object preview",className:"volter-component-thumbnail"}):null}const Pme=Object.freeze(Object.defineProperty({__proto__:null,InspectorCanvasPreview:Ame},Symbol.toStringTag,{value:"Module"}));class Tme extends z.Component{state={error:null};static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){console.error(`[stories] ${this.props.modulePath} — story "${this.props.storyName}" crashed while rendering:`,t,r.componentStack)}render(){return this.state.error?S.jsx(BA,{tone:"error",title:S.jsxs(S.Fragment,{children:["Story crashed: ",S.jsx("code",{children:this.props.modulePath})," — export ",S.jsx("code",{children:this.props.storyName})]}),detail:String(this.state.error)}):this.props.children}}const Yo=new WeakMap;async function txe(e,t,r,n,o){const i=Yo.get(e),a=(i?.generation??0)+1;Yo.set(e,{root:i?.root,generation:a}),Yde(e);const s=cF().projectLocalState.projectRootPath();s&&await Jde(s),await n.load();const{createRoot:u,flushSync:l}=await v1(),c=Yo.get(e);if(!c||c.generation!==a)return null;const d=i?.root??u(e);return Yo.set(e,{root:d,generation:a}),l(()=>{d.render(S.jsx(Tme,{modulePath:t,storyName:r,children:S.jsx(n,{...o??{}})}))}),{root:d,unmount:()=>{queueMicrotask(()=>{const f=Yo.get(e);!f||f.generation!==a||!f.root||(Yo.delete(e),f.root.unmount())})}}}async function rxe(e,t,r,n){if(typeof r.play!="function")return{ran:!1};try{return await r.play({canvasElement:n}),{ran:!0}}catch(o){const i=String(o instanceof Error?o.message:o);return console.error(`[stories] ${e} — story "${t}"'s play() threw:`,o),{ran:!0,error:`[stories] ${e} — story "${t}"'s play() failed: ${i}`}}}export{RD as $,Dve as A,Pr as B,No as C,zge as D,XL as E,Gge as F,Ave as G,Ki as H,bF as I,b1 as J,l2e as K,c2e as L,Xve as M,Te as N,u2e as O,Hve as P,f2e as Q,Ap as R,d2e as S,nt as T,t2e as U,Dme as V,XD as W,Ime as X,cwe as Y,kie as Z,Mme as _,qme as a,eye as a$,_D as a0,cf as a1,wu as a2,xx as a3,Si as a4,Wie as a5,y1 as a6,Iie as a7,ywe as a8,s2e as a9,pbe as aA,Wwe as aB,Cve as aC,Pge as aD,Sie as aE,_we as aF,H2e as aG,iEe as aH,yt as aI,So as aJ,Re as aK,Or as aL,zme as aM,ek as aN,Cwe as aO,wv as aP,Rwe as aQ,Xq as aR,Awe as aS,$me as aT,Ome as aU,xc as aV,Zoe as aW,yde as aX,DEe as aY,LEe as aZ,Jwe as a_,hwe as aa,pwe as ab,zce as ac,Hce as ad,wwe as ae,Jc as af,jwe as ag,Dwe as ah,Fwe as ai,vye as aj,Lwe as ak,Bwe as al,zwe as am,Tie as an,B2e as ao,Qwe as ap,Xwe as aq,L2e as ar,dEe as as,BA as at,ide as au,mbe as av,lEe as aw,eEe as ax,mP as ay,nye as az,Nme as b,S_e as b$,nde as b0,Ywe as b1,Zwe as b2,MEe as b3,Vp as b4,aF as b5,Dy as b6,bk as b7,UEe as b8,Nde as b9,wk as bA,vEe as bB,wEe as bC,_Ee as bD,Kie as bE,lde as bF,Ewe as bG,Swe as bH,hk as bI,yEe as bJ,Qve as bK,Fy as bL,lye as bM,rEe as bN,Lk as bO,c_e as bP,Ly as bQ,lF as bR,Bi as bS,p_e as bT,Vk as bU,fye as bV,tfe as bW,$c as bX,fF as bY,gge as bZ,pge as b_,cde as ba,Vde as bb,fbe as bc,Lbe as bd,YA as be,Fge as bf,Dbe as bg,Lge as bh,dbe as bi,zp as bj,qde as bk,n_e as bl,qEe as bm,$Ee as bn,s_e as bo,q2e as bp,YEe as bq,Tve as br,Mge as bs,Wce as bt,AEe as bu,Hwe as bv,ZEe as bw,kEe as bx,oC as by,CEe as bz,gj as c,ID as c$,qfe as c0,T_e as c1,Yme as c2,A_e as c3,j_e as c4,zfe as c5,L_e as c6,F_e as c7,z_e as c8,g_e as c9,t9 as cA,hbe as cB,U2e as cC,hve as cD,Iwe as cE,nq as cF,Jg as cG,Wge as cH,Nu as cI,h9 as cJ,W_e as cK,G_e as cL,pve as cM,Ln as cN,z7 as cO,Kbe as cP,cve as cQ,Ube as cR,sbe as cS,fve as cT,Zbe as cU,mve as cV,Qme as cW,J_e as cX,s7 as cY,Y7 as cZ,R7 as c_,D_e as ca,Dfe as cb,Kde as cc,xC as cd,m_e as ce,C2e as cf,v2e as cg,nEe as ch,tEe as ci,i_e as cj,Bu as ck,xwe as cl,et as cm,Ige as cn,T7 as co,K7 as cp,Tge as cq,Sge as cr,MA as cs,xA as ct,qf as cu,Oge as cv,U_e as cw,Rve as cx,hu as cy,bve as cz,kme as d,rwe as d$,yve as d0,Sve as d1,Q_e as d2,vve as d3,xve as d4,k7 as d5,kD as d6,MD as d7,qD as d8,ND as d9,ZD as dA,YD as dB,KD as dC,GD as dD,WD as dE,VD as dF,UD as dG,gm as dH,tge as dI,HD as dJ,zD as dK,z2 as dL,BD as dM,jf as dN,Eye as dO,Z6 as dP,M2e as dQ,m2e as dR,P2e as dS,T2e as dT,X6 as dU,Owe as dV,Cie as dW,Uve as dX,ewe as dY,Q2e as dZ,nwe as d_,Age as da,V_e as db,wve as dc,Ove as dd,jD as de,Pve as df,jA as dg,Z_e as dh,Y_e as di,Ip as dj,U2 as dk,Fve as dl,Mve as dm,G2e as dn,V2e as dp,b_e as dq,k_e as dr,zve as ds,Oie as dt,R_e as du,x_e as dv,_ye as dw,w_e as dx,owe as dy,JD as dz,kp as e,GEe as e$,N_e as e0,P_e as e1,aye as e2,Wi as e3,Xc as e4,Z2e as e5,OC as e6,ln as e7,oge as e8,_3e as e9,_ge as eA,$ge as eB,lt as eC,tye as eD,Hme as eE,Ume as eF,Y3e as eG,xge as eH,X7 as eI,Z3e as eJ,W3e as eK,j2e as eL,D2e as eM,tSe as eN,rSe as eO,X3e as eP,eSe as eQ,__e as eR,pSe as eS,Tc as eT,r3e as eU,n3e as eV,i3e as eW,o3e as eX,yi as eY,iwe as eZ,Pie as e_,b3e as ea,l3e as eb,xpe as ec,R3e as ed,p9 as ee,g3e as ef,P3e as eg,oEe as eh,T3e as ei,M3e as ej,rge as ek,nd as el,D3e as em,V3e as en,Zme as eo,awe as ep,zpe as eq,cge as er,uge as es,v_e as et,rM as eu,iye as ev,Yge as ew,HA as ex,l7 as ey,tbe as ez,Mo as f,H3e as f$,JEe as f0,I2 as f1,hSe as f2,mSe as f3,Mk as f4,KEe as f5,$we as f6,ohe as f7,twe as f8,Nve as f9,Mbe as fA,Hbe as fB,g9 as fC,O7 as fD,Cn as fE,Nie as fF,HEe as fG,Wpe as fH,D1 as fI,OSe as fJ,qM as fK,RSe as fL,Jge as fM,bge as fN,NA as fO,IA as fP,Tt as fQ,J2 as fR,Y2 as fS,ESe as fT,wSe as fU,B3e as fV,vSe as fW,ySe as fX,Dge as fY,z3e as fZ,kA as f_,a_e as fa,kn as fb,s3e as fc,Uj as fd,Lme as fe,OA as ff,qge as fg,qA as fh,Zge as fi,Bme as fj,$ve as fk,qve as fl,ZL as fm,JL as fn,Ive as fo,jve as fp,zbe as fq,Ype as fr,$A as fs,wge as ft,gve as fu,N1 as fv,m9 as fw,rw as fx,kge as fy,_Se as fz,RA as g,I3e as g$,qSe as g0,X2 as g1,I7 as g2,S7 as g3,r9 as g4,WSe as g5,GSe as g6,age as g7,sge as g8,$Se as g9,gwe as gA,ti as gB,Bge as gC,Xme as gD,QSe as gE,eRe as gF,iRe as gG,Bhe as gH,DM as gI,oRe as gJ,nRe as gK,K2e as gL,dM as gM,zhe as gN,Ihe as gO,Y2e as gP,W2e as gQ,rRe as gR,j3e as gS,vf as gT,Fhe as gU,SEe as gV,Pwe as gW,Gme as gX,Vme as gY,Kme as gZ,ED as g_,kSe as ga,$M as gb,ky as gc,xSe as gd,che as ge,ASe as gf,CSe as gg,Wme as gh,TSe as gi,WC as gj,lge as gk,PSe as gl,q9 as gm,u9 as gn,FSe as go,f9 as gp,d9 as gq,WA as gr,tP as gs,Nbe as gt,i7 as gu,F7 as gv,W7 as gw,ibe as gx,obe as gy,bwe as gz,mr as h,sRe as h$,ae as h0,gRe as h1,hRe as h2,mRe as h3,cF as h4,xg as h5,DD as h6,l9 as h7,vge as h8,Rge as h9,f7 as hA,g7 as hB,b2e as hC,Iy as hD,abe as hE,CRe as hF,ARe as hG,Ah as hH,PRe as hI,ORe as hJ,u7 as hK,o7 as hL,TRe as hM,Ik as hN,Hde as hO,fRe as hP,uRe as hQ,cRe as hR,dRe as hS,e_e as hT,N3e as hU,pRe as hV,sF as hW,_he as hX,aRe as hY,GRe as hZ,Bve as h_,Ege as ha,yge as hb,b7 as hc,RRe as hd,xRe as he,O2e as hf,$2e as hg,g2e as hh,SRe as hi,ERe as hj,VRe as hk,_Re as hl,qRe as hm,$_e as hn,$Re as ho,NRe as hp,_2e as hq,uie as hr,DSe as hs,yRe as ht,vRe as hu,rn as hv,jge as hw,P7 as hx,A7 as hy,Nge as hz,Fj as i,o_e as i$,hc as i0,cye as i1,d3e as i2,jde as i3,XEe as i4,Tde as i5,WEe as i6,VEe as i7,FEe as i8,dwe as i9,KRe as iA,YRe as iB,X_e as iC,gSe as iD,mge as iE,QEe as iF,t3e as iG,E3e as iH,EEe as iI,wye as iJ,BEe as iK,zEe as iL,h_e as iM,l_e as iN,Nwe as iO,Twe as iP,kwe as iQ,Mwe as iR,qwe as iS,yye as iT,rye as iU,pye as iV,f_e as iW,JRe as iX,Cw as iY,t_e as iZ,r_e as i_,f3e as ia,c3e as ib,m3e as ic,h3e as id,p3e as ie,u3e as ig,ope as ih,JSe as ii,q3e as ij,C_e as ik,O_e as il,LSe as im,sEe as io,Rde as ip,npe as iq,X2e as ir,ZSe as is,B_e as it,x2e as iu,cEe as iv,oye as iw,uEe as ix,R2e as iy,S3e as iz,S as j,Sbe as j$,Fme as j0,u4 as j1,Lj as j2,hge as j3,txe as j4,exe as j5,ube as j6,wh as j7,Kwe as j8,IEe as j9,r7 as jA,ew as jB,Dr as jC,s9 as jD,Dp as jE,Ud as jF,Kge as jG,Fp as jH,Qge as jI,Xge as jJ,UA as jK,ebe as jL,rbe as jM,nbe as jN,c9 as jO,GA as jP,lbe as jQ,cbe as jR,I9 as jS,tb as jT,jy as jU,gbe as jV,bbe as jW,ua as jX,k9 as jY,ybe as jZ,xbe as j_,rie as ja,jme as jb,zj as jc,Vj as jd,Kj as je,O2 as jf,mA as jg,bD as jh,gA as ji,wD as jj,qr as jk,Jme as jl,D2 as jm,B2 as jn,PD as jo,Mp as jp,yA as jq,nge as jr,qy as js,QD as jt,ige as ju,W2 as jv,e7 as jw,SA as jx,dge as jy,fge as jz,kve as k,nve as k$,Abe as k0,Pbe as k1,hL as k2,jbe as k3,Obe as k4,Tbe as k5,N9 as k6,kbe as k7,Vd as k8,M9 as k9,Wd as kA,nP as kB,ca as kC,xm as kD,oP as kE,dd as kF,Gd as kG,SL as kH,Mf as kI,xr as kJ,Jbe as kK,Xbe as kL,TL as kM,$L as kN,PL as kO,OL as kP,qL as kQ,ML as kR,mw as kS,fa as kT,hw as kU,pi as kV,kL as kW,Qbe as kX,rve as kY,tve as kZ,eve as k_,ud as ka,la as kb,Ibe as kc,$be as kd,fL as ke,Cbe as kf,vbe as kg,qbe as kh,Sm as ki,Ebe as kj,_be as kk,Gi as kl,wbe as km,Rbe as kn,Fbe as ko,Bbe as kp,gL as kq,Vbe as kr,Wbe as ks,lw as kt,Gbe as ku,vt as kv,$t as kw,wL as kx,Ybe as ky,fw as kz,dve as l,lwe as l$,ive as l0,BL as l1,jL as l2,ove as l3,zL as l4,HL as l5,lve as l6,aP as l7,uve as l8,ave as l9,gye as lA,v1 as lB,Xoe as lC,vx as lD,wx as lE,Sn as lF,sp as lG,die as lH,y2e as lI,p2e as lJ,A2e as lK,S2e as lL,cie as lM,E2e as lN,w2e as lO,h2e as lP,k2e as lQ,N2e as lR,F2e as lS,I2e as lT,z2e as lU,pv as lV,_ie as lW,J2e as lX,Aie as lY,uwe as lZ,swe as l_,sve as la,KL as lb,GL as lc,Eve as ld,_ve as le,QL as lf,eF as lg,Jve as lh,Zve as li,Yve as lj,Vve as lk,Kve as ll,Gve as lm,Wve as ln,oF as lo,fP as lp,sye as lq,uye as lr,uF as ls,pF as lt,dF as lu,dye as lv,hye as lw,mye as lx,hF as ly,bye as lz,Cge as m,spe as m$,Rn as m0,jie as m1,fwe as m2,mwe as m3,vwe as m4,Uwe as m5,Xce as m6,Jx as m7,Vwe as m8,Gwe as m9,kde as mA,Ade as mB,Dv as mC,Ok as mD,Ude as mE,gC as mF,u_e as mG,Yde as mH,Jde as mI,d_e as mJ,y_e as mK,E_e as mL,q_e as mM,M_e as mN,I_e as mO,Ife as mP,Nfe as mQ,jfe as mR,H_e as mS,K_e as mT,epe as mU,e3e as mV,a3e as mW,rpe as mX,yg as mY,vg as mZ,ipe as m_,Qce as ma,ode as mb,aEe as mc,fk as md,fEe as me,sde as mf,pEe as mg,mk as mh,gEe as mi,hEe as mj,mEe as mk,bEe as ml,hde as mm,xEe as mn,REe as mo,PEe as mp,TEe as mq,OEe as mr,NEe as ms,jEe as mt,Ck as mu,Ak as mv,ed as mw,Pk as mx,T1 as my,Pde as mz,z as n,She as n$,ft as n0,v3e as n1,tM as n2,y3e as n3,w3e as n4,_pe as n5,x3e as n6,A3e as n7,C3e as n8,nM as n9,Q3e as nA,J3e as nB,Qpe as nC,oSe as nD,iSe as nE,aSe as nF,nSe as nG,SM as nH,sSe as nI,uSe as nJ,_M as nK,lSe as nL,dSe as nM,cSe as nN,xM as nO,fSe as nP,ehe as nQ,lhe as nR,bSe as nS,SSe as nT,uhe as nU,dhe as nV,vhe as nW,kM as nX,yhe as nY,MSe as nZ,whe as n_,O3e as na,oM as nb,iM as nc,$3e as nd,$pe as ne,aM as nf,qpe as ng,IC as nh,kpe as ni,Mpe as nj,Dpe as nk,Lpe as nl,k3e as nm,jpe as nn,Fpe as no,Bpe as np,Hpe as nq,F3e as nr,L3e as ns,Vpe as nt,Gpe as nu,Kpe as nv,U3e as nw,G3e as nx,Jpe as ny,K3e as nz,Xe as o,NSe as o0,xhe as o1,Rhe as o2,jSe as o3,ISe as o4,IM as o5,The as o6,USe as o7,zSe as o8,BSe as o9,URe as oA,pme as oB,FRe as oC,WRe as oD,hme as oE,DRe as oF,IRe as oG,zRe as oH,BRe as oI,jRe as oJ,_me as oK,Rme as oL,mme as oM,HRe as oN,bme as oO,ZRe as oP,XRe as oQ,QRe as oR,Ame as oS,Tme as oT,rxe as oU,HSe as oa,Ohe as ob,VSe as oc,khe as od,KSe as oe,YSe as of,XSe as og,tRe as oh,Hhe as oi,Ld as oj,Uhe as ok,lRe as ol,bRe as om,wRe as on,xp as oo,Th as op,Ui as oq,L1 as or,Rc as os,n4 as ot,r4 as ou,kRe as ov,MRe as ow,s4 as ox,fme as oy,LRe as oz,ege as p,ku as q,zt as r,Gj as s,ge as t,Hge as u,Uge as v,Vge as w,LD as x,FD as y,Lve as z};
|