From eff8e6b7ad2effdbc53d98c7892e328a10aa84c2 Mon Sep 17 00:00:00 2001 From: ellatrix Date: Thu, 5 Mar 2026 12:38:26 +0000 Subject: [PATCH] Gutenberg ref update. Only includes the following commit: https://github.com/WordPress/gutenberg/commit/e7b8c0c8a34bd62374ebf6f9cbfdeab4f822234c. "Media: Use Document-Isolation-Policy for cross-origin isolation on Chromium 137+" (https://github.com/WordPress/gutenberg/pull/75991) See #64595. See #64766. Built from https://develop.svn.wordpress.org/trunk@61846 git-svn-id: http://core.svn.wordpress.org/trunk@61133 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../assets/script-loader-packages.min.php | 4 +- wp-includes/assets/script-loader-packages.php | 4 +- wp-includes/css/dist/registry.php | 40 +- wp-includes/js/dist/block-editor.js | 1244 ++++++++--------- .../js/dist/block-editor.min.asset.php | 2 +- wp-includes/js/dist/block-editor.min.js | 50 +- .../js/dist/script-modules/registry.php | 72 +- wp-includes/js/dist/upload-media.js | 7 - .../js/dist/upload-media.min.asset.php | 2 +- wp-includes/js/dist/upload-media.min.js | 2 +- wp-includes/version.php | 2 +- 11 files changed, 678 insertions(+), 751 deletions(-) diff --git a/wp-includes/assets/script-loader-packages.min.php b/wp-includes/assets/script-loader-packages.min.php index d0b87755de..32246e5259 100644 --- a/wp-includes/assets/script-loader-packages.min.php +++ b/wp-includes/assets/script-loader-packages.min.php @@ -100,7 +100,7 @@ 'wp-url', 'wp-warning' ), - 'version' => '5140a363580d1c7cd43c' + 'version' => '7d8ba03c46a31976363c' ), 'block-library.min.js' => array( 'dependencies' => array( @@ -860,7 +860,7 @@ 'import' => 'dynamic' ) ), - 'version' => '7e012a6701be0a6ad8f3' + 'version' => '2dac6787d62a1c93f85e' ), 'url.min.js' => array( 'dependencies' => array( diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index 5a5cf23e3c..8302025fa3 100644 --- a/wp-includes/assets/script-loader-packages.php +++ b/wp-includes/assets/script-loader-packages.php @@ -100,7 +100,7 @@ 'wp-url', 'wp-warning' ), - 'version' => '5140a363580d1c7cd43c' + 'version' => '7d8ba03c46a31976363c' ), 'block-library.js' => array( 'dependencies' => array( @@ -860,7 +860,7 @@ 'import' => 'dynamic' ) ), - 'version' => '7e012a6701be0a6ad8f3' + 'version' => '2dac6787d62a1c93f85e' ), 'url.js' => array( 'dependencies' => array( diff --git a/wp-includes/css/dist/registry.php b/wp-includes/css/dist/registry.php index 90598730f4..ae3717118a 100644 --- a/wp-includes/css/dist/registry.php +++ b/wp-includes/css/dist/registry.php @@ -22,29 +22,29 @@ return array( 'path' => 'preferences/style', 'dependencies' => array('wp-components'), ), + array( + 'handle' => 'wp-commands', + 'path' => 'commands/style', + 'dependencies' => array('wp-components'), + ), array( 'handle' => 'wp-reusable-blocks', 'path' => 'reusable-blocks/style', 'dependencies' => array('wp-block-editor', 'wp-components'), ), array( - 'handle' => 'wp-patterns', - 'path' => 'patterns/style', + 'handle' => 'wp-widgets', + 'path' => 'widgets/style', 'dependencies' => array('wp-block-editor', 'wp-components'), ), - array( - 'handle' => 'wp-commands', - 'path' => 'commands/style', - 'dependencies' => array('wp-components'), - ), array( 'handle' => 'wp-components', 'path' => 'components/style', 'dependencies' => array(), ), array( - 'handle' => 'wp-widgets', - 'path' => 'widgets/style', + 'handle' => 'wp-patterns', + 'path' => 'patterns/style', 'dependencies' => array('wp-block-editor', 'wp-components'), ), array( @@ -57,20 +57,15 @@ return array( 'path' => 'block-directory/style', 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-editor'), ), - array( - 'handle' => 'wp-media-utils', - 'path' => 'media-utils/style', - 'dependencies' => array('wp-components', 'wp-theme'), - ), array( 'handle' => 'wp-customize-widgets', 'path' => 'customize-widgets/style', 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-media-utils', 'wp-preferences', 'wp-widgets'), ), array( - 'handle' => 'wp-edit-post', - 'path' => 'edit-post/style', - 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-editor', 'wp-preferences', 'wp-widgets'), + 'handle' => 'wp-media-utils', + 'path' => 'media-utils/style', + 'dependencies' => array('wp-components', 'wp-theme'), ), array( 'handle' => 'wp-edit-widgets', @@ -78,15 +73,20 @@ return array( 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-media-utils', 'wp-patterns', 'wp-preferences', 'wp-widgets'), ), array( - 'handle' => 'wp-block-editor', - 'path' => 'block-editor/style', - 'dependencies' => array('wp-commands', 'wp-components', 'wp-preferences', 'wp-theme'), + 'handle' => 'wp-edit-post', + 'path' => 'edit-post/style', + 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-editor', 'wp-preferences', 'wp-widgets'), ), array( 'handle' => 'wp-block-library', 'path' => 'block-library/style', 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-patterns'), ), + array( + 'handle' => 'wp-block-editor', + 'path' => 'block-editor/style', + 'dependencies' => array('wp-commands', 'wp-components', 'wp-preferences', 'wp-theme'), + ), array( 'handle' => 'wp-edit-site', 'path' => 'edit-site/style', diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 10cad18138..f945b77704 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -61346,22 +61346,10 @@ var wp; ); // packages/block-editor/build-module/hooks/cross-origin-isolation.mjs - var import_hooks16 = __toESM(require_hooks(), 1); - var import_compose93 = __toESM(require_compose(), 1); - var import_jsx_runtime390 = __toESM(require_jsx_runtime(), 1); - function addCrossOriginAttributes(el) { + function addCrossOriginAttribute(el) { if (!el.hasAttribute("crossorigin")) { el.setAttribute("crossorigin", "anonymous"); } - if (el.nodeName === "IFRAME" && !el.hasAttribute("credentialless")) { - if (el.getAttribute("src")?.startsWith("blob:")) { - return; - } - el.setAttribute("credentialless", ""); - const origSrc = el.getAttribute("src") || ""; - el.setAttribute("src", ""); - el.setAttribute("src", origSrc); - } } if (window.crossOriginIsolated) { let startObservingBody = function() { @@ -61394,42 +61382,14 @@ var wp; return; } el.querySelectorAll( - "img,source,script,video,link,iframe" + "img,source,script,video,link" ).forEach((v2) => { - addCrossOriginAttributes(v2); + addCrossOriginAttribute(v2); }); - if (el.nodeName === "IFRAME") { - const iframeNode = el; - const isEmbedSandboxIframe = iframeNode.classList.contains( - "components-sandbox" - ); - if (!isEmbedSandboxIframe) { - iframeNode.addEventListener("load", () => { - try { - if (iframeNode.contentDocument && iframeNode.contentDocument.body) { - observer.observe( - iframeNode.contentDocument, - { - childList: true, - attributes: true, - subtree: true - } - ); - } - } catch (e2) { - } - }); - } - } - if ([ - "IMG", - "SOURCE", - "SCRIPT", - "VIDEO", - "LINK", - "IFRAME" - ].includes(el.nodeName)) { - addCrossOriginAttributes(el); + if (["IMG", "SOURCE", "SCRIPT", "VIDEO", "LINK"].includes( + el.nodeName + )) { + addCrossOriginAttribute(el); } }); }); @@ -61438,37 +61398,11 @@ var wp; startObservingBody(); } var startObservingBody2; - if (window.crossOriginIsolated) { - const supportsCredentialless = "credentialless" in window.HTMLIFrameElement.prototype; - const disableEmbedPreviews = (0, import_compose93.createHigherOrderComponent)( - (BlockEdit2) => function DisableEmbedPreviews(props) { - if ("core/embed" !== props.name) { - return /* @__PURE__ */ (0, import_jsx_runtime390.jsx)(BlockEdit2, { ...props }); - } - const previewable = supportsCredentialless && !["facebook", "smugmug"].includes( - props.attributes.providerNameSlug - ); - return /* @__PURE__ */ (0, import_jsx_runtime390.jsx)( - BlockEdit2, - { - ...props, - attributes: { ...props.attributes, previewable } - } - ); - }, - "withDisabledEmbedPreview" - ); - (0, import_hooks16.addFilter)( - "editor.BlockEdit", - "media-experiments/disable-embed-previews", - disableEmbedPreviews - ); - } // packages/block-editor/build-module/hooks/align.mjs - var import_hooks17 = __toESM(require_hooks(), 1); + var import_hooks16 = __toESM(require_hooks(), 1); var import_blocks98 = __toESM(require_blocks(), 1); - var import_jsx_runtime391 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime390 = __toESM(require_jsx_runtime(), 1); var ALL_ALIGNMENTS = ["left", "center", "right", "wide", "full"]; var WIDE_ALIGNMENTS = ["wide", "full"]; function getValidAlignments(blockAlign, hasWideBlockSupport = true, hasWideEnabled = true) { @@ -61532,7 +61466,7 @@ var wp; } setAttributes({ align: nextAlign }); }; - return /* @__PURE__ */ (0, import_jsx_runtime391.jsx)(block_controls_default, { group: "block", __experimentalShareWithChildBlocks: true, children: /* @__PURE__ */ (0, import_jsx_runtime391.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime390.jsx)(block_controls_default, { group: "block", __experimentalShareWithChildBlocks: true, children: /* @__PURE__ */ (0, import_jsx_runtime390.jsx)( BlockAlignmentControl, { value: align, @@ -61575,14 +61509,14 @@ var wp; } return props; } - (0, import_hooks17.addFilter)( + (0, import_hooks16.addFilter)( "blocks.registerBlockType", "core/editor/align/addAttribute", addAttribute ); // packages/block-editor/build-module/hooks/lock.mjs - var import_hooks18 = __toESM(require_hooks(), 1); + var import_hooks17 = __toESM(require_hooks(), 1); function addAttribute2(settings2) { if ("type" in (settings2.attributes?.lock ?? {})) { return settings2; @@ -61595,10 +61529,10 @@ var wp; }; return settings2; } - (0, import_hooks18.addFilter)("blocks.registerBlockType", "core/lock/addAttribute", addAttribute2); + (0, import_hooks17.addFilter)("blocks.registerBlockType", "core/lock/addAttribute", addAttribute2); // packages/block-editor/build-module/hooks/allowed-blocks.mjs - var import_hooks19 = __toESM(require_hooks(), 1); + var import_hooks18 = __toESM(require_hooks(), 1); var import_blocks101 = __toESM(require_blocks(), 1); // packages/block-editor/build-module/components/block-allowed-blocks/allowed-blocks-control.mjs @@ -61620,24 +61554,24 @@ var wp; var import_components224 = __toESM(require_components(), 1); var import_i18n203 = __toESM(require_i18n(), 1); var import_element221 = __toESM(require_element(), 1); - var import_compose95 = __toESM(require_compose(), 1); + var import_compose94 = __toESM(require_compose(), 1); var import_a11y19 = __toESM(require_a11y(), 1); // packages/block-editor/build-module/components/block-manager/category.mjs var import_element220 = __toESM(require_element(), 1); - var import_compose94 = __toESM(require_compose(), 1); + var import_compose93 = __toESM(require_compose(), 1); var import_components223 = __toESM(require_components(), 1); // packages/block-editor/build-module/components/block-manager/checklist.mjs var import_components222 = __toESM(require_components(), 1); - var import_jsx_runtime392 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime391 = __toESM(require_jsx_runtime(), 1); function BlockTypesChecklist({ blockTypes, value, onItemChange }) { - return /* @__PURE__ */ (0, import_jsx_runtime392.jsx)("ul", { className: "block-editor-block-manager__checklist", children: blockTypes.map((blockType) => /* @__PURE__ */ (0, import_jsx_runtime392.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime391.jsx)("ul", { className: "block-editor-block-manager__checklist", children: blockTypes.map((blockType) => /* @__PURE__ */ (0, import_jsx_runtime391.jsxs)( "li", { className: "block-editor-block-manager__checklist-item", children: [ - /* @__PURE__ */ (0, import_jsx_runtime392.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime391.jsx)( import_components222.CheckboxControl, { label: blockType.title, @@ -61645,7 +61579,7 @@ var wp; onChange: (...args) => onItemChange(blockType, ...args) } ), - /* @__PURE__ */ (0, import_jsx_runtime392.jsx)(block_icon_default, { icon: blockType.icon }) + /* @__PURE__ */ (0, import_jsx_runtime391.jsx)(block_icon_default, { icon: blockType.icon }) ] }, blockType.name @@ -61654,14 +61588,14 @@ var wp; var checklist_default = BlockTypesChecklist; // packages/block-editor/build-module/components/block-manager/category.mjs - var import_jsx_runtime393 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime392 = __toESM(require_jsx_runtime(), 1); function BlockManagerCategory({ title, blockTypes, selectedBlockTypes, onChange }) { - const instanceId = (0, import_compose94.useInstanceId)(BlockManagerCategory); + const instanceId = (0, import_compose93.useInstanceId)(BlockManagerCategory); const toggleVisible = (0, import_element220.useCallback)( (blockType, nextIsChecked) => { if (nextIsChecked) { @@ -61710,24 +61644,24 @@ var wp; const titleId = "block-editor-block-manager__category-title-" + instanceId; const isAllChecked = checkedBlockNames.length === blockTypes.length; const isIndeterminate = !isAllChecked && checkedBlockNames.length > 0; - return /* @__PURE__ */ (0, import_jsx_runtime393.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime392.jsxs)( "div", { role: "group", "aria-labelledby": titleId, className: "block-editor-block-manager__category", children: [ - /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime392.jsx)( import_components223.CheckboxControl, { checked: isAllChecked, onChange: toggleAllVisible, className: "block-editor-block-manager__category-title", indeterminate: isIndeterminate, - label: /* @__PURE__ */ (0, import_jsx_runtime393.jsx)("span", { id: titleId, children: title }) + label: /* @__PURE__ */ (0, import_jsx_runtime392.jsx)("span", { id: titleId, children: title }) } ), - /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime392.jsx)( checklist_default, { blockTypes, @@ -61742,14 +61676,14 @@ var wp; var category_default2 = BlockManagerCategory; // packages/block-editor/build-module/components/block-manager/index.mjs - var import_jsx_runtime394 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime393 = __toESM(require_jsx_runtime(), 1); function BlockManager({ blockTypes, selectedBlockTypes, onChange, showSelectAll = true }) { - const debouncedSpeak = (0, import_compose95.useDebounce)(import_a11y19.speak, 500); + const debouncedSpeak = (0, import_compose94.useDebounce)(import_a11y19.speak, 500); const [search, setSearch] = (0, import_element221.useState)(""); const { categories, isMatchingSearchTerm } = (0, import_data175.useSelect)((select3) => { return { @@ -61774,8 +61708,8 @@ var wp; ); debouncedSpeak(resultsFoundMessage); }, [filteredBlockTypes?.length, search, debouncedSpeak]); - return /* @__PURE__ */ (0, import_jsx_runtime394.jsxs)(import_components224.__experimentalVStack, { className: "block-editor-block-manager__content", spacing: 4, children: [ - /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime393.jsxs)(import_components224.__experimentalVStack, { className: "block-editor-block-manager__content", spacing: 4, children: [ + /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( import_components224.SearchControl, { label: (0, import_i18n203.__)("Search for a block"), @@ -61785,7 +61719,7 @@ var wp; className: "block-editor-block-manager__search" } ), - showSelectAll && /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( + showSelectAll && /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( import_components224.CheckboxControl, { className: "block-editor-block-manager__select-all", @@ -61801,7 +61735,7 @@ var wp; indeterminate: isIndeterminate } ), - /* @__PURE__ */ (0, import_jsx_runtime394.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime393.jsxs)( "div", { tabIndex: "0", @@ -61809,8 +61743,8 @@ var wp; "aria-label": (0, import_i18n203.__)("Available block types"), className: "block-editor-block-manager__results", children: [ - filteredBlockTypes.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime394.jsx)("p", { className: "block-editor-block-manager__no-results", children: (0, import_i18n203.__)("No blocks found.") }), - categories.map((category) => /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( + filteredBlockTypes.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime393.jsx)("p", { className: "block-editor-block-manager__no-results", children: (0, import_i18n203.__)("No blocks found.") }), + categories.map((category) => /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( category_default2, { title: category.title, @@ -61822,7 +61756,7 @@ var wp; }, category.slug )), - /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime393.jsx)( category_default2, { title: (0, import_i18n203.__)("Uncategorized"), @@ -61840,7 +61774,7 @@ var wp; } // packages/block-editor/build-module/components/block-allowed-blocks/modal.mjs - var import_jsx_runtime395 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime394 = __toESM(require_jsx_runtime(), 1); function BlockAllowedBlocksModal({ clientId, blockTypes, @@ -61859,7 +61793,7 @@ var wp; }); onClose(); }; - return /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( import_components225.Modal, { title: (0, import_i18n204._x)("Manage allowed blocks", "modal title"), @@ -61867,7 +61801,7 @@ var wp; overlayClassName: "block-editor-block-allowed-blocks-modal", focusOnMount: "firstContentElement", size: "medium", - children: /* @__PURE__ */ (0, import_jsx_runtime395.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime394.jsxs)( import_components225.__experimentalVStack, { as: "form", @@ -61877,10 +61811,10 @@ var wp; }, spacing: "4", children: [ - /* @__PURE__ */ (0, import_jsx_runtime395.jsx)(import_components225.__experimentalText, { children: (0, import_i18n204.__)( + /* @__PURE__ */ (0, import_jsx_runtime394.jsx)(import_components225.__experimentalText, { children: (0, import_i18n204.__)( "Select which blocks can be added inside this container." ) }), - /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( BlockManager, { blockTypes, @@ -61890,14 +61824,14 @@ var wp; } } ), - /* @__PURE__ */ (0, import_jsx_runtime395.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime394.jsxs)( import_components225.Flex, { className: "block-editor-block-allowed-blocks-modal__actions", justify: "flex-end", expanded: false, children: [ - /* @__PURE__ */ (0, import_jsx_runtime395.jsx)(import_components225.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime394.jsx)(import_components225.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( import_components225.Button, { variant: "tertiary", @@ -61906,7 +61840,7 @@ var wp; children: (0, import_i18n204.__)("Cancel") } ) }), - /* @__PURE__ */ (0, import_jsx_runtime395.jsx)(import_components225.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime394.jsx)(import_components225.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime394.jsx)( import_components225.Button, { variant: "primary", @@ -61926,7 +61860,7 @@ var wp; } // packages/block-editor/build-module/components/block-allowed-blocks/allowed-blocks-control.mjs - var import_jsx_runtime396 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime395 = __toESM(require_jsx_runtime(), 1); function BlockAllowedBlocksControl({ clientId }) { const [isBlockControlOpened, setIsBlockControlOpened] = (0, import_element223.useState)(false); const { blockTypes, selectedBlockNames } = (0, import_data177.useSelect)( @@ -61948,16 +61882,16 @@ var wp; const selectedBlockTypes = selectedBlockNames === void 0 ? filteredBlockTypes : filteredBlockTypes.filter( (blockType) => selectedBlockNames.includes(blockType.name) ); - return /* @__PURE__ */ (0, import_jsx_runtime396.jsxs)("div", { className: "block-editor-block-allowed-blocks-control", children: [ - /* @__PURE__ */ (0, import_jsx_runtime396.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime395.jsxs)("div", { className: "block-editor-block-allowed-blocks-control", children: [ + /* @__PURE__ */ (0, import_jsx_runtime395.jsxs)( import_components226.BaseControl, { help: (0, import_i18n205.__)( "Specify which blocks are allowed inside this container." ), children: [ - /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(import_components226.BaseControl.VisualLabel, { children: (0, import_i18n205.__)("Allowed Blocks") }), - /* @__PURE__ */ (0, import_jsx_runtime396.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime395.jsx)(import_components226.BaseControl.VisualLabel, { children: (0, import_i18n205.__)("Allowed Blocks") }), + /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( import_components226.Button, { __next40pxDefaultSize: true, @@ -61972,7 +61906,7 @@ var wp; ] } ), - isBlockControlOpened && /* @__PURE__ */ (0, import_jsx_runtime396.jsx)( + isBlockControlOpened && /* @__PURE__ */ (0, import_jsx_runtime395.jsx)( BlockAllowedBlocksModal, { clientId, @@ -61985,14 +61919,14 @@ var wp; } // packages/block-editor/build-module/hooks/allowed-blocks.mjs - var import_jsx_runtime397 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime396 = __toESM(require_jsx_runtime(), 1); function BlockEditAllowedBlocksControlPure({ clientId }) { const blockEditingMode = useBlockEditingMode(); const isContentOnly = blockEditingMode === "contentOnly"; if (isContentOnly) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime397.jsx)(PrivateInspectorControlsAllowedBlocks.Fill, { children: /* @__PURE__ */ (0, import_jsx_runtime397.jsx)(BlockAllowedBlocksControl, { clientId }) }); + return /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(PrivateInspectorControlsAllowedBlocks.Fill, { children: /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(BlockAllowedBlocksControl, { clientId }) }); } var allowed_blocks_default = { edit: BlockEditAllowedBlocksControlPure, @@ -62015,7 +61949,7 @@ var wp; } return settings2; } - (0, import_hooks19.addFilter)( + (0, import_hooks18.addFilter)( "blocks.registerBlockType", "core/allowedBlocks/attribute", addAttribute3 @@ -62062,19 +61996,19 @@ var wp; } }; } - (0, import_hooks19.addFilter)( + (0, import_hooks18.addFilter)( "blocks.switchToBlockType.transformedBlock", "core/allowedBlocks/addTransforms", addTransforms2 ); // packages/block-editor/build-module/hooks/anchor.mjs - var import_hooks20 = __toESM(require_hooks(), 1); + var import_hooks19 = __toESM(require_hooks(), 1); var import_components227 = __toESM(require_components(), 1); var import_i18n206 = __toESM(require_i18n(), 1); var import_blocks102 = __toESM(require_blocks(), 1); var import_element224 = __toESM(require_element(), 1); - var import_jsx_runtime398 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime397 = __toESM(require_jsx_runtime(), 1); var ANCHOR_REGEX = /[\s#]/g; function addAttribute4(settings2) { if ("type" in (settings2.attributes?.anchor ?? {})) { @@ -62096,19 +62030,19 @@ var wp; return null; } const isWeb = import_element224.Platform.OS === "web"; - return /* @__PURE__ */ (0, import_jsx_runtime398.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime398.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime397.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime397.jsx)( import_components227.TextControl, { __next40pxDefaultSize: true, className: "html-anchor-control", label: (0, import_i18n206.__)("HTML anchor"), - help: /* @__PURE__ */ (0, import_jsx_runtime398.jsxs)(import_jsx_runtime398.Fragment, { children: [ + help: /* @__PURE__ */ (0, import_jsx_runtime397.jsxs)(import_jsx_runtime397.Fragment, { children: [ (0, import_i18n206.__)( "Enter a word or two\u2014without spaces\u2014to make a unique web address just for this block, called an \u201Canchor\u201D. Then, you\u2019ll be able to link directly to this section of your page." ), - isWeb && /* @__PURE__ */ (0, import_jsx_runtime398.jsxs)(import_jsx_runtime398.Fragment, { children: [ + isWeb && /* @__PURE__ */ (0, import_jsx_runtime397.jsxs)(import_jsx_runtime397.Fragment, { children: [ " ", - /* @__PURE__ */ (0, import_jsx_runtime398.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime397.jsx)( import_components227.ExternalLink, { href: (0, import_i18n206.__)( @@ -62146,10 +62080,10 @@ var wp; } return extraProps; } - (0, import_hooks20.addFilter)("blocks.registerBlockType", "core/anchor/attribute", addAttribute4); + (0, import_hooks19.addFilter)("blocks.registerBlockType", "core/anchor/attribute", addAttribute4); // packages/block-editor/build-module/hooks/aria-label.mjs - var import_hooks21 = __toESM(require_hooks(), 1); + var import_hooks20 = __toESM(require_hooks(), 1); var import_blocks103 = __toESM(require_blocks(), 1); function addAttribute5(settings2) { if (settings2?.attributes?.ariaLabel?.type) { @@ -62178,7 +62112,7 @@ var wp; return (0, import_blocks103.hasBlockSupport)(name, "ariaLabel"); } }; - (0, import_hooks21.addFilter)( + (0, import_hooks20.addFilter)( "blocks.registerBlockType", "core/ariaLabel/attribute", addAttribute5 @@ -64354,10 +64288,10 @@ var wp; var import_i18n208 = __toESM(require_i18n(), 1); var import_element228 = __toESM(require_element(), 1); var import_date3 = __toESM(require_date(), 1); - var import_jsx_runtime399 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime398 = __toESM(require_jsx_runtime(), 1); var filterTextWrappers = { - Name: /* @__PURE__ */ (0, import_jsx_runtime399.jsx)("span", { className: "dataviews-filters__summary-filter-text-name" }), - Value: /* @__PURE__ */ (0, import_jsx_runtime399.jsx)("span", { className: "dataviews-filters__summary-filter-text-value" }) + Name: /* @__PURE__ */ (0, import_jsx_runtime398.jsx)("span", { className: "dataviews-filters__summary-filter-text-name" }), + Value: /* @__PURE__ */ (0, import_jsx_runtime398.jsx)("span", { className: "dataviews-filters__summary-filter-text-value" }) }; function getRelativeDate(value, unit) { switch (unit) { @@ -64916,7 +64850,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/checkbox.mjs - var import_jsx_runtime400 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime399 = __toESM(require_jsx_runtime(), 1); var { ValidatedCheckboxControl } = unlock2(import_components229.privateApis); function Checkbox({ field, @@ -64932,7 +64866,7 @@ var wp; setValue({ item: data, value: !getValue({ item: data }) }) ); }, [data, getValue, onChange, setValue]); - return /* @__PURE__ */ (0, import_jsx_runtime400.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime399.jsx)( ValidatedCheckboxControl, { required: !!field.isValid?.required, @@ -64950,7 +64884,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/combobox.mjs var import_components230 = __toESM(require_components(), 1); var import_element230 = __toESM(require_element(), 1); - var import_jsx_runtime401 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime400 = __toESM(require_jsx_runtime(), 1); var { ValidatedComboboxControl } = unlock2(import_components230.privateApis); function Combobox({ data, @@ -64970,9 +64904,9 @@ var wp; getElements: field.getElements }); if (isLoading) { - return /* @__PURE__ */ (0, import_jsx_runtime401.jsx)(import_components230.Spinner, {}); + return /* @__PURE__ */ (0, import_jsx_runtime400.jsx)(import_components230.Spinner, {}); } - return /* @__PURE__ */ (0, import_jsx_runtime401.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime400.jsx)( ValidatedComboboxControl, { required: !!field.isValid?.required, @@ -65000,7 +64934,7 @@ var wp; var import_components231 = __toESM(require_components(), 1); var import_element231 = __toESM(require_element(), 1); var import_i18n209 = __toESM(require_i18n(), 1); - var import_jsx_runtime402 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime401 = __toESM(require_jsx_runtime(), 1); var TIME_UNITS_OPTIONS = { [OPERATOR_IN_THE_PAST]: [ { value: "days", label: (0, import_i18n209.__)("Days") }, @@ -65045,15 +64979,15 @@ var wp; ), [onChange, setValue, data, relValue] ); - return /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime401.jsx)( import_components231.BaseControl, { id, className: clsx_default(className, "dataviews-controls__relative-date"), label, hideLabelFromVision, - children: /* @__PURE__ */ (0, import_jsx_runtime402.jsxs)(Stack, { direction: "row", gap: "sm", children: [ - /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime401.jsxs)(Stack, { direction: "row", gap: "sm", children: [ + /* @__PURE__ */ (0, import_jsx_runtime401.jsx)( import_components231.__experimentalNumberControl, { __next40pxDefaultSize: true, @@ -65065,7 +64999,7 @@ var wp; onChange: onChangeValue } ), - /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime401.jsx)( import_components231.SelectControl, { className: "dataviews-controls__relative-date-unit", @@ -65093,7 +65027,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/datetime.mjs - var import_jsx_runtime403 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime402 = __toESM(require_jsx_runtime(), 1); var { DateCalendar, ValidatedInputControl: ValidatedInputControl2 } = unlock2(import_components232.privateApis); var formatDateTime = (date) => { if (!date) { @@ -65196,15 +65130,15 @@ var wp; } else if (!isValid2?.required && markWhenOptional && !hideLabelFromVision) { displayLabel = `${label} (${(0, import_i18n210.__)("Optional")})`; } - return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( import_components232.BaseControl, { id, label: displayLabel, help: description, hideLabelFromVision, - children: /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)(Stack, { direction: "column", gap: "lg", children: [ - /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime402.jsxs)(Stack, { direction: "column", gap: "lg", children: [ + /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( DateCalendar, { style: { width: "100%" }, @@ -65216,7 +65150,7 @@ var wp; weekStartsOn } ), - /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( ValidatedInputControl2, { ref: inputControlRef, @@ -65246,7 +65180,7 @@ var wp; validity }) { if (operator === OPERATOR_IN_THE_PAST || operator === OPERATOR_OVER) { - return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( RelativeDateControl, { className: "dataviews-controls__datetime", @@ -65258,7 +65192,7 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime402.jsx)( CalendarDateTimeControl, { data, @@ -65276,7 +65210,7 @@ var wp; var import_element233 = __toESM(require_element(), 1); var import_i18n211 = __toESM(require_i18n(), 1); var import_date6 = __toESM(require_date(), 1); - var import_jsx_runtime404 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime403 = __toESM(require_jsx_runtime(), 1); var { DateCalendar: DateCalendar2, DateRangeCalendar } = unlock2(import_components233.privateApis); var DATE_PRESETS = [ { @@ -65434,9 +65368,9 @@ var wp; setIsTouched(true); } }; - return /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)("div", { onBlur, children: [ + return /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)("div", { onBlur, children: [ children, - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)("div", { "aria-live": "polite", children: customValidity && /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)("div", { "aria-live": "polite", children: customValidity && /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)( "p", { className: clsx_default( @@ -65444,7 +65378,7 @@ var wp; customValidity.type === "invalid" ? "is-invalid" : void 0 ), children: [ - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.Icon, { className: "components-validated-control__indicator-icon", @@ -65534,7 +65468,7 @@ var wp; } else if (!isValid2?.required && markWhenOptional) { displayLabel = `${label} (${(0, import_i18n211.__)("Optional")})`; } - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( ValidatedDateControl, { field, @@ -65542,15 +65476,15 @@ var wp; inputRefs: validityTargetRef, isTouched, setIsTouched, - children: /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.BaseControl, { id, className: "dataviews-controls__date", label: displayLabel, hideLabelFromVision, - children: /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)(Stack, { direction: "column", gap: "lg", children: [ - /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)(Stack, { direction: "column", gap: "lg", children: [ + /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)( Stack, { direction: "row", @@ -65560,7 +65494,7 @@ var wp; children: [ DATE_PRESETS.map((preset) => { const isSelected = selectedPresetId === preset.id; - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.Button, { className: "dataviews-controls__date-preset", @@ -65573,7 +65507,7 @@ var wp; preset.id ); }), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.Button, { className: "dataviews-controls__date-preset", @@ -65588,7 +65522,7 @@ var wp; ] } ), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.__experimentalInputControl, { __next40pxDefaultSize: true, @@ -65601,7 +65535,7 @@ var wp; required: !!field.isValid?.required } ), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( DateCalendar2, { style: { width: "100%" }, @@ -65722,7 +65656,7 @@ var wp; } else if (!field.isValid?.required && markWhenOptional) { displayLabel = `${label} (${(0, import_i18n211.__)("Optional")})`; } - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( ValidatedDateControl, { field, @@ -65730,15 +65664,15 @@ var wp; inputRefs: [fromInputRef, toInputRef], isTouched, setIsTouched, - children: /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.BaseControl, { id, className: "dataviews-controls__date", label: displayLabel, hideLabelFromVision, - children: /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)(Stack, { direction: "column", gap: "lg", children: [ - /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)(Stack, { direction: "column", gap: "lg", children: [ + /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)( Stack, { direction: "row", @@ -65748,7 +65682,7 @@ var wp; children: [ DATE_RANGE_PRESETS.map((preset) => { const isSelected = selectedPresetId === preset.id; - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.Button, { className: "dataviews-controls__date-preset", @@ -65761,7 +65695,7 @@ var wp; preset.id ); }), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.Button, { className: "dataviews-controls__date-preset", @@ -65776,7 +65710,7 @@ var wp; ] } ), - /* @__PURE__ */ (0, import_jsx_runtime404.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsxs)( Stack, { direction: "row", @@ -65784,7 +65718,7 @@ var wp; justify: "space-between", className: "dataviews-controls__date-range-inputs", children: [ - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.__experimentalInputControl, { __next40pxDefaultSize: true, @@ -65797,7 +65731,7 @@ var wp; required: !!field.isValid?.required } ), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( import_components233.__experimentalInputControl, { __next40pxDefaultSize: true, @@ -65813,7 +65747,7 @@ var wp; ] } ), - /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( DateRangeCalendar, { style: { width: "100%" }, @@ -65841,7 +65775,7 @@ var wp; validity }) { if (operator === OPERATOR_IN_THE_PAST || operator === OPERATOR_OVER) { - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( RelativeDateControl, { className: "dataviews-controls__date", @@ -65854,7 +65788,7 @@ var wp; ); } if (operator === OPERATOR_BETWEEN) { - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( CalendarDateRangeControl, { data, @@ -65866,7 +65800,7 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime403.jsx)( CalendarDateControl, { data, @@ -65882,7 +65816,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/select.mjs var import_components234 = __toESM(require_components(), 1); var import_element234 = __toESM(require_element(), 1); - var import_jsx_runtime405 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime404 = __toESM(require_jsx_runtime(), 1); var { ValidatedSelectControl } = unlock2(import_components234.privateApis); function Select({ data, @@ -65904,9 +65838,9 @@ var wp; getElements: field.getElements }); if (isLoading) { - return /* @__PURE__ */ (0, import_jsx_runtime405.jsx)(import_components234.Spinner, {}); + return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)(import_components234.Spinner, {}); } - return /* @__PURE__ */ (0, import_jsx_runtime405.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime404.jsx)( ValidatedSelectControl, { required: !!field.isValid?.required, @@ -65925,7 +65859,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/adaptive-select.mjs - var import_jsx_runtime406 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime405 = __toESM(require_jsx_runtime(), 1); var ELEMENTS_THRESHOLD = 10; function AdaptiveSelect(props) { const { field } = props; @@ -65934,9 +65868,9 @@ var wp; getElements: field.getElements }); if (elements.length >= ELEMENTS_THRESHOLD) { - return /* @__PURE__ */ (0, import_jsx_runtime406.jsx)(Combobox, { ...props }); + return /* @__PURE__ */ (0, import_jsx_runtime405.jsx)(Combobox, { ...props }); } - return /* @__PURE__ */ (0, import_jsx_runtime406.jsx)(Select, { ...props }); + return /* @__PURE__ */ (0, import_jsx_runtime405.jsx)(Select, { ...props }); } // packages/dataviews/build-module/components/dataform-controls/email.mjs @@ -65945,7 +65879,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/utils/validated-input.mjs var import_components235 = __toESM(require_components(), 1); var import_element235 = __toESM(require_element(), 1); - var import_jsx_runtime407 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime406 = __toESM(require_jsx_runtime(), 1); var { ValidatedInputControl: ValidatedInputControl3 } = unlock2(import_components235.privateApis); function ValidatedText({ data, @@ -65969,7 +65903,7 @@ var wp; ), [data, setValue, onChange] ); - return /* @__PURE__ */ (0, import_jsx_runtime407.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime406.jsx)( ValidatedInputControl3, { required: !!isValid2.required, @@ -65993,7 +65927,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/email.mjs - var import_jsx_runtime408 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime407 = __toESM(require_jsx_runtime(), 1); function Email({ data, field, @@ -66001,6 +65935,34 @@ var wp; hideLabelFromVision, markWhenOptional, validity + }) { + return /* @__PURE__ */ (0, import_jsx_runtime407.jsx)( + ValidatedText, + { + ...{ + data, + field, + onChange, + hideLabelFromVision, + markWhenOptional, + validity, + type: "email", + prefix: /* @__PURE__ */ (0, import_jsx_runtime407.jsx)(import_components236.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime407.jsx)(import_components236.Icon, { icon: envelope_default }) }) + } + } + ); + } + + // packages/dataviews/build-module/components/dataform-controls/telephone.mjs + var import_components237 = __toESM(require_components(), 1); + var import_jsx_runtime408 = __toESM(require_jsx_runtime(), 1); + function Telephone({ + data, + field, + onChange, + hideLabelFromVision, + markWhenOptional, + validity }) { return /* @__PURE__ */ (0, import_jsx_runtime408.jsx)( ValidatedText, @@ -66012,17 +65974,17 @@ var wp; hideLabelFromVision, markWhenOptional, validity, - type: "email", - prefix: /* @__PURE__ */ (0, import_jsx_runtime408.jsx)(import_components236.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime408.jsx)(import_components236.Icon, { icon: envelope_default }) }) + type: "tel", + prefix: /* @__PURE__ */ (0, import_jsx_runtime408.jsx)(import_components237.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime408.jsx)(import_components237.Icon, { icon: mobile_default }) }) } } ); } - // packages/dataviews/build-module/components/dataform-controls/telephone.mjs - var import_components237 = __toESM(require_components(), 1); + // packages/dataviews/build-module/components/dataform-controls/url.mjs + var import_components238 = __toESM(require_components(), 1); var import_jsx_runtime409 = __toESM(require_jsx_runtime(), 1); - function Telephone({ + function Url({ data, field, onChange, @@ -66031,34 +65993,6 @@ var wp; validity }) { return /* @__PURE__ */ (0, import_jsx_runtime409.jsx)( - ValidatedText, - { - ...{ - data, - field, - onChange, - hideLabelFromVision, - markWhenOptional, - validity, - type: "tel", - prefix: /* @__PURE__ */ (0, import_jsx_runtime409.jsx)(import_components237.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime409.jsx)(import_components237.Icon, { icon: mobile_default }) }) - } - } - ); - } - - // packages/dataviews/build-module/components/dataform-controls/url.mjs - var import_components238 = __toESM(require_components(), 1); - var import_jsx_runtime410 = __toESM(require_jsx_runtime(), 1); - function Url({ - data, - field, - onChange, - hideLabelFromVision, - markWhenOptional, - validity - }) { - return /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( ValidatedText, { ...{ @@ -66069,7 +66003,7 @@ var wp; markWhenOptional, validity, type: "url", - prefix: /* @__PURE__ */ (0, import_jsx_runtime410.jsx)(import_components238.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime410.jsx)(import_components238.Icon, { icon: link_default }) }) + prefix: /* @__PURE__ */ (0, import_jsx_runtime409.jsx)(import_components238.__experimentalInputControlPrefixWrapper, { variant: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime409.jsx)(import_components238.Icon, { icon: link_default }) }) } } ); @@ -66079,7 +66013,7 @@ var wp; var import_components239 = __toESM(require_components(), 1); var import_element236 = __toESM(require_element(), 1); var import_i18n212 = __toESM(require_i18n(), 1); - var import_jsx_runtime411 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime410 = __toESM(require_jsx_runtime(), 1); var { ValidatedNumberControl } = unlock2(import_components239.privateApis); function toNumberOrEmpty(value) { if (value === "" || value === void 0) { @@ -66103,12 +66037,12 @@ var wp; (newValue) => onChange([min, toNumberOrEmpty(newValue)]), [onChange, min] ); - return /* @__PURE__ */ (0, import_jsx_runtime411.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( import_components239.BaseControl, { help: (0, import_i18n212.__)("The max. value must be greater than the min. value."), - children: /* @__PURE__ */ (0, import_jsx_runtime411.jsxs)(import_components239.Flex, { direction: "row", gap: 4, children: [ - /* @__PURE__ */ (0, import_jsx_runtime411.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime410.jsxs)(import_components239.Flex, { direction: "row", gap: 4, children: [ + /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( import_components239.__experimentalNumberControl, { label: (0, import_i18n212.__)("Min."), @@ -66120,7 +66054,7 @@ var wp; step } ), - /* @__PURE__ */ (0, import_jsx_runtime411.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( import_components239.__experimentalNumberControl, { label: (0, import_i18n212.__)("Max."), @@ -66181,7 +66115,7 @@ var wp; )) { valueBetween = value; } - return /* @__PURE__ */ (0, import_jsx_runtime411.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( BetweenControls, { value: valueBetween, @@ -66191,7 +66125,7 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime411.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime410.jsx)( ValidatedNumberControl, { required: !!isValid2.required, @@ -66211,21 +66145,21 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/integer.mjs - var import_jsx_runtime412 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime411 = __toESM(require_jsx_runtime(), 1); function Integer(props) { - return /* @__PURE__ */ (0, import_jsx_runtime412.jsx)(ValidatedNumber, { ...props }); + return /* @__PURE__ */ (0, import_jsx_runtime411.jsx)(ValidatedNumber, { ...props }); } // packages/dataviews/build-module/components/dataform-controls/number.mjs - var import_jsx_runtime413 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime412 = __toESM(require_jsx_runtime(), 1); function Number2(props) { - return /* @__PURE__ */ (0, import_jsx_runtime413.jsx)(ValidatedNumber, { ...props }); + return /* @__PURE__ */ (0, import_jsx_runtime412.jsx)(ValidatedNumber, { ...props }); } // packages/dataviews/build-module/components/dataform-controls/radio.mjs var import_components240 = __toESM(require_components(), 1); var import_element237 = __toESM(require_element(), 1); - var import_jsx_runtime414 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime413 = __toESM(require_jsx_runtime(), 1); var { ValidatedRadioControl } = unlock2(import_components240.privateApis); function Radio({ data, @@ -66246,9 +66180,9 @@ var wp; [data, onChange, setValue] ); if (isLoading) { - return /* @__PURE__ */ (0, import_jsx_runtime414.jsx)(import_components240.Spinner, {}); + return /* @__PURE__ */ (0, import_jsx_runtime413.jsx)(import_components240.Spinner, {}); } - return /* @__PURE__ */ (0, import_jsx_runtime414.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime413.jsx)( ValidatedRadioControl, { required: !!field.isValid?.required, @@ -66266,7 +66200,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/text.mjs var import_element238 = __toESM(require_element(), 1); - var import_jsx_runtime415 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime414 = __toESM(require_jsx_runtime(), 1); function Text11({ data, field, @@ -66277,7 +66211,7 @@ var wp; validity }) { const { prefix: prefix2, suffix } = config2 || {}; - return /* @__PURE__ */ (0, import_jsx_runtime415.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime414.jsx)( ValidatedText, { ...{ @@ -66297,7 +66231,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/toggle.mjs var import_components241 = __toESM(require_components(), 1); var import_element239 = __toESM(require_element(), 1); - var import_jsx_runtime416 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime415 = __toESM(require_jsx_runtime(), 1); var { ValidatedToggleControl } = unlock2(import_components241.privateApis); function Toggle({ field, @@ -66313,7 +66247,7 @@ var wp; setValue({ item: data, value: !getValue({ item: data }) }) ); }, [onChange, setValue, data, getValue]); - return /* @__PURE__ */ (0, import_jsx_runtime416.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime415.jsx)( ValidatedToggleControl, { required: !!isValid2.required, @@ -66331,7 +66265,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/textarea.mjs var import_components242 = __toESM(require_components(), 1); var import_element240 = __toESM(require_element(), 1); - var import_jsx_runtime417 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime416 = __toESM(require_jsx_runtime(), 1); var { ValidatedTextareaControl } = unlock2(import_components242.privateApis); function Textarea({ data, @@ -66349,7 +66283,7 @@ var wp; (newValue) => onChange(setValue({ item: data, value: newValue })), [data, onChange, setValue] ); - return /* @__PURE__ */ (0, import_jsx_runtime417.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime416.jsx)( ValidatedTextareaControl, { required: !!isValid2.required, @@ -66372,7 +66306,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/toggle-group.mjs var import_components243 = __toESM(require_components(), 1); var import_element241 = __toESM(require_element(), 1); - var import_jsx_runtime418 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime417 = __toESM(require_jsx_runtime(), 1); var { ValidatedToggleGroupControl } = unlock2(import_components243.privateApis); function ToggleGroup({ data, @@ -66393,13 +66327,13 @@ var wp; getElements: field.getElements }); if (isLoading) { - return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)(import_components243.Spinner, {}); + return /* @__PURE__ */ (0, import_jsx_runtime417.jsx)(import_components243.Spinner, {}); } if (elements.length === 0) { return null; } const selectedOption = elements.find((el) => el.value === value); - return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime417.jsx)( ValidatedToggleGroupControl, { required: !!field.isValid?.required, @@ -66412,7 +66346,7 @@ var wp; onChange: onChangeControl, value, hideLabelFromVision, - children: elements.map((el) => /* @__PURE__ */ (0, import_jsx_runtime418.jsx)( + children: elements.map((el) => /* @__PURE__ */ (0, import_jsx_runtime417.jsx)( import_components243.__experimentalToggleGroupControlOption, { label: el.label, @@ -66427,7 +66361,7 @@ var wp; // packages/dataviews/build-module/components/dataform-controls/array.mjs var import_components244 = __toESM(require_components(), 1); var import_element242 = __toESM(require_element(), 1); - var import_jsx_runtime419 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime418 = __toESM(require_jsx_runtime(), 1); var { ValidatedFormTokenField } = unlock2(import_components244.privateApis); function ArrayControl({ data, @@ -66465,9 +66399,9 @@ var wp; [onChange, setValue, data] ); if (isLoading) { - return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)(import_components244.Spinner, {}); + return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)(import_components244.Spinner, {}); } - return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)( ValidatedFormTokenField, { required: !!isValid2?.required, @@ -66505,9 +66439,9 @@ var wp; const element = elements.find( (el) => el.value === item ); - return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)("span", { children: element?.label || item }); + return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)("span", { children: element?.label || item }); } - return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)("span", { children: item }); + return /* @__PURE__ */ (0, import_jsx_runtime418.jsx)("span", { children: item }); } } ); @@ -66517,28 +66451,28 @@ var wp; var import_components245 = __toESM(require_components(), 1); var import_element243 = __toESM(require_element(), 1); var import_i18n213 = __toESM(require_i18n(), 1); - var import_jsx_runtime420 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime419 = __toESM(require_jsx_runtime(), 1); var { ValidatedInputControl: ValidatedInputControl4 } = unlock2(import_components245.privateApis); var ColorPickerDropdown = ({ color, onColorChange }) => { const validColor = color && w(color).isValid() ? color : "#ffffff"; - return /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( import_components245.Dropdown, { className: "dataviews-controls__color-picker-dropdown", popoverProps: { resize: false }, - renderToggle: ({ onToggle }) => /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( + renderToggle: ({ onToggle }) => /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( import_components245.Button, { onClick: onToggle, "aria-label": (0, import_i18n213.__)("Open color picker"), size: "small", - icon: () => /* @__PURE__ */ (0, import_jsx_runtime420.jsx)(import_components245.ColorIndicator, { colorValue: validColor }) + icon: () => /* @__PURE__ */ (0, import_jsx_runtime419.jsx)(import_components245.ColorIndicator, { colorValue: validColor }) } ), - renderContent: () => /* @__PURE__ */ (0, import_jsx_runtime420.jsx)(import_components245.__experimentalDropdownContentWrapper, { paddingSize: "none", children: /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( + renderContent: () => /* @__PURE__ */ (0, import_jsx_runtime419.jsx)(import_components245.__experimentalDropdownContentWrapper, { paddingSize: "none", children: /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( import_components245.ColorPicker, { color: validColor, @@ -66571,7 +66505,7 @@ var wp; }, [data, onChange, setValue] ); - return /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( ValidatedInputControl4, { required: !!field.isValid?.required, @@ -66584,7 +66518,7 @@ var wp; onChange: handleInputChange, hideLabelFromVision, type: "text", - prefix: /* @__PURE__ */ (0, import_jsx_runtime420.jsx)(import_components245.__experimentalInputControlPrefixWrapper, { variant: "control", children: /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( + prefix: /* @__PURE__ */ (0, import_jsx_runtime419.jsx)(import_components245.__experimentalInputControlPrefixWrapper, { variant: "control", children: /* @__PURE__ */ (0, import_jsx_runtime419.jsx)( ColorPickerDropdown, { color: value, @@ -66599,7 +66533,7 @@ var wp; var import_components246 = __toESM(require_components(), 1); var import_element244 = __toESM(require_element(), 1); var import_i18n214 = __toESM(require_i18n(), 1); - var import_jsx_runtime421 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime420 = __toESM(require_jsx_runtime(), 1); function Password({ data, field, @@ -66612,7 +66546,7 @@ var wp; const toggleVisibility = (0, import_element244.useCallback)(() => { setIsVisible((prev) => !prev); }, []); - return /* @__PURE__ */ (0, import_jsx_runtime421.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( ValidatedText, { ...{ @@ -66623,7 +66557,7 @@ var wp; markWhenOptional, validity, type: isVisible ? "text" : "password", - suffix: /* @__PURE__ */ (0, import_jsx_runtime421.jsx)(import_components246.__experimentalInputControlSuffixWrapper, { variant: "control", children: /* @__PURE__ */ (0, import_jsx_runtime421.jsx)( + suffix: /* @__PURE__ */ (0, import_jsx_runtime420.jsx)(import_components246.__experimentalInputControlSuffixWrapper, { variant: "control", children: /* @__PURE__ */ (0, import_jsx_runtime420.jsx)( import_components246.Button, { icon: isVisible ? unseen_default : seen_default, @@ -66643,7 +66577,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-controls/index.mjs - var import_jsx_runtime422 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime421 = __toESM(require_jsx_runtime(), 1); var FORM_CONTROLS = { adaptiveSelect: AdaptiveSelect, array: ArrayControl, @@ -66675,7 +66609,7 @@ var wp; return null; } return function ConfiguredControl(props) { - return /* @__PURE__ */ (0, import_jsx_runtime422.jsx)(BaseControlType, { ...props, config: controlConfig }); + return /* @__PURE__ */ (0, import_jsx_runtime421.jsx)(BaseControlType, { ...props, config: controlConfig }); }; } function getControl(field, fallback) { @@ -66773,13 +66707,13 @@ var wp; } // packages/dataviews/build-module/field-types/utils/render-default.mjs - var import_jsx_runtime423 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime422 = __toESM(require_jsx_runtime(), 1); function render({ item, field }) { if (field.hasElements) { - return /* @__PURE__ */ (0, import_jsx_runtime423.jsx)(RenderFromElements, { item, field }); + return /* @__PURE__ */ (0, import_jsx_runtime422.jsx)(RenderFromElements, { item, field }); } return field.getValueFormatted({ item, field }); } @@ -67457,17 +67391,17 @@ var wp; // packages/dataviews/build-module/field-types/color.mjs var import_i18n220 = __toESM(require_i18n(), 1); - var import_jsx_runtime424 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime423 = __toESM(require_jsx_runtime(), 1); function render3({ item, field }) { if (field.hasElements) { - return /* @__PURE__ */ (0, import_jsx_runtime424.jsx)(RenderFromElements, { item, field }); + return /* @__PURE__ */ (0, import_jsx_runtime423.jsx)(RenderFromElements, { item, field }); } const value = get_value_formatted_default_default({ item, field }); if (!value || !w(value).isValid()) { return value; } - return /* @__PURE__ */ (0, import_jsx_runtime424.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [ - /* @__PURE__ */ (0, import_jsx_runtime424.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime423.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [ + /* @__PURE__ */ (0, import_jsx_runtime423.jsx)( "div", { style: { @@ -67480,7 +67414,7 @@ var wp; } } ), - /* @__PURE__ */ (0, import_jsx_runtime424.jsx)("span", { children: value }) + /* @__PURE__ */ (0, import_jsx_runtime423.jsx)("span", { children: value }) ] }); } function isValidCustom6(item, field) { @@ -67746,7 +67680,7 @@ var wp; // packages/dataviews/build-module/components/dataform-context/index.mjs var import_element245 = __toESM(require_element(), 1); - var import_jsx_runtime425 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime424 = __toESM(require_jsx_runtime(), 1); var DataFormContext = (0, import_element245.createContext)({ fields: [] }); @@ -67755,7 +67689,7 @@ var wp; fields, children }) { - return /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(DataFormContext.Provider, { value: { fields }, children }); + return /* @__PURE__ */ (0, import_jsx_runtime424.jsx)(DataFormContext.Provider, { value: { fields }, children }); } var dataform_context_default = DataFormContext; @@ -67867,15 +67801,15 @@ var wp; var normalize_form_default = normalizeForm; // packages/dataviews/build-module/components/dataform-layouts/regular/index.mjs - var import_jsx_runtime426 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime425 = __toESM(require_jsx_runtime(), 1); function Header({ title }) { - return /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( Stack, { direction: "column", className: "dataforms-layouts-regular__header", gap: "lg", - children: /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(Stack, { direction: "row", align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_components247.__experimentalHeading, { level: 2, size: 13, children: title }) }) + children: /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(Stack, { direction: "row", align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(import_components247.__experimentalHeading, { level: 2, size: 13, children: title }) }) } ); } @@ -67897,9 +67831,9 @@ var wp; [field] ); if (!!field.children) { - return /* @__PURE__ */ (0, import_jsx_runtime426.jsxs)(import_jsx_runtime426.Fragment, { children: [ - !hideLabelFromVision && field.label && /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(Header, { title: field.label }), - /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime425.jsxs)(import_jsx_runtime425.Fragment, { children: [ + !hideLabelFromVision && field.label && /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(Header, { title: field.label }), + /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( DataFormLayout, { data, @@ -67918,30 +67852,30 @@ var wp; return null; } if (labelPosition === "side") { - return /* @__PURE__ */ (0, import_jsx_runtime426.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime425.jsxs)( Stack, { direction: "row", className: "dataforms-layouts-regular__field", gap: "sm", children: [ - /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( "div", { className: clsx_default( "dataforms-layouts-regular__field-label", `dataforms-layouts-regular__field-label--label-position-${labelPosition}` ), - children: /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_components247.BaseControl.VisualLabel, { children: fieldDefinition.label }) + children: /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(import_components247.BaseControl.VisualLabel, { children: fieldDefinition.label }) } ), - /* @__PURE__ */ (0, import_jsx_runtime426.jsx)("div", { className: "dataforms-layouts-regular__field-control", children: fieldDefinition.readOnly === true ? /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime425.jsx)("div", { className: "dataforms-layouts-regular__field-control", children: fieldDefinition.readOnly === true ? /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( fieldDefinition.render, { item: data, field: fieldDefinition } - ) : /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + ) : /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( fieldDefinition.Edit, { data, @@ -67957,16 +67891,16 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime426.jsx)("div", { className: "dataforms-layouts-regular__field", children: fieldDefinition.readOnly === true ? /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_jsx_runtime426.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime426.jsxs)(import_jsx_runtime426.Fragment, { children: [ - !hideLabelFromVision && labelPosition !== "none" && /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_components247.BaseControl.VisualLabel, { children: fieldDefinition.label }), - /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime425.jsx)("div", { className: "dataforms-layouts-regular__field", children: fieldDefinition.readOnly === true ? /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(import_jsx_runtime425.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime425.jsxs)(import_jsx_runtime425.Fragment, { children: [ + !hideLabelFromVision && labelPosition !== "none" && /* @__PURE__ */ (0, import_jsx_runtime425.jsx)(import_components247.BaseControl.VisualLabel, { children: fieldDefinition.label }), + /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( fieldDefinition.render, { item: data, field: fieldDefinition } ) - ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime426.jsx)( + ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime425.jsx)( fieldDefinition.Edit, { data, @@ -67984,12 +67918,12 @@ var wp; var import_components250 = __toESM(require_components(), 1); var import_i18n223 = __toESM(require_i18n(), 1); var import_element251 = __toESM(require_element(), 1); - var import_compose97 = __toESM(require_compose(), 1); + var import_compose96 = __toESM(require_compose(), 1); // packages/dataviews/build-module/components/dataform-layouts/panel/summary-button.mjs var import_components249 = __toESM(require_components(), 1); var import_i18n221 = __toESM(require_i18n(), 1); - var import_compose96 = __toESM(require_compose(), 1); + var import_compose95 = __toESM(require_compose(), 1); var import_element247 = __toESM(require_element(), 1); // packages/dataviews/build-module/components/dataform-layouts/panel/utils/get-label-classname.mjs @@ -68004,10 +67938,10 @@ var wp; // packages/dataviews/build-module/components/dataform-layouts/panel/utils/get-label-content.mjs var import_components248 = __toESM(require_components(), 1); - var import_jsx_runtime427 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime426 = __toESM(require_jsx_runtime(), 1); function getLabelContent(showError, errorMessage, fieldLabel) { - return showError ? /* @__PURE__ */ (0, import_jsx_runtime427.jsx)(import_components248.Tooltip, { text: errorMessage, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime427.jsxs)("span", { className: "dataforms-layouts-panel__field-label-error-content", children: [ - /* @__PURE__ */ (0, import_jsx_runtime427.jsx)(import_components248.Icon, { icon: error_default, size: 16 }), + return showError ? /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_components248.Tooltip, { text: errorMessage, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime426.jsxs)("span", { className: "dataforms-layouts-panel__field-label-error-content", children: [ + /* @__PURE__ */ (0, import_jsx_runtime426.jsx)(import_components248.Icon, { icon: error_default, size: 16 }), fieldLabel ] }) }) : fieldLabel; } @@ -68049,7 +67983,7 @@ var wp; var get_first_validation_error_default = getFirstValidationError; // packages/dataviews/build-module/components/dataform-layouts/panel/summary-button.mjs - var import_jsx_runtime428 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime427 = __toESM(require_jsx_runtime(), 1); function SummaryButton({ data, field, @@ -68074,7 +68008,7 @@ var wp; "dataforms-layouts-panel__field-trigger--edit-always": editVisibility === "always" } ); - const controlId = (0, import_compose96.useInstanceId)( + const controlId = (0, import_compose95.useInstanceId)( SummaryButton, "dataforms-layouts-panel__field-control" ); @@ -68101,7 +68035,7 @@ var wp; onClick(); } }; - return /* @__PURE__ */ (0, import_jsx_runtime428.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime427.jsxs)( "div", { ref: rowRef, @@ -68109,14 +68043,14 @@ var wp; onClick: !disabled ? handleRowClick : void 0, onKeyDown: !disabled ? handleKeyDown : void 0, children: [ - labelPosition !== "none" && /* @__PURE__ */ (0, import_jsx_runtime428.jsx)("span", { className: labelClassName, children: labelContent }), - labelPosition === "none" && showError && /* @__PURE__ */ (0, import_jsx_runtime428.jsx)(import_components249.Tooltip, { text: errorMessage, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime428.jsx)("span", { className: "dataforms-layouts-panel__field-label-error-content", children: /* @__PURE__ */ (0, import_jsx_runtime428.jsx)(import_components249.Icon, { icon: error_default, size: 16 }) }) }), - /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + labelPosition !== "none" && /* @__PURE__ */ (0, import_jsx_runtime427.jsx)("span", { className: labelClassName, children: labelContent }), + labelPosition === "none" && showError && /* @__PURE__ */ (0, import_jsx_runtime427.jsx)(import_components249.Tooltip, { text: errorMessage, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime427.jsx)("span", { className: "dataforms-layouts-panel__field-label-error-content", children: /* @__PURE__ */ (0, import_jsx_runtime427.jsx)(import_components249.Icon, { icon: error_default, size: 16 }) }) }), + /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( "span", { id: `${controlId}`, className: "dataforms-layouts-panel__field-control", - children: summaryFields.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + children: summaryFields.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( "span", { style: { @@ -68126,11 +68060,11 @@ var wp; width: "100%", gap: "2px" }, - children: summaryFields.map((summaryField) => /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + children: summaryFields.map((summaryField) => /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( "span", { style: { width: "100%" }, - children: /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( summaryField.render, { item: data, @@ -68141,7 +68075,7 @@ var wp; summaryField.id )) } - ) : summaryFields.map((summaryField) => /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + ) : summaryFields.map((summaryField) => /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( summaryField.render, { item: data, @@ -68151,7 +68085,7 @@ var wp; )) } ), - !disabled && /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( + !disabled && /* @__PURE__ */ (0, import_jsx_runtime427.jsx)( import_components249.Button, { className: "dataforms-layouts-panel__field-trigger-icon", @@ -68744,7 +68678,7 @@ var wp; var use_field_from_form_field_default = useFieldFromFormField; // packages/dataviews/build-module/components/dataform-layouts/panel/modal.mjs - var import_jsx_runtime429 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime428 = __toESM(require_jsx_runtime(), 1); function ModalContent({ data, field, @@ -68795,11 +68729,11 @@ var wp; }) ); }; - const focusOnMountRef = (0, import_compose97.useFocusOnMount)("firstInputElement"); + const focusOnMountRef = (0, import_compose96.useFocusOnMount)("firstInputElement"); const contentRef = (0, import_element251.useRef)(null); - const mergedRef = (0, import_compose97.useMergeRefs)([focusOnMountRef, contentRef]); + const mergedRef = (0, import_compose96.useMergeRefs)([focusOnMountRef, contentRef]); useReportValidity(contentRef, touched); - return /* @__PURE__ */ (0, import_jsx_runtime429.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime428.jsxs)( import_components250.Modal, { className: "dataforms-layouts-panel__modal", @@ -68808,14 +68742,14 @@ var wp; title: fieldLabel, size: "medium", children: [ - /* @__PURE__ */ (0, import_jsx_runtime429.jsx)("div", { ref: mergedRef, children: /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime428.jsx)("div", { ref: mergedRef, children: /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( DataFormLayout, { data: modalData, form, onChange: handleOnChange, validity, - children: (FieldLayout, childField, childFieldValidity, markWhenOptional) => /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + children: (FieldLayout, childField, childFieldValidity, markWhenOptional) => /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( FieldLayout, { data: modalData, @@ -68829,15 +68763,15 @@ var wp; ) } ) }), - /* @__PURE__ */ (0, import_jsx_runtime429.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime428.jsxs)( Stack, { direction: "row", className: "dataforms-layouts-panel__modal-footer", gap: "md", children: [ - /* @__PURE__ */ (0, import_jsx_runtime429.jsx)(import_components250.__experimentalSpacer, { style: { flex: 1 } }), - /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime428.jsx)(import_components250.__experimentalSpacer, { style: { flex: 1 } }), + /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( import_components250.Button, { variant: "tertiary", @@ -68846,7 +68780,7 @@ var wp; children: (0, import_i18n223.__)("Cancel") } ), - /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( import_components250.Button, { variant: "primary", @@ -68878,8 +68812,8 @@ var wp; setIsOpen(false); setTouched(true); }; - return /* @__PURE__ */ (0, import_jsx_runtime429.jsxs)(import_jsx_runtime429.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime428.jsxs)(import_jsx_runtime428.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( SummaryButton, { data, @@ -68893,7 +68827,7 @@ var wp; "aria-expanded": isOpen } ), - isOpen && /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( + isOpen && /* @__PURE__ */ (0, import_jsx_runtime428.jsx)( ModalContent, { data, @@ -68912,22 +68846,22 @@ var wp; var import_components251 = __toESM(require_components(), 1); var import_i18n224 = __toESM(require_i18n(), 1); var import_element252 = __toESM(require_element(), 1); - var import_compose98 = __toESM(require_compose(), 1); - var import_jsx_runtime430 = __toESM(require_jsx_runtime(), 1); + var import_compose97 = __toESM(require_compose(), 1); + var import_jsx_runtime429 = __toESM(require_jsx_runtime(), 1); function DropdownHeader({ title, onClose }) { - return /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( Stack, { direction: "column", className: "dataforms-layouts-panel__dropdown-header", gap: "lg", - children: /* @__PURE__ */ (0, import_jsx_runtime430.jsxs)(Stack, { direction: "row", gap: "sm", align: "center", children: [ - title && /* @__PURE__ */ (0, import_jsx_runtime430.jsx)(import_components251.__experimentalHeading, { level: 2, size: 13, children: title }), - /* @__PURE__ */ (0, import_jsx_runtime430.jsx)(import_components251.__experimentalSpacer, { style: { flex: 1 } }), - onClose && /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime429.jsxs)(Stack, { direction: "row", gap: "sm", align: "center", children: [ + title && /* @__PURE__ */ (0, import_jsx_runtime429.jsx)(import_components251.__experimentalHeading, { level: 2, size: 13, children: title }), + /* @__PURE__ */ (0, import_jsx_runtime429.jsx)(import_components251.__experimentalSpacer, { style: { flex: 1 } }), + onClose && /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( import_components251.Button, { label: (0, import_i18n224.__)("Close"), @@ -68946,7 +68880,7 @@ var wp; }) { const ref = (0, import_element252.useRef)(null); useReportValidity(ref, touched); - return /* @__PURE__ */ (0, import_jsx_runtime430.jsx)("div", { ref, children }); + return /* @__PURE__ */ (0, import_jsx_runtime429.jsx)("div", { ref, children }); } function PanelDropdown({ data, @@ -68969,7 +68903,7 @@ var wp; }), [popoverAnchor] ); - const [dialogRef, dialogProps] = (0, import_compose98.__experimentalUseDialog)({ + const [dialogRef, dialogProps] = (0, import_compose97.__experimentalUseDialog)({ focusOnMount: "firstInputElement" }); const form = (0, import_element252.useMemo)( @@ -68995,12 +68929,12 @@ var wp; if (!fieldDefinition) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( "div", { ref: setPopoverAnchor, className: "dataforms-layouts-panel__field-dropdown-anchor", - children: /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( import_components251.Dropdown, { contentClassName: "dataforms-layouts-panel__field-dropdown", @@ -69011,7 +68945,7 @@ var wp; setTouched(true); } }, - renderToggle: ({ isOpen, onToggle }) => /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + renderToggle: ({ isOpen, onToggle }) => /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( SummaryButton, { data, @@ -69025,22 +68959,22 @@ var wp; "aria-expanded": isOpen } ), - renderContent: ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime430.jsx)(DropdownContentWithValidation, { touched, children: /* @__PURE__ */ (0, import_jsx_runtime430.jsxs)("div", { ref: dialogRef, ...dialogProps, children: [ - /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + renderContent: ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime429.jsx)(DropdownContentWithValidation, { touched, children: /* @__PURE__ */ (0, import_jsx_runtime429.jsxs)("div", { ref: dialogRef, ...dialogProps, children: [ + /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( DropdownHeader, { title: fieldLabel, onClose } ), - /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( DataFormLayout, { data, form, onChange, validity: formValidity, - children: (FieldLayout, childField, childFieldValidity, markWhenOptional) => /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( + children: (FieldLayout, childField, childFieldValidity, markWhenOptional) => /* @__PURE__ */ (0, import_jsx_runtime429.jsx)( FieldLayout, { data, @@ -69063,7 +68997,7 @@ var wp; var dropdown_default2 = PanelDropdown; // packages/dataviews/build-module/components/dataform-layouts/panel/index.mjs - var import_jsx_runtime431 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime430 = __toESM(require_jsx_runtime(), 1); function FormPanelField({ data, field, @@ -69072,7 +69006,7 @@ var wp; }) { const layout = field.layout; if (layout.openAs === "modal") { - return /* @__PURE__ */ (0, import_jsx_runtime431.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( modal_default, { data, @@ -69082,7 +69016,7 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime431.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime430.jsx)( dropdown_default2, { data, @@ -69095,13 +69029,13 @@ var wp; // packages/dataviews/build-module/components/dataform-layouts/card/index.mjs var import_components252 = __toESM(require_components(), 1); - var import_compose99 = __toESM(require_compose(), 1); + var import_compose98 = __toESM(require_compose(), 1); var import_element253 = __toESM(require_element(), 1); var import_i18n226 = __toESM(require_i18n(), 1); // packages/dataviews/build-module/components/dataform-layouts/validation-badge.mjs var import_i18n225 = __toESM(require_i18n(), 1); - var import_jsx_runtime432 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime431 = __toESM(require_jsx_runtime(), 1); function countInvalidFields(validity) { if (!validity) { return 0; @@ -69130,7 +69064,7 @@ var wp; if (invalidCount === 0) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime432.jsx)(Badge5, { intent: "high", children: (0, import_i18n225.sprintf)( + return /* @__PURE__ */ (0, import_jsx_runtime431.jsx)(Badge5, { intent: "high", children: (0, import_i18n225.sprintf)( /* translators: %d: Number of fields that need attention */ (0, import_i18n225._n)( "%d field needs attention", @@ -69142,7 +69076,7 @@ var wp; } // packages/dataviews/build-module/components/dataform-layouts/card/index.mjs - var import_jsx_runtime433 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime432 = __toESM(require_jsx_runtime(), 1); function isSummaryFieldVisible(summaryField, summaryConfig, isOpen) { if (!summaryConfig || Array.isArray(summaryConfig) && summaryConfig.length === 0) { return false; @@ -69179,7 +69113,7 @@ var wp; const { fields } = (0, import_element253.useContext)(dataform_context_default); const layout = field.layout; const cardBodyRef = (0, import_element253.useRef)(null); - const bodyId = (0, import_compose99.useInstanceId)( + const bodyId = (0, import_compose98.useInstanceId)( FormCardField, "dataforms-layouts-card-card-body" ); @@ -69213,7 +69147,7 @@ var wp; const visibleSummaryFields = summaryFields.filter( (summaryField) => isSummaryFieldVisible(summaryField, layout.summary, isOpen) ); - const validationBadge = touched && layout.isCollapsible ? /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(ValidationBadge, { validity }) : null; + const validationBadge = touched && layout.isCollapsible ? /* @__PURE__ */ (0, import_jsx_runtime432.jsx)(ValidationBadge, { validity }) : null; const sizeCard = { blockStart: "medium", blockEnd: "medium", @@ -69225,9 +69159,9 @@ var wp; let bodyContent; if (field.children) { withHeader = !!label && layout.withHeader; - bodyContent = /* @__PURE__ */ (0, import_jsx_runtime433.jsxs)(import_jsx_runtime433.Fragment, { children: [ - field.description && /* @__PURE__ */ (0, import_jsx_runtime433.jsx)("div", { className: "dataforms-layouts-card__field-description", children: field.description }), - /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( + bodyContent = /* @__PURE__ */ (0, import_jsx_runtime432.jsxs)(import_jsx_runtime432.Fragment, { children: [ + field.description && /* @__PURE__ */ (0, import_jsx_runtime432.jsx)("div", { className: "dataforms-layouts-card__field-description", children: field.description }), + /* @__PURE__ */ (0, import_jsx_runtime432.jsx)( DataFormLayout, { data, @@ -69250,7 +69184,7 @@ var wp; } label = fieldDefinition.label; withHeader = !!label && layout.withHeader; - bodyContent = /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( + bodyContent = /* @__PURE__ */ (0, import_jsx_runtime432.jsx)( SingleFieldLayout, { data, @@ -69268,8 +69202,8 @@ var wp; inlineStart: "medium", inlineEnd: "medium" }; - return /* @__PURE__ */ (0, import_jsx_runtime433.jsxs)(import_components252.Card, { className: "dataforms-layouts-card__field", size: sizeCard, children: [ - withHeader && /* @__PURE__ */ (0, import_jsx_runtime433.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime432.jsxs)(import_components252.Card, { className: "dataforms-layouts-card__field", size: sizeCard, children: [ + withHeader && /* @__PURE__ */ (0, import_jsx_runtime432.jsxs)( import_components252.CardHeader, { className: "dataforms-layouts-card__field-header", @@ -69279,7 +69213,7 @@ var wp; }, isBorderless: true, children: [ - /* @__PURE__ */ (0, import_jsx_runtime433.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime432.jsxs)( "div", { style: { @@ -69292,10 +69226,10 @@ var wp; alignItems: "center" }, children: [ - /* @__PURE__ */ (0, import_jsx_runtime433.jsx)("span", { className: "dataforms-layouts-card__field-header-label", children: label }), + /* @__PURE__ */ (0, import_jsx_runtime432.jsx)("span", { className: "dataforms-layouts-card__field-header-label", children: label }), validationBadge, - visibleSummaryFields.length > 0 && layout.withHeader && /* @__PURE__ */ (0, import_jsx_runtime433.jsx)("div", { className: "dataforms-layouts-card__field-summary", children: visibleSummaryFields.map( - (summaryField) => /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( + visibleSummaryFields.length > 0 && layout.withHeader && /* @__PURE__ */ (0, import_jsx_runtime432.jsx)("div", { className: "dataforms-layouts-card__field-summary", children: visibleSummaryFields.map( + (summaryField) => /* @__PURE__ */ (0, import_jsx_runtime432.jsx)( summaryField.render, { item: data, @@ -69307,7 +69241,7 @@ var wp; ] } ), - isCollapsible && /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( + isCollapsible && /* @__PURE__ */ (0, import_jsx_runtime432.jsx)( import_components252.Button, { __next40pxDefaultSize: true, @@ -69323,7 +69257,7 @@ var wp; ), (isOpen || !withHeader) && // If it doesn't have a header, keep it open. // Otherwise, the card will not be visible. - /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime432.jsx)( import_components252.CardBody, { id: bodyId, @@ -69339,19 +69273,19 @@ var wp; // packages/dataviews/build-module/components/dataform-layouts/row/index.mjs var import_components253 = __toESM(require_components(), 1); - var import_jsx_runtime434 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime433 = __toESM(require_jsx_runtime(), 1); function Header2({ title }) { - return /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( Stack, { direction: "column", className: "dataforms-layouts-row__header", gap: "lg", - children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(Stack, { direction: "row", align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(import_components253.__experimentalHeading, { level: 2, size: 13, children: title }) }) + children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(Stack, { direction: "row", align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(import_components253.__experimentalHeading, { level: 2, size: 13, children: title }) }) } ); } - var EMPTY_WRAPPER = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(import_jsx_runtime434.Fragment, { children }); + var EMPTY_WRAPPER = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(import_jsx_runtime433.Fragment, { children }); function FormRowField({ data, field, @@ -69366,9 +69300,9 @@ var wp; layout: DEFAULT_LAYOUT, fields: field.children }; - return /* @__PURE__ */ (0, import_jsx_runtime434.jsxs)("div", { className: "dataforms-layouts-row__field", children: [ - !hideLabelFromVision && field.label && /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(Header2, { title: field.label }), - /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(Stack, { direction: "row", align: layout.alignment, gap: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime433.jsxs)("div", { className: "dataforms-layouts-row__field", children: [ + !hideLabelFromVision && field.label && /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(Header2, { title: field.label }), + /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(Stack, { direction: "row", align: layout.alignment, gap: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( DataFormLayout, { data, @@ -69376,12 +69310,12 @@ var wp; onChange, validity: validity?.children, as: EMPTY_WRAPPER, - children: (FieldLayout, childField, childFieldValidity) => /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( + children: (FieldLayout, childField, childFieldValidity) => /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( "div", { className: "dataforms-layouts-row__field-control", style: layout.styles[childField.id], - children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( FieldLayout, { data, @@ -69403,7 +69337,7 @@ var wp; if (!RegularLayout) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(import_jsx_runtime434.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)("div", { className: "dataforms-layouts-row__field-control", children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime433.jsx)(import_jsx_runtime433.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)("div", { className: "dataforms-layouts-row__field-control", children: /* @__PURE__ */ (0, import_jsx_runtime433.jsx)( RegularLayout, { data, @@ -69418,7 +69352,7 @@ var wp; // packages/dataviews/build-module/components/dataform-layouts/details/index.mjs var import_element254 = __toESM(require_element(), 1); var import_i18n227 = __toESM(require_i18n(), 1); - var import_jsx_runtime435 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime434 = __toESM(require_jsx_runtime(), 1); function FormDetailsField({ data, field, @@ -69465,17 +69399,17 @@ var wp; const summaryField = summaryFieldId ? fields.find((fieldDef) => fieldDef.id === summaryFieldId) : void 0; let summaryContent; if (summaryField && summaryField.render) { - summaryContent = /* @__PURE__ */ (0, import_jsx_runtime435.jsx)(summaryField.render, { item: data, field: summaryField }); + summaryContent = /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(summaryField.render, { item: data, field: summaryField }); } else { summaryContent = field.label || (0, import_i18n227.__)("More details"); } - return /* @__PURE__ */ (0, import_jsx_runtime435.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime434.jsxs)( "details", { ref: detailsRef, className: "dataforms-layouts-details__details", children: [ - /* @__PURE__ */ (0, import_jsx_runtime435.jsx)("summary", { className: "dataforms-layouts-details__summary", children: /* @__PURE__ */ (0, import_jsx_runtime435.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime434.jsx)("summary", { className: "dataforms-layouts-details__summary", children: /* @__PURE__ */ (0, import_jsx_runtime434.jsxs)( Stack, { direction: "row", @@ -69484,17 +69418,17 @@ var wp; className: "dataforms-layouts-details__summary-content", children: [ summaryContent, - touched && /* @__PURE__ */ (0, import_jsx_runtime435.jsx)(ValidationBadge, { validity }) + touched && /* @__PURE__ */ (0, import_jsx_runtime434.jsx)(ValidationBadge, { validity }) ] } ) }), - /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( "div", { ref: contentRef, className: "dataforms-layouts-details__content", onBlur: handleBlur, - children: /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime434.jsx)( DataFormLayout, { data, @@ -69511,12 +69445,12 @@ var wp; } // packages/dataviews/build-module/components/dataform-layouts/index.mjs - var import_jsx_runtime436 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime435 = __toESM(require_jsx_runtime(), 1); var FORM_FIELD_LAYOUTS = [ { type: "regular", component: FormRegularField, - wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( + wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( Stack, { direction: "column", @@ -69529,7 +69463,7 @@ var wp; { type: "panel", component: FormPanelField, - wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( + wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( Stack, { direction: "column", @@ -69542,7 +69476,7 @@ var wp; { type: "card", component: FormCardField, - wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( + wrapper: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( Stack, { direction: "column", @@ -69558,13 +69492,13 @@ var wp; wrapper: ({ children, layout - }) => /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( + }) => /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( Stack, { direction: "column", className: "dataforms-layouts__wrapper", gap: "lg", - children: /* @__PURE__ */ (0, import_jsx_runtime436.jsx)("div", { className: "dataforms-layouts-row__field", children: /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime435.jsx)("div", { className: "dataforms-layouts-row__field", children: /* @__PURE__ */ (0, import_jsx_runtime435.jsx)( Stack, { direction: "row", @@ -69586,8 +69520,8 @@ var wp; } // packages/dataviews/build-module/components/dataform-layouts/data-form-layout.mjs - var import_jsx_runtime437 = __toESM(require_jsx_runtime(), 1); - var DEFAULT_WRAPPER = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime437.jsx)(Stack, { direction: "column", className: "dataforms-layouts__wrapper", gap: "lg", children }); + var import_jsx_runtime436 = __toESM(require_jsx_runtime(), 1); + var DEFAULT_WRAPPER = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime436.jsx)(Stack, { direction: "column", className: "dataforms-layouts__wrapper", gap: "lg", children }); function DataFormLayout({ data, form, @@ -69610,7 +69544,7 @@ var wp; ); } const Wrapper = as ?? getFormFieldLayout(form.layout.type)?.wrapper ?? DEFAULT_WRAPPER; - return /* @__PURE__ */ (0, import_jsx_runtime437.jsx)(Wrapper, { layout: form.layout, children: form.fields.map((formField) => { + return /* @__PURE__ */ (0, import_jsx_runtime436.jsx)(Wrapper, { layout: form.layout, children: form.fields.map((formField) => { const FieldLayout = getFormFieldLayout(formField.layout.type)?.component; if (!FieldLayout) { return null; @@ -69627,7 +69561,7 @@ var wp; markWhenOptional ); } - return /* @__PURE__ */ (0, import_jsx_runtime437.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime436.jsx)( FieldLayout, { data, @@ -69642,7 +69576,7 @@ var wp; } // packages/dataviews/build-module/dataform/index.mjs - var import_jsx_runtime438 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime437 = __toESM(require_jsx_runtime(), 1); function DataForm({ data, form, @@ -69658,7 +69592,7 @@ var wp; if (!form.fields) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime438.jsx)(DataFormProvider, { fields: normalizedFields, children: /* @__PURE__ */ (0, import_jsx_runtime438.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime437.jsx)(DataFormProvider, { fields: normalizedFields, children: /* @__PURE__ */ (0, import_jsx_runtime437.jsx)( DataFormLayout, { data, @@ -69678,9 +69612,9 @@ var wp; var import_i18n228 = __toESM(require_i18n(), 1); // packages/block-editor/build-module/hooks/block-fields/use-inspector-popover-placement.mjs - var import_compose100 = __toESM(require_compose(), 1); + var import_compose99 = __toESM(require_compose(), 1); function useInspectorPopoverPlacement2({ isControl } = { isControl: false }) { - const isMobile = (0, import_compose100.useViewportMatch)("medium", "<"); + const isMobile = (0, import_compose99.useViewportMatch)("medium", "<"); return !isMobile ? { popoverProps: { placement: "left-start", @@ -69691,7 +69625,7 @@ var wp; } // packages/block-editor/build-module/hooks/block-fields/fields-dropdown-menu.mjs - var import_jsx_runtime439 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime438 = __toESM(require_jsx_runtime(), 1); function FieldsDropdownMenu({ fields, visibleFields, @@ -69701,16 +69635,16 @@ var wp; if (!fields || fields.length === 0) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime439.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime438.jsx)( import_components254.DropdownMenu, { icon: more_vertical_default, label: (0, import_i18n228.__)("Options"), popoverProps: popoverProps3, toggleProps: { size: "small" }, - children: ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime439.jsx)(import_components254.MenuGroup, { label: (0, import_i18n228.__)("Show / Hide"), children: fields.map((field) => { + children: ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime438.jsx)(import_components254.MenuGroup, { label: (0, import_i18n228.__)("Show / Hide"), children: fields.map((field) => { const isVisible = visibleFields.includes(field.id); - return /* @__PURE__ */ (0, import_jsx_runtime439.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime438.jsx)( import_components254.MenuItem, { isSelected: isVisible, @@ -69731,11 +69665,11 @@ var wp; // packages/block-editor/build-module/hooks/block-fields/rich-text/index.mjs var import_components255 = __toESM(require_components(), 1); - var import_compose101 = __toESM(require_compose(), 1); + var import_compose100 = __toESM(require_compose(), 1); var import_data178 = __toESM(require_data(), 1); var import_element257 = __toESM(require_element(), 1); var import_rich_text17 = __toESM(require_rich_text(), 1); - var import_jsx_runtime440 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime439 = __toESM(require_jsx_runtime(), 1); var { useRichText: useRichText2 } = unlock(import_rich_text17.privateApis); function RichTextControl({ data, @@ -69792,8 +69726,8 @@ var wp; hideLabelFromVision: hideLabelFromVision ?? field.hideLabelFromVision, label: field.label }); - return /* @__PURE__ */ (0, import_jsx_runtime440.jsxs)(import_jsx_runtime440.Fragment, { children: [ - isSelected && /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(keyboardShortcutContext.Provider, { value: keyboardShortcuts, children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(inputEventContext.Provider, { value: inputEvents, children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime439.jsxs)(import_jsx_runtime439.Fragment, { children: [ + isSelected && /* @__PURE__ */ (0, import_jsx_runtime439.jsx)(keyboardShortcutContext.Provider, { value: keyboardShortcuts, children: /* @__PURE__ */ (0, import_jsx_runtime439.jsx)(inputEventContext.Provider, { value: inputEvents, children: /* @__PURE__ */ (0, import_jsx_runtime439.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime439.jsx)( FormatEdit, { value, @@ -69804,13 +69738,13 @@ var wp; isVisible: false } ) }) }) }), - /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(import_components255.BaseControl, { ...baseControlProps, children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime439.jsx)(import_components255.BaseControl, { ...baseControlProps, children: /* @__PURE__ */ (0, import_jsx_runtime439.jsx)( "div", { className: "block-editor-content-only-controls__rich-text", role: "textbox", "aria-multiline": !fieldConfig?.disableLineBreaks, - ref: (0, import_compose101.useMergeRefs)([ + ref: (0, import_compose100.useMergeRefs)([ richTextRef, useEventListeners({ registry, @@ -69841,14 +69775,14 @@ var wp; var import_components256 = __toESM(require_components(), 1); var import_data179 = __toESM(require_data(), 1); var import_i18n229 = __toESM(require_i18n(), 1); - var import_jsx_runtime441 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime440 = __toESM(require_jsx_runtime(), 1); function MediaThumbnail({ data, field, attachment, config: config2 }) { const { allowedTypes = [], multiple = false } = config2 || {}; if (multiple) { return "todo multiple"; } if (attachment?.media_type === "image" || attachment?.poster) { - return /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("div", { className: "block-editor-content-only-controls__media-thumbnail", children: /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("div", { className: "block-editor-content-only-controls__media-thumbnail", children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( "img", { alt: "", @@ -69862,7 +69796,7 @@ var wp; const value = field.getValue({ item: data }); const url = value?.url; if (allowedTypes[0] === "image" && url) { - return /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("div", { className: "block-editor-content-only-controls__media-thumbnail", children: /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("img", { alt: "", width: 24, height: 24, src: url }) }); + return /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("div", { className: "block-editor-content-only-controls__media-thumbnail", children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("img", { alt: "", width: 24, height: 24, src: url }) }); } let icon; if (allowedTypes[0] === "image") { @@ -69875,10 +69809,10 @@ var wp; icon = media_default; } if (icon) { - return /* @__PURE__ */ (0, import_jsx_runtime441.jsx)(import_components256.Icon, { icon, size: 24 }); + return /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(import_components256.Icon, { icon, size: 24 }); } } - return /* @__PURE__ */ (0, import_jsx_runtime441.jsx)(import_components256.Icon, { icon: media_default, size: 24 }); + return /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(import_components256.Icon, { icon: media_default, size: 24 }); } function Media({ data, field, onChange, config: config2 = {} }) { const { popoverProps: popoverProps3 } = useInspectorPopoverPlacement2({ @@ -69921,7 +69855,7 @@ var wp; } else { chooseItemLabel = (0, import_i18n229.__)("Choose a media item\u2026"); } - return /* @__PURE__ */ (0, import_jsx_runtime441.jsx)(check_default2, { children: /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime440.jsx)(check_default2, { children: /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( media_replace_flow_default, { className: "block-editor-content-only-controls__media-replace-flow", @@ -69968,13 +69902,13 @@ var wp; ); } }, - renderToggle: (buttonProps) => /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( + renderToggle: (buttonProps) => /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( import_components256.Button, { __next40pxDefaultSize: true, className: "block-editor-content-only-controls__media", ...buttonProps, - children: /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime440.jsxs)( import_components256.__experimentalGrid, { rowGap: 0, @@ -69982,8 +69916,8 @@ var wp; templateColumns: "24px 1fr", className: "block-editor-content-only-controls__media-row", children: [ - url && /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)(import_jsx_runtime441.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( + url && /* @__PURE__ */ (0, import_jsx_runtime440.jsxs)(import_jsx_runtime440.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( MediaThumbnail, { attachment, @@ -69992,14 +69926,14 @@ var wp; config: config2 } ), - /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("span", { + /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("span", { className: "block-editor-content-only-controls__media-title", // TODO - truncate long titles or url smartly (e.g. show filename). children: attachment?.title?.raw && attachment?.title?.raw !== "" ? attachment?.title?.raw : url }) ] }), - !url && /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)(import_jsx_runtime441.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( + !url && /* @__PURE__ */ (0, import_jsx_runtime440.jsxs)(import_jsx_runtime440.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime440.jsx)( "span", { className: "block-editor-content-only-controls__media-placeholder", @@ -70009,7 +69943,7 @@ var wp; } } ), - /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("span", { className: "block-editor-content-only-controls__media-title", children: chooseItemLabel }) + /* @__PURE__ */ (0, import_jsx_runtime440.jsx)("span", { className: "block-editor-content-only-controls__media-title", children: chooseItemLabel }) ] }) ] } @@ -70025,7 +69959,7 @@ var wp; var import_element258 = __toESM(require_element(), 1); var import_i18n230 = __toESM(require_i18n(), 1); var import_url15 = __toESM(require_url(), 1); - var import_jsx_runtime442 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime441 = __toESM(require_jsx_runtime(), 1); var NEW_TAB_REL2 = "noreferrer noopener"; var NEW_TAB_TARGET = "_blank"; var NOFOLLOW_REL = "nofollow"; @@ -70071,8 +70005,8 @@ var wp; () => ({ url, opensInNewTab, nofollow }), [url, opensInNewTab, nofollow] ); - return /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)(import_jsx_runtime442.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)(import_jsx_runtime441.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( import_components257.Button, { __next40pxDefaultSize: true, @@ -70080,7 +70014,7 @@ var wp; onClick: () => { setIsLinkControlOpen(true); }, - children: /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)( import_components257.__experimentalGrid, { rowGap: 0, @@ -70088,12 +70022,12 @@ var wp; templateColumns: "24px 1fr", className: "block-editor-content-only-controls__link-row", children: [ - url && /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)(import_jsx_runtime442.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime442.jsx)(import_components257.Icon, { icon: link_default, size: 24 }), - /* @__PURE__ */ (0, import_jsx_runtime442.jsx)("span", { className: "block-editor-content-only-controls__link-title", children: url }) + url && /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)(import_jsx_runtime441.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime441.jsx)(import_components257.Icon, { icon: link_default, size: 24 }), + /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("span", { className: "block-editor-content-only-controls__link-title", children: url }) ] }), - !url && /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)(import_jsx_runtime442.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( + !url && /* @__PURE__ */ (0, import_jsx_runtime441.jsxs)(import_jsx_runtime441.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( import_components257.Icon, { icon: link_default, @@ -70101,21 +70035,21 @@ var wp; style: { opacity: 0.3 } } ), - /* @__PURE__ */ (0, import_jsx_runtime442.jsx)("span", { className: "block-editor-content-only-controls__link-title", children: (0, import_i18n230.__)("Link") }) + /* @__PURE__ */ (0, import_jsx_runtime441.jsx)("span", { className: "block-editor-content-only-controls__link-title", children: (0, import_i18n230.__)("Link") }) ] }) ] } ) } ), - isLinkControlOpen && /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( + isLinkControlOpen && /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( import_components257.Popover, { onClose: () => { setIsLinkControlOpen(false); }, ...popoverProps3 ?? {}, - children: /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime441.jsx)( link_control_default, { value: linkValue, @@ -70147,11 +70081,11 @@ var wp; } // packages/block-editor/build-module/hooks/block-fields/index.mjs - var import_jsx_runtime443 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime442 = __toESM(require_jsx_runtime(), 1); var { fieldsKey, formKey } = unlock(import_blocks104.privateApis); function createConfiguredControl2(ControlComponent, config2 = {}) { return function ConfiguredControl(props) { - return /* @__PURE__ */ (0, import_jsx_runtime443.jsx)(ControlComponent, { ...props, config: config2 }); + return /* @__PURE__ */ (0, import_jsx_runtime442.jsx)(ControlComponent, { ...props, config: config2 }); }; } function BlockFields({ @@ -70241,18 +70175,18 @@ var wp; }; }); }; - return /* @__PURE__ */ (0, import_jsx_runtime443.jsxs)("div", { className: "block-editor-block-fields__container", children: [ - /* @__PURE__ */ (0, import_jsx_runtime443.jsx)("div", { className: "block-editor-block-fields__header", children: /* @__PURE__ */ (0, import_jsx_runtime443.jsxs)(import_components258.__experimentalHStack, { spacing: 1, children: [ - isCollapsed3 && /* @__PURE__ */ (0, import_jsx_runtime443.jsxs)(import_jsx_runtime443.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime443.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)("div", { className: "block-editor-block-fields__container", children: [ + /* @__PURE__ */ (0, import_jsx_runtime442.jsx)("div", { className: "block-editor-block-fields__header", children: /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)(import_components258.__experimentalHStack, { spacing: 1, children: [ + isCollapsed3 && /* @__PURE__ */ (0, import_jsx_runtime442.jsxs)(import_jsx_runtime442.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( block_icon_default, { className: "block-editor-block-fields__header-icon", icon: blockInformation?.icon } ), - /* @__PURE__ */ (0, import_jsx_runtime443.jsx)("h2", { className: "block-editor-block-fields__header-title", children: /* @__PURE__ */ (0, import_jsx_runtime443.jsx)(import_components258.__experimentalTruncate, { numberOfLines: 1, children: blockTitle }) }), - /* @__PURE__ */ (0, import_jsx_runtime443.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime442.jsx)("h2", { className: "block-editor-block-fields__header-title", children: /* @__PURE__ */ (0, import_jsx_runtime442.jsx)(import_components258.__experimentalTruncate, { numberOfLines: 1, children: blockTitle }) }), + /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( FieldsDropdownMenu, { fields: dataFormFields, @@ -70261,9 +70195,9 @@ var wp; } ) ] }), - !isCollapsed3 && /* @__PURE__ */ (0, import_jsx_runtime443.jsx)("h2", { className: "block-editor-block-fields__header-title", children: (0, import_i18n231.__)("Content") }) + !isCollapsed3 && /* @__PURE__ */ (0, import_jsx_runtime442.jsx)("h2", { className: "block-editor-block-fields__header-title", children: (0, import_i18n231.__)("Content") }) ] }) }), - /* @__PURE__ */ (0, import_jsx_runtime443.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( DataForm, { data: attributes, @@ -70279,7 +70213,7 @@ var wp; } function BlockFieldsPanel(props) { const { blockType, isSelectionWithinCurrentSection } = (0, import_element259.useContext)(PrivateBlockContext); - return /* @__PURE__ */ (0, import_jsx_runtime443.jsx)(InspectorControlsFill, { group: "content", children: /* @__PURE__ */ (0, import_jsx_runtime443.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime442.jsx)(InspectorControlsFill, { group: "content", children: /* @__PURE__ */ (0, import_jsx_runtime442.jsx)( BlockFields, { ...props, @@ -70296,11 +70230,11 @@ var wp; }; // packages/block-editor/build-module/hooks/custom-class-name.mjs - var import_hooks22 = __toESM(require_hooks(), 1); + var import_hooks21 = __toESM(require_hooks(), 1); var import_components259 = __toESM(require_components(), 1); var import_i18n232 = __toESM(require_i18n(), 1); var import_blocks105 = __toESM(require_blocks(), 1); - var import_jsx_runtime444 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime443 = __toESM(require_jsx_runtime(), 1); function addAttribute6(settings2) { if ((0, import_blocks105.hasBlockSupport)(settings2, "customClassName", true)) { settings2.attributes = { @@ -70317,7 +70251,7 @@ var wp; if (blockEditingMode !== "default") { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime444.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime444.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime443.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime443.jsx)( import_components259.TextControl, { __next40pxDefaultSize: true, @@ -70374,19 +70308,19 @@ var wp; } return result; } - (0, import_hooks22.addFilter)( + (0, import_hooks21.addFilter)( "blocks.registerBlockType", "core/editor/custom-class-name/attribute", addAttribute6 ); - (0, import_hooks22.addFilter)( + (0, import_hooks21.addFilter)( "blocks.switchToBlockType.transformedBlock", "core/customClassName/addTransforms", addTransforms3 ); // packages/block-editor/build-module/hooks/generated-class-name.mjs - var import_hooks23 = __toESM(require_hooks(), 1); + var import_hooks22 = __toESM(require_hooks(), 1); var import_blocks106 = __toESM(require_blocks(), 1); function addGeneratedClassName(extraProps, blockType) { if ((0, import_blocks106.hasBlockSupport)(blockType, "className", true)) { @@ -70403,7 +70337,7 @@ var wp; } return extraProps; } - (0, import_hooks23.addFilter)( + (0, import_hooks22.addFilter)( "blocks.getSaveContent.extraProps", "core/generated-class-name/save-props", addGeneratedClassName @@ -70411,9 +70345,9 @@ var wp; // packages/block-editor/build-module/hooks/style.mjs var import_element265 = __toESM(require_element(), 1); - var import_hooks27 = __toESM(require_hooks(), 1); + var import_hooks26 = __toESM(require_hooks(), 1); var import_blocks114 = __toESM(require_blocks(), 1); - var import_compose103 = __toESM(require_compose(), 1); + var import_compose102 = __toESM(require_compose(), 1); var import_style_engine4 = __toESM(require_style_engine(), 1); // packages/block-editor/build-module/hooks/typography.mjs @@ -70423,11 +70357,11 @@ var wp; // packages/block-editor/build-module/hooks/line-height.mjs var import_blocks107 = __toESM(require_blocks(), 1); - var import_jsx_runtime445 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime444 = __toESM(require_jsx_runtime(), 1); var LINE_HEIGHT_SUPPORT_KEY2 = "typography.lineHeight"; // packages/block-editor/build-module/hooks/font-family.mjs - var import_hooks24 = __toESM(require_hooks(), 1); + var import_hooks23 = __toESM(require_hooks(), 1); var import_blocks108 = __toESM(require_blocks(), 1); var import_token_list2 = __toESM(require_token_list(), 1); var import_components261 = __toESM(require_components(), 1); @@ -70477,17 +70411,17 @@ var wp; return (0, import_blocks108.hasBlockSupport)(name, FONT_FAMILY_SUPPORT_KEY2); } }; - (0, import_hooks24.addFilter)( + (0, import_hooks23.addFilter)( "blocks.registerBlockType", "core/fontFamily/addAttribute", addAttributes3 ); // packages/block-editor/build-module/hooks/font-size.mjs - var import_hooks25 = __toESM(require_hooks(), 1); + var import_hooks24 = __toESM(require_hooks(), 1); var import_blocks109 = __toESM(require_blocks(), 1); var import_token_list3 = __toESM(require_token_list(), 1); - var import_jsx_runtime446 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime445 = __toESM(require_jsx_runtime(), 1); var FONT_SIZE_SUPPORT_KEY2 = "typography.fontSize"; function addAttributes4(settings2) { if (!(0, import_blocks109.hasBlockSupport)(settings2, FONT_SIZE_SUPPORT_KEY2)) { @@ -70588,12 +70522,12 @@ var wp; results ); } - (0, import_hooks25.addFilter)( + (0, import_hooks24.addFilter)( "blocks.registerBlockType", "core/font/addAttribute", addAttributes4 ); - (0, import_hooks25.addFilter)( + (0, import_hooks24.addFilter)( "blocks.switchToBlockType.transformedBlock", "core/font-size/addTransforms", addTransforms4 @@ -70602,7 +70536,7 @@ var wp; // packages/block-editor/build-module/hooks/text-align.mjs var import_i18n233 = __toESM(require_i18n(), 1); var import_blocks110 = __toESM(require_blocks(), 1); - var import_jsx_runtime447 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime446 = __toESM(require_jsx_runtime(), 1); var TEXT_ALIGN_SUPPORT_KEY2 = "typography.textAlign"; var TEXT_ALIGNMENT_OPTIONS2 = [ { @@ -70661,7 +70595,7 @@ var wp; }; setAttributes({ style: cleanEmptyObject(newStyle) }); }; - return /* @__PURE__ */ (0, import_jsx_runtime447.jsx)(block_controls_default, { group: "block", children: /* @__PURE__ */ (0, import_jsx_runtime447.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime446.jsx)(block_controls_default, { group: "block", children: /* @__PURE__ */ (0, import_jsx_runtime446.jsx)( AlignmentControl, { value: style?.typography?.textAlign, @@ -70719,13 +70653,13 @@ var wp; } // packages/block-editor/build-module/hooks/fit-text.mjs - var import_hooks26 = __toESM(require_hooks(), 1); + var import_hooks25 = __toESM(require_hooks(), 1); var import_blocks111 = __toESM(require_blocks(), 1); var import_element261 = __toESM(require_element(), 1); var import_data181 = __toESM(require_data(), 1); var import_i18n235 = __toESM(require_i18n(), 1); var import_components264 = __toESM(require_components(), 1); - var import_compose102 = __toESM(require_compose(), 1); + var import_compose101 = __toESM(require_compose(), 1); // packages/block-editor/build-module/utils/fit-text-utils.mjs function findOptimalFontSize(textElement, applyFontSize) { @@ -70784,7 +70718,7 @@ var wp; var import_i18n234 = __toESM(require_i18n(), 1); var import_components263 = __toESM(require_components(), 1); var import_a11y20 = __toESM(require_a11y(), 1); - var import_jsx_runtime448 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime447 = __toESM(require_jsx_runtime(), 1); function FitTextSizeWarning() { const message2 = (0, import_i18n234.__)( "The text may be too small to read. Consider using a larger container or less text." @@ -70792,7 +70726,7 @@ var wp; (0, import_element260.useEffect)(() => { (0, import_a11y20.speak)(message2); }, [message2]); - return /* @__PURE__ */ (0, import_jsx_runtime448.jsx)("div", { className: "block-editor-fit-text-size-warning", children: /* @__PURE__ */ (0, import_jsx_runtime448.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime447.jsx)("div", { className: "block-editor-fit-text-size-warning", children: /* @__PURE__ */ (0, import_jsx_runtime447.jsx)( import_components263.Notice, { spokenMessage: null, @@ -70804,7 +70738,7 @@ var wp; } // packages/block-editor/build-module/hooks/fit-text.mjs - var import_jsx_runtime449 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime448 = __toESM(require_jsx_runtime(), 1); var EMPTY_OBJECT4 = {}; var MIN_FONT_SIZE_FOR_WARNING = 12; var FIT_TEXT_SUPPORT_KEY = "typography.fitText"; @@ -70951,7 +70885,7 @@ var wp; if (!(0, import_blocks111.hasBlockSupport)(name, FIT_TEXT_SUPPORT_KEY)) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime449.jsx)(inspector_controls_default, { group: "typography", children: /* @__PURE__ */ (0, import_jsx_runtime449.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime448.jsx)(inspector_controls_default, { group: "typography", children: /* @__PURE__ */ (0, import_jsx_runtime448.jsxs)( import_components264.__experimentalToolsPanelItem, { hasValue: () => fitText, @@ -70960,7 +70894,7 @@ var wp; resetAllFilter: () => ({ fitText: void 0 }), panelId: clientId, children: [ - /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime448.jsx)( import_components264.ToggleControl, { label: (0, import_i18n235.__)("Fit text"), @@ -71016,7 +70950,7 @@ var wp; } return {}; } - (0, import_hooks26.addFilter)( + (0, import_hooks25.addFilter)( "blocks.registerBlockType", "core/fit-text/addAttribute", addAttributes5 @@ -71028,23 +70962,23 @@ var wp; const { fontSize } = useFitText({ fitText, name, clientId }); return children(fontSize); } - var addFitTextControl = (0, import_compose102.createHigherOrderComponent)((BlockEdit2) => { + var addFitTextControl = (0, import_compose101.createHigherOrderComponent)((BlockEdit2) => { return function AddFitTextControl(props) { const { name, attributes, clientId, isSelected, setAttributes } = props; const { fitText } = attributes; const supportsFitText = (0, import_blocks111.hasBlockSupport)(name, FIT_TEXT_SUPPORT_KEY); if (!supportsFitText) { - return /* @__PURE__ */ (0, import_jsx_runtime449.jsx)(BlockEdit2, { ...props }); + return /* @__PURE__ */ (0, import_jsx_runtime448.jsx)(BlockEdit2, { ...props }); } - return /* @__PURE__ */ (0, import_jsx_runtime449.jsxs)(import_jsx_runtime449.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime449.jsx)(BlockEdit2, { ...props }), - fitText && /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime448.jsxs)(import_jsx_runtime448.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime448.jsx)(BlockEdit2, { ...props }), + fitText && /* @__PURE__ */ (0, import_jsx_runtime448.jsx)( WithFitTextFontSize, { fitText, name, clientId, - children: (fontSize) => isSelected && /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( + children: (fontSize) => isSelected && /* @__PURE__ */ (0, import_jsx_runtime448.jsx)( FitTextControl, { clientId, @@ -71053,12 +70987,12 @@ var wp; name, fontSize: attributes.fontSize, style: attributes.style, - warning: fontSize < MIN_FONT_SIZE_FOR_WARNING && /* @__PURE__ */ (0, import_jsx_runtime449.jsx)(FitTextSizeWarning, {}) + warning: fontSize < MIN_FONT_SIZE_FOR_WARNING && /* @__PURE__ */ (0, import_jsx_runtime448.jsx)(FitTextSizeWarning, {}) } ) } ), - !fitText && isSelected && /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( + !fitText && isSelected && /* @__PURE__ */ (0, import_jsx_runtime448.jsx)( FitTextControl, { clientId, @@ -71072,7 +71006,7 @@ var wp; ] }); }; }, "addFitTextControl"); - (0, import_hooks26.addFilter)( + (0, import_hooks25.addFilter)( "editor.BlockEdit", "core/fit-text/add-fit-text-control", addFitTextControl @@ -71086,7 +71020,7 @@ var wp; }; // packages/block-editor/build-module/hooks/typography.mjs - var import_jsx_runtime450 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime449 = __toESM(require_jsx_runtime(), 1); function omit(object, keys) { return Object.fromEntries( Object.entries(object).filter(([key]) => !keys.includes(key)) @@ -71156,7 +71090,7 @@ var wp; }, [resetAllFilter] ); - return /* @__PURE__ */ (0, import_jsx_runtime450.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( inspector_controls_default, { group: "typography", @@ -71206,7 +71140,7 @@ var wp; TYPOGRAPHY_SUPPORT_KEY, "__experimentalDefaultControls" ]); - return /* @__PURE__ */ (0, import_jsx_runtime450.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime449.jsx)( TypographyPanel, { as: TypographyInspectorControl, @@ -71228,7 +71162,7 @@ var wp; // packages/block-editor/build-module/hooks/spacing-visualizer.mjs var import_element263 = __toESM(require_element(), 1); var import_is_shallow_equal4 = __toESM(require_is_shallow_equal(), 1); - var import_jsx_runtime451 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime450 = __toESM(require_jsx_runtime(), 1); function SpacingVisualizer({ clientId, value, computeStyle, forceShow }) { const blockElement = useBlockElement(clientId); const [style, updateStyle] = (0, import_element263.useReducer)( @@ -71271,12 +71205,12 @@ var wp; if (!isActive && !forceShow) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime450.jsx)( cover_default, { clientId, __unstablePopoverSlot: "block-toolbar", - children: /* @__PURE__ */ (0, import_jsx_runtime451.jsx)("div", { className: "block-editor__spacing-visualizer", style }) + children: /* @__PURE__ */ (0, import_jsx_runtime450.jsx)("div", { className: "block-editor__spacing-visualizer", style }) } ); } @@ -71284,7 +71218,7 @@ var wp; return element.ownerDocument.defaultView.getComputedStyle(element).getPropertyValue(property); } function MarginVisualizer({ clientId, value, forceShow }) { - return /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime450.jsx)( SpacingVisualizer, { clientId, @@ -71310,7 +71244,7 @@ var wp; ); } function PaddingVisualizer({ clientId, value, forceShow }) { - return /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime450.jsx)( SpacingVisualizer, { clientId, @@ -71333,7 +71267,7 @@ var wp; } // packages/block-editor/build-module/hooks/dimensions.mjs - var import_jsx_runtime452 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime451 = __toESM(require_jsx_runtime(), 1); var DIMENSIONS_SUPPORT_KEY = "dimensions"; var SPACING_SUPPORT_KEY2 = "spacing"; function useVisualizer() { @@ -71362,7 +71296,7 @@ var wp; }, [resetAllFilter] ); - return /* @__PURE__ */ (0, import_jsx_runtime452.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( inspector_controls_default, { group: "dimensions", @@ -71403,8 +71337,8 @@ var wp; ...defaultDimensionsControls, ...defaultSpacingControls }; - return /* @__PURE__ */ (0, import_jsx_runtime452.jsxs)(import_jsx_runtime452.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime452.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime451.jsxs)(import_jsx_runtime451.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( DimensionsPanel, { as: DimensionsInspectorControl, @@ -71416,7 +71350,7 @@ var wp; onVisualize: setVisualizedProperty } ), - !!settings2?.spacing?.padding && visualizedProperty === "padding" && /* @__PURE__ */ (0, import_jsx_runtime452.jsx)( + !!settings2?.spacing?.padding && visualizedProperty === "padding" && /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( PaddingVisualizer, { forceShow: visualizedProperty === "padding", @@ -71424,7 +71358,7 @@ var wp; value } ), - !!settings2?.spacing?.margin && visualizedProperty === "margin" && /* @__PURE__ */ (0, import_jsx_runtime452.jsx)( + !!settings2?.spacing?.margin && visualizedProperty === "margin" && /* @__PURE__ */ (0, import_jsx_runtime451.jsx)( MarginVisualizer, { forceShow: visualizedProperty === "margin", @@ -71478,7 +71412,7 @@ var wp; } // packages/block-editor/build-module/hooks/style.mjs - var import_jsx_runtime453 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime452 = __toESM(require_jsx_runtime(), 1); var styleSupportKeys2 = [ ...TYPOGRAPHY_SUPPORT_KEYS2, BORDER_SUPPORT_KEY2, @@ -71613,12 +71547,12 @@ var wp; if (blockEditingMode !== "default") { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime453.jsxs)(import_jsx_runtime453.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(ColorEdit, { ...passedProps }), - /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(BackgroundImagePanel3, { ...passedProps }), - /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(TypographyPanel2, { ...passedProps }), - /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(BorderPanel2, { ...passedProps }), - /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(DimensionsPanel2, { ...passedProps }) + return /* @__PURE__ */ (0, import_jsx_runtime452.jsxs)(import_jsx_runtime452.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime452.jsx)(ColorEdit, { ...passedProps }), + /* @__PURE__ */ (0, import_jsx_runtime452.jsx)(BackgroundImagePanel3, { ...passedProps }), + /* @__PURE__ */ (0, import_jsx_runtime452.jsx)(TypographyPanel2, { ...passedProps }), + /* @__PURE__ */ (0, import_jsx_runtime452.jsx)(BorderPanel2, { ...passedProps }), + /* @__PURE__ */ (0, import_jsx_runtime452.jsx)(DimensionsPanel2, { ...passedProps }) ] }); } var style_default3 = { @@ -71638,7 +71572,7 @@ var wp; ]; var STYLE_BLOCK_PROPS_REFERENCE = {}; function useBlockProps13({ name, style }) { - const blockElementsContainerIdentifier = (0, import_compose103.useInstanceId)( + const blockElementsContainerIdentifier = (0, import_compose102.useInstanceId)( STYLE_BLOCK_PROPS_REFERENCE, "wp-elements" ); @@ -71707,14 +71641,14 @@ var wp; skipSerializationPathsEdit ); } - (0, import_hooks27.addFilter)( + (0, import_hooks26.addFilter)( "blocks.registerBlockType", "core/style/addAttribute", addAttribute7 ); // packages/block-editor/build-module/hooks/settings.mjs - var import_hooks28 = __toESM(require_hooks(), 1); + var import_hooks27 = __toESM(require_hooks(), 1); var import_blocks115 = __toESM(require_blocks(), 1); var hasSettingsSupport = (blockType) => (0, import_blocks115.hasBlockSupport)(blockType, "__experimentalSettings", false); function addAttribute8(settings2) { @@ -71731,7 +71665,7 @@ var wp; } return settings2; } - (0, import_hooks28.addFilter)( + (0, import_hooks27.addFilter)( "blocks.registerBlockType", "core/settings/addAttribute", addAttribute8 @@ -71739,8 +71673,8 @@ var wp; // packages/block-editor/build-module/hooks/duotone.mjs var import_blocks116 = __toESM(require_blocks(), 1); - var import_compose104 = __toESM(require_compose(), 1); - var import_hooks29 = __toESM(require_hooks(), 1); + var import_compose103 = __toESM(require_compose(), 1); + var import_hooks28 = __toESM(require_hooks(), 1); var import_element266 = __toESM(require_element(), 1); // packages/block-editor/build-module/components/duotone/utils.mjs @@ -71796,7 +71730,7 @@ var wp; } // packages/block-editor/build-module/hooks/duotone.mjs - var import_jsx_runtime454 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime453 = __toESM(require_jsx_runtime(), 1); var EMPTY_ARRAY17 = []; var isSafari = window?.navigator.userAgent && window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome") && !window.navigator.userAgent.includes("Chromium"); k([names_default]); @@ -71861,8 +71795,8 @@ var wp; return null; } const duotonePresetOrColors = duotoneStyle === "unset" || Array.isArray(duotoneStyle) ? duotoneStyle : getColorsFromDuotonePreset(duotoneStyle, duotonePalette); - return /* @__PURE__ */ (0, import_jsx_runtime454.jsxs)(import_jsx_runtime454.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime454.jsx)(inspector_controls_default, { group: "filter", children: /* @__PURE__ */ (0, import_jsx_runtime454.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime453.jsxs)(import_jsx_runtime453.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(inspector_controls_default, { group: "filter", children: /* @__PURE__ */ (0, import_jsx_runtime453.jsx)( FiltersPanel, { value: { filter: { duotone: duotonePresetOrColors } }, @@ -71880,7 +71814,7 @@ var wp; settings: settings2 } ) }), - /* @__PURE__ */ (0, import_jsx_runtime454.jsx)(block_controls_default, { group: "block", __experimentalShareWithChildBlocks: true, children: /* @__PURE__ */ (0, import_jsx_runtime454.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime453.jsx)(block_controls_default, { group: "block", __experimentalShareWithChildBlocks: true, children: /* @__PURE__ */ (0, import_jsx_runtime453.jsx)( duotone_control_default, { duotonePalette, @@ -71987,7 +71921,7 @@ var wp; } var DUOTONE_BLOCK_PROPS_REFERENCE = {}; function useBlockProps14({ clientId, name, style }) { - const id = (0, import_compose104.useInstanceId)(DUOTONE_BLOCK_PROPS_REFERENCE); + const id = (0, import_compose103.useInstanceId)(DUOTONE_BLOCK_PROPS_REFERENCE); const selector3 = (0, import_element266.useMemo)(() => { const blockType = (0, import_blocks116.getBlockType)(name); if (blockType) { @@ -72026,7 +71960,7 @@ var wp; className: shouldRender ? filterClass : "" }; } - (0, import_hooks29.addFilter)( + (0, import_hooks28.addFilter)( "blocks.registerBlockType", "core/editor/duotone/add-attributes", addDuotoneAttributes @@ -72035,10 +71969,10 @@ var wp; // packages/block-editor/build-module/hooks/custom-css.mjs var import_element267 = __toESM(require_element(), 1); var import_data184 = __toESM(require_data(), 1); - var import_compose105 = __toESM(require_compose(), 1); + var import_compose104 = __toESM(require_compose(), 1); var import_blocks117 = __toESM(require_blocks(), 1); var import_i18n236 = __toESM(require_i18n(), 1); - var import_jsx_runtime455 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime454 = __toESM(require_jsx_runtime(), 1); var CUSTOM_CSS_INSTANCE_REFERENCE = {}; var EMPTY_STYLE = {}; function CustomCSSControl({ blockName, setAttributes, style }) { @@ -72056,7 +71990,7 @@ var wp; ), blockType?.title ); - return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime454.jsx)(inspector_controls_default, { group: "advanced", children: /* @__PURE__ */ (0, import_jsx_runtime454.jsx)( AdvancedPanel, { value: style, @@ -72080,7 +72014,7 @@ var wp; if (!canEditCSS) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime454.jsx)( CustomCSSControl, { blockName: name, @@ -72092,7 +72026,7 @@ var wp; function useBlockProps15({ style }) { const customCSS = style?.css; const isValidCSS = typeof customCSS === "string" && customCSS.trim().length > 0 && validateCSS(customCSS); - const customCSSIdentifier = (0, import_compose105.useInstanceId)( + const customCSSIdentifier = (0, import_compose104.useInstanceId)( CUSTOM_CSS_INSTANCE_REFERENCE, "wp-custom-css" ); @@ -72135,13 +72069,13 @@ var wp; }; // packages/block-editor/build-module/hooks/layout.mjs - var import_compose106 = __toESM(require_compose(), 1); - var import_hooks30 = __toESM(require_hooks(), 1); + var import_compose105 = __toESM(require_compose(), 1); + var import_hooks29 = __toESM(require_hooks(), 1); var import_blocks118 = __toESM(require_blocks(), 1); var import_data185 = __toESM(require_data(), 1); var import_components266 = __toESM(require_components(), 1); var import_i18n237 = __toESM(require_i18n(), 1); - var import_jsx_runtime456 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime455 = __toESM(require_jsx_runtime(), 1); var VARIATION_PREFIX2 = "is-style-"; var layoutBlockSupportKey = "layout"; var { kebabCase: kebabCase6 } = unlock(import_components266.privateApis); @@ -72255,9 +72189,9 @@ var wp; const hasContentSizeOrLegacySettings = !!inherit || !!contentSize; const onChangeType = (newType) => setAttributes({ layout: { type: newType } }); const onChangeLayout = (newLayout) => setAttributes({ layout: newLayout }); - return /* @__PURE__ */ (0, import_jsx_runtime456.jsxs)(import_jsx_runtime456.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime456.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime456.jsxs)(import_components266.PanelBody, { title: (0, import_i18n237.__)("Layout"), children: [ - showInheritToggle && /* @__PURE__ */ (0, import_jsx_runtime456.jsx)(import_jsx_runtime456.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsxs)(import_jsx_runtime455.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime455.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime455.jsxs)(import_components266.PanelBody, { title: (0, import_i18n237.__)("Layout"), children: [ + showInheritToggle && /* @__PURE__ */ (0, import_jsx_runtime455.jsx)(import_jsx_runtime455.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( import_components266.ToggleControl, { label: (0, import_i18n237.__)("Inner blocks use content width"), @@ -72274,14 +72208,14 @@ var wp; ) } ) }), - !inherit && allowSwitching && /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + !inherit && allowSwitching && /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( LayoutTypeSwitcher, { type: blockLayoutType, onChange: onChangeType } ), - layoutType && layoutType.name !== "default" && /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + layoutType && layoutType.name !== "default" && /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( layoutType.inspectorControls, { layout: usedLayout, @@ -72291,7 +72225,7 @@ var wp; clientId } ), - constrainedType && displayControlsForLegacyLayouts && /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + constrainedType && displayControlsForLegacyLayouts && /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( constrainedType.inspectorControls, { layout: usedLayout, @@ -72302,7 +72236,7 @@ var wp; } ) ] }) }), - !inherit && layoutType && /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + !inherit && layoutType && /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( layoutType.toolBarControls, { layout: usedLayout, @@ -72323,7 +72257,7 @@ var wp; } }; function LayoutTypeSwitcher({ type, onChange }) { - return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( import_components266.__experimentalToggleGroupControl, { __next40pxDefaultSize: true, @@ -72334,7 +72268,7 @@ var wp; value: type, onChange, children: getLayoutTypes().map(({ name, label }) => { - return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( import_components266.__experimentalToggleGroupControlOption, { value: name, @@ -72368,7 +72302,7 @@ var wp; layoutClasses }) { const { name, attributes } = props; - const id = (0, import_compose106.useInstanceId)(BlockListBlock2); + const id = (0, import_compose105.useInstanceId)(BlockListBlock2); const { layout } = attributes; const { default: defaultBlockLayout } = (0, import_blocks118.getBlockSupport)(name, layoutBlockSupportKey) || {}; const usedLayout = layout?.inherit || layout?.contentSize || layout?.wideSize ? { ...layout, type: "constrained" } : layout || defaultBlockLayout || {}; @@ -72392,7 +72326,7 @@ var wp; layoutClasses ); useStyleOverride({ css }); - return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( BlockListBlock2, { ...props, @@ -72400,7 +72334,7 @@ var wp; } ); } - var withLayoutStyles = (0, import_compose106.createHigherOrderComponent)( + var withLayoutStyles = (0, import_compose105.createHigherOrderComponent)( (BlockListBlock2) => function WithLayoutStyles(props) { const { clientId, name, attributes } = props; const blockSupportsLayout = hasLayoutBlockSupport(name); @@ -72440,7 +72374,7 @@ var wp; [blockSupportsLayout, clientId, attributes?.className, name] ); if (!extraProps) { - return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( BlockListBlock2, { ...props, @@ -72448,7 +72382,7 @@ var wp; } ); } - return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime455.jsx)( BlockWithLayoutStyles, { block: BlockListBlock2, @@ -72460,26 +72394,26 @@ var wp; }, "withLayoutStyles" ); - (0, import_hooks30.addFilter)( + (0, import_hooks29.addFilter)( "blocks.registerBlockType", "core/layout/addAttribute", addAttribute9 ); - (0, import_hooks30.addFilter)( + (0, import_hooks29.addFilter)( "editor.BlockListBlock", "core/editor/layout/with-layout-styles", withLayoutStyles ); // packages/block-editor/build-module/hooks/layout-child.mjs - var import_compose110 = __toESM(require_compose(), 1); + var import_compose109 = __toESM(require_compose(), 1); var import_data189 = __toESM(require_data(), 1); var import_element271 = __toESM(require_element(), 1); // packages/block-editor/build-module/components/grid/grid-visualizer.mjs var import_element268 = __toESM(require_element(), 1); var import_data186 = __toESM(require_data(), 1); - var import_compose107 = __toESM(require_compose(), 1); + var import_compose106 = __toESM(require_compose(), 1); // packages/block-editor/build-module/components/grid/utils.mjs function range(start2, length) { @@ -72621,7 +72555,7 @@ var wp; } // packages/block-editor/build-module/components/grid/grid-visualizer.mjs - var import_jsx_runtime457 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime456 = __toESM(require_jsx_runtime(), 1); function GridVisualizer({ clientId, contentRef, @@ -72637,7 +72571,7 @@ var wp; return null; } const isManualGrid = parentLayout?.isManualPlacement && window.__experimentalEnableGridInteractivity; - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( GridVisualizerGrid, { gridClientId: clientId, @@ -72686,7 +72620,7 @@ var wp; document.removeEventListener("dragend", onGlobalDragEnd); }; }, []); - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( cover_default, { className: clsx_default("block-editor-grid-visualizer", { @@ -72694,20 +72628,20 @@ var wp; }), clientId: gridClientId, __unstablePopoverSlot: "__unstable-block-tools-after", - children: /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( "div", { ref, className: "block-editor-grid-visualizer__grid", style: gridInfo.style, - children: isManualGrid ? /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + children: isManualGrid ? /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( ManualGridVisualizer, { gridClientId, gridInfo, childGridRect } - ) : /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + ) : /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( AutoGridVisualizer, { gridInfo, @@ -72727,7 +72661,7 @@ var wp; if (childGridRect?.contains(column, row)) { color = "transparent"; } - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( GridVisualizerCell, { color @@ -72783,12 +72717,12 @@ var wp; (rect) => rect.contains(column, row) ); const isHighlighted = highlightedRect?.contains(column, row) ?? false; - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( GridVisualizerCell, { color, className: isHighlighted && "is-highlighted", - children: isCellOccupied && !isChildGridCell ? /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + children: isCellOccupied && !isChildGridCell ? /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( GridVisualizerDropZone, { column, @@ -72797,7 +72731,7 @@ var wp; gridInfo, setHighlightedRect } - ) : /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + ) : /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( GridVisualizerAppender, { column, @@ -72814,7 +72748,7 @@ var wp; ); } function GridVisualizerCell({ color, children, className }) { - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( "div", { className: clsx_default( @@ -72910,7 +72844,7 @@ var wp; gridInfo, setHighlightedRect }) { - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( "div", { className: "block-editor-grid-visualizer__drop-zone", @@ -72940,7 +72874,7 @@ var wp; gridClientId, gridInfo.numColumns ); - return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime456.jsx)( button_block_appender_default, { rootClientId: gridClientId, @@ -72985,7 +72919,7 @@ var wp; onDrop }) { const { getDraggedBlockClientIds: getDraggedBlockClientIds2 } = (0, import_data186.useSelect)(store); - return (0, import_compose107.__experimentalUseDropZone)({ + return (0, import_compose106.__experimentalUseDropZone)({ onDragEnter() { const [srcClientId] = getDraggedBlockClientIds2(); if (srcClientId && validateDrag(srcClientId)) { @@ -73007,7 +72941,7 @@ var wp; // packages/block-editor/build-module/components/grid/grid-item-resizer.mjs var import_components268 = __toESM(require_components(), 1); var import_element269 = __toESM(require_element(), 1); - var import_jsx_runtime458 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime457 = __toESM(require_jsx_runtime(), 1); function GridItemResizer({ clientId, bounds, @@ -73020,7 +72954,7 @@ var wp; if (!blockElement || !rootBlockElement) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( GridItemResizerInner, { clientId, @@ -73084,14 +73018,14 @@ var wp; alignItems: alignment[resizeDirection] } }; - return /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( cover_default, { className: "block-editor-grid-item-resizer", clientId, __unstablePopoverSlot: "__unstable-block-tools-after", additionalStyles: styles, - children: /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime457.jsx)( import_components268.ResizableBox, { className: "block-editor-grid-item-resizer__box", @@ -73165,8 +73099,8 @@ var wp; var import_i18n238 = __toESM(require_i18n(), 1); var import_components269 = __toESM(require_components(), 1); var import_data187 = __toESM(require_data(), 1); - var import_compose108 = __toESM(require_compose(), 1); - var import_jsx_runtime459 = __toESM(require_jsx_runtime(), 1); + var import_compose107 = __toESM(require_compose(), 1); + var import_jsx_runtime458 = __toESM(require_jsx_runtime(), 1); function GridItemMovers({ layout, parentLayout, @@ -73187,8 +73121,8 @@ var wp; gridClientId, columnCount ); - return /* @__PURE__ */ (0, import_jsx_runtime459.jsx)(block_controls_default, { group: "parent", children: /* @__PURE__ */ (0, import_jsx_runtime459.jsxs)(import_components269.ToolbarGroup, { className: "block-editor-grid-item-mover__move-button-container", children: [ - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)("div", { className: "block-editor-grid-item-mover__move-horizontal-button-container is-left", children: /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime458.jsx)(block_controls_default, { group: "parent", children: /* @__PURE__ */ (0, import_jsx_runtime458.jsxs)(import_components269.ToolbarGroup, { className: "block-editor-grid-item-mover__move-button-container", children: [ + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)("div", { className: "block-editor-grid-item-mover__move-horizontal-button-container is-left", children: /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( GridItemMover, { icon: (0, import_i18n238.isRTL)() ? chevron_right_default : chevron_left_default, @@ -73212,8 +73146,8 @@ var wp; } } ) }), - /* @__PURE__ */ (0, import_jsx_runtime459.jsxs)("div", { className: "block-editor-grid-item-mover__move-vertical-button-container", children: [ - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime458.jsxs)("div", { className: "block-editor-grid-item-mover__move-vertical-button-container", children: [ + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( GridItemMover, { className: "is-up-button", @@ -73238,7 +73172,7 @@ var wp; } } ), - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( GridItemMover, { className: "is-down-button", @@ -73264,7 +73198,7 @@ var wp; } ) ] }), - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)("div", { className: "block-editor-grid-item-mover__move-horizontal-button-container is-right", children: /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)("div", { className: "block-editor-grid-item-mover__move-horizontal-button-container is-right", children: /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( GridItemMover, { icon: (0, import_i18n238.isRTL)() ? chevron_left_default : chevron_right_default, @@ -73298,10 +73232,10 @@ var wp; onClick, description }) { - const instanceId = (0, import_compose108.useInstanceId)(GridItemMover); + const instanceId = (0, import_compose107.useInstanceId)(GridItemMover); const descriptionId = `block-editor-grid-item-mover-button__description-${instanceId}`; - return /* @__PURE__ */ (0, import_jsx_runtime459.jsxs)(import_jsx_runtime459.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime458.jsxs)(import_jsx_runtime458.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)( import_components269.ToolbarButton, { className: clsx_default( @@ -73316,14 +73250,14 @@ var wp; accessibleWhenDisabled: true } ), - /* @__PURE__ */ (0, import_jsx_runtime459.jsx)(import_components269.VisuallyHidden, { id: descriptionId, children: description }) + /* @__PURE__ */ (0, import_jsx_runtime458.jsx)(import_components269.VisuallyHidden, { id: descriptionId, children: description }) ] }); } // packages/block-editor/build-module/components/grid/use-grid-layout-sync.mjs var import_data188 = __toESM(require_data(), 1); var import_element270 = __toESM(require_element(), 1); - var import_compose109 = __toESM(require_compose(), 1); + var import_compose108 = __toESM(require_compose(), 1); function useGridLayoutSync({ clientId: gridClientId }) { const { gridLayout, blockOrder, selectedBlockLayout } = (0, import_data188.useSelect)( (select3) => { @@ -73343,11 +73277,11 @@ var wp; () => selectedBlockLayout ? new GridRect(selectedBlockLayout) : null, [selectedBlockLayout] ); - const previouslySelectedBlockRect = (0, import_compose109.usePrevious)(selectedBlockRect); - const previousIsManualPlacement = (0, import_compose109.usePrevious)( + const previouslySelectedBlockRect = (0, import_compose108.usePrevious)(selectedBlockRect); + const previousIsManualPlacement = (0, import_compose108.usePrevious)( gridLayout.isManualPlacement ); - const previousBlockOrder = (0, import_compose109.usePrevious)(blockOrder); + const previousBlockOrder = (0, import_compose108.usePrevious)(blockOrder); (0, import_element270.useEffect)(() => { const updates = {}; if (gridLayout.isManualPlacement) { @@ -73515,7 +73449,7 @@ var wp; } // packages/block-editor/build-module/hooks/layout-child.mjs - var import_jsx_runtime460 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime459 = __toESM(require_jsx_runtime(), 1); var LAYOUT_CHILD_BLOCK_PROPS_REFERENCE = {}; function useBlockPropsChildLayoutStyles({ style }) { const shouldRenderChildLayoutStyles = (0, import_data189.useSelect)((select3) => { @@ -73532,7 +73466,7 @@ var wp; } = layout; const parentLayout = useLayout() || {}; const { columnCount, minimumColumnWidth } = parentLayout; - const id = (0, import_compose110.useInstanceId)(LAYOUT_CHILD_BLOCK_PROPS_REFERENCE); + const id = (0, import_compose109.useInstanceId)(LAYOUT_CHILD_BLOCK_PROPS_REFERENCE); const selector3 = `.wp-container-content-${id}`; if (true) { if (columnStart && typeof columnStart !== "number") { @@ -73636,7 +73570,7 @@ var wp; if (parentLayoutType !== "grid") { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime460.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( GridTools, { clientId, @@ -73719,8 +73653,8 @@ var wp; } }); } - return /* @__PURE__ */ (0, import_jsx_runtime460.jsxs)(import_jsx_runtime460.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime460.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime459.jsxs)(import_jsx_runtime459.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( GridVisualizer, { clientId: rootClientId, @@ -73729,7 +73663,7 @@ var wp; childGridClientId } ), - showResizer && /* @__PURE__ */ (0, import_jsx_runtime460.jsx)( + showResizer && /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( GridItemResizer, { clientId, @@ -73738,7 +73672,7 @@ var wp; parentLayout } ), - isManualPlacement && window.__experimentalEnableGridInteractivity && /* @__PURE__ */ (0, import_jsx_runtime460.jsx)( + isManualPlacement && window.__experimentalEnableGridInteractivity && /* @__PURE__ */ (0, import_jsx_runtime459.jsx)( GridItemMovers, { layout: style?.layout, @@ -73760,7 +73694,7 @@ var wp; }; // packages/block-editor/build-module/hooks/metadata.mjs - var import_hooks31 = __toESM(require_hooks(), 1); + var import_hooks30 = __toESM(require_hooks(), 1); var import_blocks119 = __toESM(require_blocks(), 1); var META_ATTRIBUTE_NAME = "metadata"; function addMetaAttribute(blockTypeSettings) { @@ -73813,12 +73747,12 @@ var wp; } return result; } - (0, import_hooks31.addFilter)( + (0, import_hooks30.addFilter)( "blocks.registerBlockType", "core/metadata/addMetaAttribute", addMetaAttribute ); - (0, import_hooks31.addFilter)( + (0, import_hooks30.addFilter)( "blocks.switchToBlockType.transformedBlock", "core/metadata/addTransforms", addTransforms5 @@ -73830,7 +73764,7 @@ var wp; var import_components270 = __toESM(require_components(), 1); var import_blocks120 = __toESM(require_blocks(), 1); var import_data190 = __toESM(require_data(), 1); - var import_jsx_runtime461 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime460 = __toESM(require_jsx_runtime(), 1); var EMPTY_OBJECT5 = {}; function BlockHooksControlPure({ name, @@ -73947,22 +73881,22 @@ var wp; break; } }; - return /* @__PURE__ */ (0, import_jsx_runtime461.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime461.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime460.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime460.jsxs)( import_components270.PanelBody, { className: "block-editor-hooks__block-hooks", title: (0, import_i18n239.__)("Plugins"), initialOpen: true, children: [ - /* @__PURE__ */ (0, import_jsx_runtime461.jsx)("p", { className: "block-editor-hooks__block-hooks-helptext", children: (0, import_i18n239.__)( + /* @__PURE__ */ (0, import_jsx_runtime460.jsx)("p", { className: "block-editor-hooks__block-hooks-helptext", children: (0, import_i18n239.__)( "Manage the inclusion of blocks added automatically by plugins." ) }), Object.keys(groupedHookedBlocks).map((vendor) => { - return /* @__PURE__ */ (0, import_jsx_runtime461.jsxs)(import_element272.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime461.jsx)("h3", { children: vendor }), + return /* @__PURE__ */ (0, import_jsx_runtime460.jsxs)(import_element272.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime460.jsx)("h3", { children: vendor }), groupedHookedBlocks[vendor].map((block) => { const checked = block.name in hookedBlockClientIds; - return /* @__PURE__ */ (0, import_jsx_runtime461.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime460.jsx)( import_components270.ToggleControl, { checked, @@ -74005,10 +73939,10 @@ var wp; var import_components272 = __toESM(require_components(), 1); var import_data191 = __toESM(require_data(), 1); var import_element273 = __toESM(require_element(), 1); - var import_compose111 = __toESM(require_compose(), 1); - var import_jsx_runtime462 = __toESM(require_jsx_runtime(), 1); + var import_compose110 = __toESM(require_compose(), 1); + var import_jsx_runtime461 = __toESM(require_jsx_runtime(), 1); var useToolsPanelDropdownMenuProps2 = () => { - const isMobile = (0, import_compose111.useViewportMatch)("medium", "<"); + const isMobile = (0, import_compose110.useViewportMatch)("medium", "<"); return !isMobile ? { popoverProps: { placement: "left-start", @@ -74046,7 +73980,7 @@ var wp; if (bindings === void 0 && !hasCompatibleFields) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime462.jsx)(inspector_controls_default, { group: "bindings", children: /* @__PURE__ */ (0, import_jsx_runtime462.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime461.jsx)(inspector_controls_default, { group: "bindings", children: /* @__PURE__ */ (0, import_jsx_runtime461.jsxs)( import_components272.__experimentalToolsPanel, { label: (0, import_i18n240.__)("Attributes"), @@ -74056,7 +73990,7 @@ var wp; dropdownMenuProps, className: "block-editor-bindings__panel", children: [ - /* @__PURE__ */ (0, import_jsx_runtime462.jsx)(import_components272.__experimentalItemGroup, { isBordered: true, isSeparated: true, children: bindableAttributes.map((attribute) => /* @__PURE__ */ (0, import_jsx_runtime462.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime461.jsx)(import_components272.__experimentalItemGroup, { isBordered: true, isSeparated: true, children: bindableAttributes.map((attribute) => /* @__PURE__ */ (0, import_jsx_runtime461.jsx)( BlockBindingsAttributeControl, { attribute, @@ -74065,7 +73999,7 @@ var wp; }, attribute )) }), - /* @__PURE__ */ (0, import_jsx_runtime462.jsx)(import_components272.__experimentalText, { as: "div", variant: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime462.jsx)("p", { children: (0, import_i18n240.__)( + /* @__PURE__ */ (0, import_jsx_runtime461.jsx)(import_components272.__experimentalText, { as: "div", variant: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime461.jsx)("p", { children: (0, import_i18n240.__)( "Attributes connected to custom fields or other dynamic data." ) }) }) ] @@ -74118,7 +74052,7 @@ var wp; } // packages/block-editor/build-module/hooks/list-view.mjs - var import_jsx_runtime463 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime462 = __toESM(require_jsx_runtime(), 1); var LIST_VIEW_SUPPORT_KEY = "listView"; function hasListViewSupport(nameOrType) { return (0, import_blocks122.hasBlockSupport)(nameOrType, LIST_VIEW_SUPPORT_KEY); @@ -74151,15 +74085,15 @@ var wp; return null; } const showBlockTitle = isSelectionWithinCurrentSection; - return /* @__PURE__ */ (0, import_jsx_runtime463.jsx)(InspectorControlsFill, { group: "list", children: /* @__PURE__ */ (0, import_jsx_runtime463.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime462.jsx)(InspectorControlsFill, { group: "list", children: /* @__PURE__ */ (0, import_jsx_runtime462.jsxs)( import_components273.PanelBody, { title: showBlockTitle ? title : void 0, opened: isOpened, onToggle: handleToggle, children: [ - !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime463.jsx)("p", { className: "block-editor-block-inspector__no-blocks", children: (0, import_i18n241.__)("No items yet.") }), - /* @__PURE__ */ (0, import_jsx_runtime463.jsx)( + !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime462.jsx)("p", { className: "block-editor-block-inspector__no-blocks", children: (0, import_i18n241.__)("No items yet.") }), + /* @__PURE__ */ (0, import_jsx_runtime462.jsx)( PrivateListView, { rootClientId: clientId, @@ -74182,7 +74116,7 @@ var wp; }; // packages/block-editor/build-module/hooks/block-renaming.mjs - var import_hooks32 = __toESM(require_hooks(), 1); + var import_hooks31 = __toESM(require_hooks(), 1); var import_blocks123 = __toESM(require_blocks(), 1); function addLabelCallback(settings2) { if (settings2.__experimentalLabel) { @@ -74204,17 +74138,17 @@ var wp; } return settings2; } - (0, import_hooks32.addFilter)( + (0, import_hooks31.addFilter)( "blocks.registerBlockType", "core/metadata/addLabelCallback", addLabelCallback ); // packages/block-editor/build-module/hooks/grid-visualizer.mjs - var import_compose112 = __toESM(require_compose(), 1); - var import_hooks33 = __toESM(require_hooks(), 1); + var import_compose111 = __toESM(require_compose(), 1); + var import_hooks32 = __toESM(require_hooks(), 1); var import_data194 = __toESM(require_data(), 1); - var import_jsx_runtime464 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime463 = __toESM(require_jsx_runtime(), 1); function GridLayoutSync(props) { useGridLayoutSync(props); } @@ -74255,9 +74189,9 @@ var wp; blockVisibility: blockVisibility2, deviceType }); - return /* @__PURE__ */ (0, import_jsx_runtime464.jsxs)(import_jsx_runtime464.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime464.jsx)(GridLayoutSync, { clientId }), - isVisible && !isBlockCurrentlyHidden && !isAnyAncestorHidden && /* @__PURE__ */ (0, import_jsx_runtime464.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime463.jsxs)(import_jsx_runtime463.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime463.jsx)(GridLayoutSync, { clientId }), + isVisible && !isBlockCurrentlyHidden && !isAnyAncestorHidden && /* @__PURE__ */ (0, import_jsx_runtime463.jsx)( GridVisualizer, { clientId, @@ -74266,25 +74200,25 @@ var wp; ) ] }); } - var addGridVisualizerToBlockEdit = (0, import_compose112.createHigherOrderComponent)( + var addGridVisualizerToBlockEdit = (0, import_compose111.createHigherOrderComponent)( (BlockEdit2) => function AddGridVisualizerToBlockEdit(props) { if (props.attributes.layout?.type !== "grid") { - return /* @__PURE__ */ (0, import_jsx_runtime464.jsx)(BlockEdit2, { ...props }, "edit"); + return /* @__PURE__ */ (0, import_jsx_runtime463.jsx)(BlockEdit2, { ...props }, "edit"); } - return /* @__PURE__ */ (0, import_jsx_runtime464.jsxs)(import_jsx_runtime464.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime464.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime463.jsxs)(import_jsx_runtime463.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime463.jsx)( GridTools2, { clientId: props.clientId, layout: props.attributes.layout } ), - /* @__PURE__ */ (0, import_jsx_runtime464.jsx)(BlockEdit2, { ...props }, "edit") + /* @__PURE__ */ (0, import_jsx_runtime463.jsx)(BlockEdit2, { ...props }, "edit") ] }); }, "addGridVisualizerToBlockEdit" ); - (0, import_hooks33.addFilter)( + (0, import_hooks32.addFilter)( "editor.BlockEdit", "core/editor/grid-visualizer", addGridVisualizerToBlockEdit @@ -74335,7 +74269,7 @@ var wp; } // packages/block-editor/build-module/hooks/auto-inspector-controls.mjs - var import_jsx_runtime465 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime464 = __toESM(require_jsx_runtime(), 1); function hasAutoGenerateControl(blockTypeAttributes) { if (!blockTypeAttributes) { return false; @@ -74385,7 +74319,7 @@ var wp; if (!fields || fields.length === 0) { return null; } - return /* @__PURE__ */ (0, import_jsx_runtime465.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime465.jsx)(import_components274.PanelBody, { title: (0, import_i18n242.__)("Settings"), children: /* @__PURE__ */ (0, import_jsx_runtime465.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime464.jsx)(inspector_controls_default, { children: /* @__PURE__ */ (0, import_jsx_runtime464.jsx)(import_components274.PanelBody, { title: (0, import_i18n242.__)("Settings"), children: /* @__PURE__ */ (0, import_jsx_runtime464.jsx)( DataForm, { data: attributes, @@ -74646,7 +74580,7 @@ var wp; var import_element278 = __toESM(require_element(), 1); var import_blocks125 = __toESM(require_blocks(), 1); var import_rich_text20 = __toESM(require_rich_text(), 1); - var import_jsx_runtime466 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime465 = __toESM(require_jsx_runtime(), 1); function addValuesForElement(element, values, innerBlocks) { if (null === element || void 0 === element || false === element) { return; @@ -74702,7 +74636,7 @@ var wp; // Instead of letting save elements use `useInnerBlocksProps.save`, // force them to use InnerBlocks.Content instead so we can intercept // a single component. - /* @__PURE__ */ (0, import_jsx_runtime466.jsx)(inner_blocks_default.Content, {}) + /* @__PURE__ */ (0, import_jsx_runtime465.jsx)(inner_blocks_default.Content, {}) ); addValuesForElement(saveElement, values, innerBlocks); } @@ -74719,19 +74653,19 @@ var wp; // packages/block-editor/build-module/components/resizable-box-popover/index.mjs var import_components276 = __toESM(require_components(), 1); - var import_jsx_runtime467 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime466 = __toESM(require_jsx_runtime(), 1); function ResizableBoxPopover({ clientId, resizableBoxProps, ...props }) { - return /* @__PURE__ */ (0, import_jsx_runtime467.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime466.jsx)( cover_default, { clientId, __unstablePopoverSlot: "block-toolbar", ...props, - children: /* @__PURE__ */ (0, import_jsx_runtime467.jsx)(import_components276.ResizableBox, { ...resizableBoxProps }) + children: /* @__PURE__ */ (0, import_jsx_runtime466.jsx)(import_components276.ResizableBox, { ...resizableBoxProps }) } ); } @@ -74741,7 +74675,7 @@ var wp; var import_data196 = __toESM(require_data(), 1); var import_components277 = __toESM(require_components(), 1); var import_i18n243 = __toESM(require_i18n(), 1); - var import_jsx_runtime468 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime467 = __toESM(require_jsx_runtime(), 1); function BlockRemovalWarningModal({ rules }) { const [confirmed, setConfirmed] = (0, import_element279.useState)(false); const { clientIds, selectPrevious, message: message2 } = (0, import_data196.useSelect)( @@ -74777,22 +74711,22 @@ var wp; ); clearBlockRemovalPrompt2(); }; - return /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime467.jsx)( import_components277.Modal, { title: (0, import_i18n243.__)("Confirm deletion"), onRequestClose: clearBlockRemovalPrompt2, size: "medium", - children: /* @__PURE__ */ (0, import_jsx_runtime468.jsxs)(import_components277.__experimentalVStack, { spacing: 4, children: [ - /* @__PURE__ */ (0, import_jsx_runtime468.jsxs)("div", { children: [ - /* @__PURE__ */ (0, import_jsx_runtime468.jsx)("p", { children: description }), - isStructured && (message2.warning || message2.subtext) && /* @__PURE__ */ (0, import_jsx_runtime468.jsxs)("p", { children: [ - message2.warning && /* @__PURE__ */ (0, import_jsx_runtime468.jsx)("strong", { children: message2.warning }), + children: /* @__PURE__ */ (0, import_jsx_runtime467.jsxs)(import_components277.__experimentalVStack, { spacing: 4, children: [ + /* @__PURE__ */ (0, import_jsx_runtime467.jsxs)("div", { children: [ + /* @__PURE__ */ (0, import_jsx_runtime467.jsx)("p", { children: description }), + isStructured && (message2.warning || message2.subtext) && /* @__PURE__ */ (0, import_jsx_runtime467.jsxs)("p", { children: [ + message2.warning && /* @__PURE__ */ (0, import_jsx_runtime467.jsx)("strong", { children: message2.warning }), message2.warning && message2.subtext && " ", message2.subtext ] }) ] }), - requireConfirmation && /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( + requireConfirmation && /* @__PURE__ */ (0, import_jsx_runtime467.jsx)( import_components277.CheckboxControl, { label: (0, import_i18n243.__)("I understand the consequences"), @@ -74800,8 +74734,8 @@ var wp; onChange: setConfirmed } ), - /* @__PURE__ */ (0, import_jsx_runtime468.jsxs)(import_components277.__experimentalHStack, { justify: "right", children: [ - /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime467.jsxs)(import_components277.__experimentalHStack, { justify: "right", children: [ + /* @__PURE__ */ (0, import_jsx_runtime467.jsx)( import_components277.Button, { variant: "tertiary", @@ -74810,7 +74744,7 @@ var wp; children: (0, import_i18n243.__)("Cancel") } ), - /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime467.jsx)( import_components277.Button, { variant: "primary", @@ -74834,7 +74768,7 @@ var wp; var import_components278 = __toESM(require_components(), 1); var import_element280 = __toESM(require_element(), 1); var import_i18n244 = __toESM(require_i18n(), 1); - var import_jsx_runtime469 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime468 = __toESM(require_jsx_runtime(), 1); var DEFAULT_SCALE_OPTIONS = [ { value: "fill", @@ -74881,7 +74815,7 @@ var wp; return acc; }, {}); }, [options]); - return /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( import_components278.__experimentalToolsPanelItem, { label: (0, import_i18n244.__)("Scale"), @@ -74889,7 +74823,7 @@ var wp; hasValue: () => displayValue !== defaultValue, onDeselect: () => onChange(defaultValue), panelId, - children: /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( import_components278.__experimentalToggleGroupControl, { label: (0, import_i18n244.__)("Scale"), @@ -74898,7 +74832,7 @@ var wp; value: displayValue, onChange, size: "__unstable-large", - children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( + children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime468.jsx)( import_components278.__experimentalToggleGroupControlOption, { ...option @@ -74914,7 +74848,7 @@ var wp; // packages/block-editor/build-module/components/dimensions-tool/width-height-tool.mjs var import_components279 = __toESM(require_components(), 1); var import_i18n245 = __toESM(require_i18n(), 1); - var import_jsx_runtime470 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime469 = __toESM(require_jsx_runtime(), 1); function WidthHeightTool({ panelId, value = {}, @@ -74934,8 +74868,8 @@ var wp; } onChange(nextValue); }; - return /* @__PURE__ */ (0, import_jsx_runtime470.jsxs)(import_jsx_runtime470.Fragment, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime469.jsxs)(import_jsx_runtime469.Fragment, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( import_components279.__experimentalToolsPanelItem, { style: { gridColumn: "span 1" }, @@ -74944,7 +74878,7 @@ var wp; hasValue: () => width !== "", onDeselect: onDimensionChange("width"), panelId, - children: /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( import_components279.__experimentalUnitControl, { label: (0, import_i18n245.__)("Width"), @@ -74959,7 +74893,7 @@ var wp; ) } ), - /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( import_components279.__experimentalToolsPanelItem, { style: { gridColumn: "span 1" }, @@ -74968,7 +74902,7 @@ var wp; hasValue: () => height !== "", onDeselect: onDimensionChange("height"), panelId, - children: /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime469.jsx)( import_components279.__experimentalUnitControl, { label: (0, import_i18n245.__)("Height"), @@ -74987,7 +74921,7 @@ var wp; } // packages/block-editor/build-module/components/dimensions-tool/index.mjs - var import_jsx_runtime471 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime470 = __toESM(require_jsx_runtime(), 1); function DimensionsTool({ panelId, value = {}, @@ -75013,8 +74947,8 @@ var wp; const [lastAspectRatio, setLastAspectRatio] = (0, import_element281.useState)(aspectRatio); const aspectRatioValue = width && height ? "custom" : lastAspectRatio; const showScaleControl = aspectRatio || width && height; - return /* @__PURE__ */ (0, import_jsx_runtime471.jsxs)(import_jsx_runtime471.Fragment, { children: [ - tools.includes("aspectRatio") && /* @__PURE__ */ (0, import_jsx_runtime471.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime470.jsxs)(import_jsx_runtime470.Fragment, { children: [ + tools.includes("aspectRatio") && /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( AspectRatioTool, { panelId, @@ -75045,7 +74979,7 @@ var wp; } } ), - tools.includes("widthHeight") && /* @__PURE__ */ (0, import_jsx_runtime471.jsx)( + tools.includes("widthHeight") && /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( WidthHeightTool, { panelId, @@ -75083,7 +75017,7 @@ var wp; } } ), - tools.includes("scale") && showScaleControl && /* @__PURE__ */ (0, import_jsx_runtime471.jsx)( + tools.includes("scale") && showScaleControl && /* @__PURE__ */ (0, import_jsx_runtime470.jsx)( ScaleTool, { panelId, @@ -75110,7 +75044,7 @@ var wp; // packages/block-editor/build-module/components/resolution-tool/index.mjs var import_components280 = __toESM(require_components(), 1); var import_i18n246 = __toESM(require_i18n(), 1); - var import_jsx_runtime472 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime471 = __toESM(require_jsx_runtime(), 1); var DEFAULT_SIZE_OPTIONS = [ { label: (0, import_i18n246._x)("Thumbnail", "Image size option for resolution control"), @@ -75139,7 +75073,7 @@ var wp; resetAllFilter }) { const displayValue = value ?? defaultValue; - return /* @__PURE__ */ (0, import_jsx_runtime472.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime471.jsx)( import_components280.__experimentalToolsPanelItem, { hasValue: () => displayValue !== defaultValue, @@ -75148,7 +75082,7 @@ var wp; isShownByDefault, panelId, resetAllFilter, - children: /* @__PURE__ */ (0, import_jsx_runtime472.jsx)( + children: /* @__PURE__ */ (0, import_jsx_runtime471.jsx)( import_components280.SelectControl, { label: (0, import_i18n246.__)("Resolution"), @@ -75204,7 +75138,7 @@ var wp; }; // packages/block-editor/build-module/components/html-element-control/index.mjs - var import_jsx_runtime473 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime472 = __toESM(require_jsx_runtime(), 1); function HTMLElementControl({ tagName, onChange, @@ -75249,8 +75183,8 @@ var wp; } return option; }); - return /* @__PURE__ */ (0, import_jsx_runtime473.jsxs)(import_components281.__experimentalVStack, { spacing: 2, className: "block-editor-html-element-control", children: [ - /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime472.jsxs)(import_components281.__experimentalVStack, { spacing: 2, className: "block-editor-html-element-control", children: [ + /* @__PURE__ */ (0, import_jsx_runtime472.jsx)( import_components281.SelectControl, { __next40pxDefaultSize: true, @@ -75261,7 +75195,7 @@ var wp; help: htmlElementMessages[tagName] } ), - tagName === "main" && hasMainElementElsewhere && /* @__PURE__ */ (0, import_jsx_runtime473.jsx)(import_components281.Notice, { status: "warning", isDismissible: false, children: (0, import_i18n248.__)( + tagName === "main" && hasMainElementElsewhere && /* @__PURE__ */ (0, import_jsx_runtime472.jsx)(import_components281.Notice, { status: "warning", isDismissible: false, children: (0, import_i18n248.__)( "Multiple
elements detected. The duplicate may be in your content or template. This is not valid HTML and may cause accessibility issues. Please change this HTML element." ) }) ] }); @@ -75274,12 +75208,12 @@ var wp; // packages/block-editor/build-module/components/link-picker/link-preview.mjs var import_components282 = __toESM(require_components(), 1); - var import_jsx_runtime474 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime473 = __toESM(require_jsx_runtime(), 1); var { Badge: Badge6 } = unlock(import_components282.privateApis); function LinkPreview2({ title, url, image, badges }) { - return /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)(import_components282.__experimentalHStack, { justify: "space-between", alignment: "top", children: [ - /* @__PURE__ */ (0, import_jsx_runtime474.jsx)(import_components282.FlexItem, { className: "link-preview-button__content", children: /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)(import_components282.__experimentalHStack, { alignment: "top", children: [ - image && /* @__PURE__ */ (0, import_jsx_runtime474.jsx)(import_components282.FlexItem, { className: "link-preview-button__image-container", children: /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( + return /* @__PURE__ */ (0, import_jsx_runtime473.jsxs)(import_components282.__experimentalHStack, { justify: "space-between", alignment: "top", children: [ + /* @__PURE__ */ (0, import_jsx_runtime473.jsx)(import_components282.FlexItem, { className: "link-preview-button__content", children: /* @__PURE__ */ (0, import_jsx_runtime473.jsxs)(import_components282.__experimentalHStack, { alignment: "top", children: [ + image && /* @__PURE__ */ (0, import_jsx_runtime473.jsx)(import_components282.FlexItem, { className: "link-preview-button__image-container", children: /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( "img", { className: "link-preview-button__image", @@ -75287,13 +75221,13 @@ var wp; alt: "" } ) }), - /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)( + /* @__PURE__ */ (0, import_jsx_runtime473.jsxs)( import_components282.__experimentalVStack, { className: "link-preview-button__details", alignment: "topLeft", children: [ - /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( import_components282.__experimentalTruncate, { numberOfLines: 1, @@ -75301,7 +75235,7 @@ var wp; children: title } ), - url && /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( + url && /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( import_components282.__experimentalTruncate, { numberOfLines: 1, @@ -75309,12 +75243,12 @@ var wp; children: url } ), - badges && badges.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( + badges && badges.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( import_components282.__experimentalHStack, { className: "link-preview-button__badges", alignment: "left", - children: badges.map((badge) => /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( + children: badges.map((badge) => /* @__PURE__ */ (0, import_jsx_runtime473.jsx)( Badge6, { intent: badge.intent, @@ -75328,12 +75262,12 @@ var wp; } ) ] }) }), - /* @__PURE__ */ (0, import_jsx_runtime474.jsx)(icon_default, { icon: chevron_down_default, className: "link-preview-button__icon" }) + /* @__PURE__ */ (0, import_jsx_runtime473.jsx)(icon_default, { icon: chevron_down_default, className: "link-preview-button__icon" }) ] }); } // packages/block-editor/build-module/components/link-picker/link-picker.mjs - var import_jsx_runtime475 = __toESM(require_jsx_runtime(), 1); + var import_jsx_runtime474 = __toESM(require_jsx_runtime(), 1); function LinkPicker({ preview, onSelect, @@ -75362,9 +75296,9 @@ var wp; onSelect(suggestion); } }; - return /* @__PURE__ */ (0, import_jsx_runtime475.jsxs)(import_components283.BaseControl, { ...baseControlProps, children: [ - /* @__PURE__ */ (0, import_jsx_runtime475.jsx)(import_components283.BaseControl.VisualLabel, { children: label }), - /* @__PURE__ */ (0, import_jsx_runtime475.jsxs)( + return /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)(import_components283.BaseControl, { ...baseControlProps, children: [ + /* @__PURE__ */ (0, import_jsx_runtime474.jsx)(import_components283.BaseControl.VisualLabel, { children: label }), + /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)( import_components283.Button, { ref: anchorRef, @@ -75376,11 +75310,11 @@ var wp; __next40pxDefaultSize: true, className: "link-preview-button", children: [ - label && /* @__PURE__ */ (0, import_jsx_runtime475.jsxs)(import_components283.VisuallyHidden, { children: [ + label && /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)(import_components283.VisuallyHidden, { children: [ label, ":" ] }), - /* @__PURE__ */ (0, import_jsx_runtime475.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( LinkPreview2, { title: preview.title || (0, import_i18n249.__)("Add link"), @@ -75392,7 +75326,7 @@ var wp; ] } ), - isOpen && /* @__PURE__ */ (0, import_jsx_runtime475.jsx)( + isOpen && /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( import_components283.Popover, { anchor: anchorRef.current, @@ -75400,20 +75334,20 @@ var wp; placement: "left-start", offset: 36, shift: true, - children: /* @__PURE__ */ (0, import_jsx_runtime475.jsxs)( + children: /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)( "div", { role: "dialog", "aria-labelledby": dialogTitleId, "aria-describedby": dialogDescriptionId, children: [ - /* @__PURE__ */ (0, import_jsx_runtime475.jsxs)(import_components283.VisuallyHidden, { children: [ - /* @__PURE__ */ (0, import_jsx_runtime475.jsx)("h2", { id: dialogTitleId, children: (0, import_i18n249.__)("Select a link") }), - /* @__PURE__ */ (0, import_jsx_runtime475.jsx)("p", { id: dialogDescriptionId, children: (0, import_i18n249.__)( + /* @__PURE__ */ (0, import_jsx_runtime474.jsxs)(import_components283.VisuallyHidden, { children: [ + /* @__PURE__ */ (0, import_jsx_runtime474.jsx)("h2", { id: dialogTitleId, children: (0, import_i18n249.__)("Select a link") }), + /* @__PURE__ */ (0, import_jsx_runtime474.jsx)("p", { id: dialogDescriptionId, children: (0, import_i18n249.__)( "Search for and add a link to the navigation item." ) }) ] }), - /* @__PURE__ */ (0, import_jsx_runtime475.jsx)( + /* @__PURE__ */ (0, import_jsx_runtime474.jsx)( link_control_default, { value: null, diff --git a/wp-includes/js/dist/block-editor.min.asset.php b/wp-includes/js/dist/block-editor.min.asset.php index ce86b1eb7d..222b41c42c 100644 --- a/wp-includes/js/dist/block-editor.min.asset.php +++ b/wp-includes/js/dist/block-editor.min.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-preferences', 'wp-primitives', 'wp-priority-queue', 'wp-private-apis', 'wp-rich-text', 'wp-style-engine', 'wp-theme', 'wp-token-list', 'wp-upload-media', 'wp-url', 'wp-warning'), 'version' => '5140a363580d1c7cd43c'); \ No newline at end of file + array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-preferences', 'wp-primitives', 'wp-priority-queue', 'wp-private-apis', 'wp-rich-text', 'wp-style-engine', 'wp-theme', 'wp-token-list', 'wp-upload-media', 'wp-url', 'wp-warning'), 'version' => '7d8ba03c46a31976363c'); \ No newline at end of file diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 88233a49cc..bc39a864c8 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,29 +1,29 @@ -"use strict";var wp;(wp||={}).blockEditor=(()=>{var Hme=Object.create;var s0=Object.defineProperty;var Gme=Object.getOwnPropertyDescriptor;var Wme=Object.getOwnPropertyNames;var $me=Object.getPrototypeOf,Kme=Object.prototype.hasOwnProperty;var oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tp=(e,t)=>{for(var o in t)s0(e,o,{get:t[o],enumerable:!0})},c6=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Wme(t))!Kme.call(e,n)&&n!==o&&s0(e,n,{get:()=>t[n],enumerable:!(r=Gme(t,n))||r.enumerable});return e};var l=(e,t,o)=>(o=e!=null?Hme($me(e)):{},c6(t||!e||!e.__esModule?s0(o,"default",{value:e,enumerable:!0}):o,e)),Yme=e=>c6(s0({},"__esModule",{value:!0}),e);var $=oe((gLe,d6)=>{d6.exports=window.wp.blocks});var O=oe((bLe,f6)=>{f6.exports=window.wp.element});var F=oe((kLe,m6)=>{m6.exports=window.wp.data});var Z=oe((vLe,p6)=>{p6.exports=window.wp.compose});var rt=oe((yLe,h6)=>{h6.exports=window.wp.hooks});var A=oe((CLe,B6)=>{B6.exports=window.wp.components});var xO=oe((BLe,E6)=>{E6.exports=window.wp.privateApis});var Oe=oe((ALe,O6)=>{O6.exports=window.wp.deprecated});var w=oe((LLe,A6)=>{A6.exports=window.ReactJSXRuntime});var dn=oe((MLe,N6)=>{N6.exports=window.wp.url});var N=oe((KLe,U6)=>{U6.exports=window.wp.i18n});var vf=oe((YLe,H6)=>{"use strict";H6.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var q=oe((nNe,Z6)=>{Z6.exports=window.wp.primitives});var dr=oe((CVe,X6)=>{X6.exports=window.wp.richText});var J6=oe((BVe,Q6)=>{Q6.exports=window.wp.blockSerializationDefaultParser});var Xo=oe((o3e,Nj)=>{Nj.exports=window.wp.a11y});var Ti=oe((r3e,jj)=>{jj.exports=window.wp.notices});var qp=oe((n3e,Uj)=>{Uj.exports=window.wp.preferences});var CU=oe((rFe,Ww)=>{var _U={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},xU=Object.keys(_U).join("|"),lve=new RegExp(xU,"g"),cve=new RegExp(xU,"");function uve(e){return _U[e]}var wU=function(e){return e.replace(lve,uve)},dve=function(e){return!!e.match(cve)};Ww.exports=wU;Ww.exports.has=dve;Ww.exports.remove=wU});var DU=oe((CFe,MU)=>{MU.exports=window.wp.apiFetch});var SM=oe((BFe,VU)=>{VU.exports=window.wp.htmlEntities});var jv=oe((QFe,nH)=>{nH.exports=window.wp.styleEngine});var it=oe((X4e,EH)=>{EH.exports=window.wp.keycodes});var je=oe((gze,jH)=>{jH.exports=window.wp.dom});var HH=oe(NM=>{"use strict";Object.defineProperty(NM,"__esModule",{value:!0});NM.default=UH;function UH(){}UH.prototype={diff:function(t,o){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(o),count:o.length}]);function h(){for(var g=-1*u;g<=u;g+=2){var b=void 0,v=f[g-1],k=f[g+1],y=(k?k.newPos:0)-g;v&&(f[g-1]=void 0);var S=v&&v.newPos+1=a&&y+1>=c)return s(rye(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u>d)return n();h()||g()},0)})();else for(;u<=d;){var p=h();if(p)return p}},pushComponent:function(t,o,r){var n=t[t.length-1];n&&n.added===o&&n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1h.length?g:h}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function nye(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var WH=oe(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});qv.diffChars=aye;qv.characterDiff=void 0;var iye=sye(HH());function sye(e){return e&&e.__esModule?e:{default:e}}var GH=new iye.default;qv.characterDiff=GH;function aye(e,t,o){return GH.diff(e,t,o)}});var jr=oe((Rze,i8)=>{i8.exports=window.React});var a8=oe((Oze,s8)=>{"use strict";var dye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";s8.exports=dye});var d8=oe((Aze,u8)=>{"use strict";var fye=a8();function l8(){}function c8(){}c8.resetWarningCache=l8;u8.exports=function(){function e(r,n,i,s,a,c){if(c!==fye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c8,resetWarningCache:l8};return o.PropTypes=o,o}});var m8=oe((Mze,f8)=>{f8.exports=d8()();var Lze,Nze});var h8=oe((yC,p8)=>{(function(e,t){if(typeof define=="function"&&define.amd)define(["module","exports"],t);else if(typeof yC<"u")t(p8,yC);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(yC,function(e,t){"use strict";var o=typeof Map=="function"?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)>-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&&(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m>-1&&(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event("test")}catch{r=function(d){var f=document.createEvent("Event");return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!=="TEXTAREA"||o.has(c))return;var u=null,d=null,f=null;function m(){var y=window.getComputedStyle(c,null);y.resize==="vertical"?c.style.resize="none":y.resize==="both"&&(c.style.resize="horizontal"),y.boxSizing==="content-box"?u=-(parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)):u=parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),isNaN(u)&&(u=0),b()}function h(y){{var S=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=S}c.style.overflowY=y}function p(y){for(var S=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&S.push({node:y.parentNode,scrollTop:y.parentNode.scrollTop}),y=y.parentNode;return S}function g(){if(c.scrollHeight!==0){var y=p(c),S=document.documentElement&&document.documentElement.scrollTop;c.style.height="",c.style.height=c.scrollHeight+u+"px",d=c.clientWidth,y.forEach(function(x){x.node.scrollTop=x.scrollTop}),S&&(document.documentElement.scrollTop=S)}}function b(){g();var y=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),x=S.boxSizing==="content-box"?Math.round(parseFloat(S.height)):c.offsetHeight;if(x"u"||typeof window.getComputedStyle!="function"?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&&Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var b8=oe((Dze,g8)=>{var mye=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};g8.exports=mye});var v8=oe((Vze,k8)=>{var DM=b8();function pye(e){var t=DM(e,"line-height"),o=parseFloat(t,10);if(t===o+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=DM(e,"line-height"),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf("pt")!==-1?(o*=4,o/=3):t.indexOf("mm")!==-1?(o*=96,o/=25.4):t.indexOf("cm")!==-1?(o*=96,o/=2.54):t.indexOf("in")!==-1?o*=96:t.indexOf("pc")!==-1&&(o*=16),o=Math.round(o),t==="normal"){var n=e.nodeName,i=document.createElement(n);i.innerHTML=" ",n.toUpperCase()==="TEXTAREA"&&i.setAttribute("rows","1");var s=DM(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}k8.exports=pye});var S8=oe(Pl=>{"use strict";var hye=Pl&&Pl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),VM=Pl&&Pl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o{"use strict";var yye=S8();_8.exports=yye.TextareaAutosize});var Xv=oe((Hze,B8)=>{B8.exports=window.wp.warning});var x7=oe((a6e,_7)=>{_7.exports=window.ReactDOM});var Is=oe((N6e,Q7)=>{Q7.exports=window.wp.keyboardShortcuts});var y9=oe((Yje,v9)=>{v9.exports=window.wp.uploadMedia});var P1=oe(()=>{});var R1=oe(()=>{});var UD=oe(()=>{});var RG=oe((_He,PG)=>{var I_e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",P_e=(e,t=21)=>(o=t)=>{let r="",n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},R_e=(e=21)=>{let t="",o=e|0;for(;o--;)t+=I_e[Math.random()*64|0];return t};PG.exports={nanoid:R_e,customAlphabet:P_e}});var HD=oe(()=>{});var AG=oe((CHe,GD)=>{var Ce=String,OG=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};GD.exports=OG();GD.exports.createColors=OG});var O1=oe((BHe,MG)=>{"use strict";var LG=AG(),NG=HD(),Cy=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),typeof o<"u"&&typeof r<"u"&&(typeof o=="number"?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let o=this.source;t==null&&(t=LG.isColorSupported),NG&&t&&(o=NG(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=LG.createColors(!0);a=m=>u(f(m)),c=m=>d(m)}else a=c=u=>u;return r.slice(n,i).map((u,d)=>{let f=n+1+d,m=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let h=c(m.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(m)+u+` +"use strict";var wp;(wp||={}).blockEditor=(()=>{var zme=Object.create;var s0=Object.defineProperty;var jme=Object.getOwnPropertyDescriptor;var Ume=Object.getOwnPropertyNames;var Hme=Object.getPrototypeOf,Gme=Object.prototype.hasOwnProperty;var oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tp=(e,t)=>{for(var o in t)s0(e,o,{get:t[o],enumerable:!0})},l6=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ume(t))!Gme.call(e,n)&&n!==o&&s0(e,n,{get:()=>t[n],enumerable:!(r=jme(t,n))||r.enumerable});return e};var l=(e,t,o)=>(o=e!=null?zme(Hme(e)):{},l6(t||!e||!e.__esModule?s0(o,"default",{value:e,enumerable:!0}):o,e)),Wme=e=>l6(s0({},"__esModule",{value:!0}),e);var $=oe((mLe,u6)=>{u6.exports=window.wp.blocks});var O=oe((pLe,d6)=>{d6.exports=window.wp.element});var F=oe((hLe,f6)=>{f6.exports=window.wp.data});var Z=oe((gLe,m6)=>{m6.exports=window.wp.compose});var ct=oe((bLe,p6)=>{p6.exports=window.wp.hooks});var A=oe((_Le,C6)=>{C6.exports=window.wp.components});var xO=oe((xLe,B6)=>{B6.exports=window.wp.privateApis});var Oe=oe((PLe,R6)=>{R6.exports=window.wp.deprecated});var w=oe((RLe,O6)=>{O6.exports=window.ReactJSXRuntime});var dn=oe((ALe,L6)=>{L6.exports=window.wp.url});var N=oe((GLe,j6)=>{j6.exports=window.wp.i18n});var vf=oe((WLe,U6)=>{"use strict";U6.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var q=oe((tNe,q6)=>{q6.exports=window.wp.primitives});var dr=oe((_Ve,Z6)=>{Z6.exports=window.wp.richText});var Q6=oe((xVe,X6)=>{X6.exports=window.wp.blockSerializationDefaultParser});var Xo=oe((JVe,Lj)=>{Lj.exports=window.wp.a11y});var Ti=oe((e3e,zj)=>{zj.exports=window.wp.notices});var qp=oe((t3e,jj)=>{jj.exports=window.wp.preferences});var wU=oe((eFe,Ww)=>{var SU={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},_U=Object.keys(SU).join("|"),ive=new RegExp(_U,"g"),sve=new RegExp(_U,"");function ave(e){return SU[e]}var xU=function(e){return e.replace(ive,ave)},lve=function(e){return!!e.match(sve)};Ww.exports=xU;Ww.exports.has=lve;Ww.exports.remove=xU});var MU=oe((_Fe,NU)=>{NU.exports=window.wp.apiFetch});var SM=oe((xFe,DU)=>{DU.exports=window.wp.htmlEntities});var jv=oe((qFe,rH)=>{rH.exports=window.wp.styleEngine});var nt=oe((Y4e,BH)=>{BH.exports=window.wp.keycodes});var je=oe((mze,zH)=>{zH.exports=window.wp.dom});var UH=oe(NM=>{"use strict";Object.defineProperty(NM,"__esModule",{value:!0});NM.default=jH;function jH(){}jH.prototype={diff:function(t,o){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(o),count:o.length}]);function h(){for(var g=-1*u;g<=u;g+=2){var b=void 0,v=f[g-1],k=f[g+1],y=(k?k.newPos:0)-g;v&&(f[g-1]=void 0);var S=v&&v.newPos+1=a&&y+1>=c)return s(eye(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u>d)return n();h()||g()},0)})();else for(;u<=d;){var p=h();if(p)return p}},pushComponent:function(t,o,r){var n=t[t.length-1];n&&n.added===o&&n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1h.length?g:h}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function tye(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var GH=oe(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});qv.diffChars=nye;qv.characterDiff=void 0;var oye=rye(UH());function rye(e){return e&&e.__esModule?e:{default:e}}var HH=new oye.default;qv.characterDiff=HH;function nye(e,t,o){return HH.diff(e,t,o)}});var jr=oe((Tze,n8)=>{n8.exports=window.React});var s8=oe((Ize,i8)=>{"use strict";var lye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i8.exports=lye});var u8=oe((Pze,c8)=>{"use strict";var cye=s8();function a8(){}function l8(){}l8.resetWarningCache=a8;c8.exports=function(){function e(r,n,i,s,a,c){if(c!==cye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l8,resetWarningCache:a8};return o.PropTypes=o,o}});var f8=oe((Aze,d8)=>{d8.exports=u8()();var Rze,Oze});var p8=oe((yC,m8)=>{(function(e,t){if(typeof define=="function"&&define.amd)define(["module","exports"],t);else if(typeof yC<"u")t(m8,yC);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(yC,function(e,t){"use strict";var o=typeof Map=="function"?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)>-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&&(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m>-1&&(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event("test")}catch{r=function(d){var f=document.createEvent("Event");return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!=="TEXTAREA"||o.has(c))return;var u=null,d=null,f=null;function m(){var y=window.getComputedStyle(c,null);y.resize==="vertical"?c.style.resize="none":y.resize==="both"&&(c.style.resize="horizontal"),y.boxSizing==="content-box"?u=-(parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)):u=parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),isNaN(u)&&(u=0),b()}function h(y){{var S=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=S}c.style.overflowY=y}function p(y){for(var S=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&S.push({node:y.parentNode,scrollTop:y.parentNode.scrollTop}),y=y.parentNode;return S}function g(){if(c.scrollHeight!==0){var y=p(c),S=document.documentElement&&document.documentElement.scrollTop;c.style.height="",c.style.height=c.scrollHeight+u+"px",d=c.clientWidth,y.forEach(function(x){x.node.scrollTop=x.scrollTop}),S&&(document.documentElement.scrollTop=S)}}function b(){g();var y=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),x=S.boxSizing==="content-box"?Math.round(parseFloat(S.height)):c.offsetHeight;if(x"u"||typeof window.getComputedStyle!="function"?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&&Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var g8=oe((Lze,h8)=>{var uye=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};h8.exports=uye});var k8=oe((Nze,b8)=>{var DM=g8();function dye(e){var t=DM(e,"line-height"),o=parseFloat(t,10);if(t===o+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=DM(e,"line-height"),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf("pt")!==-1?(o*=4,o/=3):t.indexOf("mm")!==-1?(o*=96,o/=25.4):t.indexOf("cm")!==-1?(o*=96,o/=2.54):t.indexOf("in")!==-1?o*=96:t.indexOf("pc")!==-1&&(o*=16),o=Math.round(o),t==="normal"){var n=e.nodeName,i=document.createElement(n);i.innerHTML=" ",n.toUpperCase()==="TEXTAREA"&&i.setAttribute("rows","1");var s=DM(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}b8.exports=dye});var y8=oe(Pl=>{"use strict";var fye=Pl&&Pl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),VM=Pl&&Pl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o{"use strict";var bye=y8();S8.exports=bye.TextareaAutosize});var Xv=oe((zze,C8)=>{C8.exports=window.wp.warning});var _7=oe((n6e,S7)=>{S7.exports=window.ReactDOM});var Is=oe((O6e,X7)=>{X7.exports=window.wp.keyboardShortcuts});var v9=oe((Wje,k9)=>{k9.exports=window.wp.uploadMedia});var P1=oe(()=>{});var R1=oe(()=>{});var UD=oe(()=>{});var PG=oe((vHe,IG)=>{var B_e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",E_e=(e,t=21)=>(o=t)=>{let r="",n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},T_e=(e=21)=>{let t="",o=e|0;for(;o--;)t+=B_e[Math.random()*64|0];return t};IG.exports={nanoid:T_e,customAlphabet:E_e}});var HD=oe(()=>{});var OG=oe((_He,GD)=>{var Ce=String,RG=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};GD.exports=RG();GD.exports.createColors=RG});var O1=oe((xHe,NG)=>{"use strict";var AG=OG(),LG=HD(),Cy=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),typeof o<"u"&&typeof r<"u"&&(typeof o=="number"?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let o=this.source;t==null&&(t=AG.isColorSupported),LG&&t&&(o=LG(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=AG.createColors(!0);a=m=>u(f(m)),c=m=>d(m)}else a=c=u=>u;return r.slice(n,i).map((u,d)=>{let f=n+1+d,m=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let h=c(m.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(m)+u+` `+h+a("^")}return" "+c(m)+u}).join(` `)}toString(){let t=this.showSourceCode();return t&&(t=` `+t+` -`),this.name+": "+this.message+t}};MG.exports=Cy;Cy.default=Cy});var DG=oe(()=>{});var jG=oe((IHe,zG)=>{"use strict";var{SourceMapConsumer:VG,SourceMapGenerator:FG}=P1(),{existsSync:O_e,readFileSync:A_e}=DG(),{dirname:WD,join:L_e}=R1();function N_e(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var By=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&&o.from&&(this.mapFile=o.from),this.mapFile&&(this.root=WD(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new VG(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return N_e(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=WD(t),O_e(t))return this.mapFile=t,A_e(t,"utf-8").toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o=="string")return o;if(typeof o=="function"){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(o instanceof VG)return FG.fromSourceMap(o).toString();if(o instanceof FG)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=L_e(WD(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};zG.exports=By;By.default=By});var ZD=oe((PHe,WG)=>{"use strict";var{SourceMapConsumer:M_e,SourceMapGenerator:D_e}=P1(),{fileURLToPath:UG,pathToFileURL:A1}=UD(),{isAbsolute:YD,resolve:qD}=R1(),{nanoid:V_e}=RG(),$D=HD(),HG=O1(),F_e=jG(),KD=Symbol("fromOffsetCache"),z_e=!!(M_e&&D_e),GG=!!(qD&&YD),Lh=class{constructor(t,o={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&&(!GG||/^\w+:\/\//.test(o.from)||YD(o.from)?this.file=o.from:this.file=qD(o.from)),GG&&z_e){let r=new F_e(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&&typeof o=="object"){let u=o,d=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset=="number"){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new HG(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new HG(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&&(A1&&(i.input.url=A1(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[KD])r=this[KD];else{let i=this.css.split(` -`);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a=o)n=r.length-1;else{let i=r.length-2,s;for(;n>1),t=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:qD(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let c;YD(s.source)?c=A1(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||A1(this.map.mapFile));let u={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:c.toString()};if(c.protocol==="file:")if(UG)u.file=UG(c);else throw new Error("file: protocol is not available in this PostCSS build");let d=i.sourceContentFor(s.source);return d&&(u.source=d),u}toJSON(){let t={};for(let o of["hasBOM","css","file","id"])this[o]!=null&&(t[o]=this[o]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};WG.exports=Lh;Lh.default=Lh;$D&&$D.registerInput&&$D.registerInput(Lh)});var QD=oe((RHe,XG)=>{"use strict";var{SourceMapConsumer:KG,SourceMapGenerator:L1}=P1(),{dirname:N1,relative:YG,resolve:qG,sep:ZG}=R1(),{pathToFileURL:$G}=UD(),j_e=ZD(),U_e=!!(KG&&L1),H_e=!!(N1&&qG&&YG&&ZG),XD=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let o=` +`),this.name+": "+this.message+t}};NG.exports=Cy;Cy.default=Cy});var MG=oe(()=>{});var zG=oe((BHe,FG)=>{"use strict";var{SourceMapConsumer:DG,SourceMapGenerator:VG}=P1(),{existsSync:I_e,readFileSync:P_e}=MG(),{dirname:WD,join:R_e}=R1();function O_e(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var By=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&&o.from&&(this.mapFile=o.from),this.mapFile&&(this.root=WD(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new DG(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return O_e(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=WD(t),I_e(t))return this.mapFile=t,P_e(t,"utf-8").toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o=="string")return o;if(typeof o=="function"){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(o instanceof DG)return VG.fromSourceMap(o).toString();if(o instanceof VG)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=R_e(WD(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};FG.exports=By;By.default=By});var ZD=oe((EHe,GG)=>{"use strict";var{SourceMapConsumer:A_e,SourceMapGenerator:L_e}=P1(),{fileURLToPath:jG,pathToFileURL:A1}=UD(),{isAbsolute:YD,resolve:qD}=R1(),{nanoid:N_e}=PG(),$D=HD(),UG=O1(),M_e=zG(),KD=Symbol("fromOffsetCache"),D_e=!!(A_e&&L_e),HG=!!(qD&&YD),Lh=class{constructor(t,o={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&&(!HG||/^\w+:\/\//.test(o.from)||YD(o.from)?this.file=o.from:this.file=qD(o.from)),HG&&D_e){let r=new M_e(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&&typeof o=="object"){let u=o,d=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset=="number"){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new UG(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new UG(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&&(A1&&(i.input.url=A1(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[KD])r=this[KD];else{let i=this.css.split(` +`);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a=o)n=r.length-1;else{let i=r.length-2,s;for(;n>1),t=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:qD(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let c;YD(s.source)?c=A1(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||A1(this.map.mapFile));let u={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:c.toString()};if(c.protocol==="file:")if(jG)u.file=jG(c);else throw new Error("file: protocol is not available in this PostCSS build");let d=i.sourceContentFor(s.source);return d&&(u.source=d),u}toJSON(){let t={};for(let o of["hasBOM","css","file","id"])this[o]!=null&&(t[o]=this[o]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};GG.exports=Lh;Lh.default=Lh;$D&&$D.registerInput&&$D.registerInput(Lh)});var QD=oe((THe,ZG)=>{"use strict";var{SourceMapConsumer:$G,SourceMapGenerator:L1}=P1(),{dirname:N1,relative:KG,resolve:YG,sep:qG}=R1(),{pathToFileURL:WG}=UD(),V_e=ZD(),F_e=!!($G&&L1),z_e=!!(N1&&YG&&KG&&qG),XD=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let o=` `;this.css.includes(`\r `)&&(o=`\r -`),this.css+=o+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||N1(t.file),n;this.mapOpts.sourcesContent===!1?(n=new KG(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o>=0;o--)t=this.root.nodes[o],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(o)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),H_e&&U_e&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,o=>{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=L1.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new L1({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new L1({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r="",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(a,c,u)=>{if(this.css+=a,c&&u!=="end"&&(n.generated.line=t,n.generated.column=o-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(` -`),o=a.length-s):o+=a.length,c&&u!=="start"){let d=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==d.last||d.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(o=>o.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?N1(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=N1(qG(r,this.mapOpts.annotation)));let n=YG(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new j_e(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=>{if(o.source){let r=o.source.input.from;if(r&&!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if($G){let r=$G(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;ZG==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};XG.exports=XD});var JD=oe((OHe,JG)=>{"use strict";var QG={after:` +`),this.css+=o+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||N1(t.file),n;this.mapOpts.sourcesContent===!1?(n=new $G(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o>=0;o--)t=this.root.nodes[o],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(o)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),z_e&&F_e&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,o=>{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=L1.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new L1({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new L1({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r="",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(a,c,u)=>{if(this.css+=a,c&&u!=="end"&&(n.generated.line=t,n.generated.column=o-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(` +`),o=a.length-s):o+=a.length,c&&u!=="start"){let d=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==d.last||d.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(o=>o.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?N1(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=N1(YG(r,this.mapOpts.annotation)));let n=KG(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new V_e(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=>{if(o.source){let r=o.source.input.from;if(r&&!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if(WG){let r=WG(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;qG==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};ZG.exports=XD});var JD=oe((IHe,QG)=>{"use strict";var XG={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` -`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function G_e(e){return e[0].toUpperCase()+e.slice(1)}var Ey=class{constructor(t){this.builder=t}atrule(t,o){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||"")+(o?";":"");this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):o==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let n=t.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` -`)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a0&&t.nodes[o].type==="comment";)o-=1;let r=this.raw(t,"semicolon");for(let n=0;n{if(n=c.raws[o],typeof n<"u")return!1})}return typeof n>"u"&&(n=QG[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return o=r.raws.after,o.includes(` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function j_e(e){return e[0].toUpperCase()+e.slice(1)}var Ey=class{constructor(t){this.builder=t}atrule(t,o){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||"")+(o?";":"");this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):o==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let n=t.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a0&&t.nodes[o].type==="comment";)o-=1;let r=this.raw(t,"semicolon");for(let n=0;n{if(n=c.raws[o],typeof n<"u")return!1})}return typeof n>"u"&&(n=XG[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return o=r.raws.after,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeComment(t,o){let r;return t.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,o){let r;return t.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let o;return t.walk(r=>{if(r.type!=="decl"&&(o=r.raws.between,typeof o<"u"))return!1}),o}rawBeforeRule(t){let o;return t.walk(r=>{if(r.nodes&&(r.parent!==t||t.first!==r)&&typeof r.raws.before<"u")return o=r.raws.before,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawColon(t){let o;return t.walkDecls(r=>{if(typeof r.raws.between<"u")return o=r.raws.between.replace(/[^\s:]/g,""),!1}),o}rawEmptyBody(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length===0&&(o=r.raws.after,typeof o<"u"))return!1}),o}rawIndent(t){if(t.raws.indent)return t.raws.indent;let o;return t.walk(r=>{let n=r.parent;if(n&&n!==t&&n.parent&&n.parent===t&&typeof r.raws.before<"u"){let i=r.raws.before.split(` -`);return o=i[i.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(o=r.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&&n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,o){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,o)}};JG.exports=Ey;Ey.default=Ey});var M1=oe((AHe,eW)=>{"use strict";var W_e=JD();function e5(e,t){new W_e(t).stringify(e)}eW.exports=e5;e5.default=e5});var t5=oe((LHe,oW)=>{"use strict";var tW={};oW.exports=function(t){tW[t]||(tW[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var D1=oe((NHe,o5)=>{"use strict";o5.exports.isClean=Symbol("isClean");o5.exports.my=Symbol("my")});var F1=oe((MHe,rW)=>{"use strict";var{isClean:V1,my:$_e}=D1(),K_e=O1(),Y_e=JD(),q_e=M1();function r5(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let n=e[r],i=typeof n;r==="parent"&&i==="object"?t&&(o[r]=t):r==="source"?o[r]=n:Array.isArray(n)?o[r]=n.map(s=>r5(s,o)):(i==="object"&&n!==null&&(n=r5(n)),o[r]=n)}return o}var Ty=class{constructor(t={}){this.raws={},this[V1]=!1,this[$_e]=!0;for(let o in t)if(o==="nodes"){this.nodes=[];for(let r of t[o])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${o.input.from}:${o.start.line}:${o.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=r5(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new K_e(t)}getProxyProcessor(){return{get(t,o){return o==="proxyOf"?t:o==="root"?()=>t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&t.markDirty()),!0}}}markDirty(){if(this[V1]){this[V1]=!1;let t=this;for(;t=t.parent;)t[V1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&&(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;stypeof c=="object"&&c.toJSON?c.toJSON(null,o):c);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,o);else if(s==="source"){let c=o.get(a.input);c==null&&(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&&(r.inputs=[...o.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=q_e){t.stringify&&(t=t.stringify);let o="";return t(this,r=>{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};rW.exports=Ty;Ty.default=Ty});var n5=oe((DHe,nW)=>{"use strict";var Z_e=F1(),Iy=class extends Z_e{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};nW.exports=Iy;Iy.default=Iy});var i5=oe((VHe,iW)=>{"use strict";var X_e=F1(),Py=class extends X_e{constructor(t){super(t),this.type="comment"}};iW.exports=Py;Py.default=Py});var om=oe((FHe,pW)=>{"use strict";var{isClean:sW,my:aW}=D1(),lW=n5(),cW=i5(),Q_e=F1(),uW,s5,a5,dW;function fW(e){return e.map(t=>(t.nodes&&(t.nodes=fW(t.nodes)),delete t.source,t))}function mW(e){if(e[sW]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)mW(t)}var Rs=class e extends Q_e{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]t[o](...r.map(n=>typeof n=="function"?(i,s)=>n(i.toProxy(),s):n)):o==="every"||o==="some"?r=>t[o]((n,...i)=>r(n.toProxy(),...i)):o==="root"?()=>t.root().toProxy():o==="nodes"?t.nodes.map(r=>r.toProxy()):o==="first"||o==="last"?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="name"||o==="params"||o==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new lW(t)]}else if(t.selector)t=[new s5(t)];else if(t.name)t=[new a5(t)];else if(t.text)t=[new cW(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[aW]||e.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[sW]&&mW(n),typeof n.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(n.raws.before=o.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o>=t&&(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=>{o.props&&!o.props.includes(n.prop)||o.fast&&!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=>{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&&o.walk&&(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&t.test(r.name))return o(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="atrule")return o(r,n)}))}walkComments(t){return this.walk((o,r)=>{if(o.type==="comment")return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&t.test(r.prop))return o(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="decl")return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&t.test(r.selector))return o(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="rule")return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Rs.registerParse=e=>{uW=e};Rs.registerRule=e=>{s5=e};Rs.registerAtRule=e=>{a5=e};Rs.registerRoot=e=>{dW=e};pW.exports=Rs;Rs.default=Rs;Rs.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,a5.prototype):e.type==="rule"?Object.setPrototypeOf(e,s5.prototype):e.type==="decl"?Object.setPrototypeOf(e,lW.prototype):e.type==="comment"?Object.setPrototypeOf(e,cW.prototype):e.type==="root"&&Object.setPrototypeOf(e,dW.prototype),e[aW]=!0,e.nodes&&e.nodes.forEach(t=>{Rs.rebuild(t)})}});var bW=oe((zHe,gW)=>{"use strict";var z1=/[\t\n\f\r "#'()/;[\\\]{}]/g,j1=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,J_e=/.[\r\n"'(/\\]/,hW=/[\da-f]/i;gW.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,h,p,g=r.length,b=0,v=[],k=[];function y(){return b}function S(I){throw t.error("Unclosed "+I,b)}function x(){return k.length===0&&b>=g}function C(I){if(k.length)return k.pop();if(b>=g)return;let P=I?I.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);p=["space",r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let E=String.fromCharCode(i);p=[E,E,b];break}case 40:{if(m=v.length?v.pop()[1]:"",h=r.charCodeAt(b+1),m==="url"&&h!==39&&h!==34&&h!==32&&h!==10&&h!==9&&h!==12&&h!==13){s=b;do{if(d=!1,s=r.indexOf(")",s+1),s===-1)if(n||P){s=b;break}else S("bracket");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["brackets",r.slice(b,s+1),b,s],b=s}else s=r.indexOf(")",b+1),c=r.slice(b,s+1),s===-1||J_e.test(c)?p=["(","(",b]:(p=["brackets",c,b,s],b=s);break}case 39:case 34:{a=i===39?"'":'"',s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||P){s=b+1;break}else S("string");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["string",r.slice(b,s+1),b,s],b=s;break}case 64:{z1.lastIndex=b+1,z1.test(r),z1.lastIndex===0?s=r.length-1:s=z1.lastIndex-2,p=["at-word",r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(s+=1,hW.test(r.charAt(s)))){for(;hW.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&&(s+=1)}p=["word",r.slice(b,s+1),b,s],b=s;break}default:{i===47&&r.charCodeAt(b+1)===42?(s=r.indexOf("*/",b+2)+1,s===0&&(n||P?s=r.length:S("comment")),p=["comment",r.slice(b,s+1),b,s],b=s):(j1.lastIndex=b+1,j1.test(r),j1.lastIndex===0?s=r.length-1:s=j1.lastIndex-2,p=["word",r.slice(b,s+1),b,s],v.push(p),b=s);break}}return b++,p}function B(I){k.push(I)}return{back:B,endOfFile:x,nextToken:C,position:y}}});var yW=oe((jHe,vW)=>{"use strict";var kW=om(),Nh=class extends kW{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};vW.exports=Nh;Nh.default=Nh;kW.registerAtRule(Nh)});var U1=oe((UHe,wW)=>{"use strict";var SW=om(),_W,xW,Vu=class extends SW{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new _W(new xW,this,t).stringify()}};Vu.registerLazyResult=e=>{_W=e};Vu.registerProcessor=e=>{xW=e};wW.exports=Vu;Vu.default=Vu;SW.registerRoot(Vu)});var BW=oe((HHe,CW)=>{"use strict";var Ry={comma(e){return Ry.split(e,[","],!0)},space(e){let t=[" ",` -`," "];return Ry.split(e,t)},split(e,t,o){let r=[],n="",i=!1,s=0,a=!1,c="",u=!1;for(let d of e)u?u=!1:d==="\\"?u=!0:a?d===c&&(a=!1):d==='"'||d==="'"?(a=!0,c=d):d==="("?s+=1:d===")"?s>0&&(s-=1):s===0&&t.includes(d)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=d;return(o||n!=="")&&r.push(n.trim()),r}};CW.exports=Ry;Ry.default=Ry});var IW=oe((GHe,TW)=>{"use strict";var EW=om(),e0e=BW(),Mh=class extends EW{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return e0e.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};TW.exports=Mh;Mh.default=Mh;EW.registerRule(Mh)});var AW=oe((WHe,OW)=>{"use strict";var t0e=n5(),o0e=bW(),r0e=i5(),n0e=yW(),i0e=U1(),PW=IW(),RW={empty:!0,space:!0};function s0e(e){for(let t=e.length-1;t>=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var l5=class{constructor(t){this.input=t,this.root=new i0e,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new n0e;o.name=t[1].slice(1),o.name===""&&this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(c.length>0){for(i=c.length-1,n=c[i];n&&n[0]==="space";)n=c[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,"params",c),s&&(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i>=0&&(n=t[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n==="("&&(o+=1),n===")"&&(o-=1),o===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return s}i=r}return!1}comment(t){let o=new r0e;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text="",o.raws.left=r,o.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=o0e(this.input)}decl(t,o){let r=new t0e;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||s0e(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let i;for(;t.length;)if(i=t.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(i=t[u],i[1].toLowerCase()==="!important"){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==" !important"&&(r.raws.important=d);break}else if(i[1].toLowerCase()==="important"){let d=t.slice(0),f="";for(let m=u;m>0;m--){let h=d[m][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=d.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=d)}if(i[0]!=="space"&&i[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=s.map(u=>u[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),o),r.value.includes(":")&&!o&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new PW;this.init(o,t[2]),o.selector="",o.raws.between="",this.current=o}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&&o.type==="rule"&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith("--"),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r==="("||r==="[")i||(i=u),s.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=u),s.push("}");else if(s.length===0)if(r===";")if(n){this.decl(c,a);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),o=!0;break}else r===":"&&(n=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),s.length>0&&this.unclosedBracket(i),o&&n){if(!a)for(;c.length&&(u=c[c.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c="",u=!0,d,f;for(let m=0;mh+p[1],"");t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new PW;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,"selector",t),this.current=o}spacesAndCommentsFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],!(o!=="space"&&o!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r="";for(;t.length&&(o=t[0][0],!(o!=="space"&&o!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],o==="space");)r=t.pop()[1]+r;return r}stringFrom(t,o){let r="";for(let n=o;n{"use strict";var a0e=om(),l0e=AW(),c0e=ZD();function H1(e,t){let o=new c0e(e,t),r=new l0e(o);try{r.parse()}catch(n){throw n}return r.root}LW.exports=H1;H1.default=H1;a0e.registerParse(H1)});var MW=oe((KHe,NW)=>{"use strict";var Oy=class{constructor(t,o={}){if(this.type="warning",this.text=t,o.node&&o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};NW.exports=Oy;Oy.default=Oy});var u5=oe((YHe,DW)=>{"use strict";var u0e=MW(),Ay=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let r=new u0e(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};DW.exports=Ay;Ay.default=Ay});var FW=oe((ZHe,VW)=>{"use strict";var d0e=QD(),f0e=M1(),qHe=t5(),m0e=c5(),p0e=u5(),Ly=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=f0e;this.result=new p0e(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new d0e(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&&(this.result.css=c),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=m0e;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};VW.exports=Ly;Ly.default=Ly});var d5=oe((XHe,UW)=>{"use strict";var h0e=om(),zW,jW,rm=class extends h0e{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new zW(new jW,this,t).stringify()}};rm.registerLazyResult=e=>{zW=e};rm.registerProcessor=e=>{jW=e};UW.exports=rm;rm.default=rm});var KW=oe((JHe,$W)=>{"use strict";var{isClean:xa,my:g0e}=D1(),b0e=QD(),k0e=M1(),v0e=om(),y0e=d5(),QHe=t5(),HW=u5(),S0e=c5(),_0e=U1(),x0e={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},w0e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},C0e={Once:!0,postcssPlugin:!0,prepare:!0},Dh=0;function Ny(e){return typeof e=="object"&&typeof e.then=="function"}function WW(e){let t=!1,o=x0e[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[o,o+"-"+t,Dh,o+"Exit",o+"Exit-"+t]:t?[o,o+"-"+t,o+"Exit",o+"Exit-"+t]:e.append?[o,Dh,o+"Exit"]:[o,o+"Exit"]}function GW(e){let t;return e.type==="document"?t=["Document",Dh,"DocumentExit"]:e.type==="root"?t=["Root",Dh,"RootExit"]:t=WW(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function f5(e){return e[xa]=!1,e.nodes&&e.nodes.forEach(t=>f5(t)),e}var m5={},Fu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o=="object"&&o!==null&&(o.type==="root"||o.type==="document"))n=f5(o);else if(o instanceof e||o instanceof HW)n=f5(o.root),o.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=S0e;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&&!n[g0e]&&v0e.rebuild(n)}this.result=new HW(t,n,r),this.helpers={...m5,postcss:m5,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,o){let r=this.result.lastPlugin;try{o&&o.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o=="object")for(let r in o){if(!w0e[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!C0e[r])if(typeof o[r]=="object")for(let n in o[r])n==="*"?t(o,r,o[r][n]):t(o,r+"-"+n.toLowerCase(),o[r][n]);else typeof o[r]=="function"&&t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(o);if(Ny(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type==="document"){let n=t.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let o=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return Ny(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=k0e;t.syntax&&(o=t.syntax.stringify),t.stringifier&&(o=t.stringifier),o.stringify&&(o=o.stringify);let n=new b0e(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(Ny(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];)t[xa]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!=="root"&&o.type!=="document"&&!o.parent)return!0;if(Ny(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(n.length>0&&o.visitorIndex{n[xa]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Fu.registerPostcss=e=>{m5=e};$W.exports=Fu;Fu.default=Fu;_0e.registerLazyResult(Fu);y0e.registerLazyResult(Fu)});var qW=oe((e8e,YW)=>{"use strict";var B0e=FW(),E0e=KW(),T0e=d5(),I0e=U1(),nm=class{constructor(t=[]){this.version="8.4.38",this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)o.push(r);else if(typeof r=="function")o.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return o}process(t,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new B0e(this,t,o):new E0e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};YW.exports=nm;nm.default=nm;I0e.registerProcessor(nm);T0e.registerProcessor(nm)});var QW=oe((t8e,XW)=>{XW.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&&s.source.input.file&&ZW(s.source.input.file,n)||i.length&&s.source.input.file&&!ZW(s.source.input.file,i)||s.walkRules(a=>{let c=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];a.parent&&c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=>t.exclude&&P0e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function ZW(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e.includes(o))}function P0e(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e===o)}});var e$=oe((o8e,JW)=>{var p5=40,h5=41,G1=39,g5=34,b5=92,Vh=47,k5=44,v5=58,W1=42,R0e=117,O0e=85,A0e=43,L0e=/^[a-f0-9?-]+$/i;JW.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),h=o.length,p=[{nodes:t}],g=0,b,v="",k="",y="";f{t$.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n{function r$(e,t){var o=e.type,r=e.value,n,i;return t&&(i=t(e))!==void 0?i:o==="word"||o==="space"?r:o==="string"?(n=e.quote||"",n+r+(e.unclosed?"":n)):o==="comment"?"/*"+r+(e.unclosed?"":"*/"):o==="div"?(e.before||"")+r+(e.after||""):Array.isArray(e.nodes)?(n=n$(e.nodes,t),o!=="function"?n:r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):r}function n$(e,t){var o,r;if(Array.isArray(e)){for(o="",r=e.length-1;~r;r-=1)o=r$(e[r],t)+o;return o}return r$(e,t)}i$.exports=n$});var l$=oe((i8e,a$)=>{var $1=45,K1=43,y5=46,N0e=101,M0e=69;function D0e(e){var t=e.charCodeAt(0),o;if(t===K1||t===$1){if(o=e.charCodeAt(1),o>=48&&o<=57)return!0;var r=e.charCodeAt(2);return o===y5&&r>=48&&r<=57}return t===y5?(o=e.charCodeAt(1),o>=48&&o<=57):t>=48&&t<=57}a$.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!D0e(e))return!1;for(r=e.charCodeAt(t),(r===K1||r===$1)&&t++;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===y5&&n>=48&&n<=57)for(t+=2;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===N0e||r===M0e)&&(n>=48&&n<=57||(n===K1||n===$1)&&i>=48&&i<=57))for(t+=n===K1||n===$1?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var f$=oe((s8e,d$)=>{var V0e=e$(),c$=o$(),u$=s$();function zu(e){return this instanceof zu?(this.nodes=V0e(e),this):new zu(e)}zu.prototype.toString=function(){return Array.isArray(this.nodes)?u$(this.nodes):""};zu.prototype.walk=function(e,t){return c$(this.nodes,e,t),this};zu.unit=l$();zu.walk=c$;zu.stringify=u$;d$.exports=zu});var p$=oe((a8e,S5)=>{var m$=f$();S5.exports=e=>{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(r){let n=m$(r.value),i=!1;n.walk(s=>{if(s.type!=="function"||s.value!=="url")return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&&o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&&(r.value=m$.stringify(n))}}};S5.exports.postcss=!0});var E$=oe((S8e,B$)=>{B$.exports=window.wp.priorityQueue});var F5=oe((p9e,BK)=>{BK.exports=window.wp.blob});var Qy=oe((VWe,NY)=>{NY.exports=window.wp.isShallowEqual});var ZE=oe((Kqe,BX)=>{BX.exports=window.wp.tokenList});var MV=oe((iZe,zX)=>{"use strict";var y1e=function(t){return S1e(t)&&!_1e(t)};function S1e(e){return!!e&&typeof e=="object"}function _1e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||C1e(e)}var x1e=typeof Symbol=="function"&&Symbol.for,w1e=x1e?Symbol.for("react.element"):60103;function C1e(e){return e.$$typeof===w1e}function B1e(e){return Array.isArray(e)?[]:{}}function _S(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Tg(B1e(e),e,t):e}function E1e(e,t,o){return e.concat(t).map(function(r){return _S(r,o)})}function T1e(e,t){if(!t.customMerge)return Tg;var o=t.customMerge(e);return typeof o=="function"?o:Tg}function I1e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function VX(e){return Object.keys(e).concat(I1e(e))}function FX(e,t){try{return t in e}catch{return!1}}function P1e(e,t){return FX(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function R1e(e,t,o){var r={};return o.isMergeableObject(e)&&VX(e).forEach(function(n){r[n]=_S(e[n],o)}),VX(t).forEach(function(n){P1e(e,n)||(FX(e,n)&&o.isMergeableObject(t[n])?r[n]=T1e(n,o)(e[n],t[n],o):r[n]=_S(t[n],o))}),r}function Tg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||E1e,o.isMergeableObject=o.isMergeableObject||y1e,o.cloneUnlessOtherwiseSpecified=_S;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):R1e(e,t,o):_S(t,o)}Tg.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Tg(r,n,o)},{})};var O1e=Tg;zX.exports=O1e});var YQ=oe((NQe,KQ)=>{KQ.exports=window.wp.commands});var pc=oe((fot,ute)=>{ute.exports=window.wp.date});var Hte=oe((Jot,Ute)=>{var Dte=!1,Hm,N3,M3,hI,gI,Vte,bI,D3,V3,F3,Fte,z3,j3,zte,jte;function En(){if(!Dte){Dte=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(z3=/\b(iPhone|iP[ao]d)/.exec(e),j3=/\b(iP[ao]d)/.exec(e),F3=/Android/i.exec(e),zte=/FBAN\/\w+;/i.exec(e),jte=/Mobile/i.exec(e),Fte=!!/Win64/.exec(e),t){Hm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Hm&&document&&document.documentMode&&(Hm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Vte=r?parseFloat(r[1])+4:Hm,N3=t[2]?parseFloat(t[2]):NaN,M3=t[3]?parseFloat(t[3]):NaN,hI=t[4]?parseFloat(t[4]):NaN,hI?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),gI=t&&t[1]?parseFloat(t[1]):NaN):gI=NaN}else Hm=N3=M3=gI=hI=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);bI=n?parseFloat(n[1].replace("_",".")):!0}else bI=!1;D3=!!o[2],V3=!!o[3]}else bI=D3=V3=!1}}var U3={ie:function(){return En()||Hm},ieCompatibilityMode:function(){return En()||Vte>Hm},ie64:function(){return U3.ie()&&Fte},firefox:function(){return En()||N3},opera:function(){return En()||M3},webkit:function(){return En()||hI},safari:function(){return U3.webkit()},chrome:function(){return En()||gI},windows:function(){return En()||D3},osx:function(){return En()||bI},linux:function(){return En()||V3},iphone:function(){return En()||z3},mobile:function(){return En()||z3||j3||F3||jte},nativeApp:function(){return En()||zte},android:function(){return En()||F3},ipad:function(){return En()||j3}};Ute.exports=U3});var Wte=oe((ert,Gte)=>{"use strict";var kI=!!(typeof window<"u"&&window.document&&window.document.createElement),_Ee={canUseDOM:kI,canUseWorkers:typeof Worker<"u",canUseEventListeners:kI&&!!(window.addEventListener||window.attachEvent),canUseViewport:kI&&!!window.screen,isInWorker:!kI};Gte.exports=_Ee});var qte=oe((trt,Yte)=>{"use strict";var $te=Wte(),Kte;$te.canUseDOM&&(Kte=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function xEe(e,t){if(!$te.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,r=o in document;if(!r){var n=document.createElement("div");n.setAttribute(o,"return;"),r=typeof n[o]=="function"}return!r&&Kte&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}Yte.exports=xEe});var toe=oe((ort,eoe)=>{"use strict";var wEe=Hte(),CEe=qte(),Zte=10,Xte=40,Qte=800;function Jte(e){var t=0,o=0,r=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=t*Zte,n=o*Zte,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(e.deltaMode==1?(r*=Xte,n*=Xte):(r*=Qte,n*=Qte)),r&&!t&&(t=r<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}Jte.getEventType=function(){return wEe.firefox()?"DOMMouseScroll":CEe("wheel")?"wheel":"mousewheel"};eoe.exports=Jte});var roe=oe((rrt,ooe)=>{ooe.exports=toe()});var Ore=oe((Ynt,Rre)=>{"use strict";Rre.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var fLe={};Tp(fLe,{AlignmentControl:()=>Gw,AlignmentToolbar:()=>SU,Autocomplete:()=>KU,BlockAlignmentControl:()=>aC,BlockAlignmentToolbar:()=>hH,BlockBindingsAttributeControl:()=>Wv,BlockBindingsSourceFieldsList:()=>Gv,BlockBreadcrumb:()=>VH,BlockCanvas:()=>JQ,BlockColorsStyleSelector:()=>rJ,BlockContextProvider:()=>p0,BlockControls:()=>Mt,BlockEdit:()=>Dw,BlockEditorKeyboardShortcuts:()=>h1,BlockEditorProvider:()=>z9,BlockFormatControls:()=>bV,BlockIcon:()=>Ae,BlockInspector:()=>zae,BlockList:()=>jh,BlockMover:()=>bE,BlockNavigationDropdown:()=>fee,BlockPopover:()=>bY,BlockPreview:()=>vn,BlockSelectionClearer:()=>PY,BlockSettingsMenu:()=>HE,BlockSettingsMenuControls:()=>VE,BlockStyles:()=>qg,BlockTitle:()=>Kv,BlockToolbar:()=>LQ,BlockTools:()=>PS,BlockVerticalAlignmentControl:()=>rC,BlockVerticalAlignmentToolbar:()=>Mee,ButtonBlockAppender:()=>Xu,ButtonBlockerAppender:()=>aY,ColorPalette:()=>nte,ColorPaletteControl:()=>ate,ContrastChecker:()=>XT,CopyHandler:()=>Hae,DefaultBlockAppender:()=>sg,DimensionControl:()=>ib,FontSizePicker:()=>fM,HeadingLevelDropdown:()=>xee,HeightControl:()=>Mte,InnerBlocks:()=>eS,Inserter:()=>Ui,InspectorAdvancedControls:()=>od,InspectorControls:()=>fe,JustifyContentControl:()=>sh,JustifyToolbar:()=>$oe,LineHeightControl:()=>UI,LinkControl:()=>Id,MediaPlaceholder:()=>mne,MediaReplaceFlow:()=>vb,MediaUpload:()=>Yu,MediaUploadCheck:()=>Ms,MultiSelectScrollIntoView:()=>Kae,NavigableToolbar:()=>xg,ObserveTyping:()=>tq,PanelColorSettings:()=>hne,PlainText:()=>mie,RecursionProvider:()=>f4,RichText:()=>wb,RichTextShortcut:()=>wF,RichTextToolbarButton:()=>BF,SETTINGS_DEFAULTS:()=>Wk,SkipToSelectedBlock:()=>bP,ToolSelector:()=>sle,Typewriter:()=>Xae,URLInput:()=>Ed,URLInputButton:()=>_ie,URLPopover:()=>Od,Warning:()=>pu,WritingFlow:()=>B1,__experimentalBlockAlignmentMatrixControl:()=>PH,__experimentalBlockFullHeightAligmentControl:()=>BH,__experimentalBlockPatternSetup:()=>Aee,__experimentalBlockPatternsList:()=>Ca,__experimentalBlockVariationPicker:()=>wee,__experimentalBlockVariationTransforms:()=>GT,__experimentalBorderRadiusControl:()=>qT,__experimentalColorGradientControl:()=>Sd,__experimentalColorGradientSettingsDropdown:()=>dI,__experimentalDateFormatPicker:()=>dte,__experimentalDuotoneControl:()=>JT,__experimentalFontAppearanceControl:()=>tI,__experimentalFontFamilyControl:()=>oI,__experimentalGetBorderClassesAndStyles:()=>nO,__experimentalGetColorClassesAndStyles:()=>iO,__experimentalGetElementClassName:()=>cLe,__experimentalGetGapCSSValue:()=>mr,__experimentalGetGradientClass:()=>eh,__experimentalGetGradientObjectByGradientValue:()=>dU,__experimentalGetShadowClassesAndStyles:()=>qz,__experimentalGetSpacingClassesAndStyles:()=>Qz,__experimentalImageEditor:()=>Foe,__experimentalImageSizeControl:()=>Hoe,__experimentalImageURLInputUI:()=>Iie,__experimentalInspectorPopoverHeader:()=>v2,__experimentalLetterSpacingControl:()=>nI,__experimentalLibrary:()=>Wae,__experimentalLinkControl:()=>jI,__experimentalLinkControlSearchInput:()=>bre,__experimentalLinkControlSearchItem:()=>nre,__experimentalLinkControlSearchResults:()=>ure,__experimentalListView:()=>FT,__experimentalPanelColorGradientSettings:()=>mI,__experimentalPreviewOptions:()=>Wie,__experimentalPublishDateTimePicker:()=>ole,__experimentalRecursionProvider:()=>Qae,__experimentalResponsiveBlockControl:()=>kie,__experimentalSpacingSizesControl:()=>Lb,__experimentalTextDecorationControl:()=>sI,__experimentalTextTransformControl:()=>lI,__experimentalUnitControl:()=>yie,__experimentalUseBlockOverlayActive:()=>zH,__experimentalUseBlockPreview:()=>O$,__experimentalUseBorderProps:()=>Yz,__experimentalUseColorProps:()=>Xz,__experimentalUseCustomSides:()=>Bz,__experimentalUseGradient:()=>qke,__experimentalUseHasRecursion:()=>Jae,__experimentalUseMultipleOriginColorsAndGradients:()=>xd,__experimentalUseResizeCanvas:()=>$ie,__experimentalWritingModeControl:()=>uI,__unstableBlockSettingsMenuFirstItem:()=>EE,__unstableBlockToolbarLastItem:()=>_E,__unstableEditorStyles:()=>Nl,__unstableIframe:()=>Ah,__unstableInserterMenuExtension:()=>vB,__unstableRichTextInputEvent:()=>EF,__unstableUseBlockSelectionClearer:()=>pm,__unstableUseClipboardHandler:()=>Uae,__unstableUseMouseMoveTypingReset:()=>oS,__unstableUseTypewriter:()=>c4,__unstableUseTypingObserver:()=>rS,createCustomColorsHOC:()=>cU,getColorClassName:()=>yi,getColorObjectByAttributeValues:()=>ua,getColorObjectByColorValue:()=>f0,getComputedFluidTypographyValue:()=>pU,getCustomValueFromPreset:()=>ZU,getDimensionsClassesAndStyles:()=>Kz,getFontSize:()=>th,getFontSizeClass:()=>hu,getFontSizeObjectByValue:()=>dM,getGradientSlugByValue:()=>fU,getGradientValueBySlug:()=>Uw,getPxFromCssUnit:()=>xme,getSpacingPresetCssVar:()=>zv,getTypographyClassesAndStyles:()=>Jz,isValueSpacingPreset:()=>oC,privateApis:()=>l6,store:()=>_,storeConfig:()=>Xp,transformStyles:()=>Fh,useBlockBindingsUtils:()=>El,useBlockCommands:()=>ST,useBlockDisplayInformation:()=>Tt,useBlockEditContext:()=>Pe,useBlockEditingMode:()=>Mo,useBlockProps:()=>by,useCachedTruthy:()=>e6,useHasRecursion:()=>m4,useInnerBlocksProps:()=>vm,useSetting:()=>iU,useSettings:()=>me,useStyleOverride:()=>Xn,withColorContext:()=>ZT,withColors:()=>uU,withFontSizes:()=>vU});function u6(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t0:typeof e=="number"},Zo=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*e)/o+0},vi=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),e>o?o:e>t?e:t},x6=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},g6=function(e){return{r:vi(e.r,0,255),g:vi(e.g,0,255),b:vi(e.b,0,255),a:vi(e.a)}},gO=function(e){return{r:Zo(e.r),g:Zo(e.g),b:Zo(e.b),a:Zo(e.a,3)}},Xme=/^#([0-9a-f]{3,8})$/i,d0=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},w6=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},C6=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},b6=function(e){return{h:x6(e.h),s:vi(e.s,0,100),l:vi(e.l,0,100),a:vi(e.a)}},k6=function(e){return{h:Zo(e.h),s:Zo(e.s),l:Zo(e.l),a:Zo(e.a,3)}},v6=function(e){return C6((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},Uk=function(e){return{h:(t=w6(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},Qme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,epe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tpe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vO={string:[[function(e){var t=Xme.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Zo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=epe.exec(e)||tpe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:g6({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Qme.exec(e)||Jme.exec(e);if(!t)return null;var o,r,n=b6({h:(o=t[1],r=t[2],r===void 0&&(r="deg"),Number(o)*(Zme[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return v6(n)},"hsl"]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return ml(t)&&ml(o)&&ml(r)?g6({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=b6({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return v6(s)},"hsl"],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=(function(a){return{h:x6(a.h),s:vi(a.s,0,100),v:vi(a.v,0,100),a:vi(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return C6(s)},"hsv"]]},y6=function(e,t){for(var o=0;o=.5},e.prototype.toHex=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)<1?d0(Zo(255*i)):"","#"+d0(o)+d0(r)+d0(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return gO(this.rgba)},e.prototype.toRgbString=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)<1?"rgba("+o+", "+r+", "+n+", "+i+")":"rgb("+o+", "+r+", "+n+")";var t,o,r,n,i},e.prototype.toHsl=function(){return k6(Uk(this.rgba))},e.prototype.toHslString=function(){return t=k6(Uk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+i+")":"hsl("+o+", "+r+"%, "+n+"%)";var t,o,r,n,i},e.prototype.toHsv=function(){return t=w6(this.rgba),{h:Zo(t.h),s:Zo(t.s),v:Zo(t.v),a:Zo(t.a,3)};var t},e.prototype.invert=function(){return Bt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,-t))},e.prototype.grayscale=function(){return Bt(bO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Bt(S6(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Bt(S6(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Bt({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Zo(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=Uk(this.rgba);return typeof t=="number"?Bt({h:t,s:o.s,l:o.l,a:o.a}):Zo(o.h)},e.prototype.isEqual=function(t){return this.toHex()===Bt(t).toHex()},e})(),Bt=function(e){return e instanceof yO?e:new yO(e)},_6=[],Kc=function(e){e.forEach(function(t){_6.indexOf(t)<0&&(t(yO,vO),_6.push(t))})};function Yc(e,t){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m="black";if(!i.length)for(var h in o)i[h]=new e(o[h]).toRgb();for(var p in o){var g=(a=d,c=i[p],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));gc?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&&(t="#FFF"),o===void 0&&(o={}),this.contrast(t)>=(a=(s=(r=o).size)===void 0?"normal":s,(i=(n=r.level)===void 0?"AA":n)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var r,n,i,s,a}}var P6=l(A(),1);var T6=l(xO(),1),{lock:I6,unlock:M}=(0,T6.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/block-editor");Kc([Yc,Rp]);var{kebabCase:rpe}=M(P6.privateApis),ua=(e,t,o)=>{if(t){let r=e?.find(n=>n.slug===t);if(r)return r}return{color:o}},f0=(e,t)=>e?.find(o=>o.color===t);function yi(e,t){if(!(!e||!t))return`has-${rpe(t)}-${e}`}function R6(e,t){let o=Bt(t),r=({color:i})=>o.contrast(i),n=Math.max(...e.map(r));return e.find(i=>r(i)===n).color}var Vw=l(O(),1),Ff=l(Z(),1),aU=l(A(),1);var rU=l(F(),1),nU=l(Oe(),1);var Mw=l(O(),1),Nw=l($(),1);var pl=l($(),1),z6=l(A(),1),Gk=l(F(),1),kf=l(O(),1);var Op=l(O(),1),L6=l(w(),1),m0=(0,Op.createContext)({});m0.displayName="BlockContext";function p0({value:e,children:t}){let o=(0,Op.useContext)(m0),r=(0,Op.useMemo)(()=>({...o,...e}),[o,e]);return(0,L6.jsx)(m0.Provider,{value:r,children:t})}var xr=m0;var Ap=l(dn(),1);function hf(e){return e?.startsWith("#")&&(0,Ap.isValidFragment)(e)}function gf(e){return e?.startsWith("/")||e?.startsWith("./")||e?.startsWith("../")}function bf(e){if(e.includes(" "))return!1;let o=(0,Ap.getProtocol)(e),r=(0,Ap.isValidProtocol)(o),n=npe(e),i=e?.startsWith("www.");return r||i||hf(e)||n||gf(e)}function npe(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var ipe="__default",M6="core/pattern-overrides";function Hk(e){return e?.[ipe]?.source===M6}function D6(e,t){if(Hk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:M6};o[r]=n}return o}return e}var V6=l(O(),1),ur=(0,V6.createContext)({});ur.displayName="PrivateBlockContext";var h0=l(w(),1),spe={},ape=e=>{let{name:t}=e,o=(0,pl.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,h0.jsx)(r,{...e})},F6=(0,z6.withFilters)("editor.BlockEdit")(ape),lpe=e=>{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,Gk.useRegistry)(),s=(0,pl.getBlockType)(t),a=(0,kf.useContext)(xr),c=(0,Gk.useSelect)(v=>M(v(pl.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,kf.useContext)(ur),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,kf.useMemo)(()=>{let v=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([k])=>s.usesContext.includes(k))):spe;return r?.metadata?.bindings&&Object.values(r?.metadata?.bindings||{}).forEach(k=>{c[k?.source]?.usesContext?.forEach(y=>{v[y]=a[y]})}),{blockBindings:D6(r?.metadata?.bindings,u),context:v,hasPatternOverrides:Hk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),h=(0,Gk.useSelect)(v=>{if(!d)return r;let k={},y=new Map;for(let[S,x]of Object.entries(d)){let{source:C,args:B}=x,I=c[C];!I||!u?.includes(S)||y.set(I,{...y.get(I),[S]:{args:B}})}if(y.size)for(let[S,x]of y){let C={};S.getValues?C=S.getValues({select:v,context:f,clientId:o,bindings:x}):Object.keys(x).forEach(B=>{C[B]=S.label});for(let[B,I]of Object.entries(C))B==="url"&&(!I||!bf(I))?k[B]=null:k[B]=I}return{...r,...k}},[r,u,d,o,f,c]),p=(0,kf.useCallback)(v=>{if(!d){n(v);return}i.batch(()=>{let k={...v},y=new Map;for(let[x,C]of Object.entries(k)){if(!d[x]||!u?.includes(x))continue;let B=d[x],I=c[B?.source];I?.setValues&&(y.set(I,{...y.get(I),[x]:{args:B.args,newValue:C}}),delete k[x])}if(y.size)for(let[x,C]of y)x.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f["pattern/overrides"];!(m&&S)&&Object.keys(k).length&&(m&&delete k.href,n(k))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion>1)return(0,h0.jsx)(F6,{...e,attributes:h,context:f,setAttributes:p});let g=(0,pl.hasBlockSupport)(s,"className",!0)?(0,pl.getBlockDefaultClassName)(t):null,b=V(g,r?.className,e.className);return(0,h0.jsx)(F6,{...e,attributes:h,className:b,context:f,setAttributes:p})},j6=lpe;var eU=l($(),1),uM=l(A(),1),tU=l(F(),1),Lw=l(N(),1);var Aw=l(F(),1);var Yk=l(vf(),1),TO=l(Z(),1),qk=l(F(),1),$6=l(Oe(),1),C0=l($(),1);var Ne=l(N(),1),G6={insertUsage:{}},Wk={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Ne.__)("Black"),slug:"black",color:"#000000"},{name:(0,Ne.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,Ne.__)("White"),slug:"white",color:"#ffffff"},{name:(0,Ne.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,Ne.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,Ne.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,Ne.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,Ne.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,Ne.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,Ne.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,Ne.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,Ne.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,Ne._x)("Small","font size name"),size:13,slug:"small"},{name:(0,Ne._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,Ne._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,Ne._x)("Large","font size name"),size:36,slug:"large"},{name:(0,Ne._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,Ne.__)("Thumbnail")},{slug:"medium",name:(0,Ne.__)("Medium")},{slug:"large",name:(0,Ne.__)("Large")},{slug:"full",name:(0,Ne.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,Ne.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,Ne.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,Ne.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,Ne.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,Ne.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,Ne.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,Ne.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,Ne.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,Ne.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,Ne.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,Ne.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,Ne.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}};function g0(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function b0(e,t,o,r=1){let n=[...e];return n.splice(t,r),g0(n,e.slice(t,t+r),o)}var Si=Symbol("globalStylesDataKey"),k0=Symbol("globalStylesLinks"),qc=Symbol("selectBlockPatternsKey"),v0=Symbol("reusableBlocksSelect"),Zc=Symbol("sectionRootClientIdKey"),y0=Symbol("mediaEditKey"),S0=Symbol("getMediaSelect"),Xc=Symbol("isIsolatedEditor"),_i=Symbol("deviceTypeKey"),_0=Symbol("isNavigationOverlayContext"),x0=Symbol("mediaUploadOnSuccess");var{isContentBlock:cpe}=M(C0.privateApis),upe=e=>e;function Kk(e,t=""){let o=new Map,r=[];return o.set(t,r),e.forEach(n=>{let{clientId:i,innerBlocks:s}=n;r.push(i),Kk(s,i).forEach((a,c)=>{o.set(c,a)})}),o}function w0(e,t=""){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=>{o.push([a.clientId,n]),s?.length&&r.push([a.clientId,s])})}return o}function K6(e,t=upe){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function dpe(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function wO(e){return K6(e,t=>{let{attributes:o,...r}=t;return r})}function CO(e){return K6(e,t=>t.attributes)}function fpe(e,t){return(0,Yk.default)(Object.keys(e),Object.keys(t))}function mpe(e,t){return e.type==="UPDATE_BLOCK_ATTRIBUTES"&&t!==void 0&&t.type==="UPDATE_BLOCK_ATTRIBUTES"&&(0,Yk.default)(e.clientIds,t.clientIds)&&fpe(e.attributes,t.attributes)}function BO(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=>o.get(s.clientId))}))}function hl(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=>r.get(a));for(let s of i)r.set("controlled||"+s,{innerBlocks:(e.order.get(s)||[]).map(a=>r.get(a))})}var ppe=e=>(t={},o)=>{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{r.tree=new Map(r.tree),BO(r,o.blocks),hl(r,o.rootClientId?[o.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),hl(r,[o.clientId],!1);break;case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{r.tree=new Map(r.tree),o.clientIds.forEach(i=>{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),hl(r,o.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let i=dpe(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=>{r.tree.delete(a),i[a]||r.tree.delete("controlled||"+a)}),BO(r,o.blocks),hl(r,o.blocks.map(a=>a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&&(c===""||r.byClientId.get(c))&&s.push(c)}hl(r,s,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&&(s===""||r.byClientId.get(s))&&n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=>{r.tree.delete(i),r.tree.delete("controlled||"+i)}),hl(r,n,!0);break;case"MOVE_BLOCKS_TO_POSITION":{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(""),o.toRootClientId&&i.push(o.toRootClientId),r.tree=new Map(r.tree),hl(r,i,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{let i=[o.rootClientId?o.rootClientId:""];r.tree=new Map(r.tree),hl(r,i,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{let i=[];r.attributes.forEach((s,a)=>{r.byClientId.get(a).name==="core/block"&&s.ref===o.updatedId&&i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=>{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),hl(r,i,!1)}}return r};function hpe(e){let t,o=!1,r;return(n,i)=>{let s=e(n,i),a;if(i.type==="SET_EXPLICIT_PERSISTENT"&&(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type==="MARK_LAST_CHANGE_AS_PERSISTENT"||o;return n===s&&!c?(o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!mpe(i,t)},t=i,o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",s)}}function gpe(e){let t=new Set(["RECEIVE_BLOCKS"]);return(o,r)=>{let n=e(o,r);return n!==o&&(n.isIgnoredChange=t.has(r.type)),n}}var bpe=e=>(t,o)=>{let r=n=>{let i=n;for(let s=0;s(t,o)=>{if(o.type==="RESET_BLOCKS"){let r=t?.controlledInnerBlocks??{},n={...t,byClientId:new Map(wO(o.blocks)),attributes:new Map(CO(o.blocks)),order:Kk(o.blocks),parents:new Map(w0(o.blocks)),controlledInnerBlocks:r};if(t?.order)for(let i of Object.keys(r)){if(!r[i]||!n.byClientId.has(i))continue;let s=t.order.get(i);if(!s?.length)continue;n.order.set(i,s);let a=(c,u)=>{let d=t.byClientId?.get(c);if(!d)return;n.byClientId.set(c,d),n.attributes.set(c,t.attributes?.get(c)),n.parents.set(c,u);let f=t.order?.get(c)||[];n.order.set(c,f),f.forEach(m=>a(m,c))};s.forEach(c=>a(c,i))}n.tree=new Map(t?.tree),BO(n,o.blocks);for(let i of Object.keys(r)){if(!r[i]||!n.byClientId.has(i))continue;let s=n.order.get(i);if(!s?.length)continue;let a=s.map(u=>n.tree.get(u)),c=n.tree.get(i);c&&(c.innerBlocks=a),n.tree.set("controlled||"+i,{innerBlocks:a})}return n.tree.set("",{innerBlocks:o.blocks.map(i=>n.tree.get(i.clientId))}),n}return e(t,o)},vpe=e=>(t,o)=>{if(o.type!=="REPLACE_INNER_BLOCKS")return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&&(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&&(n=e(n,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:"INSERT_BLOCKS",index:0});let s=new Map(i.order);Object.keys(r).forEach(a=>{t.order.get(a)&&s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=>{let c=`controlled||${a}`;t.tree.has(c)&&i.tree.set(c,t.tree.get(c))})}return i},ype=e=>(t,o)=>{if(t&&o.type==="SAVE_REUSABLE_BLOCK_SUCCESS"){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=>{let{name:a}=t.byClientId.get(s);a==="core/block"&&i.ref===r&&t.attributes.set(s,{...i,ref:n})})}return e(t,o)},Spe=e=>(t,o)=>{if(o.type==="SET_HAS_CONTROLLED_INNER_BLOCKS"){if(t.order.get(o.clientId)?.length){let n=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:o.clientId,blocks:[]});return e(n,o)}return e(t,o)}return e(t,o)},_pe=(0,TO.pipe)(qk.combineReducers,ype,ppe,bpe,vpe,kpe,hpe,gpe,Spe)({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return CO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(n=>!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=>{a[u]!==d&&(s=!0,c[u]=d)}),o=o||s,s&&r.set(n,{...a,...c})}return o?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),CO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=Kk(t.blocks),r=new Map(e);return o.forEach((n,i)=>{i!==""&&r.set(i,n)}),r.set("",(e.get("")??[]).concat(o[""])),r}case"INSERT_BLOCKS":{let{rootClientId:o=""}=t,r=e.get(o)||[],n=Kk(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=>{s.set(c,a)}),s.set(o,g0(r,n.get(o),i)),s}case"MOVE_BLOCKS_TO_POSITION":{let{fromRootClientId:o="",toRootClientId:r="",clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,b0(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=>!n.includes(a))??[]),s.set(r,g0(e.get(r),n,i)),s}case"MOVE_BLOCKS_UP":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,b0(i,s,s-1,o.length)),a}case"MOVE_BLOCKS_DOWN":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,b0(s,a,a+1,o.length)),c}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let{clientIds:o}=t;if(!t.blocks)return e;let r=Kk(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=>{n.delete(i)}),r.forEach((i,s)=>{s!==""&&n.set(s,i)}),n.forEach((i,s)=>{let a=Object.values(i).reduce((c,u)=>u===o[0]?[...c,...r.get("")]:(o.indexOf(u)===-1&&c.push(u),c),[]);n.set(s,a)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o.forEach((r,n)=>{let i=r?.filter(s=>!t.removedClientIds.includes(s))??[];i.length!==r.length&&o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=new Map(e);return w0(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"INSERT_BLOCKS":{let o=new Map(e);return w0(t.blocks,t.rootClientId||"").forEach(([r,n])=>{o.set(r,n)}),o}case"MOVE_BLOCKS_TO_POSITION":{let o=new Map(e);return t.clientIds.forEach(r=>{o.set(r,t.toRootClientId||"")}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),w0(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t==="SET_HAS_CONTROLLED_INNER_BLOCKS"?{...e,[o]:r}:e}});function xpe(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e}function wpe(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e}function Cpe(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e}function Bpe(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e}function Epe(e={},t){return t.type==="SET_BLOCK_VISIBILITY"?{...e,...t.updates}:e}function W6(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case"REMOVE_BLOCKS":return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case"REPLACE_BLOCKS":{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function Tpe(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case"MULTI_SELECT":let{start:s,end:a}=t;return s===e.selectionStart?.clientId&&a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case"RESET_BLOCKS":let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&&!u)return e;if(!t.blocks.some(d=>d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=>d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=W6(e.selectionStart,t),r=W6(e.selectionEnd,t);return o===e.selectionStart&&r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function Ipe(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e}function Ppe(e=!0,t){return t.type==="TOGGLE_SELECTION"?t.isSelectionEnabled:e}function Rpe(e=null,t){switch(t.type){case"SHOW_VIEWPORT_MODAL":return t.clientIds;case"HIDE_VIEWPORT_MODAL":return null}return e}function Ope(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e}function Ape(e=!1,t){return t.type==="SET_BLOCK_REMOVAL_RULES"?t.rules:e}function Lpe(e=null,t){return t.type==="REPLACE_BLOCKS"&&t.initialPosition!==void 0||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e}function Npe(e={},t){if(t.type==="TOGGLE_BLOCK_MODE"){let{clientId:o}=t;return{...e,[o]:e[o]&&e[o]==="html"?"visual":"html"}}return e}function Mpe(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,Yk.default)(e,a)?e:a}case"HIDE_INSERTION_POINT":return null}return e}function Dpe(e={isValid:!0},t){return t.type==="SET_TEMPLATE_VALIDITY"?{...e,isValid:t.isValid}:e}function Vpe(e=Wk,t){if(t.type==="UPDATE_SETTINGS"){let o=t.reset?{...Wk,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,"__unstableIsPreviewMode",{get(){return(0,$6.default)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),o}return e}function Fpe(e=G6,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{let o=t.blocks.reduce((r,n)=>{let{attributes:i,name:s}=n,a=s,c=(0,qk.select)(C0.store).getActiveBlockVariation(s,i);return c?.name&&(a+="/"+c.name),s==="core/block"&&(a+="/"+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var zpe=(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":{let o=new Set,r=[...t.blocks];for(;r.length;){let n=r.shift();o.add(n.clientId),r.push(...n.innerBlocks)}return Object.fromEntries(Object.entries(e).filter(([n])=>!t.clientIds.includes(n)||o.has(n)))}case"REMOVE_BLOCKS":return Object.fromEntries(Object.entries(e).filter(([o])=>!t.clientIds.includes(o)));case"UPDATE_BLOCK_LIST_SETTINGS":{let o=typeof t.clientId=="string"?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,Yk.default)(e[n],o[n])&&delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function jpe(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((o,r)=>({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function Upe(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function Hpe(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e}function Gpe(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function Wpe(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;let o=t.blocks.map(n=>n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case"RESET_BLOCKS":return{}}return e}function $pe(e,t){return t.type==="EDIT_CONTENT_ONLY_SECTION"?t.clientId:e}function Kpe(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}case"RESET_BLOCKS":return e.has("")?new Map().set("",e.get("")):e}return e}function Ype(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{let o=new Map(e);return o.delete(t.id),o}}return e}function qpe(e=[],t){return t.type==="REGISTER_INSERTER_MEDIA_CATEGORY"?[...e,t.category]:e}function Zpe(e=!1,t){return t.type==="LAST_FOCUS"?t.lastFocus:e}function Xpe(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e}function Qpe(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e}function Jpe(e={allOpen:!1,panels:{}},t){switch(t.type){case"SET_OPEN_LIST_VIEW_PANEL":return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case"SET_ALL_LIST_VIEW_PANELS_OPEN":return{allOpen:!0,panels:{}};case"TOGGLE_LIST_VIEW_PANEL":return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":{if(!t.clientIds||t.clientIds.length===0)return e;let o={...e.panels},r=!1;return t.clientIds.forEach(n=>{n in o&&(delete o[n],r=!0)}),r?{...e,panels:o}:e}case"RESET_BLOCKS":return{allOpen:!1,panels:{}}}return e}function ehe(e=0,t){return t.type==="INCREMENT_LIST_VIEW_EXPAND_REVISION"?e+1:e}function the(e=!1,t){switch(t.type){case"OPEN_LIST_VIEW_CONTENT_PANEL":return!0;case"CLOSE_LIST_VIEW_CONTENT_PANEL":return!1;case"CLEAR_SELECTED_BLOCK":return!1}return e}function ohe(e=null,t){switch(t.type){case"REQUEST_INSPECTOR_TAB":return{tabName:t.tabName,options:t.options};case"CLEAR_REQUESTED_INSPECTOR_TAB":return null}return e}var rhe=(0,qk.combineReducers)({blocks:_pe,isDragging:Cpe,isTyping:wpe,isBlockInterfaceHidden:xpe,draggedBlocks:Bpe,selection:Tpe,isMultiSelecting:Ipe,isSelectionEnabled:Ppe,initialPosition:Lpe,blocksMode:Npe,blockListSettings:zpe,insertionPoint:Qpe,insertionCue:Mpe,template:Dpe,settings:Vpe,preferences:Fpe,lastBlockAttributesChange:jpe,lastFocus:Zpe,expandedBlock:Gpe,highlightedBlock:Upe,lastBlockInserted:Wpe,editedContentOnlySection:$pe,blockVisibility:Epe,viewportModalClientIds:Rpe,blockEditingModes:Kpe,styleOverrides:Ype,removalPromptData:Ope,blockRemovalRules:Ape,registeredInserterMediaCategories:qpe,zoomLevel:Xpe,hasBlockSpotlight:Hpe,openedListViewPanels:Jpe,listViewExpandRevision:ehe,listViewContentPanelOpen:the,requestedInspectorTab:ohe});function Y6(e,t){if(t===""){let n=e.blocks.tree.get(t);return n?{clientId:"",...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function IO(e,t,o){let r=Y6(e,t);if(r&&(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)IO(e,n.clientId,o)}function $k(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function nhe(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}function EO(e,t=""){let o=e?.zoomLevel<100||e?.zoomLevel==="auto-scaled",r=new Map,n=e.settings?.[Zc],i=e.blocks.order.get(n),s=Array.from(e.blockEditingModes).some(([,p])=>p==="disabled"),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(p=>{let g=e.blocks.byClientId?.get(p);g?.name==="core/template-part"&&a.push(p),g?.name==="core/block"&&c.push(p)});let u=Object.keys(e.blockListSettings).filter(p=>e.blockListSettings[p]?.templateLock==="contentOnly"),d=e.settings?.[Xc],f=e.settings?.disableContentOnlyForUnsyncedPatterns,m=d||f?[]:Array.from(e.blocks.attributes.keys()).filter(p=>e.blocks.attributes.get(p)?.metadata?.patternName),h=[...u,...m,...d?[]:a];return IO(e,t,p=>{let{clientId:g,name:b}=p,v=!!e.editedContentOnlySection,k=!1;if(v&&(k=g===e.editedContentOnlySection||!!$k(e,g,[e.editedContentOnlySection]),!k)){r.set(g,"disabled");return}if(!e.blockEditingModes.has(g)){if(s){let y,S=e.blocks.parents.get(g);for(;S!==void 0&&(e.blockEditingModes.has(S)&&(y=e.blockEditingModes.get(S)),!y);)S=e.blocks.parents.get(S);if(y==="disabled"){r.set(g,"disabled");return}}if(o){if(g===n){r.set(g,"contentOnly");return}if(!i?.length){r.set(g,"disabled");return}if(i.includes(g)){r.set(g,"contentOnly");return}r.set(g,"disabled");return}if(c.length){if(c.includes(g)){if($k(e,g,c)){r.set(g,"disabled");return}return}let y=$k(e,g,c);if(y){if($k(e,y,c)){r.set(g,"disabled");return}if(nhe(p)){r.set(g,"contentOnly");return}r.set(g,"disabled");return}}if(v&&k){r.set(g,"default");return}h.length&&$k(e,g,h)&&(cpe(b)?r.set(g,"contentOnly"):r.set(g,"disabled"))}}),r}function Qc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=>{IO(e,s,a=>{n.has(a.clientId)&&(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=>{let a=EO(t,s.clientId);a.size&&(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function ihe(e){return(t,o)=>{let r=e(t,o);if(o.type!=="SET_EDITOR_MODE"&&r===t)return t;switch(o.type){case"REMOVE_BLOCKS":{let n=Qc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{if(r.settings?.disableContentOnlyForUnsyncedPatterns)break;let i=[],s=[];for(let c of o?.clientIds){let u=o.options?.uniqueByBlock?o.attributes[c]:o.attributes;if(!u)break;u.metadata?.patternName&&!t.blocks.attributes.get(c)?.metadata?.patternName?i.push(r.blocks.tree.get(c)):u.metadata&&!u.metadata?.patternName&&t.blocks.attributes.get(c)?.metadata?.patternName&&s.push(c)}if(!i?.length&&!s?.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:i,removedClientIds:s});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{let n=[],i=[],s=typeof o.clientId=="string"?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!=="contentOnly"&&r.blockListSettings[c]?.templateLock==="contentOnly",d=t.blockListSettings[c]?.templateLock==="contentOnly"&&r.blockListSettings[c]?.templateLock!=="contentOnly";u?n.push(r.blocks.tree.get(c)):d&&i.push(c)}if(!n.length&&!i.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{let n=Y6(r,o.clientId);if(!n)break;let i=Qc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{let n=t.blocks.order.get(o.rootClientId),i=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{let n=o.clientIds.map(s=>r.blocks.byClientId.get(s)),i=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":{if(t?.settings?.[Zc]!==r?.settings?.[Zc]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[Xc]!=!!r?.settings?.[Xc])return{...r,derivedBlockEditingModes:EO(r)};break}case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:EO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function she(e){return(t,o)=>{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type==="MARK_AUTOMATIC_CHANGE"?{...r,automaticChangeStatus:"pending"}:o.type==="MARK_AUTOMATIC_CHANGE_FINAL"&&t.automaticChangeStatus==="pending"?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||r.automaticChangeStatus!=="final"&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var q6=(0,TO.pipe)(ihe,she)(rhe);var rM={};Tp(rM,{__experimentalGetActiveBlockIdByBlockNames:()=>ibe,__experimentalGetAllowedBlocks:()=>Hge,__experimentalGetAllowedPatterns:()=>Kge,__experimentalGetBlockListSettingsForBlocks:()=>Qge,__experimentalGetDirectInsertBlock:()=>Gge,__experimentalGetGlobalBlocksByName:()=>ege,__experimentalGetLastBlockAttributeChanges:()=>tbe,__experimentalGetParsedPattern:()=>Wge,__experimentalGetPatternTransformItems:()=>Zge,__experimentalGetPatternsByBlockTypes:()=>qge,__experimentalGetReusableBlockTitle:()=>Jge,__unstableGetBlockWithoutInnerBlocks:()=>Xhe,__unstableGetClientIdWithClientIdsTree:()=>kj,__unstableGetClientIdsTree:()=>vj,__unstableGetContentLockingParent:()=>mbe,__unstableGetSelectedBlocksWithPartialSelection:()=>_ge,__unstableGetTemporarilyEditingAsBlocks:()=>pbe,__unstableGetVisibleBlocks:()=>cbe,__unstableHasActiveBlockOverlayActive:()=>Lj,__unstableIsFullySelected:()=>kge,__unstableIsLastBlockChangeIgnored:()=>ebe,__unstableIsSelectionCollapsed:()=>vge,__unstableIsSelectionMergeable:()=>Sge,__unstableIsWithinBlockOverlay:()=>ube,__unstableSelectionHasUnmergeableBlock:()=>yge,areInnerBlocksControlled:()=>Pw,canEditBlock:()=>Rj,canInsertBlockType:()=>Mf,canInsertBlocks:()=>Mge,canLockBlockType:()=>Vge,canMoveBlock:()=>Pj,canMoveBlocks:()=>Dge,canRemoveBlock:()=>QN,canRemoveBlocks:()=>Ij,didAutomaticChange:()=>rbe,getAdjacentBlockClientId:()=>YN,getAllowedBlocks:()=>WN,getBlock:()=>xl,getBlockAttributes:()=>Bi,getBlockCount:()=>oge,getBlockEditingMode:()=>Ei,getBlockHierarchyRootClientId:()=>lge,getBlockIndex:()=>wj,getBlockInsertionPoint:()=>Oge,getBlockListSettings:()=>oM,getBlockMode:()=>Ege,getBlockName:()=>ut,getBlockNamesByClientId:()=>tge,getBlockOrder:()=>wr,getBlockParents:()=>ys,getBlockParentsByBlockName:()=>KN,getBlockRootClientId:()=>Io,getBlockSelectionEnd:()=>nge,getBlockSelectionStart:()=>rge,getBlockTransformItems:()=>jge,getBlocks:()=>Qhe,getBlocksByClientId:()=>Iw,getBlocksByName:()=>Sj,getClientIdsOfDescendants:()=>yj,getClientIdsWithDescendants:()=>Wp,getDirectInsertBlock:()=>Aj,getDraggedBlockClientIds:()=>Ige,getFirstMultiSelectedBlockClientId:()=>qN,getGlobalBlockCount:()=>Jhe,getHoveredBlockClientId:()=>lbe,getInserterItems:()=>zge,getLastMultiSelectedBlockClientId:()=>_j,getLowestCommonAncestorWithSelectedBlock:()=>cge,getMultiSelectedBlockClientIds:()=>du,getMultiSelectedBlocks:()=>mge,getMultiSelectedBlocksEndClientId:()=>bge,getMultiSelectedBlocksStartClientId:()=>gge,getNextBlockClientId:()=>dge,getPatternsByBlockTypes:()=>Yge,getPreviousBlockClientId:()=>uge,getSelectedBlock:()=>age,getSelectedBlockClientId:()=>Kp,getSelectedBlockClientIds:()=>Yp,getSelectedBlockCount:()=>ige,getSelectedBlocksInitialCaretPosition:()=>fge,getSelectionEnd:()=>Rv,getSelectionStart:()=>Pv,getSettings:()=>su,getTemplate:()=>Nge,getTemplateLock:()=>da,hasBlockMovingClientId:()=>obe,hasDraggedInnerBlock:()=>Ej,hasInserterItems:()=>Uge,hasMultiSelection:()=>wge,hasSelectedBlock:()=>sge,hasSelectedInnerBlock:()=>Bj,isAncestorBeingDragged:()=>Pge,isAncestorMultiSelected:()=>hge,isBlockBeingDragged:()=>ZN,isBlockHighlighted:()=>nbe,isBlockInsertionPointVisible:()=>Age,isBlockMultiSelected:()=>xj,isBlockSelected:()=>Cj,isBlockValid:()=>Zhe,isBlockVisible:()=>abe,isBlockWithinSelection:()=>xge,isCaretWithinFormattedText:()=>Rge,isDraggingBlocks:()=>Tj,isFirstMultiSelectedBlock:()=>pge,isGroupable:()=>fbe,isLastBlockChangePersistent:()=>Xge,isMultiSelecting:()=>Cge,isSelectionEnabled:()=>Bge,isTyping:()=>Tge,isUngroupable:()=>dbe,isValidTemplate:()=>Lge,wasBlockJustInserted:()=>sbe});var Ee=l($(),1),hj=l(O(),1),gj=l(rt(),1);var B0=l(O(),1),we=(0,B0.forwardRef)(({icon:e,size:t=24,...o},r)=>(0,B0.cloneElement)(e,{width:t,height:t,...o,ref:r}));var E0=l(q(),1),PO=l(w(),1),yf=(0,PO.jsx)(E0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PO.jsx)(E0.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var T0=l(q(),1),RO=l(w(),1),OO=(0,RO.jsx)(T0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RO.jsx)(T0.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})});var I0=l(q(),1),AO=l(w(),1),Jc=(0,AO.jsx)(I0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AO.jsx)(I0.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var P0=l(q(),1),LO=l(w(),1),Sf=(0,LO.jsx)(P0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LO.jsx)(P0.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var R0=l(q(),1),NO=l(w(),1),eu=(0,NO.jsx)(R0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NO.jsx)(R0.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var O0=l(q(),1),MO=l(w(),1),DO=(0,MO.jsx)(O0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MO.jsx)(O0.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})});var A0=l(q(),1),VO=l(w(),1),Zk=(0,VO.jsx)(A0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VO.jsx)(A0.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var L0=l(q(),1),FO=l(w(),1),Xk=(0,FO.jsx)(L0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FO.jsx)(L0.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var N0=l(q(),1),zO=l(w(),1),jO=(0,zO.jsx)(N0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zO.jsx)(N0.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})});var M0=l(q(),1),UO=l(w(),1),HO=(0,UO.jsx)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UO.jsx)(M0.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var D0=l(q(),1),GO=l(w(),1),Qk=(0,GO.jsx)(D0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GO.jsx)(D0.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})});var V0=l(q(),1),WO=l(w(),1),$O=(0,WO.jsx)(V0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WO.jsx)(V0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z"})});var F0=l(q(),1),KO=l(w(),1),gl=(0,KO.jsx)(F0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KO.jsx)(F0.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var z0=l(q(),1),YO=l(w(),1),zn=(0,YO.jsx)(z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YO.jsx)(z0.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var j0=l(q(),1),qO=l(w(),1),Jk=(0,qO.jsx)(j0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qO.jsx)(j0.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var U0=l(q(),1),ZO=l(w(),1),Mr=(0,ZO.jsx)(U0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZO.jsx)(U0.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var H0=l(q(),1),XO=l(w(),1),tu=(0,XO.jsx)(H0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XO.jsx)(H0.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var G0=l(q(),1),QO=l(w(),1),Vo=(0,QO.jsx)(G0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QO.jsx)(G0.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var W0=l(q(),1),JO=l(w(),1),_f=(0,JO.jsx)(W0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JO.jsx)(W0.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var $0=l(q(),1),eA=l(w(),1),xf=(0,eA.jsx)($0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eA.jsx)($0.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var K0=l(q(),1),tA=l(w(),1),oA=(0,tA.jsx)(K0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tA.jsx)(K0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z"})});var Y0=l(q(),1),rA=l(w(),1),nA=(0,rA.jsx)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rA.jsx)(Y0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})});var q0=l(q(),1),iA=l(w(),1),wf=(0,iA.jsx)(q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iA.jsx)(q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var Z0=l(q(),1),sA=l(w(),1),aA=(0,sA.jsx)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sA.jsx)(Z0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})});var Cf=l(q(),1),Lp=l(w(),1),lA=(0,Lp.jsxs)(Cf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Lp.jsx)(Cf.G,{opacity:".25",children:(0,Lp.jsx)(Cf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Lp.jsx)(Cf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z"})]});var Bf=l(q(),1),Np=l(w(),1),cA=(0,Np.jsxs)(Bf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Np.jsx)(Bf.G,{opacity:".25",children:(0,Np.jsx)(Bf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Np.jsx)(Bf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z"})]});var Ef=l(q(),1),Mp=l(w(),1),uA=(0,Mp.jsxs)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Mp.jsx)(Ef.G,{opacity:".25",children:(0,Mp.jsx)(Ef.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Mp.jsx)(Ef.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z"})]});var Tf=l(q(),1),Dp=l(w(),1),dA=(0,Dp.jsxs)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Dp.jsx)(Tf.G,{opacity:".25",children:(0,Dp.jsx)(Tf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Dp.jsx)(Tf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z"})]});var X0=l(q(),1),fA=l(w(),1),mA=(0,fA.jsx)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fA.jsx)(X0.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})});var Q0=l(q(),1),pA=l(w(),1),ev=(0,pA.jsx)(Q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pA.jsx)(Q0.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});var J0=l(q(),1),hA=l(w(),1),gA=(0,hA.jsx)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hA.jsx)(J0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})});var ex=l(q(),1),bA=l(w(),1),If=(0,bA.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bA.jsx)(ex.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var tx=l(q(),1),kA=l(w(),1),vA=(0,kA.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kA.jsx)(tx.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})});var ox=l(q(),1),yA=l(w(),1),SA=(0,yA.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yA.jsx)(ox.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var rx=l(q(),1),_A=l(w(),1),xA=(0,_A.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_A.jsx)(rx.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})});var nx=l(q(),1),wA=l(w(),1),CA=(0,wA.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wA.jsx)(nx.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})});var ix=l(q(),1),BA=l(w(),1),EA=(0,BA.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BA.jsx)(ix.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})});var sx=l(q(),1),TA=l(w(),1),IA=(0,TA.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TA.jsx)(sx.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})});var ax=l(q(),1),PA=l(w(),1),RA=(0,PA.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PA.jsx)(ax.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})});var lx=l(q(),1),OA=l(w(),1),AA=(0,OA.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OA.jsx)(lx.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})});var cx=l(q(),1),LA=l(w(),1),NA=(0,LA.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LA.jsx)(cx.Path,{d:"M12.75 19.45 15 17.5l1 1.1-4 3.4-4-3.4 1-1.1 2.25 1.95V14.5h1.5v4.95ZM19 12.75H5v-1.5h14v1.5ZM16 5.4l-1 1.1-2.25-1.95V9.5h-1.5V4.55L9 6.5 8 5.4 12 2l4 3.4Z"})});var ux=l(q(),1),MA=l(w(),1),dx=(0,MA.jsx)(ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MA.jsx)(ux.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var fx=l(q(),1),DA=l(w(),1),tv=(0,DA.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DA.jsx)(fx.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})});var mx=l(q(),1),VA=l(w(),1),ov=(0,VA.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VA.jsx)(mx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})});var px=l(q(),1),FA=l(w(),1),rv=(0,FA.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FA.jsx)(px.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var hx=l(q(),1),zA=l(w(),1),jA=(0,zA.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zA.jsx)(hx.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var gx=l(q(),1),UA=l(w(),1),HA=(0,UA.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UA.jsx)(gx.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var bx=l(q(),1),GA=l(w(),1),WA=(0,GA.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GA.jsx)(bx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var kx=l(q(),1),$A=l(w(),1),KA=(0,$A.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$A.jsx)(kx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var vx=l(q(),1),YA=l(w(),1),qA=(0,YA.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YA.jsx)(vx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var yx=l(q(),1),ZA=l(w(),1),XA=(0,ZA.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZA.jsx)(yx.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var Sx=l(q(),1),QA=l(w(),1),JA=(0,QA.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QA.jsx)(Sx.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var _x=l(q(),1),eL=l(w(),1),nv=(0,eL.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eL.jsx)(_x.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var xx=l(q(),1),tL=l(w(),1),oL=(0,tL.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tL.jsx)(xx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var wx=l(q(),1),rL=l(w(),1),nL=(0,rL.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rL.jsx)(wx.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})});var Cx=l(q(),1),iL=l(w(),1),sL=(0,iL.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iL.jsx)(Cx.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})});var Bx=l(q(),1),aL=l(w(),1),ou=(0,aL.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aL.jsx)(Bx.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})});var Ex=l(q(),1),lL=l(w(),1),ru=(0,lL.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lL.jsx)(Ex.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})});var Tx=l(q(),1),cL=l(w(),1),nu=(0,cL.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,cL.jsx)(Tx.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})});var Ix=l(q(),1),uL=l(w(),1),dL=(0,uL.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uL.jsx)(Ix.Path,{d:"M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z"})});var Px=l(q(),1),fL=l(w(),1),Vp=(0,fL.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fL.jsx)(Px.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})});var Rx=l(q(),1),mL=l(w(),1),pL=(0,mL.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mL.jsx)(Rx.Path,{d:"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z"})});var Ox=l(q(),1),hL=l(w(),1),Fp=(0,hL.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hL.jsx)(Ox.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})});var Ax=l(q(),1),gL=l(w(),1),bL=(0,gL.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gL.jsx)(Ax.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})});var Lx=l(q(),1),kL=l(w(),1),bl=(0,kL.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kL.jsx)(Lx.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});var Nx=l(q(),1),vL=l(w(),1),yL=(0,vL.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vL.jsx)(Nx.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Mx=l(q(),1),SL=l(w(),1),xi=(0,SL.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SL.jsx)(Mx.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var Dx=l(q(),1),_L=l(w(),1),fn=(0,_L.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_L.jsx)(Dx.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var Vx=l(q(),1),xL=l(w(),1),iv=(0,xL.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xL.jsx)(Vx.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var Fx=l(q(),1),wL=l(w(),1),CL=(0,wL.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wL.jsx)(Fx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})});var zx=l(q(),1),BL=l(w(),1),EL=(0,BL.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BL.jsx)(zx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})});var jx=l(q(),1),TL=l(w(),1),Pf=(0,TL.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TL.jsx)(jx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})});var sv=l(q(),1),av=l(w(),1),zp=(0,av.jsxs)(sv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,av.jsx)(sv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,av.jsx)(sv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var Ux=l(q(),1),IL=l(w(),1),lv=(0,IL.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IL.jsx)(Ux.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})});var Hx=l(q(),1),PL=l(w(),1),ks=(0,PL.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PL.jsx)(Hx.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var cv=l(q(),1),uv=l(w(),1),kl=(0,uv.jsxs)(cv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,uv.jsx)(cv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,uv.jsx)(cv.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var Gx=l(q(),1),RL=l(w(),1),OL=(0,RL.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RL.jsx)(Gx.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var Wx=l(q(),1),AL=l(w(),1),Rf=(0,AL.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AL.jsx)(Wx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var $x=l(q(),1),LL=l(w(),1),NL=(0,LL.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LL.jsx)($x.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})});var Kx=l(q(),1),ML=l(w(),1),wi=(0,ML.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ML.jsx)(Kx.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var Yx=l(q(),1),DL=l(w(),1),VL=(0,DL.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DL.jsx)(Yx.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var qx=l(q(),1),FL=l(w(),1),zL=(0,FL.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FL.jsx)(qx.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var Zx=l(q(),1),jL=l(w(),1),UL=(0,jL.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jL.jsx)(Zx.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var Xx=l(q(),1),HL=l(w(),1),GL=(0,HL.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HL.jsx)(Xx.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var Qx=l(q(),1),WL=l(w(),1),$L=(0,WL.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WL.jsx)(Qx.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var Jx=l(q(),1),KL=l(w(),1),YL=(0,KL.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KL.jsx)(Jx.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var ew=l(q(),1),qL=l(w(),1),Dr=(0,qL.jsx)(ew.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qL.jsx)(ew.Path,{d:"M7 11.5h10V13H7z"})});var tw=l(q(),1),ZL=l(w(),1),XL=(0,ZL.jsx)(tw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZL.jsx)(tw.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var ow=l(q(),1),QL=l(w(),1),JL=(0,QL.jsx)(ow.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QL.jsx)(ow.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var rw=l(q(),1),eN=l(w(),1),tN=(0,eN.jsx)(rw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eN.jsx)(rw.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var nw=l(q(),1),oN=l(w(),1),Of=(0,oN.jsx)(nw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,oN.jsx)(nw.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})});var dv=l(q(),1),fv=l(w(),1),rN=(0,fv.jsxs)(dv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fv.jsx)(dv.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,fv.jsx)(dv.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var iw=l(q(),1),nN=l(w(),1),iN=(0,nN.jsx)(iw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nN.jsx)(iw.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})});var sw=l(q(),1),sN=l(w(),1),aw=(0,sN.jsx)(sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sN.jsx)(sw.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})});var mv=l(q(),1),pv=l(w(),1),aN=(0,pv.jsxs)(mv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,pv.jsx)(mv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,pv.jsx)(mv.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]});var jp=l(q(),1),Up=l(w(),1),lN=(0,Up.jsxs)(jp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Up.jsx)(jp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Up.jsx)(jp.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,Up.jsx)(jp.Path,{d:"m18 7.5v9h1.5v-9z"})]});var hv=l(q(),1),gv=l(w(),1),cN=(0,gv.jsxs)(hv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,gv.jsx)(hv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,gv.jsx)(hv.Path,{d:"m4.5 16.5v-9h1.5v9z"})]});var bv=l(q(),1),kv=l(w(),1),uN=(0,kv.jsxs)(bv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,kv.jsx)(bv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,kv.jsx)(bv.Path,{d:"m18 16.5v-9h1.5v9z"})]});var vv=l(q(),1),yv=l(w(),1),dN=(0,yv.jsxs)(vv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,yv.jsx)(vv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,yv.jsx)(vv.Path,{d:"m16.5 6h-9v-1.5h9z"})]});var Hp=l(q(),1),Gp=l(w(),1),fN=(0,Gp.jsxs)(Hp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Gp.jsx)(Hp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Gp.jsx)(Hp.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,Gp.jsx)(Hp.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]});var lw=l(q(),1),mN=l(w(),1),pN=(0,mN.jsx)(lw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mN.jsx)(lw.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var cw=l(q(),1),hN=l(w(),1),Sv=(0,hN.jsx)(cw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hN.jsx)(cw.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})});var uw=l(q(),1),gN=l(w(),1),Af=(0,gN.jsx)(uw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gN.jsx)(uw.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var dw=l(q(),1),bN=l(w(),1),kN=(0,bN.jsx)(dw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bN.jsx)(dw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var fw=l(q(),1),vN=l(w(),1),Ci=(0,vN.jsx)(fw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vN.jsx)(fw.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var mw=l(q(),1),yN=l(w(),1),SN=(0,yN.jsx)(mw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yN.jsx)(mw.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})});var pw=l(q(),1),_N=l(w(),1),xN=(0,_N.jsx)(pw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_N.jsx)(pw.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})});var hw=l(q(),1),wN=l(w(),1),CN=(0,wN.jsx)(hw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wN.jsx)(hw.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})});var gw=l(q(),1),BN=l(w(),1),EN=(0,BN.jsx)(gw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BN.jsx)(gw.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})});var bw=l(q(),1),TN=l(w(),1),IN=(0,TN.jsx)(bw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TN.jsx)(bw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})});var kw=l(q(),1),PN=l(w(),1),RN=(0,PN.jsx)(kw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PN.jsx)(kw.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})});var vw=l(q(),1),ON=l(w(),1),vl=(0,ON.jsx)(vw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ON.jsx)(vw.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})});var yw=l(q(),1),AN=l(w(),1),vs=(0,AN.jsx)(yw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AN.jsx)(yw.Path,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})});var Sw=l(q(),1),LN=l(w(),1),NN=(0,LN.jsx)(Sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LN.jsx)(Sw.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var _w=l(q(),1),MN=l(w(),1),DN=(0,MN.jsx)(_w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MN.jsx)(_w.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var xw=l(q(),1),VN=l(w(),1),FN=(0,VN.jsx)(xw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VN.jsx)(xw.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})});var _l=l(dr(),1),jn=l(Oe(),1),Te=l(F(),1);var fj=l($(),1),mj=l(J6(),1);var Kt="core/block-editor";var Bw={};Tp(Bw,{getAllPatterns:()=>whe,getBlockRemovalRules:()=>khe,getBlockSettings:()=>tj,getBlockStyles:()=>Phe,getBlockWithoutAttributes:()=>mhe,getClosestAllowedInsertionPoint:()=>ij,getClosestAllowedInsertionPointForPattern:()=>Ohe,getContentLockingParent:()=>zN,getEditedContentOnlySection:()=>jN,getEnabledBlockParents:()=>ghe,getEnabledClientIdsTree:()=>hhe,getExpandedBlock:()=>Ihe,getInserterMediaCategories:()=>She,getInsertionPoint:()=>Ahe,getLastFocus:()=>Ehe,getLastInsertedBlocksClientIds:()=>fhe,getListViewExpandRevision:()=>jhe,getParentSectionBlock:()=>au,getPatternBySlug:()=>xhe,getRegisteredInserterMediaCategories:()=>yhe,getRemovalPromptData:()=>bhe,getRequestedInspectorTab:()=>Hhe,getReusableBlocks:()=>Bhe,getSectionRootClientId:()=>Nf,getStyleOverrides:()=>vhe,getViewportModalClientIds:()=>Uhe,getZoomLevel:()=>Rhe,hasAllowedPatterns:()=>_he,hasBlockSpotlight:()=>Dhe,isBlockHiddenAnywhere:()=>Lhe,isBlockHiddenAtViewport:()=>sj,isBlockHiddenEverywhere:()=>GN,isBlockInterfaceHidden:()=>dhe,isBlockParentHiddenAtViewport:()=>Mhe,isBlockParentHiddenEverywhere:()=>Nhe,isBlockSubtreeDisabled:()=>phe,isContainerInsertableToInContentOnlyMode:()=>xv,isDragging:()=>The,isEditLockedBlock:()=>aj,isListViewContentPanelOpen:()=>Fhe,isListViewPanelOpened:()=>zhe,isLockedBlock:()=>Vhe,isMoveLockedBlock:()=>lj,isRemoveLockedBlock:()=>cj,isSectionBlock:()=>lu,isWithinEditedContentOnlySection:()=>UN,isZoomOut:()=>HN});var Vr=l(F(),1),_v=l($(),1);var ww=l(N(),1);var Et={desktop:{label:(0,ww.__)("Desktop"),icon:mA,key:"desktop"},tablet:{label:(0,ww.__)("Tablet"),icon:SN,key:"tablet"},mobile:{label:(0,ww.__)("Mobile"),icon:lv,key:"mobile"}},iu=Object.entries(Et);var Cw=l($(),1),ej=l(rt(),1);function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var yl=(e,t,o)=>{let r=Array.isArray(t)?t:t.split("."),n=e;return r.forEach(i=>{n=n?.[i]}),n??o};var ahe=["color","border","dimensions","typography","spacing"],lhe={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>e.disableCustomColors===void 0?void 0:!e.disableCustomColors,"color.customGradient":e=>e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},che={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"},uhe=e=>che[e]||e;function tj(e,t,...o){let r=ut(e,t),n=[];if(t){let i=t;do{let s=ut(e,i);(0,Cw.hasBlockSupport)(s,"__experimentalSettings",!1)&&n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=>{if(ahe.includes(i)){console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");return}let s=(0,ej.applyFilters)("blockEditor.useSetting.before",void 0,i,t,r);if(s!==void 0)return s;let a=uhe(i);for(let d of n){let f=Bi(e,d);if(s=yl(f.settings?.blocks?.[r],a)??yl(f.settings,a),s!==void 0)break}let c=su(e);if(s===void 0&&r&&(s=yl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&&(s=yl(c.__experimentalFeatures,a)),s!==void 0)return Cw.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=lhe[a]?.(c);return u!==void 0?u:a==="typography.dropCap"?!0:void 0})}var{isContentBlock:oj}=M(_v.privateApis);function dhe(e){return e.isBlockInterfaceHidden}function fhe(e){return e?.lastBlockInserted?.clientIds}function mhe(e,t){return e.blocks.byClientId.get(t)}var phe=(e,t)=>{let o=r=>Ei(e,r)==="disabled"&&wr(e,r).every(o);return wr(e,t).every(o)};function xv(e,t,o){let r=oj(t),n=ut(e,o),i=oj(n);return Nf(e)===o||i&&r}function rj(e,t){let o=wr(e,t),r=[];for(let n of o){let i=rj(e,n);Ei(e,n)!=="disabled"?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var hhe=(0,Vr.createRegistrySelector)(()=>(0,Vr.createSelector)(rj,e=>[e.blocks.order,e.derivedBlockEditingModes,e.blockEditingModes])),ghe=(0,Vr.createSelector)((e,t,o=!1)=>ys(e,t,o).filter(r=>Ei(e,r)!=="disabled"),e=>[e.blocks.parents,e.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function bhe(e){return e.removalPromptData}function khe(e){return e.blockRemovalRules}var vhe=(0,Vr.createSelector)(e=>{let o=Wp(e).reduce((r,n,i)=>(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=>{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=>[e.blocks.order,e.styleOverrides]);function yhe(e){return e.registeredInserterMediaCategories}var She=(0,Vr.createSelector)(e=>{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&&!n.length||!o)return;let i=t?.map(({name:a})=>a)||[];return[...t||[],...(n||[]).filter(({name:a})=>!i.includes(a))].filter(a=>!r&&a.name==="openverse"?!1:Object.values(o).some(c=>c.startsWith(`${a.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),_he=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o=null)=>{let{getAllPatterns:r}=M(e(Kt)),n=r(),{allowedBlockTypes:i}=su(t);return n.some(s=>{let{inserter:a=!0}=s;if(!a)return!1;let c=Lf(s);return Cv(c,i)&&c.every(({name:u})=>Mf(t,u,o))})},(t,o)=>[...Bv(e)(t),...cu(e)(t,o)])),xhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o)=>{if(o?.startsWith("core/block/")){let r=parseInt(o.slice(11),10),n=M(e(Kt)).getReusableBlocks().find(({id:i})=>i===r);return n?wv(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].find(({name:r})=>r===o)},(t,o)=>o?.startsWith("core/block/")?[M(e(Kt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[qc]?.(e)])),whe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)(t=>[...M(e(Kt)).getReusableBlocks().map(o=>wv(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].filter((o,r,n)=>r===n.findIndex(i=>o.name===i.name)),Bv(e))),Che=[],Bhe=(0,Vr.createRegistrySelector)(e=>t=>{let o=t.settings[v0];return(o?o(e):t.settings.__experimentalReusableBlocks)??Che});function Ehe(e){return e.lastFocus}function The(e){return e.isDragging}function Ihe(e){return e.expandedBlock}var zN=(e,t)=>{let o=t,r;for(;!r&&(o=e.blocks.parents.get(o));)da(e,o)==="contentOnly"&&(r=o);return r};function nj(e,t){let o=ut(e,t);if(o==="core/block")return!0;let r=Bi(e,t),n=o==="core/template-part",i=e.settings?.[Xc];if((!e.settings?.disableContentOnlyForUnsyncedPatterns&&r?.metadata?.patternName||n)&&!i)return!0;let a=da(e,t)==="contentOnly",c=Io(e,t),u=da(e,c)==="contentOnly";return!!(a&&!u)}var au=(e,t)=>{if(UN(e,t))return;let o=t,r;for(;o=e.blocks.parents.get(o);)nj(e,o)&&(r=o);return r};function lu(e,t){return UN(e,t)||au(e,t)?!1:nj(e,t)}function jN(e){return e.editedContentOnlySection}function UN(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var Phe=(0,Vr.createSelector)((e,t)=>t.reduce((o,r)=>(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=>[...t.map(o=>e.blocks.attributes.get(o)?.style)]);function Nf(e){return e.settings?.[Zc]}function HN(e){return e.zoomLevel==="auto-scaled"||e.zoomLevel<100}function Rhe(e){return e.zoomLevel}function ij(e,t,o=""){let r=Array.isArray(t)?t:[t],n=s=>r.every(a=>Mf(e,a,s));if(!o){if(n(o))return o;let s=Nf(e);return s&&n(s)?s:null}let i=o;for(;i!==null&&!n(i);)i=Io(e,i);return i}function Ohe(e,t,o){let{allowedBlockTypes:r}=su(e);if(!Cv(Lf(t),r))return null;let i=Lf(t).map(({blockName:s})=>s);return ij(e,i,o)}function Ahe(e){return e.insertionPoint}var Lhe=(e,t)=>{let o=ut(e,t);if(!(0,_v.hasBlockSupport)(o,"visibility",!0))return!1;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility;return n===!1?!0:typeof n?.viewport=="object"&&n?.viewport!==null?Object.values(Et).some(i=>n?.viewport?.[i.key]===!1):!1},GN=(e,t)=>{let o=ut(e,t);return(0,_v.hasBlockSupport)(o,"visibility",!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1},Nhe=(e,t)=>ys(e,t).some(r=>GN(e,r)),sj=(e,t,o)=>{if(GN(e,t))return!0;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility?.viewport;return typeof n=="object"&&n!==null&&typeof o=="string"?n?.[o.toLowerCase()]===!1:!1},Mhe=(e,t,o)=>ys(e,t).some(n=>sj(e,n,o));function Dhe(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function aj(e,t){return!!Bi(e,t)?.lock?.edit}function lj(e,t){let o=Bi(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=Io(e,t);return da(e,r)==="all"}function cj(e,t){let o=Bi(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=Io(e,t),n=da(e,r);return n==="all"||n==="insert"}function Vhe(e,t){return aj(e,t)||lj(e,t)||cj(e,t)}function Fhe(e){return e.listViewContentPanelOpen}function zhe(e,t){return e.openedListViewPanels?.allOpen?!0:e.openedListViewPanels?.panels?.[t]===!0}function jhe(e){return e.listViewExpandRevision||0}function Uhe(e){return e.viewportModalClientIds}function Hhe(e){return e.requestedInspectorTab}var Tv=l(N(),1),Nt={user:"user",theme:"theme",directory:"directory"},Ev={full:"fully",unsynced:"unsynced"},Df={name:"allPatterns",label:(0,Tv._x)("All","patterns")},Sl={name:"myPatterns",label:(0,Tv.__)("My patterns")},$p={name:"core/starter-content",label:(0,Tv.__)("Starter content")};function Ew(e,t,o){let r=e.name.startsWith("core/block"),n=e.source==="core"||e.source?.startsWith("pattern-directory");return!!(t===Nt.theme&&(r||n)||t===Nt.directory&&(r||!n)||t===Nt.user&&e.type!==Nt.user||o===Ev.full&&e.syncStatus!==""||o===Ev.unsynced&&e.syncStatus!=="unsynced"&&r)}var uu=Symbol("isFiltered"),uj=new WeakMap,dj=new WeakMap;function wv(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Nt.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=>{let r=t.find(({id:n})=>n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function Ghe(e){let t=(0,fj.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Tw(e){let t=uj.get(e);return t||(t=Ghe(e),uj.set(e,t)),t}function Lf(e){let t=dj.get(e);return t||(t=(0,mj.parse)(e.content),t=t.filter(o=>o.blockName!==null),dj.set(e,t)),t}var Vf=(e,t,o=null)=>typeof e=="boolean"?e:Array.isArray(e)?e.includes("core/post-content")&&t===null?!0:e.includes(t):o,Cv=(e,t)=>{if(typeof t=="boolean")return t;let o=[...e];for(;o.length>0;){let r=o.shift();if(!Vf(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=>{o.push(i)})}return!0},Bv=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[qc]?.(e),t.blockPatterns,M(e(Kt)).getReusableBlocks()],cu=()=>(e,t)=>[e.blockListSettings[t],e.blocks.byClientId.get(t),e.blocks.order.get(t||""),e.settings.allowedBlockTypes,e.settings.templateLock,Ei(e,t),Nf(e),lu(e,t),au(e,t)];var Whe=(e,t,o)=>(r,n)=>{let i,s;if(typeof e=="function"?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i>s)return o==="asc"?1:-1;if(s>i)return o==="asc"?-1:1;let a=t.findIndex(u=>u===r),c=t.findIndex(u=>u===n);return a>c?1:c>a?-1:0};function fa(e,t,o="asc"){return e.concat().sort(Whe(t,e,o))}var{isContentBlock:$N}=M(Ee.privateApis),$he=3600*1e3,Khe=24*3600*1e3,Yhe=168*3600*1e3,fr=[],qhe=new Set,bj={[uu]:!0};function ut(e,t){let o=e.blocks.byClientId.get(t),r="core/social-link";if(hj.Platform.OS!=="web"&&o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function Zhe(e,t){let o=e.blocks.byClientId.get(t);return!!o&&o.isValid}function Bi(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function xl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var Xhe=(0,Te.createSelector)((e,t)=>{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:Bi(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function Qhe(e,t){let o=!t||!Pw(e,t)?t||"":"controlled||"+t;return e.blocks.tree.get(o)?.innerBlocks||fr}var kj=(0,Te.createSelector)((e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),{clientId:t,innerBlocks:vj(e,t)}),e=>[e.blocks.order]),vj=(0,Te.createSelector)((e,t="")=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),wr(e,t).map(o=>kj(e,o))),e=>[e.blocks.order]),yj=(0,Te.createSelector)((e,t)=>{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&&o.push(...i)}let r=0;for(;r[e.blocks.order]),Wp=e=>yj(e,""),Jhe=(0,Te.createSelector)((e,t)=>{let o=Wp(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&&r++;return r},e=>[e.blocks.order,e.blocks.byClientId]),Sj=(0,Te.createSelector)((e,t)=>{if(!t)return fr;let o=Array.isArray(t)?t:[t],n=Wp(e).filter(i=>{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length>0?n:fr},e=>[e.blocks.order,e.blocks.byClientId]);function ege(e,t){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),Sj(e,t)}var Iw=(0,Te.createSelector)((e,t)=>(Array.isArray(t)?t:[t]).map(o=>xl(e,o)),(e,t)=>(Array.isArray(t)?t:[t]).map(o=>e.blocks.tree.get(o))),tge=(0,Te.createSelector)((e,t)=>Iw(e,t).filter(Boolean).map(o=>o.name),(e,t)=>Iw(e,t));function oge(e,t){return wr(e,t).length}function Pv(e){return e.selection.selectionStart}function Rv(e){return e.selection.selectionEnd}function rge(e){return e.selection.selectionStart.clientId}function nge(e){return e.selection.selectionEnd.clientId}function ige(e){let t=du(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function sge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&&t.clientId===o.clientId}function Kp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function age(e){let t=Kp(e);return t?xl(e,t):null}function Io(e,t){return e.blocks.parents.get(t)??null}var ys=(0,Te.createSelector)((e,t,o=!1)=>{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():fr},e=>[e.blocks.parents]),KN=(0,Te.createSelector)((e,t,o,r=!1)=>{let n=ys(e,t,r),i=Array.isArray(o)?s=>o.includes(s):s=>o===s;return n.filter(s=>i(ut(e,s)))},e=>[e.blocks.parents]);function lge(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function cge(e,t){let o=Kp(e),r=[...ys(e,t),t],n=[...ys(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return fr;if(t.clientId===o.clientId)return[t.clientId];let r=Io(e,t.clientId);if(r===null)return fr;let n=wr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i>s?n.slice(s,i+1):n.slice(i,s+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function du(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?fr:Yp(e)}var mge=(0,Te.createSelector)(e=>{let t=du(e);return t.length?t.map(o=>xl(e,o)):fr},e=>[...Yp.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function qN(e){return du(e)[0]||null}function _j(e){let t=du(e);return t[t.length-1]||null}function pge(e,t){return qN(e)===t}function xj(e,t){return du(e).indexOf(t)!==-1}var hge=(0,Te.createSelector)((e,t)=>{let o=t,r=!1;for(;o&&!r;)o=Io(e,o),r=xj(e,o);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function gge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function bge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function kge(e){let t=Pv(e),o=Rv(e);return!t.attributeKey&&!o.attributeKey&&typeof t.offset>"u"&&typeof o.offset>"u"}function vge(e){let t=Pv(e),o=Rv(e);return!!t&&!!o&&t.clientId===o.clientId&&t.attributeKey===o.attributeKey&&t.offset===o.offset}function yge(e){return Yp(e).some(t=>{let o=ut(e,t);return!(0,Ee.getBlockType)(o).merge})}function Sge(e,t){let o=Pv(e),r=Rv(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset>"u"||typeof r.offset>"u")return!1;let n=Io(e,o.clientId),i=Io(e,r.clientId);if(n!==i)return!1;let s=wr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a>c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,h=ut(e,f);if(!(0,Ee.getBlockType)(h).merge)return!1;let g=xl(e,m);if(g.name===h)return!0;let b=(0,Ee.switchToBlockType)(g,h);return b&&b.length}var _ge=e=>{let t=Pv(e),o=Rv(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset>"u"||typeof o.offset>"u")return fr;let r=Io(e,t.clientId),n=Io(e,o.clientId);if(r!==n)return fr;let i=wr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s>a?[o,t]:[t,o],d=xl(e,c.clientId),f=xl(e,u.clientId),m=d.attributes[c.attributeKey],h=f.attributes[u.attributeKey],p=(0,_l.create)({html:m}),g=(0,_l.create)({html:h});return p=(0,_l.remove)(p,0,c.offset),g=(0,_l.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,_l.toHTMLString)({value:p})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,_l.toHTMLString)({value:g})}}]};function wr(e,t){return e.blocks.order.get(t||"")||fr}function wj(e,t){let o=Io(e,t);return wr(e,o).indexOf(t)}function Cj(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Bj(e,t,o=!1){let r=Yp(e);return r.length?o?r.some(n=>ys(e,n,!0).includes(t)):r.some(n=>Io(e,n)===t):!1}function Ej(e,t,o=!1){return wr(e,t).some(r=>ZN(e,r)||o&&Ej(e,r,o))}function xge(e,t){if(!t)return!1;let o=du(e),r=o.indexOf(t);return r>-1&&rZN(e,r)):!1}function Rge(){return(0,jn.default)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Oge=(0,Te.createSelector)(e=>{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=Io(e,i)||void 0,o=wj(e,n.clientId)+1):o=wr(e).length,{rootClientId:t,index:o}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Age(e){return e.insertionCue!==null}function Lge(e){return e.template.isValid}function Nge(e){return e.settings.template}function da(e,t){if(!t)return e.settings.templateLock??!1;let o=oM(e,t)?.templateLock;return o==="contentOnly"&&e.editedContentOnlySection===t?!1:o??!1}var XN=(e,t,o=null)=>{let r,n;if(t&&typeof t=="object"?(r=t,n=t.name):(r=(0,Ee.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=su(e);if(!Vf(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let c=o,u=!1;do{if(a.includes(ut(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Ov=(e,t,o=null)=>{if(e.settings.isPreviewMode||!XN(e,t,o))return!1;let r;t&&typeof t=="object"?(r=t,t=r.name):r=(0,Ee.getBlockType)(t);let n=da(e,o);if(n&&n!=="contentOnly")return!1;let i=Ei(e,o??"");if(i==="disabled"&&t!==(0,Ee.getDefaultBlockName)())return!1;let s=oM(e,o);if(o&&s===void 0)return!1;let a=$N(t),c=!!lu(e,o),u=c?o:au(e,o),d=!!u;if(d&&!a||d&&ut(e,u)==="core/block")return!1;if((c||i==="contentOnly")&&!xv(e,t,o))if(t===(0,Ee.getDefaultBlockName)()){if(!wr(e,o).some(C=>ut(e,C)===(0,Ee.getDefaultBlockName)()))return!1}else return!1;let f=ut(e,o),h=(0,Ee.getBlockType)(f)?.allowedBlocks,p=Vf(h,t);if(p!==!1){let S=s?.allowedBlocks,x=Vf(S,t);x!==null&&(p=x)}let g=r.parent,b=Vf(g,f),v=!0,k=r.ancestor;k&&(v=[o,...ys(e,o)].some(x=>Vf(k,ut(e,x))));let y=v&&(p===null&&b===null||p===!0||b===!0);return y&&(0,gj.applyFilters)("blockEditor.__unstableCanInsertBlockType",y,r,o,{getBlock:xl.bind(null,e),getBlockParentsByBlockName:KN.bind(null,e)})},Mf=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)(Ov,(t,o,r)=>cu(e)(t,r)));function Mge(e,t,o=null){return t.every(r=>Mf(e,ut(e,r),o))}function QN(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=Io(e,t),n=da(e,r);if(n&&n!=="contentOnly")return!1;let i=!!lu(e,r),s=i?r:au(e,r),a=!!s,c=$N(ut(e,t));if(a&&!c||a&&ut(e,s)==="core/block")return!1;let u=Ei(e,r),d=ut(e,t);if((i||u==="contentOnly"||d===(0,Ee.getDefaultBlockName)())&&!xv(e,ut(e,t),r))if(d===(0,Ee.getDefaultBlockName)()){if(wr(e,r).filter(h=>ut(e,h)===(0,Ee.getDefaultBlockName)()).length>1)return!0}else return!1;return u!=="disabled"}function Ij(e,t){return t.every(o=>QN(e,o))}function Pj(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=Io(e,t);if(da(e,r)==="all")return!1;let i=!!au(e,t),s=$N(ut(e,t));if(i&&!s)return!1;let a=!!lu(e,r),c=Ei(e,r);return(a||c==="contentOnly")&&!xv(e,ut(e,t),r)?!1:Ei(e,r)!=="disabled"}function Dge(e,t){return t.every(o=>Pj(e,o))}function Rj(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function Vge(e,t){return e.settings.isPreviewMode||!(0,Ee.hasBlockSupport)(t,"lock",!0)?!1:!!e.settings?.canLockBlocks}function JN(e,t){return e.preferences.insertUsage?.[t]??null}var Iv=(e,t,o)=>(0,Ee.hasBlockSupport)(t,"inserter",!0)?Ov(e,t.name,o):!1,Fge=(e,t)=>o=>{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=JN(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty("example")?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:eM(n,i),isSearchOnly:o.isSearchOnly}},eM=(e,t)=>{if(!e)return t;let o=Date.now()-e;switch(!0){case o<$he:return t*4;case oo=>{let r=o.name,n=!1;(0,Ee.hasBlockSupport)(o.name,"multiple",!0)||(n=Iw(e,Wp(e)).some(({name:f})=>f===o.name));let{time:i,count:s=0}=JN(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:eM(i,s)};if(t==="transform")return a;let c=(0,Ee.getBlockVariations)(o.name,"inserter"),u=(0,Ee.getBlockVariations)(o.name,"block"),d=[...c,...u.filter(f=>o.name==="core/heading"&&["h1","h2","h3","h4","h5","h6"].includes(f.name)).map(f=>({...f,isSearchOnly:!0}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:d,example:o.example,utility:1}},zge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null,r=bj)=>{let n=h=>{let p=h.wp_pattern_sync_status?Ci:{src:Ci,foreground:"var(--wp-block-synced-color)"},g=wv(h),{time:b,count:v=0}=JN(t,g.name)||{},k=eM(b,v);return{id:g.name,name:"core/block",initialAttributes:{ref:h.id},title:g.title,icon:p,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:k,content:g.content,get blocks(){return Tw(g).blocks},syncStatus:g.syncStatus}},i=Ov(t,"core/block",o)?M(e(Kt)).getReusableBlocks().map(n):[],s=Oj(t,{buildScope:"inserter"}),a=(0,Ee.getBlockTypes)().filter(h=>(0,Ee.hasBlockSupport)(h,"inserter",!0)).map(s);if(r[uu]!==!1)a=a.filter(h=>Iv(t,h,o));else{let{getClosestAllowedInsertionPoint:h}=M(e(Kt));a=a.filter(p=>XN(t,p,o)&&h(p.name,o)!==null).map(p=>({...p,isAllowedInCurrentRoot:Iv(t,p,o)}))}let c=a.reduce((h,p)=>{let{variations:g=[]}=p;if(g.some(({isDefault:b})=>b)||h.push(p),g.length){let b=Fge(t,p);h.push(...g.map(b))}return h},[]),u=(h,p)=>{let{core:g,noncore:b}=h;return(p.name.startsWith("core/")?g:b).push(p),h},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=>[(0,Ee.getBlockTypes)(),M(e(Kt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...cu(e)(t,o)])),jge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{let n=Array.isArray(o)?o:[o],i=Oj(t,{buildScope:"transform"}),s=(0,Ee.getBlockTypes)().filter(u=>Iv(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=>[u.name,u])),c=(0,Ee.getPossibleBlockTransformations)(n).reduce((u,d)=>(a[d?.name]&&u.push(a[d.name]),u),[]);return fa(c,u=>a[u.name].frecency,"desc")},(t,o,r)=>[(0,Ee.getBlockTypes)(),t.preferences.insertUsage,...cu(e)(t,r)])),Uge=(e,t=null)=>(0,Ee.getBlockTypes)().some(n=>Iv(e,n,t))?!0:Ov(e,"core/block",t),WN=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null)=>{if(!o)return;let r=(0,Ee.getBlockTypes)().filter(i=>Iv(t,i,o));return Ov(t,"core/block",o)&&r.push("core/block"),r},(t,o)=>[(0,Ee.getBlockTypes)(),...cu(e)(t,o)])),Hge=(0,Te.createSelector)((e,t=null)=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),WN(e,t)),(e,t)=>WN.getDependants(e,t));function Aj(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function Gge(e,t=null){return(0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),Aj(e,t)}var Wge=(0,Te.createRegistrySelector)(e=>(t,o)=>{let r=M(e(Kt)).getPatternBySlug(o);return r?Tw(r):null}),tM=e=>(t,o)=>[...Bv(e)(t),...cu(e)(t,o)],pj=new WeakMap;function $ge(e){let t=pj.get(e);return t||(t={...e,get blocks(){return Tw(e).blocks}},pj.set(e,t)),t}var Kge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null,r=bj)=>{let{getAllPatterns:n}=M(e(Kt)),i=n(),{allowedBlockTypes:s}=su(t);return i.filter(({inserter:d=!0})=>!!d).map($ge).filter(d=>Cv(Lf(d),s)).filter(d=>Lf(d).every(({blockName:f})=>r[uu]!==!1?Mf(t,f,o):XN(t,f,o)))},tM(e))),Yge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{if(!o)return fr;let n=e(Kt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=>a?.blockTypes?.some?.(c=>i.includes(c)));return s.length===0?fr:s},(t,o,r)=>tM(e)(t,r))),qge=(0,Te.createRegistrySelector)(e=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(Kt).getPatternsByBlockTypes)),Zge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{if(!o||o.some(({clientId:i,innerBlocks:s})=>s.length||Pw(t,i)))return fr;let n=Array.from(new Set(o.map(({name:i})=>i)));return e(Kt).getPatternsByBlockTypes(n,r)},(t,o,r)=>tM(e)(t,r)));function oM(e,t){return e.blockListSettings[t]}function su(e){return e.settings}function Xge(e){return e.blocks.isPersistentChange}var Qge=(0,Te.createSelector)((e,t=[])=>t.reduce((o,r)=>e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=>[e.blockListSettings]),Jge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o)=>{(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});let r=M(e(Kt)).getReusableBlocks().find(n=>n.id===o);return r?r.title?.raw:null},()=>[M(e(Kt)).getReusableBlocks()]));function ebe(e){return e.blocks.isIgnoredChange}function tbe(e){return e.lastBlockAttributesChange}function obe(){return(0,jn.default)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function rbe(e){return!!e.automaticChangeStatus}function nbe(e,t){return e.highlightedBlock===t}function Pw(e,t){return!!e.blocks.controlledInnerBlocks[t]}var ibe=(0,Te.createSelector)((e,t)=>{if(!t.length)return null;let o=Kp(e);if(t.includes(ut(e,o)))return o;let r=du(e),n=KN(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function sbe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===o}function abe(e,t){return e.blockVisibility?.[t]??!0}function lbe(){(0,jn.default)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var cbe=(0,Te.createSelector)(e=>{let t=new Set(Object.keys(e.blockVisibility).filter(o=>e.blockVisibility[o]));return t.size===0?qhe:t},e=>[e.blockVisibility]);function Lj(e,t){if(Ei(e,t)!=="default")return!1;if(!Rj(e,t))return!0;if(HN(e)){let n=Nf(e);if(n){if(wr(e,n)?.includes(t))return!0}else if(t&&!Io(e,t))return!0}return((0,Ee.hasBlockSupport)(ut(e,t),"__experimentalDisableBlockOverlay",!1)?!1:Pw(e,t))&&!Cj(e,t)&&!Bj(e,t,!0)}function ube(e,t){let o=e.blocks.parents.get(t);for(;o;){if(Lj(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function Ei(e,t=""){return t===null&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blockEditingModes.has(t)?e.blockEditingModes.get(t):"default"}var dbe=(0,Te.createRegistrySelector)(e=>(t,o="")=>{let r=o||Kp(t);if(!r||lu(t,r))return!1;let{getGroupingBlockName:n}=e(Ee.store),i=xl(t,r),s=n();return i&&(i.name===s||(0,Ee.getBlockType)(i.name)?.transforms?.ungroup)&&!!i.innerBlocks.length&&QN(t,r)}),fbe=(0,Te.createRegistrySelector)(e=>(t,o=fr)=>{let{getGroupingBlockName:r}=e(Ee.store),n=r(),i=o?.length?o:Yp(t),s=i?.length?Io(t,i[0]):void 0;return Mf(t,n,s)&&i.length&&Ij(t,i)}),mbe=(e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),zN(e,t));function pbe(e){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),jN(e)}var Rw={};Tp(Rw,{__experimentalUpdateSettings:()=>nM,clearBlockRemovalPrompt:()=>ybe,clearRequestedInspectorTab:()=>Vbe,closeListViewContentPanel:()=>Lbe,deleteStyleOverride:()=>xbe,editContentOnlySection:()=>sM,ensureDefaultBlock:()=>zj,expandBlock:()=>Ebe,hideBlockInterface:()=>bbe,hideViewportModal:()=>Mbe,openListViewContentPanel:()=>Abe,privateRemoveBlocks:()=>iM,requestInspectorTab:()=>Dbe,resetZoomLevel:()=>Rbe,setBlockRemovalRules:()=>Sbe,setInsertionPoint:()=>Tbe,setLastFocus:()=>wbe,setStyleOverride:()=>_be,setZoomLevel:()=>Pbe,showBlockInterface:()=>kbe,showViewportModal:()=>Nbe,startDragging:()=>Cbe,stopDragging:()=>Bbe,stopEditingContentOnlySection:()=>Ibe,toggleBlockSpotlight:()=>Obe});var Mj=l(O(),1),Dj=l(Oe(),1),Vj=l(Xo(),1),Fj=l(N(),1),hbe=e=>Array.isArray(e)?e:[e],gbe=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function nM(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,"__unstableIsPreviewMode")&&((0,Dj.default)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&&Mj.Platform.OS==="web"){n={};for(let i in r)gbe.includes(i)||(n[i]=r[i])}return{type:"UPDATE_SETTINGS",settings:n,reset:o}}function bbe(){return{type:"HIDE_BLOCK_INTERFACE"}}function kbe(){return{type:"SHOW_BLOCK_INTERFACE"}}var iM=(e,t=!0,o=!1)=>({select:r,dispatch:n,registry:i})=>{if(!e||!e.length||(e=hbe(e),!r.canRemoveBlocks(e)))return;let a=!o&&r.getBlockRemovalRules();if(a){let u=function(h){let p=[],g=[...h];for(;g.length;){let{innerBlocks:b,...v}=g.shift();g.push(...b),p.push(v)}return p};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let h of a)if(m=h.callback(f),m){n(vbe(e,t,m));return}}t&&n.selectPreviousBlock(e[0],t),i.batch(()=>{n({type:"REMOVE_BLOCKS",clientIds:e}),n(zj())})},zj=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function vbe(e,t,o){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:o}}function ybe(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function Sbe(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function _be(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function xbe(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function wbe(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function Cbe(){return{type:"START_DRAGGING"}}function Bbe(){return{type:"STOP_DRAGGING"}}function Ebe(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function Tbe(e){return{type:"SET_INSERTION_POINT",value:e}}function sM(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function Ibe(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var Pbe=(e=100)=>({select:t,dispatch:o})=>{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=>s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,Vj.speak)((0,Fj.__)("You are currently in zoom-out mode."))}}o({type:"SET_ZOOM_LEVEL",zoom:e})};function Rbe(){return{type:"RESET_ZOOM_LEVEL"}}function Obe(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}function Abe(){return{type:"OPEN_LIST_VIEW_CONTENT_PANEL"}}function Lbe(){return{type:"CLOSE_LIST_VIEW_CONTENT_PANEL"}}function Nbe(e){return{type:"SHOW_VIEWPORT_MODAL",clientIds:e}}function Mbe(){return{type:"HIDE_VIEWPORT_MODAL"}}function Dbe(e,t={}){return{type:"REQUEST_INSPECTOR_TAB",tabName:e,options:t}}function Vbe(){return{type:"CLEAR_REQUESTED_INSPECTOR_TAB"}}var cM={};Tp(cM,{__unstableDeleteSelection:()=>lke,__unstableExpandSelection:()=>uke,__unstableIncrementListViewExpandRevision:()=>Gke,__unstableMarkAutomaticChange:()=>Tke,__unstableMarkLastChangeAsPersistent:()=>Bke,__unstableMarkNextChangeAsNotPersistent:()=>Eke,__unstableSaveReusableBlock:()=>Cke,__unstableSetAllListViewPanelsOpen:()=>Uke,__unstableSetEditorMode:()=>Ike,__unstableSetOpenListViewPanel:()=>jke,__unstableSetTemporarilyEditingAsBlocks:()=>Dke,__unstableSplitSelection:()=>cke,__unstableToggleListViewPanel:()=>Hke,clearSelectedBlock:()=>Xbe,duplicateBlocks:()=>Rke,enterFormattedText:()=>vke,exitFormattedText:()=>yke,flashBlock:()=>Lke,hideInsertionPoint:()=>ike,hoverBlock:()=>Wbe,insertAfterBlock:()=>Ake,insertBeforeBlock:()=>Oke,insertBlock:()=>rke,insertBlocks:()=>Zj,insertDefaultBlock:()=>_ke,mergeBlocks:()=>dke,moveBlockToPosition:()=>oke,moveBlocksDown:()=>eke,moveBlocksToPosition:()=>qj,moveBlocksUp:()=>tke,multiSelect:()=>Zbe,receiveBlocks:()=>jbe,registerInserterMediaCategory:()=>Vke,removeBlock:()=>fke,removeBlocks:()=>Xj,replaceBlock:()=>Jbe,replaceBlocks:()=>Kj,replaceInnerBlocks:()=>mke,resetBlocks:()=>Fbe,resetSelection:()=>zbe,selectBlock:()=>Gbe,selectNextBlock:()=>Kbe,selectPreviousBlock:()=>$be,selectionChange:()=>Ske,setBlockEditingMode:()=>Fke,setBlockMovingClientId:()=>Pke,setBlockVisibility:()=>Mke,setHasControlledInnerBlocks:()=>Nke,setTemplateValidity:()=>ske,showInsertionPoint:()=>nke,startDraggingBlocks:()=>bke,startMultiSelect:()=>Ybe,startTyping:()=>hke,stopDraggingBlocks:()=>kke,stopMultiSelect:()=>qbe,stopTyping:()=>gke,synchronizeTemplate:()=>ake,toggleBlockHighlight:()=>lM,toggleBlockMode:()=>pke,toggleSelection:()=>Qbe,unsetBlockEditingMode:()=>zke,updateBlock:()=>Hbe,updateBlockAttributes:()=>Ube,updateBlockListSettings:()=>xke,updateSettings:()=>wke,validateBlocksToTemplate:()=>$j});var be=l($(),1),Ow=l(Xo(),1),fu=l(N(),1),Gj=l(Ti(),1),dt=l(dr(),1),mu=l(Oe(),1),Wj=l(qp(),1);var Hj=l(dr(),1),wl="\x86";function Av(e){if(e)return Object.keys(e).find(t=>{let o=e[t];return(typeof o=="string"||o instanceof Hj.RichTextData)&&o.toString().indexOf(wl)!==-1})}function aM(e){for(let[t,o]of Object.entries(e.attributes))if(o.source==="rich-text"||o.source==="html")return t}var Zp=e=>Array.isArray(e)?e:[e],Fbe=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t($j(e))},$j=e=>({select:t,dispatch:o})=>{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!=="all"||(0,be.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function zbe(e,t,o){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:o}}function jbe(e){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Ube(e,t,o={uniqueByBlock:!1}){return typeof o=="boolean"&&(o={uniqueByBlock:o}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Zp(e),attributes:t,options:o}}function Hbe(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Gbe(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Wbe(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var $be=(e,t=!1)=>({select:o,dispatch:r})=>{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);if(i)r.selectBlock(i,-1);else{let s=o.getNextBlockClientId(e);s&&r.selectBlock(s,0)}}},Kbe=e=>({select:t,dispatch:o})=>{let r=t.getNextBlockClientId(e);r&&o.selectBlock(r)};function Ybe(){return{type:"START_MULTI_SELECT"}}function qbe(){return{type:"STOP_MULTI_SELECT"}}var Zbe=(e,t,o=0)=>({select:r,dispatch:n})=>{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:"MULTI_SELECT",start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Ow.speak)((0,fu.sprintf)((0,fu._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function Xbe(){return{type:"CLEAR_SELECTED_BLOCK"}}function Qbe(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var Kj=(e,t,o,r=0,n)=>({select:i,dispatch:s,registry:a})=>{e=Zp(e),t=Zp(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function Jbe(e,t){return Kj(e,t)}var Yj=e=>(t,o)=>({select:r,dispatch:n})=>{r.canMoveBlocks(t)&&n({type:e,clientIds:Zp(t),rootClientId:o})},eke=Yj("MOVE_BLOCKS_DOWN"),tke=Yj("MOVE_BLOCKS_UP"),qj=(e,t="",o="",r)=>({select:n,dispatch:i})=>{n.canMoveBlocks(e)&&(t!==o&&(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function oke(e,t="",o="",r){return qj([e],t,o,r)}function rke(e,t,o,r,n,i){return Zj([e],t,o,r,n,i)}var Zj=(e,t,o,r=!0,n=0,i)=>({select:s,dispatch:a})=>{n!==null&&typeof n=="object"&&(i=n,n=0,(0,mu.default)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=Zp(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&&c.push(u);c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function nke(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var ike=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function ske(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var ake=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});let o=e.getBlocks(),r=e.getTemplate(),n=(0,be.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},lke=e=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset>"u"||typeof i.offset>"u")return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=e?m:f,p=o.getBlock(h.clientId),g=(0,be.getBlockType)(p.name);if(!g.merge)return;let b=f,v=m,k=o.getBlock(b.clientId),y=o.getBlock(v.clientId),S=k.attributes[b.attributeKey],x=y.attributes[v.attributeKey],C=(0,dt.create)({html:S}),B=(0,dt.create)({html:x});C=(0,dt.remove)(C,b.offset,C.text.length),B=(0,dt.insert)(B,wl,0,v.offset);let I=(0,be.cloneBlock)(k,{[b.attributeKey]:(0,dt.toHTMLString)({value:C})}),P=(0,be.cloneBlock)(y,{[v.attributeKey]:(0,dt.toHTMLString)({value:B})}),E=e?I:P,L=k.name===y.name?[E]:(0,be.switchToBlockType)(E,g.name);if(!L||!L.length)return;let T;if(e){let ne=L.pop();T=g.merge(ne.attributes,P.attributes)}else{let ne=L.shift();T=g.merge(I.attributes,ne.attributes)}let R=Av(T),D=T[R],j=(0,dt.create)({html:D}),G=j.text.indexOf(wl),z=(0,dt.remove)(j,G,G+1),U=(0,dt.toHTMLString)({value:z});T[R]=U;let W=o.getSelectedBlockClientIds(),ee=[...e?L:[],{...p,attributes:{...p.attributes,...T}},...e?[]:L];t.batch(()=>{r.selectionChange(p.clientId,R,G,G),r.replaceBlocks(W,ee,0,o.getSelectedBlocksInitialCaretPosition())})},cke=(e=[])=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=f,p=m,g=o.getBlock(h.clientId),b=o.getBlock(p.clientId),v=(0,be.getBlockType)(g.name),k=(0,be.getBlockType)(b.name),y=typeof h.attributeKey=="string"?h.attributeKey:aM(v),S=typeof p.attributeKey=="string"?p.attributeKey:aM(k),x=o.getBlockAttributes(h.clientId);if(x?.metadata?.bindings?.[y]){if(e.length){let{createWarningNotice:ie}=t.dispatch(Gj.store);ie((0,fu.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"});return}r.insertAfterBlock(h.clientId);return}if(!y||!S||typeof n.offset>"u"||typeof i.offset>"u")return;if(h.clientId===p.clientId&&y===S&&h.offset===p.offset){if(e.length){if((0,be.isUnmodifiedDefaultBlock)(g,"content")){r.replaceBlocks([h.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(h.clientId).length){let ie=function(){let J=(0,be.getDefaultBlockName)();return o.canInsertBlockType(J,s)?(0,be.createBlock)(J):(0,be.createBlock)(o.getBlockName(h.clientId))};var B=ie;let re=x[y].length;if(h.offset===0&&re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId),s,!1);return}if(h.offset===re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId)+1,s);return}}}let I=g.attributes[y],P=b.attributes[S],E=(0,dt.create)({html:I}),L=(0,dt.create)({html:P});E=(0,dt.remove)(E,h.offset,E.text.length),L=(0,dt.remove)(L,0,p.offset);let T={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[y]:(0,dt.toHTMLString)({value:E})}},R={...b,clientId:g.clientId===b.clientId?(0,be.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,dt.toHTMLString)({value:L})}},D=(0,be.getDefaultBlockName)();if(g.clientId===b.clientId&&D&&R.name!==D&&o.canInsertBlockType(D,s)){let ie=(0,be.switchToBlockType)(R,D);ie?.length===1&&(R=ie[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[T,R]);return}let j,G=[],z=[...e],U=z.shift(),W=(0,be.getBlockType)(T.name),ee=W.merge&&U.name===W.name?[U]:(0,be.switchToBlockType)(U,W.name);if(ee?.length){let ie=ee.shift();T={...T,attributes:{...T.attributes,...W.merge(T.attributes,ie.attributes)}},G.push(T),j={clientId:T.clientId,attributeKey:y,offset:(0,dt.create)({html:T.attributes[y]}).text.length},z.unshift(...ee)}else(0,be.isUnmodifiedBlock)(T)||G.push(T),G.push(U);let ne=z.pop(),ce=(0,be.getBlockType)(R.name);if(z.length&&G.push(...z),ne){let ie=ce.merge&&ce.name===ne.name?[ne]:(0,be.switchToBlockType)(ne,ce.name);if(ie?.length){let re=ie.pop();G.push({...R,attributes:{...R.attributes,...ce.merge(re.attributes,R.attributes)}}),G.push(...ie),j={clientId:R.clientId,attributeKey:S,offset:(0,dt.create)({html:re.attributes[S]}).text.length}}else G.push(ne),(0,be.isUnmodifiedBlock)(R)||G.push(R)}else(0,be.isUnmodifiedBlock)(R)||G.push(R);t.batch(()=>{r.replaceBlocks(o.getSelectedBlockClientIds(),G,G.length-1,0),j&&r.selectionChange(j.clientId,j.attributeKey,j.offset,j.offset)})},uke=()=>({select:e,dispatch:t})=>{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},dke=(e,t)=>({registry:o,select:r,dispatch:n})=>{let i=e,s=t,a=r.getBlock(i),c=(0,be.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)==="disabled"||r.getBlockEditingMode(s)==="disabled")return;let u=r.getBlock(s);if(!c.merge&&(0,be.getBlockSupport)(a.name,"__experimentalOnMerge")){let x=(0,be.switchToBlockType)(u,c.name);if(x?.length!==1){n.selectBlock(a.clientId);return}let[C]=x;if(C.innerBlocks.length<1){n.selectBlock(a.clientId);return}o.batch(()=>{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let B=r.getNextBlockClientId(i);if(B&&r.getBlockName(i)===r.getBlockName(B)){let I=r.getBlockAttributes(i),P=r.getBlockAttributes(B);Object.keys(I).every(E=>I[E]===P[E])&&(n.moveBlocksToPosition(r.getBlockOrder(B),B,i),n.removeBlock(B,!1))}});return}if((0,be.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,be.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,be.isUnmodifiedBlock)(u,"content")?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,be.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:h}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&&m!==void 0&&h!==void 0&&!!g;g||(typeof m=="number"?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));let v=(0,be.cloneBlock)(a),k=(0,be.cloneBlock)(u);if(b){let x=f===i?v:k,C=x.attributes[m],B=(0,dt.insert)((0,dt.create)({html:C}),wl,h,h);x.attributes[m]=(0,dt.toHTMLString)({value:B})}let y=a.name===u.name?[k]:(0,be.switchToBlockType)(k,a.name);if(!y||!y.length)return;let S=c.merge(v.attributes,y[0].attributes);if(b){let x=Av(S),C=S[x],B=(0,dt.create)({html:C}),I=B.text.indexOf(wl),P=(0,dt.remove)(B,I,I+1),E=(0,dt.toHTMLString)({value:P});S[x]=E,n.selectionChange(a.clientId,x,I,I)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...y.slice(1)],0)},Xj=(e,t=!0)=>iM(e,t);function fke(e,t){return Xj([e],t)}function mke(e,t,o=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function pke(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function hke(){return{type:"START_TYPING"}}function gke(){return{type:"STOP_TYPING"}}function bke(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function kke(){return{type:"STOP_DRAGGING_BLOCKS"}}function vke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function yke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function Ske(e,t,o,r){return typeof e=="string"?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var _ke=(e,t,o)=>({dispatch:r})=>{let n=(0,be.getDefaultBlockName)();if(!n)return;let i=(0,be.createBlock)(n,e);return r.insertBlock(i,o,t)};function xke(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function wke(e){return nM(e,{stripExperimentalSettings:!0})}function Cke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Bke(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Eke(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}var Tke=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});let{requestIdleCallback:t=o=>setTimeout(o,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},Ike=e=>({registry:t})=>{t.dispatch(Wj.store).set("core","editorTool",e),e==="navigation"?(0,Ow.speak)((0,fu.__)("You are currently in Write mode.")):e==="edit"&&(0,Ow.speak)((0,fu.__)("You are currently in Design mode."))};function Pke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var Rke=(e,t=!0)=>({select:o,dispatch:r})=>{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=>!d)||n.map(d=>d.name).some(d=>!(0,be.hasBlockSupport)(d,"multiple",!0)))return;let s=o.getBlockRootClientId(e[0]),a=Zp(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=>(0,be.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length>1&&t&&r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=>d.clientId)},Oke=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i,r)},Ake=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i+1);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i+1,r)};function lM(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var Lke=(e,t=150)=>async({dispatch:o})=>{o(lM(e,!0)),await new Promise(r=>setTimeout(r,t)),o(lM(e,!1))};function Nke(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function Mke(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function Dke(e){return(0,mu.default)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),sM(e)}var Vke=e=>({select:t,dispatch:o})=>{if(!e||typeof e!="object"){console.error("Category should be an `InserterMediaCategory` object.");return}if(!e.name){console.error("Category should have a `name` that should be unique among all media categories.");return}if(!e.labels?.name){console.error("Category should have a `labels.name`.");return}if(!["image","audio","video"].includes(e.mediaType)){console.error("Category should have `mediaType` property that is one of `image|audio|video`.");return}if(!e.fetch||typeof e.fetch!="function"){console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise`.");return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=>n===e.name)){console.error(`A category is already registered with the same name: "${e.name}".`);return}if(r.some(({labels:{name:n}={}})=>n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`);return}o({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function Fke(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function zke(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}function jke(e){return{type:"SET_OPEN_LIST_VIEW_PANEL",clientId:e}}function Uke(){return{type:"SET_ALL_LIST_VIEW_PANELS_OPEN"}}function Hke(e,t){return{type:"TOGGLE_LIST_VIEW_PANEL",clientId:e,isOpen:t}}function Gke(){return{type:"INCREMENT_LIST_VIEW_EXPAND_REVISION"}}var Xp={reducer:q6,selectors:rM,actions:cM},_=(0,Aw.createReduxStore)(Kt,{...Xp,persist:["preferences"]}),Qj=(0,Aw.registerStore)(Kt,{...Xp,persist:["preferences"]});M(Qj).registerPrivateActions(Rw);M(Qj).registerPrivateSelectors(Bw);M(_).registerPrivateActions(Rw);M(_).registerPrivateSelectors(Bw);var Qp=l(A(),1),Jj=l(N(),1);var Ss=l(w(),1);function Wke({className:e,actions:t,children:o,secondaryActions:r}){return(0,Ss.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,Ss.jsx)("div",{className:V(e,"block-editor-warning"),children:(0,Ss.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,Ss.jsx)("p",{className:"block-editor-warning__message",children:o}),(t?.length>0||r)&&(0,Ss.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((n,i)=>(0,Ss.jsx)("span",{className:"block-editor-warning__action",children:n},i)),r&&(0,Ss.jsx)(Qp.DropdownMenu,{className:"block-editor-warning__secondary",icon:ks,label:(0,Jj.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,Ss.jsx)(Qp.MenuGroup,{children:r.map((n,i)=>(0,Ss.jsx)(Qp.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var pu=Wke;var Jp=l(w(),1);function oU({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,tU.useDispatch)(_),n=(0,eU.getBlockType)(t);return(0,Jp.jsxs)(pu,{actions:[(0,Jp.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>r(e),children:(0,Lw.__)("Find original")},"find-original"),(0,Jp.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>o([]),children:(0,Lw.__)("Remove")},"remove")],children:[(0,Jp.jsxs)("strong",{children:[n?.title,": "]}),(0,Lw.__)("This block can only be used once.")]})}var Lv=l(w(),1);function Dw({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:o,blockEditingMode:r,isPreviewMode:n,...i}){let{name:s,isSelected:a,clientId:c,attributes:u={},__unstableLayoutClassNames:d}=i,{layout:f=null,metadata:m={}}=u,{bindings:h}=m,p=(0,Nw.hasBlockSupport)(s,"layout",!1)||(0,Nw.hasBlockSupport)(s,"__experimentalLayout",!1),b=!!Pe()[jk]||(0,Nw.hasBlockSupport)(s,"listView")||s==="core/navigation",{originalBlockClientId:v}=(0,Mw.useContext)(ur);return(0,Lv.jsxs)(u0,{value:(0,Mw.useMemo)(()=>({name:s,isSelected:a,clientId:c,layout:p?f:null,__unstableLayoutClassNames:d,[bs]:e,[Ip]:t,[$c]:o&&r!=="disabled",[l0]:r,[Pp]:h,[c0]:n,[jk]:b}),[s,a,c,p,f,d,e,t,o,r,h,n,b]),children:[(0,Lv.jsx)(j6,{...i}),v&&(0,Lv.jsx)(oU,{originalBlockClientId:v,name:s,onReplace:i.onReplace})]})}function me(...e){let{clientId:t=null}=Pe();return(0,rU.useSelect)(o=>M(o(_)).getBlockSettings(t,...e),[t,...e])}function iU(e){(0,nU.default)("wp.blockEditor.useSetting",{since:"6.5",alternative:"wp.blockEditor.useSettings",note:"The new useSettings function can retrieve multiple settings at once, with better performance."});let[t]=me(e);return t}var Fw=l(w(),1),{kebabCase:$ke}=M(aU.privateApis),sU=([e,...t])=>e.toUpperCase()+t.join(""),Kke=e=>(0,Ff.createHigherOrderComponent)(t=>function(r){return(0,Fw.jsx)(t,{...r,colors:e})},"withCustomColorPalette"),Yke=()=>(0,Ff.createHigherOrderComponent)(e=>function(o){let[r,n,i]=me("color.palette.custom","color.palette.theme","color.palette.default"),s=(0,Vw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]);return(0,Fw.jsx)(e,{...o,colors:s})},"withEditorColorPalette");function lU(e,t){let o=e.reduce((r,n)=>({...r,...typeof n=="string"?{[n]:$ke(n)}:n}),{});return(0,Ff.compose)([t,r=>class extends Vw.Component{constructor(i){super(i),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(i){let{colors:s}=this.props;return R6(s,i)}createSetters(){return Object.keys(o).reduce((i,s)=>{let a=sU(s),c=`custom${a}`;return i[`set${a}`]=this.createSetColor(s,c),i},{})}createSetColor(i,s){return a=>{let c=f0(this.props.colors,a);this.props.setAttributes({[i]:c&&c.slug?c.slug:void 0,[s]:c&&c.slug?void 0:a})}}static getDerivedStateFromProps({attributes:i,colors:s},a){return Object.entries(o).reduce((c,[u,d])=>{let f=ua(s,i[u],i[`custom${sU(u)}`]),m=a[u];return m?.color===f.color&&m?c[u]=m:c[u]={...f,class:yi(d,f.slug)},c},{})}render(){return(0,Fw.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function cU(e){return(...t)=>{let o=Kke(e);return(0,Ff.createHigherOrderComponent)(lU(t,o),"withCustomColors")}}function uU(...e){let t=Yke();return(0,Ff.createHigherOrderComponent)(lU(e,t),"withColors")}var zw=l(O(),1),jw=l(F(),1);function eh(e){if(e)return`has-${e}-gradient-background`}function Uw(e,t){let o=e?.find(r=>r.slug===t);return o&&o.gradient}function dU(e,t){return e?.find(r=>r.gradient===t)}function fU(e,t){let o=dU(e,t);return o&&o.slug}function qke({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){let{clientId:o}=Pe(),[r,n,i]=me("color.gradients.custom","color.gradients.theme","color.gradients.default"),s=(0,zw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,jw.useSelect)(h=>{let{getBlockAttributes:p}=h(_),g=p(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,jw.useDispatch)(_),d=(0,zw.useCallback)(h=>{let p=fU(s,h);if(p){u(o,{[e]:p,[t]:void 0});return}u(o,{[e]:void 0,[t]:h})},[s,o,u]),f=eh(a),m;return a?m=Uw(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var mU=l(A(),1);var{kebabCase:Zke}=M(mU.privateApis),th=(e,t,o)=>{if(t){let r=e?.find(({slug:n})=>n===t);if(r)return r}return{size:o}};function dM(e,t){let o=e?.find(({size:r})=>r===t);return o||{size:t}}function hu(e){if(e)return`has-${Zke(e)}-font-size`}var Xke="1600px",Qke="320px",Jke=1,eve=.25,tve=.75,ove="14px";function pU({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=Qke,maximumViewportWidth:n=Xke,scaleFactor:i=Jke,minimumFontSizeLimit:s}){if(s=gu(s)?s:ove,o){let y=gu(o);if(!y?.unit)return null;let S=gu(s,{coerceTo:y.unit});if(S?.value&&!e&&!t&&y?.value<=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit==="px"?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),eve),tve),B=Nv(y.value*C,3);S?.value&&Be.toUpperCase()+t.join(""),vU=(...e)=>{let t=e.reduce((o,r)=>(o[r]=`custom${bU(r)}`,o),{});return(0,Mv.createHigherOrderComponent)((0,Mv.compose)([(0,Mv.createHigherOrderComponent)(o=>function(n){let[i]=me("typography.fontSizes");return(0,mM.jsx)(o,{...n,fontSizes:i||nve})},"withFontSizes"),o=>class extends kU.Component{constructor(n){super(n),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((n,[i,s])=>{let a=bU(i);return n[`set${a}`]=this.createSetFontSize(i,s),n},{})}createSetFontSize(n,i){return s=>{let a=this.props.fontSizes?.find(({size:c})=>c===Number(s));this.props.setAttributes({[n]:a&&a.slug?a.slug:void 0,[i]:a&&a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,fontSizes:i},s){let a=(u,d)=>s[d]?n[d]?n[d]!==s[d].slug:s[d].size!==n[u]:!0;if(!Object.values(t).some(a))return null;let c=Object.entries(t).filter(([u,d])=>a(d,u)).reduce((u,[d,f])=>{let m=n[d],h=th(i,m,n[f]);return u[d]={...h,class:hu(m)},u},{});return{...s,...c}}render(){return(0,mM.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),"withFontSizes")};var bu=l(N(),1),Hw=l(A(),1);var yU=l(w(),1),ive=[{icon:Jc,title:(0,bu.__)("Align text left"),align:"left"},{icon:yf,title:(0,bu.__)("Align text center"),align:"center"},{icon:eu,title:(0,bu.__)("Align text right"),align:"right"}],sve={placement:"bottom-start"};function ave({value:e,onChange:t,alignmentControls:o=ive,label:r=(0,bu.__)("Align text"),description:n=(0,bu.__)("Change text alignment"),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=>t(e===m?void 0:m)}let c=o.find(m=>m.align===e);function u(){return c?c.icon:(0,bu.isRTL)()?eu:Jc}let d=s?Hw.ToolbarGroup:Hw.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:sve};return(0,yU.jsx)(d,{icon:u(),label:r,controls:o.map(m=>{let{align:h}=m;return{...m,isActive:e===h,role:i?"menuitemradio":void 0,onClick:a(h)}}),...f})}var pM=ave;var hM=l(w(),1),Gw=e=>(0,hM.jsx)(pM,{...e,isToolbar:!1}),SU=e=>(0,hM.jsx)(pM,{...e,isToolbar:!0});var Xw=l(rt(),1),Qw=l(A(),1),HU=l(O(),1),Jw=l($(),1);var LU=l(F(),1),vu=l($(),1),yM=l(O(),1);var PU=l(CU(),1);var gM=function(e,t){return gM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},gM(e,t)};function BU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gM(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Fo=function(){return Fo=Object.assign||function(t){for(var o,r=1,n=arguments.length;re.name||"",hve=e=>e.title,gve=e=>e.description||"",bve=e=>e.keywords||[],kve=e=>e.category,vve=()=>null,yve=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],Sve=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),bM=new Map,kM=new Map;function $w(e=""){if(bM.has(e))return bM.get(e);let t=IU(e,{splitRegexp:yve,stripRegexp:Sve}).split(" ").filter(Boolean);return bM.set(e,t),t}function Dv(e=""){if(kM.has(e))return kM.get(e);let t=(0,PU.default)(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),kM.set(e,t),t}var Vv=(e="")=>$w(Dv(e)),_ve=(e,t)=>e.filter(o=>!Vv(t).some(r=>r.includes(o))),Kw=(e,t,o,r)=>Vv(r).length===0?e:Fv(e,r,{getCategory:s=>t.find(({slug:a})=>a===s.category)?.title,getCollection:s=>o[s.name.split("/")[0]]?.title}),Fv=(e=[],t="",o={})=>{if(Vv(t).length===0)return e;let n=e.map(i=>[i,xve(i,t,o)]).filter(([,i])=>i>0);return n.sort(([,i],[,s])=>s-i),n.map(([i])=>i)};function xve(e,t,o={}){let{getName:r=pve,getTitle:n=hve,getDescription:i=gve,getKeywords:s=bve,getCategory:a=kve,getCollection:c=vve}=o,u=r(e),d=n(e),f=i(e),m=s(e),h=a(e),p=c(e),g=Dv(t),b=Dv(d),v=0;if(g===b)v+=30;else if(b.startsWith(g))v+=20;else{let k=[u,d,f,...m,h,p].join(" "),y=$w(g);_ve(y,k).length===0&&(v+=10)}if(v!==0&&u.startsWith("core/")){let k=u!==e.id;v+=k?1:2}return v}var ma=l($(),1),oh=l(F(),1),Yw=l(O(),1),RU=l(Ti(),1),qw=l(N(),1);var wve=(e,t,o)=>{let r=(0,Yw.useMemo)(()=>({[uu]:!!o}),[o]),[n]=(0,oh.useSelect)(d=>[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=M((0,oh.useSelect)(_)),{createErrorNotice:s}=(0,oh.useDispatch)(RU.store),[a,c]=(0,oh.useSelect)(d=>{let{getCategories:f,getCollections:m}=d(ma.store);return[f(),m()]},[]),u=(0,Yw.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:h,content:p},g)=>{let b=i(d,e);if(b===null){let k=(0,ma.getBlockType)(d)?.title??d;s((0,qw.sprintf)((0,qw.__)(`Block "%s" can't be inserted.`),k),{type:"snackbar",id:"inserter-notice"});return}let v=h==="unsynced"?(0,ma.parse)(p,{__unstableSkipMigrationLogs:!0}):(0,ma.createBlock)(d,f,(0,ma.createBlocksFromInnerBlocksTemplate)(m));t(v,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},ku=wve;var OU=l(A(),1);var AU=l(O(),1),vM=l(w(),1);function Cve({icon:e,showColors:t=!1,className:o,context:r}){e?.src==="block-default"&&(e={src:Qk});let n=(0,vM.jsx)(OU.Icon,{icon:e&&e.src?e.src:e,context:r}),i=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,vM.jsx)("span",{style:i,className:V("block-editor-block-icon",o,{"has-colors":t}),children:n})}var Ae=(0,AU.memo)(Cve);var Zw=(e,t)=>(t&&e.sort(({id:o},{id:r})=>{let n=t.indexOf(o),i=t.indexOf(r);return n<0&&(n=t.length),i<0&&(i=t.length),n-i}),e);var rh=l(w(),1),Bve=()=>{},Eve=9;function Tve(){return{name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,LU.useSelect)(u=>{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:h}=u(_),{getActiveBlockVariation:p}=u(vu.store),g=d(),{name:b,attributes:v}=f(g),k=p(b,v),y=h(g);return{selectedBlockId:k?`${b}/${k.name}`:b,rootClientId:y,prioritizedBlocks:m(y)?.prioritizedInserterBlocks}},[]),[n,i,s]=ku(t,Bve,!0),a=(0,yM.useMemo)(()=>(e.trim()?Kw(n,i,s,e):Zw(fa(n,"frecency","desc"),r)).filter(d=>d.id!==o).slice(0,Eve),[e,o,n,i,s,r]);return[(0,yM.useMemo)(()=>a.map(u=>{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,rh.jsxs)(rh.Fragment,{children:[(0,rh.jsx)(Ae,{icon:f,showColors:!0},"icon"),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:"replace",value:n==="unsynced"?(i??[]).map(s=>(0,vu.cloneBlock)(s)):(0,vu.createBlock)(t,o,(0,vu.createBlocksFromInnerBlocksTemplate)(r))}}}}var NU=Tve();var FU=l(DU(),1),zU=l(dn(),1);var jU=l(SM(),1),zf=l(w(),1),Ive=10;function Pve(){return{name:"links",className:"block-editor-autocompleters__link",triggerPrefix:"[[",options:async e=>{let t=await(0,FU.default)({path:(0,zU.addQueryArgs)("/wp/v2/search",{per_page:Ive,search:e,type:"post",order_by:"menu_order"})});return t=t.filter(o=>o.title!==""),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,zf.jsxs)(zf.Fragment,{children:[(0,zf.jsx)(we,{icon:e.subtype==="page"?kl:YL},"icon"),(0,jU.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,zf.jsx)("a",{href:e.url,children:e.title})}}}var UU=Pve();var GU=l(w(),1),Rve=[];function WU({completers:e=Rve}){let{name:t}=Pe();return(0,HU.useMemo)(()=>{let o=[...e,UU];return(t===(0,Jw.getDefaultBlockName)()||(0,Jw.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(o=[...o,NU]),(0,Xw.hasFilter)("editor.Autocomplete.completers")&&(o===e&&(o=o.map(r=>({...r}))),o=(0,Xw.applyFilters)("editor.Autocomplete.completers",o,t)),o},[e,t])}function $U(e){return(0,Qw.__unstableUseAutocompleteProps)({...e,completers:WU(e)})}function Ove(e){return(0,GU.jsx)(Qw.Autocomplete,{...e,completers:WU(e)})}var KU=Ove;var BM=l(N(),1),xu=l(A(),1);var mH=l(F(),1);var iC=l(O(),1);var Ii=l(N(),1);var mn=l(A(),1);var nh=l(N(),1);var Un={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};function Hn(e,t=""){return e.split(",").map(o=>`${o}${t?` ${t}`:""}`).join(",")}function yu(e,t=Un,o,r){let n="";return t?.[o]?.spacingStyles?.length&&r&&t[o].spacingStyles.forEach(i=>{n+=`${Hn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=>`${s}: ${a||r}`).join("; "),n+="; }"}),n}function eC(e){let{contentSize:t,wideSize:o,type:r="default"}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&&r==="constrained"&&(n.none=(0,nh.sprintf)((0,nh.__)("Max %s wide"),t)),i.test(o)&&(n.wide=(0,nh.sprintf)((0,nh.__)("Max %s wide"),o)),n}var _s=l(N(),1);var YU=8,Su=["top","right","bottom","left"],qU={top:void 0,right:void 0,bottom:void 0,left:void 0},tC={custom:aw,axial:aw,horizontal:lN,vertical:fN,top:dN,right:uN,bottom:aN,left:cN},pa={default:(0,_s.__)("Spacing control"),top:(0,_s.__)("Top"),bottom:(0,_s.__)("Bottom"),left:(0,_s.__)("Left"),right:(0,_s.__)("Right"),mixed:(0,_s.__)("Mixed"),vertical:(0,_s.__)("Vertical"),horizontal:(0,_s.__)("Horizontal"),axial:(0,_s.__)("Horizontal & vertical"),custom:(0,_s.__)("Custom")},Cl={axial:"axial",top:"top",right:"right",bottom:"bottom",left:"left",custom:"custom"};function oC(e){return e?.includes?e==="0"||e.includes("var:preset|spacing|"):!1}function ZU(e,t){if(!oC(e))return e;let o=Ave(e);return t.find(n=>String(n.slug)===o)?.size}function ih(e,t){if(!e||oC(e)||e==="0")return e;let o=t.find(r=>String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function zv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function Ave(e){if(!e)return;if(e==="0"||e==="default")return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function _M(e,t){if(!e||!e.length)return!1;let o=e.includes("horizontal")||e.includes("left")&&e.includes("right"),r=e.includes("vertical")||e.includes("top")&&e.includes("bottom");return t==="horizontal"?o:t==="vertical"?r:o||r}function Lve(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=>t[o]+=1),(t.top+t.bottom)%2===0&&(t.left+t.right)%2===0}function XU(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&&i===r&&(!!o||!!i),c=!s.length&&Lve(t),u=t?.includes("horizontal")&&t?.includes("vertical")&&t?.length===2;if(_M(t)&&(a||c))return Cl.axial;if(u&&s.length===1){let d;return Object.entries(e).some(([f,m])=>(d=f,m!==void 0)),d}return t?.length===1&&!s.length?t[0]:Cl.custom}function Nve(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function mr(e,t="0"){let o=Nve(e);if(!o)return null;let r=zv(o?.top)||t,n=zv(o?.left)||t;return r===n?r:`${r} ${n}`}var oo=l(w(),1),Mve={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},QU={left:"flex-start",right:"flex-end",center:"center",stretch:"stretch"},Dve={top:"flex-start",center:"center",bottom:"flex-end",stretch:"stretch","space-between":"space-between"},JU={horizontal:"center",vertical:"top"},Vve=["wrap","nowrap"],tH={name:"flex",label:(0,Ii.__)("Flex"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0,allowWrap:s=!0}=r;return(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsxs)(mn.Flex,{children:[i&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(eH,{layout:t,onChange:o})}),n&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(Uve,{layout:t,onChange:o})})]}),s&&(0,oo.jsx)(jve,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&&!n?null:(0,oo.jsxs)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:[i&&(0,oo.jsx)(eH,{layout:t,onChange:o,isToolbar:!0}),n&&(0,oo.jsx)(Fve,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{orientation:c="horizontal"}=o,u="0.5em";if(s){let k=mr(s,"0.5em").split(" ");u=k.length>1?k[1]:k[0]}let d=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,u):void 0,f=Mve[o.justifyContent],m=Vve.includes(o.flexWrap)?o.flexWrap:"wrap",h=Dve[o.verticalAlignment],p=QU[o.justifyContent]||QU.left,g="",b=[];return m&&m!=="wrap"&&b.push(`flex-wrap: ${m}`),c==="horizontal"?(h&&b.push(`align-items: ${h}`),f&&b.push(`justify-content: ${f}`)):(h&&b.push(`justify-content: ${h}`),b.push("flex-direction: column"),b.push(`align-items: ${p}`)),b.length&&(g=`${Hn(t)} { +`);return o=i[i.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(o=r.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&&n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,o){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,o)}};QG.exports=Ey;Ey.default=Ey});var M1=oe((PHe,JG)=>{"use strict";var U_e=JD();function e5(e,t){new U_e(t).stringify(e)}JG.exports=e5;e5.default=e5});var t5=oe((RHe,tW)=>{"use strict";var eW={};tW.exports=function(t){eW[t]||(eW[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var D1=oe((OHe,o5)=>{"use strict";o5.exports.isClean=Symbol("isClean");o5.exports.my=Symbol("my")});var F1=oe((AHe,oW)=>{"use strict";var{isClean:V1,my:H_e}=D1(),G_e=O1(),W_e=JD(),$_e=M1();function r5(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let n=e[r],i=typeof n;r==="parent"&&i==="object"?t&&(o[r]=t):r==="source"?o[r]=n:Array.isArray(n)?o[r]=n.map(s=>r5(s,o)):(i==="object"&&n!==null&&(n=r5(n)),o[r]=n)}return o}var Ty=class{constructor(t={}){this.raws={},this[V1]=!1,this[H_e]=!0;for(let o in t)if(o==="nodes"){this.nodes=[];for(let r of t[o])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${o.input.from}:${o.start.line}:${o.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=r5(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new G_e(t)}getProxyProcessor(){return{get(t,o){return o==="proxyOf"?t:o==="root"?()=>t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&t.markDirty()),!0}}}markDirty(){if(this[V1]){this[V1]=!1;let t=this;for(;t=t.parent;)t[V1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&&(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;stypeof c=="object"&&c.toJSON?c.toJSON(null,o):c);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,o);else if(s==="source"){let c=o.get(a.input);c==null&&(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&&(r.inputs=[...o.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=$_e){t.stringify&&(t=t.stringify);let o="";return t(this,r=>{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};oW.exports=Ty;Ty.default=Ty});var n5=oe((LHe,rW)=>{"use strict";var K_e=F1(),Iy=class extends K_e{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};rW.exports=Iy;Iy.default=Iy});var i5=oe((NHe,nW)=>{"use strict";var Y_e=F1(),Py=class extends Y_e{constructor(t){super(t),this.type="comment"}};nW.exports=Py;Py.default=Py});var om=oe((MHe,mW)=>{"use strict";var{isClean:iW,my:sW}=D1(),aW=n5(),lW=i5(),q_e=F1(),cW,s5,a5,uW;function dW(e){return e.map(t=>(t.nodes&&(t.nodes=dW(t.nodes)),delete t.source,t))}function fW(e){if(e[iW]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)fW(t)}var Rs=class e extends q_e{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]t[o](...r.map(n=>typeof n=="function"?(i,s)=>n(i.toProxy(),s):n)):o==="every"||o==="some"?r=>t[o]((n,...i)=>r(n.toProxy(),...i)):o==="root"?()=>t.root().toProxy():o==="nodes"?t.nodes.map(r=>r.toProxy()):o==="first"||o==="last"?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="name"||o==="params"||o==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new aW(t)]}else if(t.selector)t=[new s5(t)];else if(t.name)t=[new a5(t)];else if(t.text)t=[new lW(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[sW]||e.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[iW]&&fW(n),typeof n.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(n.raws.before=o.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o>=t&&(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=>{o.props&&!o.props.includes(n.prop)||o.fast&&!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=>{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&&o.walk&&(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&t.test(r.name))return o(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="atrule")return o(r,n)}))}walkComments(t){return this.walk((o,r)=>{if(o.type==="comment")return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&t.test(r.prop))return o(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="decl")return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&t.test(r.selector))return o(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="rule")return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Rs.registerParse=e=>{cW=e};Rs.registerRule=e=>{s5=e};Rs.registerAtRule=e=>{a5=e};Rs.registerRoot=e=>{uW=e};mW.exports=Rs;Rs.default=Rs;Rs.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,a5.prototype):e.type==="rule"?Object.setPrototypeOf(e,s5.prototype):e.type==="decl"?Object.setPrototypeOf(e,aW.prototype):e.type==="comment"?Object.setPrototypeOf(e,lW.prototype):e.type==="root"&&Object.setPrototypeOf(e,uW.prototype),e[sW]=!0,e.nodes&&e.nodes.forEach(t=>{Rs.rebuild(t)})}});var gW=oe((DHe,hW)=>{"use strict";var z1=/[\t\n\f\r "#'()/;[\\\]{}]/g,j1=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Z_e=/.[\r\n"'(/\\]/,pW=/[\da-f]/i;hW.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,h,p,g=r.length,b=0,v=[],k=[];function y(){return b}function S(I){throw t.error("Unclosed "+I,b)}function x(){return k.length===0&&b>=g}function C(I){if(k.length)return k.pop();if(b>=g)return;let P=I?I.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);p=["space",r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let E=String.fromCharCode(i);p=[E,E,b];break}case 40:{if(m=v.length?v.pop()[1]:"",h=r.charCodeAt(b+1),m==="url"&&h!==39&&h!==34&&h!==32&&h!==10&&h!==9&&h!==12&&h!==13){s=b;do{if(d=!1,s=r.indexOf(")",s+1),s===-1)if(n||P){s=b;break}else S("bracket");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["brackets",r.slice(b,s+1),b,s],b=s}else s=r.indexOf(")",b+1),c=r.slice(b,s+1),s===-1||Z_e.test(c)?p=["(","(",b]:(p=["brackets",c,b,s],b=s);break}case 39:case 34:{a=i===39?"'":'"',s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||P){s=b+1;break}else S("string");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["string",r.slice(b,s+1),b,s],b=s;break}case 64:{z1.lastIndex=b+1,z1.test(r),z1.lastIndex===0?s=r.length-1:s=z1.lastIndex-2,p=["at-word",r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(s+=1,pW.test(r.charAt(s)))){for(;pW.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&&(s+=1)}p=["word",r.slice(b,s+1),b,s],b=s;break}default:{i===47&&r.charCodeAt(b+1)===42?(s=r.indexOf("*/",b+2)+1,s===0&&(n||P?s=r.length:S("comment")),p=["comment",r.slice(b,s+1),b,s],b=s):(j1.lastIndex=b+1,j1.test(r),j1.lastIndex===0?s=r.length-1:s=j1.lastIndex-2,p=["word",r.slice(b,s+1),b,s],v.push(p),b=s);break}}return b++,p}function B(I){k.push(I)}return{back:B,endOfFile:x,nextToken:C,position:y}}});var vW=oe((VHe,kW)=>{"use strict";var bW=om(),Nh=class extends bW{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};kW.exports=Nh;Nh.default=Nh;bW.registerAtRule(Nh)});var U1=oe((FHe,xW)=>{"use strict";var yW=om(),SW,_W,Vu=class extends yW{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new SW(new _W,this,t).stringify()}};Vu.registerLazyResult=e=>{SW=e};Vu.registerProcessor=e=>{_W=e};xW.exports=Vu;Vu.default=Vu;yW.registerRoot(Vu)});var CW=oe((zHe,wW)=>{"use strict";var Ry={comma(e){return Ry.split(e,[","],!0)},space(e){let t=[" ",` +`," "];return Ry.split(e,t)},split(e,t,o){let r=[],n="",i=!1,s=0,a=!1,c="",u=!1;for(let d of e)u?u=!1:d==="\\"?u=!0:a?d===c&&(a=!1):d==='"'||d==="'"?(a=!0,c=d):d==="("?s+=1:d===")"?s>0&&(s-=1):s===0&&t.includes(d)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=d;return(o||n!=="")&&r.push(n.trim()),r}};wW.exports=Ry;Ry.default=Ry});var TW=oe((jHe,EW)=>{"use strict";var BW=om(),X_e=CW(),Mh=class extends BW{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return X_e.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};EW.exports=Mh;Mh.default=Mh;BW.registerRule(Mh)});var OW=oe((UHe,RW)=>{"use strict";var Q_e=n5(),J_e=gW(),e0e=i5(),t0e=vW(),o0e=U1(),IW=TW(),PW={empty:!0,space:!0};function r0e(e){for(let t=e.length-1;t>=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var l5=class{constructor(t){this.input=t,this.root=new o0e,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new t0e;o.name=t[1].slice(1),o.name===""&&this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(c.length>0){for(i=c.length-1,n=c[i];n&&n[0]==="space";)n=c[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,"params",c),s&&(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i>=0&&(n=t[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n==="("&&(o+=1),n===")"&&(o-=1),o===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return s}i=r}return!1}comment(t){let o=new e0e;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text="",o.raws.left=r,o.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=J_e(this.input)}decl(t,o){let r=new Q_e;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||r0e(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let i;for(;t.length;)if(i=t.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(i=t[u],i[1].toLowerCase()==="!important"){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==" !important"&&(r.raws.important=d);break}else if(i[1].toLowerCase()==="important"){let d=t.slice(0),f="";for(let m=u;m>0;m--){let h=d[m][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=d.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=d)}if(i[0]!=="space"&&i[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=s.map(u=>u[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),o),r.value.includes(":")&&!o&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new IW;this.init(o,t[2]),o.selector="",o.raws.between="",this.current=o}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&&o.type==="rule"&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith("--"),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r==="("||r==="[")i||(i=u),s.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=u),s.push("}");else if(s.length===0)if(r===";")if(n){this.decl(c,a);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),o=!0;break}else r===":"&&(n=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),s.length>0&&this.unclosedBracket(i),o&&n){if(!a)for(;c.length&&(u=c[c.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c="",u=!0,d,f;for(let m=0;mh+p[1],"");t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new IW;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,"selector",t),this.current=o}spacesAndCommentsFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],!(o!=="space"&&o!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r="";for(;t.length&&(o=t[0][0],!(o!=="space"&&o!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],o==="space");)r=t.pop()[1]+r;return r}stringFrom(t,o){let r="";for(let n=o;n{"use strict";var n0e=om(),i0e=OW(),s0e=ZD();function H1(e,t){let o=new s0e(e,t),r=new i0e(o);try{r.parse()}catch(n){throw n}return r.root}AW.exports=H1;H1.default=H1;n0e.registerParse(H1)});var NW=oe((GHe,LW)=>{"use strict";var Oy=class{constructor(t,o={}){if(this.type="warning",this.text=t,o.node&&o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};LW.exports=Oy;Oy.default=Oy});var u5=oe((WHe,MW)=>{"use strict";var a0e=NW(),Ay=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let r=new a0e(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};MW.exports=Ay;Ay.default=Ay});var VW=oe((KHe,DW)=>{"use strict";var l0e=QD(),c0e=M1(),$He=t5(),u0e=c5(),d0e=u5(),Ly=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=c0e;this.result=new d0e(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new l0e(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&&(this.result.css=c),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=u0e;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};DW.exports=Ly;Ly.default=Ly});var d5=oe((YHe,jW)=>{"use strict";var f0e=om(),FW,zW,rm=class extends f0e{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new FW(new zW,this,t).stringify()}};rm.registerLazyResult=e=>{FW=e};rm.registerProcessor=e=>{zW=e};jW.exports=rm;rm.default=rm});var $W=oe((ZHe,WW)=>{"use strict";var{isClean:xa,my:m0e}=D1(),p0e=QD(),h0e=M1(),g0e=om(),b0e=d5(),qHe=t5(),UW=u5(),k0e=c5(),v0e=U1(),y0e={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},S0e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},_0e={Once:!0,postcssPlugin:!0,prepare:!0},Dh=0;function Ny(e){return typeof e=="object"&&typeof e.then=="function"}function GW(e){let t=!1,o=y0e[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[o,o+"-"+t,Dh,o+"Exit",o+"Exit-"+t]:t?[o,o+"-"+t,o+"Exit",o+"Exit-"+t]:e.append?[o,Dh,o+"Exit"]:[o,o+"Exit"]}function HW(e){let t;return e.type==="document"?t=["Document",Dh,"DocumentExit"]:e.type==="root"?t=["Root",Dh,"RootExit"]:t=GW(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function f5(e){return e[xa]=!1,e.nodes&&e.nodes.forEach(t=>f5(t)),e}var m5={},Fu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o=="object"&&o!==null&&(o.type==="root"||o.type==="document"))n=f5(o);else if(o instanceof e||o instanceof UW)n=f5(o.root),o.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=k0e;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&&!n[m0e]&&g0e.rebuild(n)}this.result=new UW(t,n,r),this.helpers={...m5,postcss:m5,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,o){let r=this.result.lastPlugin;try{o&&o.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o=="object")for(let r in o){if(!S0e[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!_0e[r])if(typeof o[r]=="object")for(let n in o[r])n==="*"?t(o,r,o[r][n]):t(o,r+"-"+n.toLowerCase(),o[r][n]);else typeof o[r]=="function"&&t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(o);if(Ny(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type==="document"){let n=t.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let o=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return Ny(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=h0e;t.syntax&&(o=t.syntax.stringify),t.stringifier&&(o=t.stringifier),o.stringify&&(o=o.stringify);let n=new p0e(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(Ny(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];)t[xa]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!=="root"&&o.type!=="document"&&!o.parent)return!0;if(Ny(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(n.length>0&&o.visitorIndex{n[xa]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Fu.registerPostcss=e=>{m5=e};WW.exports=Fu;Fu.default=Fu;v0e.registerLazyResult(Fu);b0e.registerLazyResult(Fu)});var YW=oe((XHe,KW)=>{"use strict";var x0e=VW(),w0e=$W(),C0e=d5(),B0e=U1(),nm=class{constructor(t=[]){this.version="8.4.38",this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)o.push(r);else if(typeof r=="function")o.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return o}process(t,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new x0e(this,t,o):new w0e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};KW.exports=nm;nm.default=nm;B0e.registerProcessor(nm);C0e.registerProcessor(nm)});var XW=oe((QHe,ZW)=>{ZW.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&&s.source.input.file&&qW(s.source.input.file,n)||i.length&&s.source.input.file&&!qW(s.source.input.file,i)||s.walkRules(a=>{let c=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];a.parent&&c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=>t.exclude&&E0e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function qW(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e.includes(o))}function E0e(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e===o)}});var JW=oe((JHe,QW)=>{var p5=40,h5=41,G1=39,g5=34,b5=92,Vh=47,k5=44,v5=58,W1=42,T0e=117,I0e=85,P0e=43,R0e=/^[a-f0-9?-]+$/i;QW.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),h=o.length,p=[{nodes:t}],g=0,b,v="",k="",y="";f{e$.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n{function o$(e,t){var o=e.type,r=e.value,n,i;return t&&(i=t(e))!==void 0?i:o==="word"||o==="space"?r:o==="string"?(n=e.quote||"",n+r+(e.unclosed?"":n)):o==="comment"?"/*"+r+(e.unclosed?"":"*/"):o==="div"?(e.before||"")+r+(e.after||""):Array.isArray(e.nodes)?(n=r$(e.nodes,t),o!=="function"?n:r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):r}function r$(e,t){var o,r;if(Array.isArray(e)){for(o="",r=e.length-1;~r;r-=1)o=o$(e[r],t)+o;return o}return o$(e,t)}n$.exports=r$});var a$=oe((o8e,s$)=>{var $1=45,K1=43,y5=46,O0e=101,A0e=69;function L0e(e){var t=e.charCodeAt(0),o;if(t===K1||t===$1){if(o=e.charCodeAt(1),o>=48&&o<=57)return!0;var r=e.charCodeAt(2);return o===y5&&r>=48&&r<=57}return t===y5?(o=e.charCodeAt(1),o>=48&&o<=57):t>=48&&t<=57}s$.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!L0e(e))return!1;for(r=e.charCodeAt(t),(r===K1||r===$1)&&t++;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===y5&&n>=48&&n<=57)for(t+=2;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===O0e||r===A0e)&&(n>=48&&n<=57||(n===K1||n===$1)&&i>=48&&i<=57))for(t+=n===K1||n===$1?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var d$=oe((r8e,u$)=>{var N0e=JW(),l$=t$(),c$=i$();function zu(e){return this instanceof zu?(this.nodes=N0e(e),this):new zu(e)}zu.prototype.toString=function(){return Array.isArray(this.nodes)?c$(this.nodes):""};zu.prototype.walk=function(e,t){return l$(this.nodes,e,t),this};zu.unit=a$();zu.walk=l$;zu.stringify=c$;u$.exports=zu});var m$=oe((n8e,S5)=>{var f$=d$();S5.exports=e=>{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(r){let n=f$(r.value),i=!1;n.walk(s=>{if(s.type!=="function"||s.value!=="url")return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&&o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&&(r.value=f$.stringify(n))}}};S5.exports.postcss=!0});var B$=oe((k8e,C$)=>{C$.exports=window.wp.priorityQueue});var F5=oe((d9e,CK)=>{CK.exports=window.wp.blob});var Qy=oe((NWe,LY)=>{LY.exports=window.wp.isShallowEqual});var ZE=oe((Gqe,CX)=>{CX.exports=window.wp.tokenList});var MV=oe((oZe,FX)=>{"use strict";var b1e=function(t){return k1e(t)&&!v1e(t)};function k1e(e){return!!e&&typeof e=="object"}function v1e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||_1e(e)}var y1e=typeof Symbol=="function"&&Symbol.for,S1e=y1e?Symbol.for("react.element"):60103;function _1e(e){return e.$$typeof===S1e}function x1e(e){return Array.isArray(e)?[]:{}}function _S(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Tg(x1e(e),e,t):e}function w1e(e,t,o){return e.concat(t).map(function(r){return _S(r,o)})}function C1e(e,t){if(!t.customMerge)return Tg;var o=t.customMerge(e);return typeof o=="function"?o:Tg}function B1e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function DX(e){return Object.keys(e).concat(B1e(e))}function VX(e,t){try{return t in e}catch{return!1}}function E1e(e,t){return VX(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function T1e(e,t,o){var r={};return o.isMergeableObject(e)&&DX(e).forEach(function(n){r[n]=_S(e[n],o)}),DX(t).forEach(function(n){E1e(e,n)||(VX(e,n)&&o.isMergeableObject(t[n])?r[n]=C1e(n,o)(e[n],t[n],o):r[n]=_S(t[n],o))}),r}function Tg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||w1e,o.isMergeableObject=o.isMergeableObject||b1e,o.cloneUnlessOtherwiseSpecified=_S;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):T1e(e,t,o):_S(t,o)}Tg.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Tg(r,n,o)},{})};var I1e=Tg;FX.exports=I1e});var KQ=oe((OQe,$Q)=>{$Q.exports=window.wp.commands});var pc=oe((cot,cte)=>{cte.exports=window.wp.date});var Ute=oe((Zot,jte)=>{var Mte=!1,Hm,N3,M3,hI,gI,Dte,bI,D3,V3,F3,Vte,z3,j3,Fte,zte;function En(){if(!Mte){Mte=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(z3=/\b(iPhone|iP[ao]d)/.exec(e),j3=/\b(iP[ao]d)/.exec(e),F3=/Android/i.exec(e),Fte=/FBAN\/\w+;/i.exec(e),zte=/Mobile/i.exec(e),Vte=!!/Win64/.exec(e),t){Hm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Hm&&document&&document.documentMode&&(Hm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Dte=r?parseFloat(r[1])+4:Hm,N3=t[2]?parseFloat(t[2]):NaN,M3=t[3]?parseFloat(t[3]):NaN,hI=t[4]?parseFloat(t[4]):NaN,hI?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),gI=t&&t[1]?parseFloat(t[1]):NaN):gI=NaN}else Hm=N3=M3=gI=hI=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);bI=n?parseFloat(n[1].replace("_",".")):!0}else bI=!1;D3=!!o[2],V3=!!o[3]}else bI=D3=V3=!1}}var U3={ie:function(){return En()||Hm},ieCompatibilityMode:function(){return En()||Dte>Hm},ie64:function(){return U3.ie()&&Vte},firefox:function(){return En()||N3},opera:function(){return En()||M3},webkit:function(){return En()||hI},safari:function(){return U3.webkit()},chrome:function(){return En()||gI},windows:function(){return En()||D3},osx:function(){return En()||bI},linux:function(){return En()||V3},iphone:function(){return En()||z3},mobile:function(){return En()||z3||j3||F3||zte},nativeApp:function(){return En()||Fte},android:function(){return En()||F3},ipad:function(){return En()||j3}};jte.exports=U3});var Gte=oe((Xot,Hte)=>{"use strict";var kI=!!(typeof window<"u"&&window.document&&window.document.createElement),vEe={canUseDOM:kI,canUseWorkers:typeof Worker<"u",canUseEventListeners:kI&&!!(window.addEventListener||window.attachEvent),canUseViewport:kI&&!!window.screen,isInWorker:!kI};Hte.exports=vEe});var Yte=oe((Qot,Kte)=>{"use strict";var Wte=Gte(),$te;Wte.canUseDOM&&($te=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function yEe(e,t){if(!Wte.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,r=o in document;if(!r){var n=document.createElement("div");n.setAttribute(o,"return;"),r=typeof n[o]=="function"}return!r&&$te&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}Kte.exports=yEe});var eoe=oe((Jot,Jte)=>{"use strict";var SEe=Ute(),_Ee=Yte(),qte=10,Zte=40,Xte=800;function Qte(e){var t=0,o=0,r=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=t*qte,n=o*qte,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(e.deltaMode==1?(r*=Zte,n*=Zte):(r*=Xte,n*=Xte)),r&&!t&&(t=r<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}Qte.getEventType=function(){return SEe.firefox()?"DOMMouseScroll":_Ee("wheel")?"wheel":"mousewheel"};Jte.exports=Qte});var ooe=oe((ert,toe)=>{toe.exports=eoe()});var Rre=oe((Wnt,Pre)=>{"use strict";Pre.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var cLe={};Tp(cLe,{AlignmentControl:()=>Gw,AlignmentToolbar:()=>yU,Autocomplete:()=>$U,BlockAlignmentControl:()=>aC,BlockAlignmentToolbar:()=>pH,BlockBindingsAttributeControl:()=>Wv,BlockBindingsSourceFieldsList:()=>Gv,BlockBreadcrumb:()=>DH,BlockCanvas:()=>QQ,BlockColorsStyleSelector:()=>oJ,BlockContextProvider:()=>p0,BlockControls:()=>Mt,BlockEdit:()=>Dw,BlockEditorKeyboardShortcuts:()=>h1,BlockEditorProvider:()=>F9,BlockFormatControls:()=>bV,BlockIcon:()=>Ae,BlockInspector:()=>Fae,BlockList:()=>jh,BlockMover:()=>bE,BlockNavigationDropdown:()=>dee,BlockPopover:()=>gY,BlockPreview:()=>vn,BlockSelectionClearer:()=>IY,BlockSettingsMenu:()=>HE,BlockSettingsMenuControls:()=>VE,BlockStyles:()=>qg,BlockTitle:()=>Kv,BlockToolbar:()=>AQ,BlockTools:()=>PS,BlockVerticalAlignmentControl:()=>rC,BlockVerticalAlignmentToolbar:()=>Nee,ButtonBlockAppender:()=>Xu,ButtonBlockerAppender:()=>sY,ColorPalette:()=>rte,ColorPaletteControl:()=>ste,ContrastChecker:()=>XT,CopyHandler:()=>Uae,DefaultBlockAppender:()=>sg,DimensionControl:()=>ib,FontSizePicker:()=>fM,HeadingLevelDropdown:()=>_ee,HeightControl:()=>Nte,InnerBlocks:()=>eS,Inserter:()=>Ui,InspectorAdvancedControls:()=>od,InspectorControls:()=>fe,JustifyContentControl:()=>sh,JustifyToolbar:()=>Woe,LineHeightControl:()=>UI,LinkControl:()=>Id,MediaPlaceholder:()=>fne,MediaReplaceFlow:()=>vb,MediaUpload:()=>Yu,MediaUploadCheck:()=>Ms,MultiSelectScrollIntoView:()=>$ae,NavigableToolbar:()=>xg,ObserveTyping:()=>eq,PanelColorSettings:()=>pne,PlainText:()=>fie,RecursionProvider:()=>f4,RichText:()=>wb,RichTextShortcut:()=>wF,RichTextToolbarButton:()=>BF,SETTINGS_DEFAULTS:()=>Wk,SkipToSelectedBlock:()=>bP,ToolSelector:()=>ile,Typewriter:()=>Zae,URLInput:()=>Ed,URLInputButton:()=>Sie,URLPopover:()=>Od,Warning:()=>pu,WritingFlow:()=>B1,__experimentalBlockAlignmentMatrixControl:()=>IH,__experimentalBlockFullHeightAligmentControl:()=>CH,__experimentalBlockPatternSetup:()=>Oee,__experimentalBlockPatternsList:()=>Ca,__experimentalBlockVariationPicker:()=>xee,__experimentalBlockVariationTransforms:()=>GT,__experimentalBorderRadiusControl:()=>qT,__experimentalColorGradientControl:()=>Sd,__experimentalColorGradientSettingsDropdown:()=>dI,__experimentalDateFormatPicker:()=>ute,__experimentalDuotoneControl:()=>JT,__experimentalFontAppearanceControl:()=>tI,__experimentalFontFamilyControl:()=>oI,__experimentalGetBorderClassesAndStyles:()=>nO,__experimentalGetColorClassesAndStyles:()=>iO,__experimentalGetElementClassName:()=>sLe,__experimentalGetGapCSSValue:()=>mr,__experimentalGetGradientClass:()=>eh,__experimentalGetGradientObjectByGradientValue:()=>uU,__experimentalGetShadowClassesAndStyles:()=>Yz,__experimentalGetSpacingClassesAndStyles:()=>Xz,__experimentalImageEditor:()=>Voe,__experimentalImageSizeControl:()=>Uoe,__experimentalImageURLInputUI:()=>Tie,__experimentalInspectorPopoverHeader:()=>v2,__experimentalLetterSpacingControl:()=>nI,__experimentalLibrary:()=>Gae,__experimentalLinkControl:()=>jI,__experimentalLinkControlSearchInput:()=>gre,__experimentalLinkControlSearchItem:()=>rre,__experimentalLinkControlSearchResults:()=>cre,__experimentalListView:()=>FT,__experimentalPanelColorGradientSettings:()=>mI,__experimentalPreviewOptions:()=>Gie,__experimentalPublishDateTimePicker:()=>tle,__experimentalRecursionProvider:()=>Xae,__experimentalResponsiveBlockControl:()=>bie,__experimentalSpacingSizesControl:()=>Lb,__experimentalTextDecorationControl:()=>sI,__experimentalTextTransformControl:()=>lI,__experimentalUnitControl:()=>vie,__experimentalUseBlockOverlayActive:()=>FH,__experimentalUseBlockPreview:()=>R$,__experimentalUseBorderProps:()=>Kz,__experimentalUseColorProps:()=>Zz,__experimentalUseCustomSides:()=>Cz,__experimentalUseGradient:()=>$ke,__experimentalUseHasRecursion:()=>Qae,__experimentalUseMultipleOriginColorsAndGradients:()=>xd,__experimentalUseResizeCanvas:()=>Wie,__experimentalWritingModeControl:()=>uI,__unstableBlockSettingsMenuFirstItem:()=>EE,__unstableBlockToolbarLastItem:()=>_E,__unstableEditorStyles:()=>Nl,__unstableIframe:()=>Ah,__unstableInserterMenuExtension:()=>vB,__unstableRichTextInputEvent:()=>EF,__unstableUseBlockSelectionClearer:()=>pm,__unstableUseClipboardHandler:()=>jae,__unstableUseMouseMoveTypingReset:()=>oS,__unstableUseTypewriter:()=>c4,__unstableUseTypingObserver:()=>rS,createCustomColorsHOC:()=>lU,getColorClassName:()=>yi,getColorObjectByAttributeValues:()=>ua,getColorObjectByColorValue:()=>f0,getComputedFluidTypographyValue:()=>mU,getCustomValueFromPreset:()=>qU,getDimensionsClassesAndStyles:()=>$z,getFontSize:()=>th,getFontSizeClass:()=>hu,getFontSizeObjectByValue:()=>dM,getGradientSlugByValue:()=>dU,getGradientValueBySlug:()=>Uw,getPxFromCssUnit:()=>yme,getSpacingPresetCssVar:()=>zv,getTypographyClassesAndStyles:()=>Qz,isValueSpacingPreset:()=>oC,privateApis:()=>a6,store:()=>_,storeConfig:()=>Xp,transformStyles:()=>Fh,useBlockBindingsUtils:()=>El,useBlockCommands:()=>ST,useBlockDisplayInformation:()=>Tt,useBlockEditContext:()=>Pe,useBlockEditingMode:()=>Mo,useBlockProps:()=>by,useCachedTruthy:()=>Jz,useHasRecursion:()=>m4,useInnerBlocksProps:()=>vm,useSetting:()=>nU,useSettings:()=>me,useStyleOverride:()=>Xn,withColorContext:()=>ZT,withColors:()=>cU,withFontSizes:()=>kU});function c6(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t0:typeof e=="number"},Zo=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*e)/o+0},vi=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),e>o?o:e>t?e:t},_6=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},h6=function(e){return{r:vi(e.r,0,255),g:vi(e.g,0,255),b:vi(e.b,0,255),a:vi(e.a)}},gO=function(e){return{r:Zo(e.r),g:Zo(e.g),b:Zo(e.b),a:Zo(e.a,3)}},Yme=/^#([0-9a-f]{3,8})$/i,d0=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},x6=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},w6=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},g6=function(e){return{h:_6(e.h),s:vi(e.s,0,100),l:vi(e.l,0,100),a:vi(e.a)}},b6=function(e){return{h:Zo(e.h),s:Zo(e.s),l:Zo(e.l),a:Zo(e.a,3)}},k6=function(e){return w6((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},Uk=function(e){return{h:(t=x6(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},qme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Zme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Xme=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qme=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vO={string:[[function(e){var t=Yme.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Zo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Xme.exec(e)||Qme.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:h6({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=qme.exec(e)||Zme.exec(e);if(!t)return null;var o,r,n=g6({h:(o=t[1],r=t[2],r===void 0&&(r="deg"),Number(o)*(Kme[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return k6(n)},"hsl"]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return ml(t)&&ml(o)&&ml(r)?h6({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=g6({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return k6(s)},"hsl"],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=(function(a){return{h:_6(a.h),s:vi(a.s,0,100),v:vi(a.v,0,100),a:vi(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return w6(s)},"hsv"]]},v6=function(e,t){for(var o=0;o=.5},e.prototype.toHex=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)<1?d0(Zo(255*i)):"","#"+d0(o)+d0(r)+d0(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return gO(this.rgba)},e.prototype.toRgbString=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)<1?"rgba("+o+", "+r+", "+n+", "+i+")":"rgb("+o+", "+r+", "+n+")";var t,o,r,n,i},e.prototype.toHsl=function(){return b6(Uk(this.rgba))},e.prototype.toHslString=function(){return t=b6(Uk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+i+")":"hsl("+o+", "+r+"%, "+n+"%)";var t,o,r,n,i},e.prototype.toHsv=function(){return t=x6(this.rgba),{h:Zo(t.h),s:Zo(t.s),v:Zo(t.v),a:Zo(t.a,3)};var t},e.prototype.invert=function(){return Bt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,-t))},e.prototype.grayscale=function(){return Bt(bO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Bt(y6(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Bt(y6(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Bt({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Zo(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=Uk(this.rgba);return typeof t=="number"?Bt({h:t,s:o.s,l:o.l,a:o.a}):Zo(o.h)},e.prototype.isEqual=function(t){return this.toHex()===Bt(t).toHex()},e})(),Bt=function(e){return e instanceof yO?e:new yO(e)},S6=[],Kc=function(e){e.forEach(function(t){S6.indexOf(t)<0&&(t(yO,vO),S6.push(t))})};function Yc(e,t){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m="black";if(!i.length)for(var h in o)i[h]=new e(o[h]).toRgb();for(var p in o){var g=(a=d,c=i[p],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));gc?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&&(t="#FFF"),o===void 0&&(o={}),this.contrast(t)>=(a=(s=(r=o).size)===void 0?"normal":s,(i=(n=r.level)===void 0?"AA":n)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var r,n,i,s,a}}var I6=l(A(),1);var E6=l(xO(),1),{lock:T6,unlock:M}=(0,E6.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/block-editor");Kc([Yc,Rp]);var{kebabCase:epe}=M(I6.privateApis),ua=(e,t,o)=>{if(t){let r=e?.find(n=>n.slug===t);if(r)return r}return{color:o}},f0=(e,t)=>e?.find(o=>o.color===t);function yi(e,t){if(!(!e||!t))return`has-${epe(t)}-${e}`}function P6(e,t){let o=Bt(t),r=({color:i})=>o.contrast(i),n=Math.max(...e.map(r));return e.find(i=>r(i)===n).color}var Vw=l(O(),1),Ff=l(Z(),1),sU=l(A(),1);var oU=l(F(),1),rU=l(Oe(),1);var Mw=l(O(),1),Nw=l($(),1);var pl=l($(),1),F6=l(A(),1),Gk=l(F(),1),kf=l(O(),1);var Op=l(O(),1),A6=l(w(),1),m0=(0,Op.createContext)({});m0.displayName="BlockContext";function p0({value:e,children:t}){let o=(0,Op.useContext)(m0),r=(0,Op.useMemo)(()=>({...o,...e}),[o,e]);return(0,A6.jsx)(m0.Provider,{value:r,children:t})}var xr=m0;var Ap=l(dn(),1);function hf(e){return e?.startsWith("#")&&(0,Ap.isValidFragment)(e)}function gf(e){return e?.startsWith("/")||e?.startsWith("./")||e?.startsWith("../")}function bf(e){if(e.includes(" "))return!1;let o=(0,Ap.getProtocol)(e),r=(0,Ap.isValidProtocol)(o),n=tpe(e),i=e?.startsWith("www.");return r||i||hf(e)||n||gf(e)}function tpe(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var ope="__default",N6="core/pattern-overrides";function Hk(e){return e?.[ope]?.source===N6}function M6(e,t){if(Hk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:N6};o[r]=n}return o}return e}var D6=l(O(),1),ur=(0,D6.createContext)({});ur.displayName="PrivateBlockContext";var h0=l(w(),1),rpe={},npe=e=>{let{name:t}=e,o=(0,pl.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,h0.jsx)(r,{...e})},V6=(0,F6.withFilters)("editor.BlockEdit")(npe),ipe=e=>{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,Gk.useRegistry)(),s=(0,pl.getBlockType)(t),a=(0,kf.useContext)(xr),c=(0,Gk.useSelect)(v=>M(v(pl.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,kf.useContext)(ur),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,kf.useMemo)(()=>{let v=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([k])=>s.usesContext.includes(k))):rpe;return r?.metadata?.bindings&&Object.values(r?.metadata?.bindings||{}).forEach(k=>{c[k?.source]?.usesContext?.forEach(y=>{v[y]=a[y]})}),{blockBindings:M6(r?.metadata?.bindings,u),context:v,hasPatternOverrides:Hk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),h=(0,Gk.useSelect)(v=>{if(!d)return r;let k={},y=new Map;for(let[S,x]of Object.entries(d)){let{source:C,args:B}=x,I=c[C];!I||!u?.includes(S)||y.set(I,{...y.get(I),[S]:{args:B}})}if(y.size)for(let[S,x]of y){let C={};S.getValues?C=S.getValues({select:v,context:f,clientId:o,bindings:x}):Object.keys(x).forEach(B=>{C[B]=S.label});for(let[B,I]of Object.entries(C))B==="url"&&(!I||!bf(I))?k[B]=null:k[B]=I}return{...r,...k}},[r,u,d,o,f,c]),p=(0,kf.useCallback)(v=>{if(!d){n(v);return}i.batch(()=>{let k={...v},y=new Map;for(let[x,C]of Object.entries(k)){if(!d[x]||!u?.includes(x))continue;let B=d[x],I=c[B?.source];I?.setValues&&(y.set(I,{...y.get(I),[x]:{args:B.args,newValue:C}}),delete k[x])}if(y.size)for(let[x,C]of y)x.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f["pattern/overrides"];!(m&&S)&&Object.keys(k).length&&(m&&delete k.href,n(k))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion>1)return(0,h0.jsx)(V6,{...e,attributes:h,context:f,setAttributes:p});let g=(0,pl.hasBlockSupport)(s,"className",!0)?(0,pl.getBlockDefaultClassName)(t):null,b=V(g,r?.className,e.className);return(0,h0.jsx)(V6,{...e,attributes:h,className:b,context:f,setAttributes:p})},z6=ipe;var Jj=l($(),1),uM=l(A(),1),eU=l(F(),1),Lw=l(N(),1);var Aw=l(F(),1);var Yk=l(vf(),1),TO=l(Z(),1),qk=l(F(),1),W6=l(Oe(),1),C0=l($(),1);var Ne=l(N(),1),H6={insertUsage:{}},Wk={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Ne.__)("Black"),slug:"black",color:"#000000"},{name:(0,Ne.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,Ne.__)("White"),slug:"white",color:"#ffffff"},{name:(0,Ne.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,Ne.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,Ne.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,Ne.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,Ne.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,Ne.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,Ne.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,Ne.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,Ne.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,Ne._x)("Small","font size name"),size:13,slug:"small"},{name:(0,Ne._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,Ne._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,Ne._x)("Large","font size name"),size:36,slug:"large"},{name:(0,Ne._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,Ne.__)("Thumbnail")},{slug:"medium",name:(0,Ne.__)("Medium")},{slug:"large",name:(0,Ne.__)("Large")},{slug:"full",name:(0,Ne.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,Ne.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,Ne.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,Ne.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,Ne.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,Ne.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,Ne.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,Ne.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,Ne.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,Ne.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,Ne.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,Ne.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,Ne.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}};function g0(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function b0(e,t,o,r=1){let n=[...e];return n.splice(t,r),g0(n,e.slice(t,t+r),o)}var Si=Symbol("globalStylesDataKey"),k0=Symbol("globalStylesLinks"),qc=Symbol("selectBlockPatternsKey"),v0=Symbol("reusableBlocksSelect"),Zc=Symbol("sectionRootClientIdKey"),y0=Symbol("mediaEditKey"),S0=Symbol("getMediaSelect"),Xc=Symbol("isIsolatedEditor"),_i=Symbol("deviceTypeKey"),_0=Symbol("isNavigationOverlayContext"),x0=Symbol("mediaUploadOnSuccess");var{isContentBlock:spe}=M(C0.privateApis),ape=e=>e;function Kk(e,t=""){let o=new Map,r=[];return o.set(t,r),e.forEach(n=>{let{clientId:i,innerBlocks:s}=n;r.push(i),Kk(s,i).forEach((a,c)=>{o.set(c,a)})}),o}function w0(e,t=""){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=>{o.push([a.clientId,n]),s?.length&&r.push([a.clientId,s])})}return o}function $6(e,t=ape){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function lpe(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function wO(e){return $6(e,t=>{let{attributes:o,...r}=t;return r})}function CO(e){return $6(e,t=>t.attributes)}function cpe(e,t){return(0,Yk.default)(Object.keys(e),Object.keys(t))}function upe(e,t){return e.type==="UPDATE_BLOCK_ATTRIBUTES"&&t!==void 0&&t.type==="UPDATE_BLOCK_ATTRIBUTES"&&(0,Yk.default)(e.clientIds,t.clientIds)&&cpe(e.attributes,t.attributes)}function BO(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=>o.get(s.clientId))}))}function hl(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=>r.get(a));for(let s of i)r.set("controlled||"+s,{innerBlocks:(e.order.get(s)||[]).map(a=>r.get(a))})}var dpe=e=>(t={},o)=>{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{r.tree=new Map(r.tree),BO(r,o.blocks),hl(r,o.rootClientId?[o.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),hl(r,[o.clientId],!1);break;case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{r.tree=new Map(r.tree),o.clientIds.forEach(i=>{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),hl(r,o.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let i=lpe(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=>{r.tree.delete(a),i[a]||r.tree.delete("controlled||"+a)}),BO(r,o.blocks),hl(r,o.blocks.map(a=>a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&&(c===""||r.byClientId.get(c))&&s.push(c)}hl(r,s,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&&(s===""||r.byClientId.get(s))&&n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=>{r.tree.delete(i),r.tree.delete("controlled||"+i)}),hl(r,n,!0);break;case"MOVE_BLOCKS_TO_POSITION":{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(""),o.toRootClientId&&i.push(o.toRootClientId),r.tree=new Map(r.tree),hl(r,i,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{let i=[o.rootClientId?o.rootClientId:""];r.tree=new Map(r.tree),hl(r,i,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{let i=[];r.attributes.forEach((s,a)=>{r.byClientId.get(a).name==="core/block"&&s.ref===o.updatedId&&i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=>{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),hl(r,i,!1)}}return r};function fpe(e){let t,o=!1,r;return(n,i)=>{let s=e(n,i),a;if(i.type==="SET_EXPLICIT_PERSISTENT"&&(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type==="MARK_LAST_CHANGE_AS_PERSISTENT"||o;return n===s&&!c?(o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!upe(i,t)},t=i,o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",s)}}function mpe(e){let t=new Set(["RECEIVE_BLOCKS"]);return(o,r)=>{let n=e(o,r);return n!==o&&(n.isIgnoredChange=t.has(r.type)),n}}var ppe=e=>(t,o)=>{let r=n=>{let i=n;for(let s=0;s(t,o)=>{if(o.type==="RESET_BLOCKS"){let r=t?.controlledInnerBlocks??{},n={...t,byClientId:new Map(wO(o.blocks)),attributes:new Map(CO(o.blocks)),order:Kk(o.blocks),parents:new Map(w0(o.blocks)),controlledInnerBlocks:r};if(t?.order)for(let i of Object.keys(r)){if(!r[i]||!n.byClientId.has(i))continue;let s=t.order.get(i);if(!s?.length)continue;n.order.set(i,s);let a=(c,u)=>{let d=t.byClientId?.get(c);if(!d)return;n.byClientId.set(c,d),n.attributes.set(c,t.attributes?.get(c)),n.parents.set(c,u);let f=t.order?.get(c)||[];n.order.set(c,f),f.forEach(m=>a(m,c))};s.forEach(c=>a(c,i))}n.tree=new Map(t?.tree),BO(n,o.blocks);for(let i of Object.keys(r)){if(!r[i]||!n.byClientId.has(i))continue;let s=n.order.get(i);if(!s?.length)continue;let a=s.map(u=>n.tree.get(u)),c=n.tree.get(i);c&&(c.innerBlocks=a),n.tree.set("controlled||"+i,{innerBlocks:a})}return n.tree.set("",{innerBlocks:o.blocks.map(i=>n.tree.get(i.clientId))}),n}return e(t,o)},gpe=e=>(t,o)=>{if(o.type!=="REPLACE_INNER_BLOCKS")return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&&(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&&(n=e(n,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:"INSERT_BLOCKS",index:0});let s=new Map(i.order);Object.keys(r).forEach(a=>{t.order.get(a)&&s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=>{let c=`controlled||${a}`;t.tree.has(c)&&i.tree.set(c,t.tree.get(c))})}return i},bpe=e=>(t,o)=>{if(t&&o.type==="SAVE_REUSABLE_BLOCK_SUCCESS"){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=>{let{name:a}=t.byClientId.get(s);a==="core/block"&&i.ref===r&&t.attributes.set(s,{...i,ref:n})})}return e(t,o)},kpe=e=>(t,o)=>{if(o.type==="SET_HAS_CONTROLLED_INNER_BLOCKS"){if(t.order.get(o.clientId)?.length){let n=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:o.clientId,blocks:[]});return e(n,o)}return e(t,o)}return e(t,o)},vpe=(0,TO.pipe)(qk.combineReducers,bpe,dpe,ppe,gpe,hpe,fpe,mpe,kpe)({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return CO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(n=>!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=>{a[u]!==d&&(s=!0,c[u]=d)}),o=o||s,s&&r.set(n,{...a,...c})}return o?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),CO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=Kk(t.blocks),r=new Map(e);return o.forEach((n,i)=>{i!==""&&r.set(i,n)}),r.set("",(e.get("")??[]).concat(o[""])),r}case"INSERT_BLOCKS":{let{rootClientId:o=""}=t,r=e.get(o)||[],n=Kk(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=>{s.set(c,a)}),s.set(o,g0(r,n.get(o),i)),s}case"MOVE_BLOCKS_TO_POSITION":{let{fromRootClientId:o="",toRootClientId:r="",clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,b0(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=>!n.includes(a))??[]),s.set(r,g0(e.get(r),n,i)),s}case"MOVE_BLOCKS_UP":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,b0(i,s,s-1,o.length)),a}case"MOVE_BLOCKS_DOWN":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,b0(s,a,a+1,o.length)),c}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let{clientIds:o}=t;if(!t.blocks)return e;let r=Kk(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=>{n.delete(i)}),r.forEach((i,s)=>{s!==""&&n.set(s,i)}),n.forEach((i,s)=>{let a=Object.values(i).reduce((c,u)=>u===o[0]?[...c,...r.get("")]:(o.indexOf(u)===-1&&c.push(u),c),[]);n.set(s,a)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o.forEach((r,n)=>{let i=r?.filter(s=>!t.removedClientIds.includes(s))??[];i.length!==r.length&&o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=new Map(e);return w0(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"INSERT_BLOCKS":{let o=new Map(e);return w0(t.blocks,t.rootClientId||"").forEach(([r,n])=>{o.set(r,n)}),o}case"MOVE_BLOCKS_TO_POSITION":{let o=new Map(e);return t.clientIds.forEach(r=>{o.set(r,t.toRootClientId||"")}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),w0(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t==="SET_HAS_CONTROLLED_INNER_BLOCKS"?{...e,[o]:r}:e}});function ype(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e}function Spe(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e}function _pe(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e}function xpe(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e}function wpe(e={},t){return t.type==="SET_BLOCK_VISIBILITY"?{...e,...t.updates}:e}function G6(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case"REMOVE_BLOCKS":return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case"REPLACE_BLOCKS":{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function Cpe(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case"MULTI_SELECT":let{start:s,end:a}=t;return s===e.selectionStart?.clientId&&a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case"RESET_BLOCKS":let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&&!u)return e;if(!t.blocks.some(d=>d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=>d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=G6(e.selectionStart,t),r=G6(e.selectionEnd,t);return o===e.selectionStart&&r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function Bpe(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e}function Epe(e=!0,t){return t.type==="TOGGLE_SELECTION"?t.isSelectionEnabled:e}function Tpe(e=null,t){switch(t.type){case"SHOW_VIEWPORT_MODAL":return t.clientIds;case"HIDE_VIEWPORT_MODAL":return null}return e}function Ipe(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e}function Ppe(e=!1,t){return t.type==="SET_BLOCK_REMOVAL_RULES"?t.rules:e}function Rpe(e=null,t){return t.type==="REPLACE_BLOCKS"&&t.initialPosition!==void 0||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e}function Ope(e={},t){if(t.type==="TOGGLE_BLOCK_MODE"){let{clientId:o}=t;return{...e,[o]:e[o]&&e[o]==="html"?"visual":"html"}}return e}function Ape(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,Yk.default)(e,a)?e:a}case"HIDE_INSERTION_POINT":return null}return e}function Lpe(e={isValid:!0},t){return t.type==="SET_TEMPLATE_VALIDITY"?{...e,isValid:t.isValid}:e}function Npe(e=Wk,t){if(t.type==="UPDATE_SETTINGS"){let o=t.reset?{...Wk,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,"__unstableIsPreviewMode",{get(){return(0,W6.default)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),o}return e}function Mpe(e=H6,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{let o=t.blocks.reduce((r,n)=>{let{attributes:i,name:s}=n,a=s,c=(0,qk.select)(C0.store).getActiveBlockVariation(s,i);return c?.name&&(a+="/"+c.name),s==="core/block"&&(a+="/"+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var Dpe=(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":{let o=new Set,r=[...t.blocks];for(;r.length;){let n=r.shift();o.add(n.clientId),r.push(...n.innerBlocks)}return Object.fromEntries(Object.entries(e).filter(([n])=>!t.clientIds.includes(n)||o.has(n)))}case"REMOVE_BLOCKS":return Object.fromEntries(Object.entries(e).filter(([o])=>!t.clientIds.includes(o)));case"UPDATE_BLOCK_LIST_SETTINGS":{let o=typeof t.clientId=="string"?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,Yk.default)(e[n],o[n])&&delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function Vpe(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((o,r)=>({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function Fpe(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function zpe(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e}function jpe(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function Upe(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;let o=t.blocks.map(n=>n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case"RESET_BLOCKS":return{}}return e}function Hpe(e,t){return t.type==="EDIT_CONTENT_ONLY_SECTION"?t.clientId:e}function Gpe(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}case"RESET_BLOCKS":return e.has("")?new Map().set("",e.get("")):e}return e}function Wpe(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{let o=new Map(e);return o.delete(t.id),o}}return e}function $pe(e=[],t){return t.type==="REGISTER_INSERTER_MEDIA_CATEGORY"?[...e,t.category]:e}function Kpe(e=!1,t){return t.type==="LAST_FOCUS"?t.lastFocus:e}function Ype(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e}function qpe(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e}function Zpe(e={allOpen:!1,panels:{}},t){switch(t.type){case"SET_OPEN_LIST_VIEW_PANEL":return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case"SET_ALL_LIST_VIEW_PANELS_OPEN":return{allOpen:!0,panels:{}};case"TOGGLE_LIST_VIEW_PANEL":return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":{if(!t.clientIds||t.clientIds.length===0)return e;let o={...e.panels},r=!1;return t.clientIds.forEach(n=>{n in o&&(delete o[n],r=!0)}),r?{...e,panels:o}:e}case"RESET_BLOCKS":return{allOpen:!1,panels:{}}}return e}function Xpe(e=0,t){return t.type==="INCREMENT_LIST_VIEW_EXPAND_REVISION"?e+1:e}function Qpe(e=!1,t){switch(t.type){case"OPEN_LIST_VIEW_CONTENT_PANEL":return!0;case"CLOSE_LIST_VIEW_CONTENT_PANEL":return!1;case"CLEAR_SELECTED_BLOCK":return!1}return e}function Jpe(e=null,t){switch(t.type){case"REQUEST_INSPECTOR_TAB":return{tabName:t.tabName,options:t.options};case"CLEAR_REQUESTED_INSPECTOR_TAB":return null}return e}var ehe=(0,qk.combineReducers)({blocks:vpe,isDragging:_pe,isTyping:Spe,isBlockInterfaceHidden:ype,draggedBlocks:xpe,selection:Cpe,isMultiSelecting:Bpe,isSelectionEnabled:Epe,initialPosition:Rpe,blocksMode:Ope,blockListSettings:Dpe,insertionPoint:qpe,insertionCue:Ape,template:Lpe,settings:Npe,preferences:Mpe,lastBlockAttributesChange:Vpe,lastFocus:Kpe,expandedBlock:jpe,highlightedBlock:Fpe,lastBlockInserted:Upe,editedContentOnlySection:Hpe,blockVisibility:wpe,viewportModalClientIds:Tpe,blockEditingModes:Gpe,styleOverrides:Wpe,removalPromptData:Ipe,blockRemovalRules:Ppe,registeredInserterMediaCategories:$pe,zoomLevel:Ype,hasBlockSpotlight:zpe,openedListViewPanels:Zpe,listViewExpandRevision:Xpe,listViewContentPanelOpen:Qpe,requestedInspectorTab:Jpe});function K6(e,t){if(t===""){let n=e.blocks.tree.get(t);return n?{clientId:"",...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function IO(e,t,o){let r=K6(e,t);if(r&&(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)IO(e,n.clientId,o)}function $k(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function the(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}function EO(e,t=""){let o=e?.zoomLevel<100||e?.zoomLevel==="auto-scaled",r=new Map,n=e.settings?.[Zc],i=e.blocks.order.get(n),s=Array.from(e.blockEditingModes).some(([,p])=>p==="disabled"),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(p=>{let g=e.blocks.byClientId?.get(p);g?.name==="core/template-part"&&a.push(p),g?.name==="core/block"&&c.push(p)});let u=Object.keys(e.blockListSettings).filter(p=>e.blockListSettings[p]?.templateLock==="contentOnly"),d=e.settings?.[Xc],f=e.settings?.disableContentOnlyForUnsyncedPatterns,m=d||f?[]:Array.from(e.blocks.attributes.keys()).filter(p=>e.blocks.attributes.get(p)?.metadata?.patternName),h=[...u,...m,...d?[]:a];return IO(e,t,p=>{let{clientId:g,name:b}=p,v=!!e.editedContentOnlySection,k=!1;if(v&&(k=g===e.editedContentOnlySection||!!$k(e,g,[e.editedContentOnlySection]),!k)){r.set(g,"disabled");return}if(!e.blockEditingModes.has(g)){if(s){let y,S=e.blocks.parents.get(g);for(;S!==void 0&&(e.blockEditingModes.has(S)&&(y=e.blockEditingModes.get(S)),!y);)S=e.blocks.parents.get(S);if(y==="disabled"){r.set(g,"disabled");return}}if(o){if(g===n){r.set(g,"contentOnly");return}if(!i?.length){r.set(g,"disabled");return}if(i.includes(g)){r.set(g,"contentOnly");return}r.set(g,"disabled");return}if(c.length){if(c.includes(g)){if($k(e,g,c)){r.set(g,"disabled");return}return}let y=$k(e,g,c);if(y){if($k(e,y,c)){r.set(g,"disabled");return}if(the(p)){r.set(g,"contentOnly");return}r.set(g,"disabled");return}}if(v&&k){r.set(g,"default");return}h.length&&$k(e,g,h)&&(spe(b)?r.set(g,"contentOnly"):r.set(g,"disabled"))}}),r}function Qc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=>{IO(e,s,a=>{n.has(a.clientId)&&(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=>{let a=EO(t,s.clientId);a.size&&(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function ohe(e){return(t,o)=>{let r=e(t,o);if(o.type!=="SET_EDITOR_MODE"&&r===t)return t;switch(o.type){case"REMOVE_BLOCKS":{let n=Qc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{if(r.settings?.disableContentOnlyForUnsyncedPatterns)break;let i=[],s=[];for(let c of o?.clientIds){let u=o.options?.uniqueByBlock?o.attributes[c]:o.attributes;if(!u)break;u.metadata?.patternName&&!t.blocks.attributes.get(c)?.metadata?.patternName?i.push(r.blocks.tree.get(c)):u.metadata&&!u.metadata?.patternName&&t.blocks.attributes.get(c)?.metadata?.patternName&&s.push(c)}if(!i?.length&&!s?.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:i,removedClientIds:s});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{let n=[],i=[],s=typeof o.clientId=="string"?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!=="contentOnly"&&r.blockListSettings[c]?.templateLock==="contentOnly",d=t.blockListSettings[c]?.templateLock==="contentOnly"&&r.blockListSettings[c]?.templateLock!=="contentOnly";u?n.push(r.blocks.tree.get(c)):d&&i.push(c)}if(!n.length&&!i.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{let n=K6(r,o.clientId);if(!n)break;let i=Qc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{let n=t.blocks.order.get(o.rootClientId),i=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{let n=o.clientIds.map(s=>r.blocks.byClientId.get(s)),i=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":{if(t?.settings?.[Zc]!==r?.settings?.[Zc]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[Xc]!=!!r?.settings?.[Xc])return{...r,derivedBlockEditingModes:EO(r)};break}case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:EO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function rhe(e){return(t,o)=>{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type==="MARK_AUTOMATIC_CHANGE"?{...r,automaticChangeStatus:"pending"}:o.type==="MARK_AUTOMATIC_CHANGE_FINAL"&&t.automaticChangeStatus==="pending"?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||r.automaticChangeStatus!=="final"&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var Y6=(0,TO.pipe)(ohe,rhe)(ehe);var rM={};Tp(rM,{__experimentalGetActiveBlockIdByBlockNames:()=>obe,__experimentalGetAllowedBlocks:()=>zge,__experimentalGetAllowedPatterns:()=>Gge,__experimentalGetBlockListSettingsForBlocks:()=>qge,__experimentalGetDirectInsertBlock:()=>jge,__experimentalGetGlobalBlocksByName:()=>Xhe,__experimentalGetLastBlockAttributeChanges:()=>Qge,__experimentalGetParsedPattern:()=>Uge,__experimentalGetPatternTransformItems:()=>Kge,__experimentalGetPatternsByBlockTypes:()=>$ge,__experimentalGetReusableBlockTitle:()=>Zge,__unstableGetBlockWithoutInnerBlocks:()=>Yhe,__unstableGetClientIdWithClientIdsTree:()=>bj,__unstableGetClientIdsTree:()=>kj,__unstableGetContentLockingParent:()=>ube,__unstableGetSelectedBlocksWithPartialSelection:()=>vge,__unstableGetTemporarilyEditingAsBlocks:()=>dbe,__unstableGetVisibleBlocks:()=>sbe,__unstableHasActiveBlockOverlayActive:()=>Aj,__unstableIsFullySelected:()=>hge,__unstableIsLastBlockChangeIgnored:()=>Xge,__unstableIsSelectionCollapsed:()=>gge,__unstableIsSelectionMergeable:()=>kge,__unstableIsWithinBlockOverlay:()=>abe,__unstableSelectionHasUnmergeableBlock:()=>bge,areInnerBlocksControlled:()=>Pw,canEditBlock:()=>Pj,canInsertBlockType:()=>Mf,canInsertBlocks:()=>Age,canLockBlockType:()=>Nge,canMoveBlock:()=>Ij,canMoveBlocks:()=>Lge,canRemoveBlock:()=>QN,canRemoveBlocks:()=>Tj,didAutomaticChange:()=>ebe,getAdjacentBlockClientId:()=>YN,getAllowedBlocks:()=>WN,getBlock:()=>xl,getBlockAttributes:()=>Bi,getBlockCount:()=>Jhe,getBlockEditingMode:()=>Ei,getBlockHierarchyRootClientId:()=>ige,getBlockIndex:()=>xj,getBlockInsertionPoint:()=>Ige,getBlockListSettings:()=>oM,getBlockMode:()=>wge,getBlockName:()=>ut,getBlockNamesByClientId:()=>Qhe,getBlockOrder:()=>wr,getBlockParents:()=>ys,getBlockParentsByBlockName:()=>KN,getBlockRootClientId:()=>Io,getBlockSelectionEnd:()=>tge,getBlockSelectionStart:()=>ege,getBlockTransformItems:()=>Vge,getBlocks:()=>qhe,getBlocksByClientId:()=>Iw,getBlocksByName:()=>yj,getClientIdsOfDescendants:()=>vj,getClientIdsWithDescendants:()=>Wp,getDirectInsertBlock:()=>Oj,getDraggedBlockClientIds:()=>Bge,getFirstMultiSelectedBlockClientId:()=>qN,getGlobalBlockCount:()=>Zhe,getHoveredBlockClientId:()=>ibe,getInserterItems:()=>Dge,getLastMultiSelectedBlockClientId:()=>Sj,getLowestCommonAncestorWithSelectedBlock:()=>sge,getMultiSelectedBlockClientIds:()=>du,getMultiSelectedBlocks:()=>uge,getMultiSelectedBlocksEndClientId:()=>pge,getMultiSelectedBlocksStartClientId:()=>mge,getNextBlockClientId:()=>lge,getPatternsByBlockTypes:()=>Wge,getPreviousBlockClientId:()=>age,getSelectedBlock:()=>nge,getSelectedBlockClientId:()=>Kp,getSelectedBlockClientIds:()=>Yp,getSelectedBlockCount:()=>oge,getSelectedBlocksInitialCaretPosition:()=>cge,getSelectionEnd:()=>Rv,getSelectionStart:()=>Pv,getSettings:()=>su,getTemplate:()=>Oge,getTemplateLock:()=>da,hasBlockMovingClientId:()=>Jge,hasDraggedInnerBlock:()=>Bj,hasInserterItems:()=>Fge,hasMultiSelection:()=>Sge,hasSelectedBlock:()=>rge,hasSelectedInnerBlock:()=>Cj,isAncestorBeingDragged:()=>Ege,isAncestorMultiSelected:()=>fge,isBlockBeingDragged:()=>ZN,isBlockHighlighted:()=>tbe,isBlockInsertionPointVisible:()=>Pge,isBlockMultiSelected:()=>_j,isBlockSelected:()=>wj,isBlockValid:()=>Khe,isBlockVisible:()=>nbe,isBlockWithinSelection:()=>yge,isCaretWithinFormattedText:()=>Tge,isDraggingBlocks:()=>Ej,isFirstMultiSelectedBlock:()=>dge,isGroupable:()=>cbe,isLastBlockChangePersistent:()=>Yge,isMultiSelecting:()=>_ge,isSelectionEnabled:()=>xge,isTyping:()=>Cge,isUngroupable:()=>lbe,isValidTemplate:()=>Rge,wasBlockJustInserted:()=>rbe});var Ee=l($(),1),pj=l(O(),1),hj=l(ct(),1);var B0=l(O(),1),we=(0,B0.forwardRef)(({icon:e,size:t=24,...o},r)=>(0,B0.cloneElement)(e,{width:t,height:t,...o,ref:r}));var E0=l(q(),1),PO=l(w(),1),yf=(0,PO.jsx)(E0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PO.jsx)(E0.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var T0=l(q(),1),RO=l(w(),1),OO=(0,RO.jsx)(T0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RO.jsx)(T0.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})});var I0=l(q(),1),AO=l(w(),1),Jc=(0,AO.jsx)(I0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AO.jsx)(I0.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var P0=l(q(),1),LO=l(w(),1),Sf=(0,LO.jsx)(P0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LO.jsx)(P0.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var R0=l(q(),1),NO=l(w(),1),eu=(0,NO.jsx)(R0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NO.jsx)(R0.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var O0=l(q(),1),MO=l(w(),1),DO=(0,MO.jsx)(O0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MO.jsx)(O0.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})});var A0=l(q(),1),VO=l(w(),1),Zk=(0,VO.jsx)(A0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VO.jsx)(A0.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var L0=l(q(),1),FO=l(w(),1),Xk=(0,FO.jsx)(L0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FO.jsx)(L0.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var N0=l(q(),1),zO=l(w(),1),jO=(0,zO.jsx)(N0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zO.jsx)(N0.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})});var M0=l(q(),1),UO=l(w(),1),HO=(0,UO.jsx)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UO.jsx)(M0.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var D0=l(q(),1),GO=l(w(),1),Qk=(0,GO.jsx)(D0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GO.jsx)(D0.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})});var V0=l(q(),1),WO=l(w(),1),$O=(0,WO.jsx)(V0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WO.jsx)(V0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z"})});var F0=l(q(),1),KO=l(w(),1),gl=(0,KO.jsx)(F0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KO.jsx)(F0.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var z0=l(q(),1),YO=l(w(),1),zn=(0,YO.jsx)(z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YO.jsx)(z0.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var j0=l(q(),1),qO=l(w(),1),Jk=(0,qO.jsx)(j0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qO.jsx)(j0.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var U0=l(q(),1),ZO=l(w(),1),Mr=(0,ZO.jsx)(U0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZO.jsx)(U0.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var H0=l(q(),1),XO=l(w(),1),tu=(0,XO.jsx)(H0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XO.jsx)(H0.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var G0=l(q(),1),QO=l(w(),1),Vo=(0,QO.jsx)(G0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QO.jsx)(G0.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var W0=l(q(),1),JO=l(w(),1),_f=(0,JO.jsx)(W0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JO.jsx)(W0.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var $0=l(q(),1),eA=l(w(),1),xf=(0,eA.jsx)($0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eA.jsx)($0.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var K0=l(q(),1),tA=l(w(),1),oA=(0,tA.jsx)(K0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tA.jsx)(K0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z"})});var Y0=l(q(),1),rA=l(w(),1),nA=(0,rA.jsx)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rA.jsx)(Y0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})});var q0=l(q(),1),iA=l(w(),1),wf=(0,iA.jsx)(q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iA.jsx)(q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var Z0=l(q(),1),sA=l(w(),1),aA=(0,sA.jsx)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sA.jsx)(Z0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})});var Cf=l(q(),1),Lp=l(w(),1),lA=(0,Lp.jsxs)(Cf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Lp.jsx)(Cf.G,{opacity:".25",children:(0,Lp.jsx)(Cf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Lp.jsx)(Cf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z"})]});var Bf=l(q(),1),Np=l(w(),1),cA=(0,Np.jsxs)(Bf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Np.jsx)(Bf.G,{opacity:".25",children:(0,Np.jsx)(Bf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Np.jsx)(Bf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z"})]});var Ef=l(q(),1),Mp=l(w(),1),uA=(0,Mp.jsxs)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Mp.jsx)(Ef.G,{opacity:".25",children:(0,Mp.jsx)(Ef.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Mp.jsx)(Ef.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z"})]});var Tf=l(q(),1),Dp=l(w(),1),dA=(0,Dp.jsxs)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Dp.jsx)(Tf.G,{opacity:".25",children:(0,Dp.jsx)(Tf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Dp.jsx)(Tf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z"})]});var X0=l(q(),1),fA=l(w(),1),mA=(0,fA.jsx)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fA.jsx)(X0.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})});var Q0=l(q(),1),pA=l(w(),1),ev=(0,pA.jsx)(Q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pA.jsx)(Q0.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});var J0=l(q(),1),hA=l(w(),1),gA=(0,hA.jsx)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hA.jsx)(J0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})});var ex=l(q(),1),bA=l(w(),1),If=(0,bA.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bA.jsx)(ex.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var tx=l(q(),1),kA=l(w(),1),vA=(0,kA.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kA.jsx)(tx.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})});var ox=l(q(),1),yA=l(w(),1),SA=(0,yA.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yA.jsx)(ox.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var rx=l(q(),1),_A=l(w(),1),xA=(0,_A.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_A.jsx)(rx.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})});var nx=l(q(),1),wA=l(w(),1),CA=(0,wA.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wA.jsx)(nx.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})});var ix=l(q(),1),BA=l(w(),1),EA=(0,BA.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BA.jsx)(ix.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})});var sx=l(q(),1),TA=l(w(),1),IA=(0,TA.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TA.jsx)(sx.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})});var ax=l(q(),1),PA=l(w(),1),RA=(0,PA.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PA.jsx)(ax.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})});var lx=l(q(),1),OA=l(w(),1),AA=(0,OA.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OA.jsx)(lx.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})});var cx=l(q(),1),LA=l(w(),1),NA=(0,LA.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LA.jsx)(cx.Path,{d:"M12.75 19.45 15 17.5l1 1.1-4 3.4-4-3.4 1-1.1 2.25 1.95V14.5h1.5v4.95ZM19 12.75H5v-1.5h14v1.5ZM16 5.4l-1 1.1-2.25-1.95V9.5h-1.5V4.55L9 6.5 8 5.4 12 2l4 3.4Z"})});var ux=l(q(),1),MA=l(w(),1),dx=(0,MA.jsx)(ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MA.jsx)(ux.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var fx=l(q(),1),DA=l(w(),1),tv=(0,DA.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DA.jsx)(fx.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})});var mx=l(q(),1),VA=l(w(),1),ov=(0,VA.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VA.jsx)(mx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})});var px=l(q(),1),FA=l(w(),1),rv=(0,FA.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FA.jsx)(px.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var hx=l(q(),1),zA=l(w(),1),jA=(0,zA.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zA.jsx)(hx.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var gx=l(q(),1),UA=l(w(),1),HA=(0,UA.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UA.jsx)(gx.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var bx=l(q(),1),GA=l(w(),1),WA=(0,GA.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GA.jsx)(bx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var kx=l(q(),1),$A=l(w(),1),KA=(0,$A.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$A.jsx)(kx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var vx=l(q(),1),YA=l(w(),1),qA=(0,YA.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YA.jsx)(vx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var yx=l(q(),1),ZA=l(w(),1),XA=(0,ZA.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZA.jsx)(yx.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var Sx=l(q(),1),QA=l(w(),1),JA=(0,QA.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QA.jsx)(Sx.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var _x=l(q(),1),eL=l(w(),1),nv=(0,eL.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eL.jsx)(_x.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var xx=l(q(),1),tL=l(w(),1),oL=(0,tL.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tL.jsx)(xx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var wx=l(q(),1),rL=l(w(),1),nL=(0,rL.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rL.jsx)(wx.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})});var Cx=l(q(),1),iL=l(w(),1),sL=(0,iL.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iL.jsx)(Cx.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})});var Bx=l(q(),1),aL=l(w(),1),ou=(0,aL.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aL.jsx)(Bx.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})});var Ex=l(q(),1),lL=l(w(),1),ru=(0,lL.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lL.jsx)(Ex.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})});var Tx=l(q(),1),cL=l(w(),1),nu=(0,cL.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,cL.jsx)(Tx.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})});var Ix=l(q(),1),uL=l(w(),1),dL=(0,uL.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uL.jsx)(Ix.Path,{d:"M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z"})});var Px=l(q(),1),fL=l(w(),1),Vp=(0,fL.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fL.jsx)(Px.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})});var Rx=l(q(),1),mL=l(w(),1),pL=(0,mL.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mL.jsx)(Rx.Path,{d:"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z"})});var Ox=l(q(),1),hL=l(w(),1),Fp=(0,hL.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hL.jsx)(Ox.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})});var Ax=l(q(),1),gL=l(w(),1),bL=(0,gL.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gL.jsx)(Ax.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})});var Lx=l(q(),1),kL=l(w(),1),bl=(0,kL.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kL.jsx)(Lx.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});var Nx=l(q(),1),vL=l(w(),1),yL=(0,vL.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vL.jsx)(Nx.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Mx=l(q(),1),SL=l(w(),1),xi=(0,SL.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SL.jsx)(Mx.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var Dx=l(q(),1),_L=l(w(),1),fn=(0,_L.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_L.jsx)(Dx.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var Vx=l(q(),1),xL=l(w(),1),iv=(0,xL.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xL.jsx)(Vx.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var Fx=l(q(),1),wL=l(w(),1),CL=(0,wL.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wL.jsx)(Fx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})});var zx=l(q(),1),BL=l(w(),1),EL=(0,BL.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BL.jsx)(zx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})});var jx=l(q(),1),TL=l(w(),1),Pf=(0,TL.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TL.jsx)(jx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})});var sv=l(q(),1),av=l(w(),1),zp=(0,av.jsxs)(sv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,av.jsx)(sv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,av.jsx)(sv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var Ux=l(q(),1),IL=l(w(),1),lv=(0,IL.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IL.jsx)(Ux.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})});var Hx=l(q(),1),PL=l(w(),1),ks=(0,PL.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PL.jsx)(Hx.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var cv=l(q(),1),uv=l(w(),1),kl=(0,uv.jsxs)(cv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,uv.jsx)(cv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,uv.jsx)(cv.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var Gx=l(q(),1),RL=l(w(),1),OL=(0,RL.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RL.jsx)(Gx.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var Wx=l(q(),1),AL=l(w(),1),Rf=(0,AL.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AL.jsx)(Wx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var $x=l(q(),1),LL=l(w(),1),NL=(0,LL.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LL.jsx)($x.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})});var Kx=l(q(),1),ML=l(w(),1),wi=(0,ML.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ML.jsx)(Kx.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var Yx=l(q(),1),DL=l(w(),1),VL=(0,DL.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DL.jsx)(Yx.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var qx=l(q(),1),FL=l(w(),1),zL=(0,FL.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FL.jsx)(qx.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var Zx=l(q(),1),jL=l(w(),1),UL=(0,jL.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jL.jsx)(Zx.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var Xx=l(q(),1),HL=l(w(),1),GL=(0,HL.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HL.jsx)(Xx.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var Qx=l(q(),1),WL=l(w(),1),$L=(0,WL.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WL.jsx)(Qx.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var Jx=l(q(),1),KL=l(w(),1),YL=(0,KL.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KL.jsx)(Jx.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var ew=l(q(),1),qL=l(w(),1),Dr=(0,qL.jsx)(ew.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qL.jsx)(ew.Path,{d:"M7 11.5h10V13H7z"})});var tw=l(q(),1),ZL=l(w(),1),XL=(0,ZL.jsx)(tw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZL.jsx)(tw.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var ow=l(q(),1),QL=l(w(),1),JL=(0,QL.jsx)(ow.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QL.jsx)(ow.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var rw=l(q(),1),eN=l(w(),1),tN=(0,eN.jsx)(rw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eN.jsx)(rw.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var nw=l(q(),1),oN=l(w(),1),Of=(0,oN.jsx)(nw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,oN.jsx)(nw.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})});var dv=l(q(),1),fv=l(w(),1),rN=(0,fv.jsxs)(dv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fv.jsx)(dv.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,fv.jsx)(dv.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var iw=l(q(),1),nN=l(w(),1),iN=(0,nN.jsx)(iw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nN.jsx)(iw.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})});var sw=l(q(),1),sN=l(w(),1),aw=(0,sN.jsx)(sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sN.jsx)(sw.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})});var mv=l(q(),1),pv=l(w(),1),aN=(0,pv.jsxs)(mv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,pv.jsx)(mv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,pv.jsx)(mv.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]});var jp=l(q(),1),Up=l(w(),1),lN=(0,Up.jsxs)(jp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Up.jsx)(jp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Up.jsx)(jp.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,Up.jsx)(jp.Path,{d:"m18 7.5v9h1.5v-9z"})]});var hv=l(q(),1),gv=l(w(),1),cN=(0,gv.jsxs)(hv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,gv.jsx)(hv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,gv.jsx)(hv.Path,{d:"m4.5 16.5v-9h1.5v9z"})]});var bv=l(q(),1),kv=l(w(),1),uN=(0,kv.jsxs)(bv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,kv.jsx)(bv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,kv.jsx)(bv.Path,{d:"m18 16.5v-9h1.5v9z"})]});var vv=l(q(),1),yv=l(w(),1),dN=(0,yv.jsxs)(vv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,yv.jsx)(vv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,yv.jsx)(vv.Path,{d:"m16.5 6h-9v-1.5h9z"})]});var Hp=l(q(),1),Gp=l(w(),1),fN=(0,Gp.jsxs)(Hp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Gp.jsx)(Hp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Gp.jsx)(Hp.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,Gp.jsx)(Hp.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]});var lw=l(q(),1),mN=l(w(),1),pN=(0,mN.jsx)(lw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mN.jsx)(lw.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var cw=l(q(),1),hN=l(w(),1),Sv=(0,hN.jsx)(cw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hN.jsx)(cw.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})});var uw=l(q(),1),gN=l(w(),1),Af=(0,gN.jsx)(uw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gN.jsx)(uw.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var dw=l(q(),1),bN=l(w(),1),kN=(0,bN.jsx)(dw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bN.jsx)(dw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var fw=l(q(),1),vN=l(w(),1),Ci=(0,vN.jsx)(fw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vN.jsx)(fw.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var mw=l(q(),1),yN=l(w(),1),SN=(0,yN.jsx)(mw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yN.jsx)(mw.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})});var pw=l(q(),1),_N=l(w(),1),xN=(0,_N.jsx)(pw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_N.jsx)(pw.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})});var hw=l(q(),1),wN=l(w(),1),CN=(0,wN.jsx)(hw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wN.jsx)(hw.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})});var gw=l(q(),1),BN=l(w(),1),EN=(0,BN.jsx)(gw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BN.jsx)(gw.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})});var bw=l(q(),1),TN=l(w(),1),IN=(0,TN.jsx)(bw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TN.jsx)(bw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})});var kw=l(q(),1),PN=l(w(),1),RN=(0,PN.jsx)(kw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PN.jsx)(kw.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})});var vw=l(q(),1),ON=l(w(),1),vl=(0,ON.jsx)(vw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ON.jsx)(vw.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})});var yw=l(q(),1),AN=l(w(),1),vs=(0,AN.jsx)(yw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AN.jsx)(yw.Path,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})});var Sw=l(q(),1),LN=l(w(),1),NN=(0,LN.jsx)(Sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LN.jsx)(Sw.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var _w=l(q(),1),MN=l(w(),1),DN=(0,MN.jsx)(_w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MN.jsx)(_w.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var xw=l(q(),1),VN=l(w(),1),FN=(0,VN.jsx)(xw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VN.jsx)(xw.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})});var _l=l(dr(),1),jn=l(Oe(),1),Te=l(F(),1);var dj=l($(),1),fj=l(Q6(),1);var Kt="core/block-editor";var Bw={};Tp(Bw,{getAllPatterns:()=>She,getBlockRemovalRules:()=>hhe,getBlockSettings:()=>ej,getBlockStyles:()=>Ehe,getBlockWithoutAttributes:()=>uhe,getClosestAllowedInsertionPoint:()=>nj,getClosestAllowedInsertionPointForPattern:()=>Ihe,getContentLockingParent:()=>zN,getEditedContentOnlySection:()=>jN,getEnabledBlockParents:()=>mhe,getEnabledClientIdsTree:()=>fhe,getExpandedBlock:()=>Bhe,getInserterMediaCategories:()=>khe,getInsertionPoint:()=>Phe,getLastFocus:()=>whe,getLastInsertedBlocksClientIds:()=>che,getListViewExpandRevision:()=>Vhe,getParentSectionBlock:()=>au,getPatternBySlug:()=>yhe,getRegisteredInserterMediaCategories:()=>bhe,getRemovalPromptData:()=>phe,getRequestedInspectorTab:()=>zhe,getReusableBlocks:()=>xhe,getSectionRootClientId:()=>Nf,getStyleOverrides:()=>ghe,getViewportModalClientIds:()=>Fhe,getZoomLevel:()=>The,hasAllowedPatterns:()=>vhe,hasBlockSpotlight:()=>Lhe,isBlockHiddenAnywhere:()=>Rhe,isBlockHiddenAtViewport:()=>ij,isBlockHiddenEverywhere:()=>GN,isBlockInterfaceHidden:()=>lhe,isBlockParentHiddenAtViewport:()=>Ahe,isBlockParentHiddenEverywhere:()=>Ohe,isBlockSubtreeDisabled:()=>dhe,isContainerInsertableToInContentOnlyMode:()=>xv,isDragging:()=>Che,isEditLockedBlock:()=>sj,isListViewContentPanelOpen:()=>Mhe,isListViewPanelOpened:()=>Dhe,isLockedBlock:()=>Nhe,isMoveLockedBlock:()=>aj,isRemoveLockedBlock:()=>lj,isSectionBlock:()=>lu,isWithinEditedContentOnlySection:()=>UN,isZoomOut:()=>HN});var Vr=l(F(),1),_v=l($(),1);var ww=l(N(),1);var Et={desktop:{label:(0,ww.__)("Desktop"),icon:mA,key:"desktop"},tablet:{label:(0,ww.__)("Tablet"),icon:SN,key:"tablet"},mobile:{label:(0,ww.__)("Mobile"),icon:lv,key:"mobile"}},iu=Object.entries(Et);var Cw=l($(),1),J6=l(ct(),1);function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var yl=(e,t,o)=>{let r=Array.isArray(t)?t:t.split("."),n=e;return r.forEach(i=>{n=n?.[i]}),n??o};var nhe=["color","border","dimensions","typography","spacing"],ihe={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>e.disableCustomColors===void 0?void 0:!e.disableCustomColors,"color.customGradient":e=>e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},she={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"},ahe=e=>she[e]||e;function ej(e,t,...o){let r=ut(e,t),n=[];if(t){let i=t;do{let s=ut(e,i);(0,Cw.hasBlockSupport)(s,"__experimentalSettings",!1)&&n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=>{if(nhe.includes(i)){console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");return}let s=(0,J6.applyFilters)("blockEditor.useSetting.before",void 0,i,t,r);if(s!==void 0)return s;let a=ahe(i);for(let d of n){let f=Bi(e,d);if(s=yl(f.settings?.blocks?.[r],a)??yl(f.settings,a),s!==void 0)break}let c=su(e);if(s===void 0&&r&&(s=yl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&&(s=yl(c.__experimentalFeatures,a)),s!==void 0)return Cw.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=ihe[a]?.(c);return u!==void 0?u:a==="typography.dropCap"?!0:void 0})}var{isContentBlock:tj}=M(_v.privateApis);function lhe(e){return e.isBlockInterfaceHidden}function che(e){return e?.lastBlockInserted?.clientIds}function uhe(e,t){return e.blocks.byClientId.get(t)}var dhe=(e,t)=>{let o=r=>Ei(e,r)==="disabled"&&wr(e,r).every(o);return wr(e,t).every(o)};function xv(e,t,o){let r=tj(t),n=ut(e,o),i=tj(n);return Nf(e)===o||i&&r}function oj(e,t){let o=wr(e,t),r=[];for(let n of o){let i=oj(e,n);Ei(e,n)!=="disabled"?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var fhe=(0,Vr.createRegistrySelector)(()=>(0,Vr.createSelector)(oj,e=>[e.blocks.order,e.derivedBlockEditingModes,e.blockEditingModes])),mhe=(0,Vr.createSelector)((e,t,o=!1)=>ys(e,t,o).filter(r=>Ei(e,r)!=="disabled"),e=>[e.blocks.parents,e.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function phe(e){return e.removalPromptData}function hhe(e){return e.blockRemovalRules}var ghe=(0,Vr.createSelector)(e=>{let o=Wp(e).reduce((r,n,i)=>(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=>{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=>[e.blocks.order,e.styleOverrides]);function bhe(e){return e.registeredInserterMediaCategories}var khe=(0,Vr.createSelector)(e=>{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&&!n.length||!o)return;let i=t?.map(({name:a})=>a)||[];return[...t||[],...(n||[]).filter(({name:a})=>!i.includes(a))].filter(a=>!r&&a.name==="openverse"?!1:Object.values(o).some(c=>c.startsWith(`${a.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),vhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o=null)=>{let{getAllPatterns:r}=M(e(Kt)),n=r(),{allowedBlockTypes:i}=su(t);return n.some(s=>{let{inserter:a=!0}=s;if(!a)return!1;let c=Lf(s);return Cv(c,i)&&c.every(({name:u})=>Mf(t,u,o))})},(t,o)=>[...Bv(e)(t),...cu(e)(t,o)])),yhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o)=>{if(o?.startsWith("core/block/")){let r=parseInt(o.slice(11),10),n=M(e(Kt)).getReusableBlocks().find(({id:i})=>i===r);return n?wv(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].find(({name:r})=>r===o)},(t,o)=>o?.startsWith("core/block/")?[M(e(Kt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[qc]?.(e)])),She=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)(t=>[...M(e(Kt)).getReusableBlocks().map(o=>wv(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].filter((o,r,n)=>r===n.findIndex(i=>o.name===i.name)),Bv(e))),_he=[],xhe=(0,Vr.createRegistrySelector)(e=>t=>{let o=t.settings[v0];return(o?o(e):t.settings.__experimentalReusableBlocks)??_he});function whe(e){return e.lastFocus}function Che(e){return e.isDragging}function Bhe(e){return e.expandedBlock}var zN=(e,t)=>{let o=t,r;for(;!r&&(o=e.blocks.parents.get(o));)da(e,o)==="contentOnly"&&(r=o);return r};function rj(e,t){let o=ut(e,t);if(o==="core/block")return!0;let r=Bi(e,t),n=o==="core/template-part",i=e.settings?.[Xc];if((!e.settings?.disableContentOnlyForUnsyncedPatterns&&r?.metadata?.patternName||n)&&!i)return!0;let a=da(e,t)==="contentOnly",c=Io(e,t),u=da(e,c)==="contentOnly";return!!(a&&!u)}var au=(e,t)=>{if(UN(e,t))return;let o=t,r;for(;o=e.blocks.parents.get(o);)rj(e,o)&&(r=o);return r};function lu(e,t){return UN(e,t)||au(e,t)?!1:rj(e,t)}function jN(e){return e.editedContentOnlySection}function UN(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var Ehe=(0,Vr.createSelector)((e,t)=>t.reduce((o,r)=>(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=>[...t.map(o=>e.blocks.attributes.get(o)?.style)]);function Nf(e){return e.settings?.[Zc]}function HN(e){return e.zoomLevel==="auto-scaled"||e.zoomLevel<100}function The(e){return e.zoomLevel}function nj(e,t,o=""){let r=Array.isArray(t)?t:[t],n=s=>r.every(a=>Mf(e,a,s));if(!o){if(n(o))return o;let s=Nf(e);return s&&n(s)?s:null}let i=o;for(;i!==null&&!n(i);)i=Io(e,i);return i}function Ihe(e,t,o){let{allowedBlockTypes:r}=su(e);if(!Cv(Lf(t),r))return null;let i=Lf(t).map(({blockName:s})=>s);return nj(e,i,o)}function Phe(e){return e.insertionPoint}var Rhe=(e,t)=>{let o=ut(e,t);if(!(0,_v.hasBlockSupport)(o,"visibility",!0))return!1;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility;return n===!1?!0:typeof n?.viewport=="object"&&n?.viewport!==null?Object.values(Et).some(i=>n?.viewport?.[i.key]===!1):!1},GN=(e,t)=>{let o=ut(e,t);return(0,_v.hasBlockSupport)(o,"visibility",!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1},Ohe=(e,t)=>ys(e,t).some(r=>GN(e,r)),ij=(e,t,o)=>{if(GN(e,t))return!0;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility?.viewport;return typeof n=="object"&&n!==null&&typeof o=="string"?n?.[o.toLowerCase()]===!1:!1},Ahe=(e,t,o)=>ys(e,t).some(n=>ij(e,n,o));function Lhe(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function sj(e,t){return!!Bi(e,t)?.lock?.edit}function aj(e,t){let o=Bi(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=Io(e,t);return da(e,r)==="all"}function lj(e,t){let o=Bi(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=Io(e,t),n=da(e,r);return n==="all"||n==="insert"}function Nhe(e,t){return sj(e,t)||aj(e,t)||lj(e,t)}function Mhe(e){return e.listViewContentPanelOpen}function Dhe(e,t){return e.openedListViewPanels?.allOpen?!0:e.openedListViewPanels?.panels?.[t]===!0}function Vhe(e){return e.listViewExpandRevision||0}function Fhe(e){return e.viewportModalClientIds}function zhe(e){return e.requestedInspectorTab}var Tv=l(N(),1),Nt={user:"user",theme:"theme",directory:"directory"},Ev={full:"fully",unsynced:"unsynced"},Df={name:"allPatterns",label:(0,Tv._x)("All","patterns")},Sl={name:"myPatterns",label:(0,Tv.__)("My patterns")},$p={name:"core/starter-content",label:(0,Tv.__)("Starter content")};function Ew(e,t,o){let r=e.name.startsWith("core/block"),n=e.source==="core"||e.source?.startsWith("pattern-directory");return!!(t===Nt.theme&&(r||n)||t===Nt.directory&&(r||!n)||t===Nt.user&&e.type!==Nt.user||o===Ev.full&&e.syncStatus!==""||o===Ev.unsynced&&e.syncStatus!=="unsynced"&&r)}var uu=Symbol("isFiltered"),cj=new WeakMap,uj=new WeakMap;function wv(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Nt.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=>{let r=t.find(({id:n})=>n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function jhe(e){let t=(0,dj.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Tw(e){let t=cj.get(e);return t||(t=jhe(e),cj.set(e,t)),t}function Lf(e){let t=uj.get(e);return t||(t=(0,fj.parse)(e.content),t=t.filter(o=>o.blockName!==null),uj.set(e,t)),t}var Vf=(e,t,o=null)=>typeof e=="boolean"?e:Array.isArray(e)?e.includes("core/post-content")&&t===null?!0:e.includes(t):o,Cv=(e,t)=>{if(typeof t=="boolean")return t;let o=[...e];for(;o.length>0;){let r=o.shift();if(!Vf(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=>{o.push(i)})}return!0},Bv=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[qc]?.(e),t.blockPatterns,M(e(Kt)).getReusableBlocks()],cu=()=>(e,t)=>[e.blockListSettings[t],e.blocks.byClientId.get(t),e.blocks.order.get(t||""),e.settings.allowedBlockTypes,e.settings.templateLock,Ei(e,t),Nf(e),lu(e,t),au(e,t)];var Uhe=(e,t,o)=>(r,n)=>{let i,s;if(typeof e=="function"?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i>s)return o==="asc"?1:-1;if(s>i)return o==="asc"?-1:1;let a=t.findIndex(u=>u===r),c=t.findIndex(u=>u===n);return a>c?1:c>a?-1:0};function fa(e,t,o="asc"){return e.concat().sort(Uhe(t,e,o))}var{isContentBlock:$N}=M(Ee.privateApis),Hhe=3600*1e3,Ghe=24*3600*1e3,Whe=168*3600*1e3,fr=[],$he=new Set,gj={[uu]:!0};function ut(e,t){let o=e.blocks.byClientId.get(t),r="core/social-link";if(pj.Platform.OS!=="web"&&o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function Khe(e,t){let o=e.blocks.byClientId.get(t);return!!o&&o.isValid}function Bi(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function xl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var Yhe=(0,Te.createSelector)((e,t)=>{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:Bi(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function qhe(e,t){let o=!t||!Pw(e,t)?t||"":"controlled||"+t;return e.blocks.tree.get(o)?.innerBlocks||fr}var bj=(0,Te.createSelector)((e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),{clientId:t,innerBlocks:kj(e,t)}),e=>[e.blocks.order]),kj=(0,Te.createSelector)((e,t="")=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),wr(e,t).map(o=>bj(e,o))),e=>[e.blocks.order]),vj=(0,Te.createSelector)((e,t)=>{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&&o.push(...i)}let r=0;for(;r[e.blocks.order]),Wp=e=>vj(e,""),Zhe=(0,Te.createSelector)((e,t)=>{let o=Wp(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&&r++;return r},e=>[e.blocks.order,e.blocks.byClientId]),yj=(0,Te.createSelector)((e,t)=>{if(!t)return fr;let o=Array.isArray(t)?t:[t],n=Wp(e).filter(i=>{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length>0?n:fr},e=>[e.blocks.order,e.blocks.byClientId]);function Xhe(e,t){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),yj(e,t)}var Iw=(0,Te.createSelector)((e,t)=>(Array.isArray(t)?t:[t]).map(o=>xl(e,o)),(e,t)=>(Array.isArray(t)?t:[t]).map(o=>e.blocks.tree.get(o))),Qhe=(0,Te.createSelector)((e,t)=>Iw(e,t).filter(Boolean).map(o=>o.name),(e,t)=>Iw(e,t));function Jhe(e,t){return wr(e,t).length}function Pv(e){return e.selection.selectionStart}function Rv(e){return e.selection.selectionEnd}function ege(e){return e.selection.selectionStart.clientId}function tge(e){return e.selection.selectionEnd.clientId}function oge(e){let t=du(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function rge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&&t.clientId===o.clientId}function Kp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function nge(e){let t=Kp(e);return t?xl(e,t):null}function Io(e,t){return e.blocks.parents.get(t)??null}var ys=(0,Te.createSelector)((e,t,o=!1)=>{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():fr},e=>[e.blocks.parents]),KN=(0,Te.createSelector)((e,t,o,r=!1)=>{let n=ys(e,t,r),i=Array.isArray(o)?s=>o.includes(s):s=>o===s;return n.filter(s=>i(ut(e,s)))},e=>[e.blocks.parents]);function ige(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function sge(e,t){let o=Kp(e),r=[...ys(e,t),t],n=[...ys(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return fr;if(t.clientId===o.clientId)return[t.clientId];let r=Io(e,t.clientId);if(r===null)return fr;let n=wr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i>s?n.slice(s,i+1):n.slice(i,s+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function du(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?fr:Yp(e)}var uge=(0,Te.createSelector)(e=>{let t=du(e);return t.length?t.map(o=>xl(e,o)):fr},e=>[...Yp.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function qN(e){return du(e)[0]||null}function Sj(e){let t=du(e);return t[t.length-1]||null}function dge(e,t){return qN(e)===t}function _j(e,t){return du(e).indexOf(t)!==-1}var fge=(0,Te.createSelector)((e,t)=>{let o=t,r=!1;for(;o&&!r;)o=Io(e,o),r=_j(e,o);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function mge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function pge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function hge(e){let t=Pv(e),o=Rv(e);return!t.attributeKey&&!o.attributeKey&&typeof t.offset>"u"&&typeof o.offset>"u"}function gge(e){let t=Pv(e),o=Rv(e);return!!t&&!!o&&t.clientId===o.clientId&&t.attributeKey===o.attributeKey&&t.offset===o.offset}function bge(e){return Yp(e).some(t=>{let o=ut(e,t);return!(0,Ee.getBlockType)(o).merge})}function kge(e,t){let o=Pv(e),r=Rv(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset>"u"||typeof r.offset>"u")return!1;let n=Io(e,o.clientId),i=Io(e,r.clientId);if(n!==i)return!1;let s=wr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a>c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,h=ut(e,f);if(!(0,Ee.getBlockType)(h).merge)return!1;let g=xl(e,m);if(g.name===h)return!0;let b=(0,Ee.switchToBlockType)(g,h);return b&&b.length}var vge=e=>{let t=Pv(e),o=Rv(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset>"u"||typeof o.offset>"u")return fr;let r=Io(e,t.clientId),n=Io(e,o.clientId);if(r!==n)return fr;let i=wr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s>a?[o,t]:[t,o],d=xl(e,c.clientId),f=xl(e,u.clientId),m=d.attributes[c.attributeKey],h=f.attributes[u.attributeKey],p=(0,_l.create)({html:m}),g=(0,_l.create)({html:h});return p=(0,_l.remove)(p,0,c.offset),g=(0,_l.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,_l.toHTMLString)({value:p})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,_l.toHTMLString)({value:g})}}]};function wr(e,t){return e.blocks.order.get(t||"")||fr}function xj(e,t){let o=Io(e,t);return wr(e,o).indexOf(t)}function wj(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Cj(e,t,o=!1){let r=Yp(e);return r.length?o?r.some(n=>ys(e,n,!0).includes(t)):r.some(n=>Io(e,n)===t):!1}function Bj(e,t,o=!1){return wr(e,t).some(r=>ZN(e,r)||o&&Bj(e,r,o))}function yge(e,t){if(!t)return!1;let o=du(e),r=o.indexOf(t);return r>-1&&rZN(e,r)):!1}function Tge(){return(0,jn.default)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Ige=(0,Te.createSelector)(e=>{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=Io(e,i)||void 0,o=xj(e,n.clientId)+1):o=wr(e).length,{rootClientId:t,index:o}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Pge(e){return e.insertionCue!==null}function Rge(e){return e.template.isValid}function Oge(e){return e.settings.template}function da(e,t){if(!t)return e.settings.templateLock??!1;let o=oM(e,t)?.templateLock;return o==="contentOnly"&&e.editedContentOnlySection===t?!1:o??!1}var XN=(e,t,o=null)=>{let r,n;if(t&&typeof t=="object"?(r=t,n=t.name):(r=(0,Ee.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=su(e);if(!Vf(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let c=o,u=!1;do{if(a.includes(ut(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Ov=(e,t,o=null)=>{if(e.settings.isPreviewMode||!XN(e,t,o))return!1;let r;t&&typeof t=="object"?(r=t,t=r.name):r=(0,Ee.getBlockType)(t);let n=da(e,o);if(n&&n!=="contentOnly")return!1;let i=Ei(e,o??"");if(i==="disabled"&&t!==(0,Ee.getDefaultBlockName)())return!1;let s=oM(e,o);if(o&&s===void 0)return!1;let a=$N(t),c=!!lu(e,o),u=c?o:au(e,o),d=!!u;if(d&&!a||d&&ut(e,u)==="core/block")return!1;if((c||i==="contentOnly")&&!xv(e,t,o))if(t===(0,Ee.getDefaultBlockName)()){if(!wr(e,o).some(C=>ut(e,C)===(0,Ee.getDefaultBlockName)()))return!1}else return!1;let f=ut(e,o),h=(0,Ee.getBlockType)(f)?.allowedBlocks,p=Vf(h,t);if(p!==!1){let S=s?.allowedBlocks,x=Vf(S,t);x!==null&&(p=x)}let g=r.parent,b=Vf(g,f),v=!0,k=r.ancestor;k&&(v=[o,...ys(e,o)].some(x=>Vf(k,ut(e,x))));let y=v&&(p===null&&b===null||p===!0||b===!0);return y&&(0,hj.applyFilters)("blockEditor.__unstableCanInsertBlockType",y,r,o,{getBlock:xl.bind(null,e),getBlockParentsByBlockName:KN.bind(null,e)})},Mf=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)(Ov,(t,o,r)=>cu(e)(t,r)));function Age(e,t,o=null){return t.every(r=>Mf(e,ut(e,r),o))}function QN(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=Io(e,t),n=da(e,r);if(n&&n!=="contentOnly")return!1;let i=!!lu(e,r),s=i?r:au(e,r),a=!!s,c=$N(ut(e,t));if(a&&!c||a&&ut(e,s)==="core/block")return!1;let u=Ei(e,r),d=ut(e,t);if((i||u==="contentOnly"||d===(0,Ee.getDefaultBlockName)())&&!xv(e,ut(e,t),r))if(d===(0,Ee.getDefaultBlockName)()){if(wr(e,r).filter(h=>ut(e,h)===(0,Ee.getDefaultBlockName)()).length>1)return!0}else return!1;return u!=="disabled"}function Tj(e,t){return t.every(o=>QN(e,o))}function Ij(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=Io(e,t);if(da(e,r)==="all")return!1;let i=!!au(e,t),s=$N(ut(e,t));if(i&&!s)return!1;let a=!!lu(e,r),c=Ei(e,r);return(a||c==="contentOnly")&&!xv(e,ut(e,t),r)?!1:Ei(e,r)!=="disabled"}function Lge(e,t){return t.every(o=>Ij(e,o))}function Pj(e,t){if(e.settings.isPreviewMode)return!1;let o=Bi(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function Nge(e,t){return e.settings.isPreviewMode||!(0,Ee.hasBlockSupport)(t,"lock",!0)?!1:!!e.settings?.canLockBlocks}function JN(e,t){return e.preferences.insertUsage?.[t]??null}var Iv=(e,t,o)=>(0,Ee.hasBlockSupport)(t,"inserter",!0)?Ov(e,t.name,o):!1,Mge=(e,t)=>o=>{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=JN(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty("example")?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:eM(n,i),isSearchOnly:o.isSearchOnly}},eM=(e,t)=>{if(!e)return t;let o=Date.now()-e;switch(!0){case oo=>{let r=o.name,n=!1;(0,Ee.hasBlockSupport)(o.name,"multiple",!0)||(n=Iw(e,Wp(e)).some(({name:f})=>f===o.name));let{time:i,count:s=0}=JN(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:eM(i,s)};if(t==="transform")return a;let c=(0,Ee.getBlockVariations)(o.name,"inserter"),u=(0,Ee.getBlockVariations)(o.name,"block"),d=[...c,...u.filter(f=>o.name==="core/heading"&&["h1","h2","h3","h4","h5","h6"].includes(f.name)).map(f=>({...f,isSearchOnly:!0}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:d,example:o.example,utility:1}},Dge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null,r=gj)=>{let n=h=>{let p=h.wp_pattern_sync_status?Ci:{src:Ci,foreground:"var(--wp-block-synced-color)"},g=wv(h),{time:b,count:v=0}=JN(t,g.name)||{},k=eM(b,v);return{id:g.name,name:"core/block",initialAttributes:{ref:h.id},title:g.title,icon:p,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:k,content:g.content,get blocks(){return Tw(g).blocks},syncStatus:g.syncStatus}},i=Ov(t,"core/block",o)?M(e(Kt)).getReusableBlocks().map(n):[],s=Rj(t,{buildScope:"inserter"}),a=(0,Ee.getBlockTypes)().filter(h=>(0,Ee.hasBlockSupport)(h,"inserter",!0)).map(s);if(r[uu]!==!1)a=a.filter(h=>Iv(t,h,o));else{let{getClosestAllowedInsertionPoint:h}=M(e(Kt));a=a.filter(p=>XN(t,p,o)&&h(p.name,o)!==null).map(p=>({...p,isAllowedInCurrentRoot:Iv(t,p,o)}))}let c=a.reduce((h,p)=>{let{variations:g=[]}=p;if(g.some(({isDefault:b})=>b)||h.push(p),g.length){let b=Mge(t,p);h.push(...g.map(b))}return h},[]),u=(h,p)=>{let{core:g,noncore:b}=h;return(p.name.startsWith("core/")?g:b).push(p),h},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=>[(0,Ee.getBlockTypes)(),M(e(Kt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...cu(e)(t,o)])),Vge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{let n=Array.isArray(o)?o:[o],i=Rj(t,{buildScope:"transform"}),s=(0,Ee.getBlockTypes)().filter(u=>Iv(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=>[u.name,u])),c=(0,Ee.getPossibleBlockTransformations)(n).reduce((u,d)=>(a[d?.name]&&u.push(a[d.name]),u),[]);return fa(c,u=>a[u.name].frecency,"desc")},(t,o,r)=>[(0,Ee.getBlockTypes)(),t.preferences.insertUsage,...cu(e)(t,r)])),Fge=(e,t=null)=>(0,Ee.getBlockTypes)().some(n=>Iv(e,n,t))?!0:Ov(e,"core/block",t),WN=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null)=>{if(!o)return;let r=(0,Ee.getBlockTypes)().filter(i=>Iv(t,i,o));return Ov(t,"core/block",o)&&r.push("core/block"),r},(t,o)=>[(0,Ee.getBlockTypes)(),...cu(e)(t,o)])),zge=(0,Te.createSelector)((e,t=null)=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),WN(e,t)),(e,t)=>WN.getDependants(e,t));function Oj(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function jge(e,t=null){return(0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),Oj(e,t)}var Uge=(0,Te.createRegistrySelector)(e=>(t,o)=>{let r=M(e(Kt)).getPatternBySlug(o);return r?Tw(r):null}),tM=e=>(t,o)=>[...Bv(e)(t),...cu(e)(t,o)],mj=new WeakMap;function Hge(e){let t=mj.get(e);return t||(t={...e,get blocks(){return Tw(e).blocks}},mj.set(e,t)),t}var Gge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o=null,r=gj)=>{let{getAllPatterns:n}=M(e(Kt)),i=n(),{allowedBlockTypes:s}=su(t);return i.filter(({inserter:d=!0})=>!!d).map(Hge).filter(d=>Cv(Lf(d),s)).filter(d=>Lf(d).every(({blockName:f})=>r[uu]!==!1?Mf(t,f,o):XN(t,f,o)))},tM(e))),Wge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{if(!o)return fr;let n=e(Kt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=>a?.blockTypes?.some?.(c=>i.includes(c)));return s.length===0?fr:s},(t,o,r)=>tM(e)(t,r))),$ge=(0,Te.createRegistrySelector)(e=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(Kt).getPatternsByBlockTypes)),Kge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o,r=null)=>{if(!o||o.some(({clientId:i,innerBlocks:s})=>s.length||Pw(t,i)))return fr;let n=Array.from(new Set(o.map(({name:i})=>i)));return e(Kt).getPatternsByBlockTypes(n,r)},(t,o,r)=>tM(e)(t,r)));function oM(e,t){return e.blockListSettings[t]}function su(e){return e.settings}function Yge(e){return e.blocks.isPersistentChange}var qge=(0,Te.createSelector)((e,t=[])=>t.reduce((o,r)=>e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=>[e.blockListSettings]),Zge=(0,Te.createRegistrySelector)(e=>(0,Te.createSelector)((t,o)=>{(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});let r=M(e(Kt)).getReusableBlocks().find(n=>n.id===o);return r?r.title?.raw:null},()=>[M(e(Kt)).getReusableBlocks()]));function Xge(e){return e.blocks.isIgnoredChange}function Qge(e){return e.lastBlockAttributesChange}function Jge(){return(0,jn.default)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function ebe(e){return!!e.automaticChangeStatus}function tbe(e,t){return e.highlightedBlock===t}function Pw(e,t){return!!e.blocks.controlledInnerBlocks[t]}var obe=(0,Te.createSelector)((e,t)=>{if(!t.length)return null;let o=Kp(e);if(t.includes(ut(e,o)))return o;let r=du(e),n=KN(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function rbe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===o}function nbe(e,t){return e.blockVisibility?.[t]??!0}function ibe(){(0,jn.default)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var sbe=(0,Te.createSelector)(e=>{let t=new Set(Object.keys(e.blockVisibility).filter(o=>e.blockVisibility[o]));return t.size===0?$he:t},e=>[e.blockVisibility]);function Aj(e,t){if(Ei(e,t)!=="default")return!1;if(!Pj(e,t))return!0;if(HN(e)){let n=Nf(e);if(n){if(wr(e,n)?.includes(t))return!0}else if(t&&!Io(e,t))return!0}return((0,Ee.hasBlockSupport)(ut(e,t),"__experimentalDisableBlockOverlay",!1)?!1:Pw(e,t))&&!wj(e,t)&&!Cj(e,t,!0)}function abe(e,t){let o=e.blocks.parents.get(t);for(;o;){if(Aj(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function Ei(e,t=""){return t===null&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blockEditingModes.has(t)?e.blockEditingModes.get(t):"default"}var lbe=(0,Te.createRegistrySelector)(e=>(t,o="")=>{let r=o||Kp(t);if(!r||lu(t,r))return!1;let{getGroupingBlockName:n}=e(Ee.store),i=xl(t,r),s=n();return i&&(i.name===s||(0,Ee.getBlockType)(i.name)?.transforms?.ungroup)&&!!i.innerBlocks.length&&QN(t,r)}),cbe=(0,Te.createRegistrySelector)(e=>(t,o=fr)=>{let{getGroupingBlockName:r}=e(Ee.store),n=r(),i=o?.length?o:Yp(t),s=i?.length?Io(t,i[0]):void 0;return Mf(t,n,s)&&i.length&&Tj(t,i)}),ube=(e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),zN(e,t));function dbe(e){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),jN(e)}var Rw={};Tp(Rw,{__experimentalUpdateSettings:()=>nM,clearBlockRemovalPrompt:()=>bbe,clearRequestedInspectorTab:()=>Nbe,closeListViewContentPanel:()=>Rbe,deleteStyleOverride:()=>ybe,editContentOnlySection:()=>sM,ensureDefaultBlock:()=>Fj,expandBlock:()=>wbe,hideBlockInterface:()=>pbe,hideViewportModal:()=>Abe,openListViewContentPanel:()=>Pbe,privateRemoveBlocks:()=>iM,requestInspectorTab:()=>Lbe,resetZoomLevel:()=>Tbe,setBlockRemovalRules:()=>kbe,setInsertionPoint:()=>Cbe,setLastFocus:()=>Sbe,setStyleOverride:()=>vbe,setZoomLevel:()=>Ebe,showBlockInterface:()=>hbe,showViewportModal:()=>Obe,startDragging:()=>_be,stopDragging:()=>xbe,stopEditingContentOnlySection:()=>Bbe,toggleBlockSpotlight:()=>Ibe});var Nj=l(O(),1),Mj=l(Oe(),1),Dj=l(Xo(),1),Vj=l(N(),1),fbe=e=>Array.isArray(e)?e:[e],mbe=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function nM(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,"__unstableIsPreviewMode")&&((0,Mj.default)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&&Nj.Platform.OS==="web"){n={};for(let i in r)mbe.includes(i)||(n[i]=r[i])}return{type:"UPDATE_SETTINGS",settings:n,reset:o}}function pbe(){return{type:"HIDE_BLOCK_INTERFACE"}}function hbe(){return{type:"SHOW_BLOCK_INTERFACE"}}var iM=(e,t=!0,o=!1)=>({select:r,dispatch:n,registry:i})=>{if(!e||!e.length||(e=fbe(e),!r.canRemoveBlocks(e)))return;let a=!o&&r.getBlockRemovalRules();if(a){let u=function(h){let p=[],g=[...h];for(;g.length;){let{innerBlocks:b,...v}=g.shift();g.push(...b),p.push(v)}return p};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let h of a)if(m=h.callback(f),m){n(gbe(e,t,m));return}}t&&n.selectPreviousBlock(e[0],t),i.batch(()=>{n({type:"REMOVE_BLOCKS",clientIds:e}),n(Fj())})},Fj=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function gbe(e,t,o){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:o}}function bbe(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function kbe(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function vbe(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function ybe(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function Sbe(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function _be(){return{type:"START_DRAGGING"}}function xbe(){return{type:"STOP_DRAGGING"}}function wbe(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function Cbe(e){return{type:"SET_INSERTION_POINT",value:e}}function sM(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function Bbe(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var Ebe=(e=100)=>({select:t,dispatch:o})=>{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=>s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,Dj.speak)((0,Vj.__)("You are currently in zoom-out mode."))}}o({type:"SET_ZOOM_LEVEL",zoom:e})};function Tbe(){return{type:"RESET_ZOOM_LEVEL"}}function Ibe(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}function Pbe(){return{type:"OPEN_LIST_VIEW_CONTENT_PANEL"}}function Rbe(){return{type:"CLOSE_LIST_VIEW_CONTENT_PANEL"}}function Obe(e){return{type:"SHOW_VIEWPORT_MODAL",clientIds:e}}function Abe(){return{type:"HIDE_VIEWPORT_MODAL"}}function Lbe(e,t={}){return{type:"REQUEST_INSPECTOR_TAB",tabName:e,options:t}}function Nbe(){return{type:"CLEAR_REQUESTED_INSPECTOR_TAB"}}var cM={};Tp(cM,{__unstableDeleteSelection:()=>ike,__unstableExpandSelection:()=>ake,__unstableIncrementListViewExpandRevision:()=>jke,__unstableMarkAutomaticChange:()=>Cke,__unstableMarkLastChangeAsPersistent:()=>xke,__unstableMarkNextChangeAsNotPersistent:()=>wke,__unstableSaveReusableBlock:()=>_ke,__unstableSetAllListViewPanelsOpen:()=>Fke,__unstableSetEditorMode:()=>Bke,__unstableSetOpenListViewPanel:()=>Vke,__unstableSetTemporarilyEditingAsBlocks:()=>Lke,__unstableSplitSelection:()=>ske,__unstableToggleListViewPanel:()=>zke,clearSelectedBlock:()=>Ybe,duplicateBlocks:()=>Tke,enterFormattedText:()=>gke,exitFormattedText:()=>bke,flashBlock:()=>Rke,hideInsertionPoint:()=>oke,hoverBlock:()=>Ube,insertAfterBlock:()=>Pke,insertBeforeBlock:()=>Ike,insertBlock:()=>eke,insertBlocks:()=>qj,insertDefaultBlock:()=>vke,mergeBlocks:()=>lke,moveBlockToPosition:()=>Jbe,moveBlocksDown:()=>Xbe,moveBlocksToPosition:()=>Yj,moveBlocksUp:()=>Qbe,multiSelect:()=>Kbe,receiveBlocks:()=>Vbe,registerInserterMediaCategory:()=>Nke,removeBlock:()=>cke,removeBlocks:()=>Zj,replaceBlock:()=>Zbe,replaceBlocks:()=>$j,replaceInnerBlocks:()=>uke,resetBlocks:()=>Mbe,resetSelection:()=>Dbe,selectBlock:()=>jbe,selectNextBlock:()=>Gbe,selectPreviousBlock:()=>Hbe,selectionChange:()=>kke,setBlockEditingMode:()=>Mke,setBlockMovingClientId:()=>Eke,setBlockVisibility:()=>Ake,setHasControlledInnerBlocks:()=>Oke,setTemplateValidity:()=>rke,showInsertionPoint:()=>tke,startDraggingBlocks:()=>pke,startMultiSelect:()=>Wbe,startTyping:()=>fke,stopDraggingBlocks:()=>hke,stopMultiSelect:()=>$be,stopTyping:()=>mke,synchronizeTemplate:()=>nke,toggleBlockHighlight:()=>lM,toggleBlockMode:()=>dke,toggleSelection:()=>qbe,unsetBlockEditingMode:()=>Dke,updateBlock:()=>zbe,updateBlockAttributes:()=>Fbe,updateBlockListSettings:()=>yke,updateSettings:()=>Ske,validateBlocksToTemplate:()=>Wj});var be=l($(),1),Ow=l(Xo(),1),fu=l(N(),1),Hj=l(Ti(),1),dt=l(dr(),1),mu=l(Oe(),1),Gj=l(qp(),1);var Uj=l(dr(),1),wl="\x86";function Av(e){if(e)return Object.keys(e).find(t=>{let o=e[t];return(typeof o=="string"||o instanceof Uj.RichTextData)&&o.toString().indexOf(wl)!==-1})}function aM(e){for(let[t,o]of Object.entries(e.attributes))if(o.source==="rich-text"||o.source==="html")return t}var Zp=e=>Array.isArray(e)?e:[e],Mbe=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(Wj(e))},Wj=e=>({select:t,dispatch:o})=>{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!=="all"||(0,be.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function Dbe(e,t,o){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:o}}function Vbe(e){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Fbe(e,t,o={uniqueByBlock:!1}){return typeof o=="boolean"&&(o={uniqueByBlock:o}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Zp(e),attributes:t,options:o}}function zbe(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function jbe(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Ube(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var Hbe=(e,t=!1)=>({select:o,dispatch:r})=>{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);if(i)r.selectBlock(i,-1);else{let s=o.getNextBlockClientId(e);s&&r.selectBlock(s,0)}}},Gbe=e=>({select:t,dispatch:o})=>{let r=t.getNextBlockClientId(e);r&&o.selectBlock(r)};function Wbe(){return{type:"START_MULTI_SELECT"}}function $be(){return{type:"STOP_MULTI_SELECT"}}var Kbe=(e,t,o=0)=>({select:r,dispatch:n})=>{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:"MULTI_SELECT",start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Ow.speak)((0,fu.sprintf)((0,fu._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function Ybe(){return{type:"CLEAR_SELECTED_BLOCK"}}function qbe(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var $j=(e,t,o,r=0,n)=>({select:i,dispatch:s,registry:a})=>{e=Zp(e),t=Zp(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function Zbe(e,t){return $j(e,t)}var Kj=e=>(t,o)=>({select:r,dispatch:n})=>{r.canMoveBlocks(t)&&n({type:e,clientIds:Zp(t),rootClientId:o})},Xbe=Kj("MOVE_BLOCKS_DOWN"),Qbe=Kj("MOVE_BLOCKS_UP"),Yj=(e,t="",o="",r)=>({select:n,dispatch:i})=>{n.canMoveBlocks(e)&&(t!==o&&(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function Jbe(e,t="",o="",r){return Yj([e],t,o,r)}function eke(e,t,o,r,n,i){return qj([e],t,o,r,n,i)}var qj=(e,t,o,r=!0,n=0,i)=>({select:s,dispatch:a})=>{n!==null&&typeof n=="object"&&(i=n,n=0,(0,mu.default)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=Zp(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&&c.push(u);c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function tke(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var oke=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function rke(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var nke=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});let o=e.getBlocks(),r=e.getTemplate(),n=(0,be.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},ike=e=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset>"u"||typeof i.offset>"u")return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=e?m:f,p=o.getBlock(h.clientId),g=(0,be.getBlockType)(p.name);if(!g.merge)return;let b=f,v=m,k=o.getBlock(b.clientId),y=o.getBlock(v.clientId),S=k.attributes[b.attributeKey],x=y.attributes[v.attributeKey],C=(0,dt.create)({html:S}),B=(0,dt.create)({html:x});C=(0,dt.remove)(C,b.offset,C.text.length),B=(0,dt.insert)(B,wl,0,v.offset);let I=(0,be.cloneBlock)(k,{[b.attributeKey]:(0,dt.toHTMLString)({value:C})}),P=(0,be.cloneBlock)(y,{[v.attributeKey]:(0,dt.toHTMLString)({value:B})}),E=e?I:P,L=k.name===y.name?[E]:(0,be.switchToBlockType)(E,g.name);if(!L||!L.length)return;let T;if(e){let ne=L.pop();T=g.merge(ne.attributes,P.attributes)}else{let ne=L.shift();T=g.merge(I.attributes,ne.attributes)}let R=Av(T),D=T[R],j=(0,dt.create)({html:D}),G=j.text.indexOf(wl),z=(0,dt.remove)(j,G,G+1),U=(0,dt.toHTMLString)({value:z});T[R]=U;let W=o.getSelectedBlockClientIds(),ee=[...e?L:[],{...p,attributes:{...p.attributes,...T}},...e?[]:L];t.batch(()=>{r.selectionChange(p.clientId,R,G,G),r.replaceBlocks(W,ee,0,o.getSelectedBlocksInitialCaretPosition())})},ske=(e=[])=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=f,p=m,g=o.getBlock(h.clientId),b=o.getBlock(p.clientId),v=(0,be.getBlockType)(g.name),k=(0,be.getBlockType)(b.name),y=typeof h.attributeKey=="string"?h.attributeKey:aM(v),S=typeof p.attributeKey=="string"?p.attributeKey:aM(k),x=o.getBlockAttributes(h.clientId);if(x?.metadata?.bindings?.[y]){if(e.length){let{createWarningNotice:ie}=t.dispatch(Hj.store);ie((0,fu.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"});return}r.insertAfterBlock(h.clientId);return}if(!y||!S||typeof n.offset>"u"||typeof i.offset>"u")return;if(h.clientId===p.clientId&&y===S&&h.offset===p.offset){if(e.length){if((0,be.isUnmodifiedDefaultBlock)(g,"content")){r.replaceBlocks([h.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(h.clientId).length){let ie=function(){let J=(0,be.getDefaultBlockName)();return o.canInsertBlockType(J,s)?(0,be.createBlock)(J):(0,be.createBlock)(o.getBlockName(h.clientId))};var B=ie;let re=x[y].length;if(h.offset===0&&re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId),s,!1);return}if(h.offset===re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId)+1,s);return}}}let I=g.attributes[y],P=b.attributes[S],E=(0,dt.create)({html:I}),L=(0,dt.create)({html:P});E=(0,dt.remove)(E,h.offset,E.text.length),L=(0,dt.remove)(L,0,p.offset);let T={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[y]:(0,dt.toHTMLString)({value:E})}},R={...b,clientId:g.clientId===b.clientId?(0,be.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,dt.toHTMLString)({value:L})}},D=(0,be.getDefaultBlockName)();if(g.clientId===b.clientId&&D&&R.name!==D&&o.canInsertBlockType(D,s)){let ie=(0,be.switchToBlockType)(R,D);ie?.length===1&&(R=ie[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[T,R]);return}let j,G=[],z=[...e],U=z.shift(),W=(0,be.getBlockType)(T.name),ee=W.merge&&U.name===W.name?[U]:(0,be.switchToBlockType)(U,W.name);if(ee?.length){let ie=ee.shift();T={...T,attributes:{...T.attributes,...W.merge(T.attributes,ie.attributes)}},G.push(T),j={clientId:T.clientId,attributeKey:y,offset:(0,dt.create)({html:T.attributes[y]}).text.length},z.unshift(...ee)}else(0,be.isUnmodifiedBlock)(T)||G.push(T),G.push(U);let ne=z.pop(),ce=(0,be.getBlockType)(R.name);if(z.length&&G.push(...z),ne){let ie=ce.merge&&ce.name===ne.name?[ne]:(0,be.switchToBlockType)(ne,ce.name);if(ie?.length){let re=ie.pop();G.push({...R,attributes:{...R.attributes,...ce.merge(re.attributes,R.attributes)}}),G.push(...ie),j={clientId:R.clientId,attributeKey:S,offset:(0,dt.create)({html:re.attributes[S]}).text.length}}else G.push(ne),(0,be.isUnmodifiedBlock)(R)||G.push(R)}else(0,be.isUnmodifiedBlock)(R)||G.push(R);t.batch(()=>{r.replaceBlocks(o.getSelectedBlockClientIds(),G,G.length-1,0),j&&r.selectionChange(j.clientId,j.attributeKey,j.offset,j.offset)})},ake=()=>({select:e,dispatch:t})=>{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},lke=(e,t)=>({registry:o,select:r,dispatch:n})=>{let i=e,s=t,a=r.getBlock(i),c=(0,be.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)==="disabled"||r.getBlockEditingMode(s)==="disabled")return;let u=r.getBlock(s);if(!c.merge&&(0,be.getBlockSupport)(a.name,"__experimentalOnMerge")){let x=(0,be.switchToBlockType)(u,c.name);if(x?.length!==1){n.selectBlock(a.clientId);return}let[C]=x;if(C.innerBlocks.length<1){n.selectBlock(a.clientId);return}o.batch(()=>{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let B=r.getNextBlockClientId(i);if(B&&r.getBlockName(i)===r.getBlockName(B)){let I=r.getBlockAttributes(i),P=r.getBlockAttributes(B);Object.keys(I).every(E=>I[E]===P[E])&&(n.moveBlocksToPosition(r.getBlockOrder(B),B,i),n.removeBlock(B,!1))}});return}if((0,be.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,be.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,be.isUnmodifiedBlock)(u,"content")?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,be.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:h}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&&m!==void 0&&h!==void 0&&!!g;g||(typeof m=="number"?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));let v=(0,be.cloneBlock)(a),k=(0,be.cloneBlock)(u);if(b){let x=f===i?v:k,C=x.attributes[m],B=(0,dt.insert)((0,dt.create)({html:C}),wl,h,h);x.attributes[m]=(0,dt.toHTMLString)({value:B})}let y=a.name===u.name?[k]:(0,be.switchToBlockType)(k,a.name);if(!y||!y.length)return;let S=c.merge(v.attributes,y[0].attributes);if(b){let x=Av(S),C=S[x],B=(0,dt.create)({html:C}),I=B.text.indexOf(wl),P=(0,dt.remove)(B,I,I+1),E=(0,dt.toHTMLString)({value:P});S[x]=E,n.selectionChange(a.clientId,x,I,I)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...y.slice(1)],0)},Zj=(e,t=!0)=>iM(e,t);function cke(e,t){return Zj([e],t)}function uke(e,t,o=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function dke(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fke(){return{type:"START_TYPING"}}function mke(){return{type:"STOP_TYPING"}}function pke(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function hke(){return{type:"STOP_DRAGGING_BLOCKS"}}function gke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function bke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function kke(e,t,o,r){return typeof e=="string"?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var vke=(e,t,o)=>({dispatch:r})=>{let n=(0,be.getDefaultBlockName)();if(!n)return;let i=(0,be.createBlock)(n,e);return r.insertBlock(i,o,t)};function yke(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Ske(e){return nM(e,{stripExperimentalSettings:!0})}function _ke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function xke(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function wke(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}var Cke=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});let{requestIdleCallback:t=o=>setTimeout(o,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},Bke=e=>({registry:t})=>{t.dispatch(Gj.store).set("core","editorTool",e),e==="navigation"?(0,Ow.speak)((0,fu.__)("You are currently in Write mode.")):e==="edit"&&(0,Ow.speak)((0,fu.__)("You are currently in Design mode."))};function Eke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var Tke=(e,t=!0)=>({select:o,dispatch:r})=>{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=>!d)||n.map(d=>d.name).some(d=>!(0,be.hasBlockSupport)(d,"multiple",!0)))return;let s=o.getBlockRootClientId(e[0]),a=Zp(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=>(0,be.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length>1&&t&&r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=>d.clientId)},Ike=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i,r)},Pke=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i+1);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i+1,r)};function lM(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var Rke=(e,t=150)=>async({dispatch:o})=>{o(lM(e,!0)),await new Promise(r=>setTimeout(r,t)),o(lM(e,!1))};function Oke(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function Ake(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function Lke(e){return(0,mu.default)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),sM(e)}var Nke=e=>({select:t,dispatch:o})=>{if(!e||typeof e!="object"){console.error("Category should be an `InserterMediaCategory` object.");return}if(!e.name){console.error("Category should have a `name` that should be unique among all media categories.");return}if(!e.labels?.name){console.error("Category should have a `labels.name`.");return}if(!["image","audio","video"].includes(e.mediaType)){console.error("Category should have `mediaType` property that is one of `image|audio|video`.");return}if(!e.fetch||typeof e.fetch!="function"){console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise`.");return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=>n===e.name)){console.error(`A category is already registered with the same name: "${e.name}".`);return}if(r.some(({labels:{name:n}={}})=>n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`);return}o({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function Mke(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function Dke(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}function Vke(e){return{type:"SET_OPEN_LIST_VIEW_PANEL",clientId:e}}function Fke(){return{type:"SET_ALL_LIST_VIEW_PANELS_OPEN"}}function zke(e,t){return{type:"TOGGLE_LIST_VIEW_PANEL",clientId:e,isOpen:t}}function jke(){return{type:"INCREMENT_LIST_VIEW_EXPAND_REVISION"}}var Xp={reducer:Y6,selectors:rM,actions:cM},_=(0,Aw.createReduxStore)(Kt,{...Xp,persist:["preferences"]}),Xj=(0,Aw.registerStore)(Kt,{...Xp,persist:["preferences"]});M(Xj).registerPrivateActions(Rw);M(Xj).registerPrivateSelectors(Bw);M(_).registerPrivateActions(Rw);M(_).registerPrivateSelectors(Bw);var Qp=l(A(),1),Qj=l(N(),1);var Ss=l(w(),1);function Uke({className:e,actions:t,children:o,secondaryActions:r}){return(0,Ss.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,Ss.jsx)("div",{className:V(e,"block-editor-warning"),children:(0,Ss.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,Ss.jsx)("p",{className:"block-editor-warning__message",children:o}),(t?.length>0||r)&&(0,Ss.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((n,i)=>(0,Ss.jsx)("span",{className:"block-editor-warning__action",children:n},i)),r&&(0,Ss.jsx)(Qp.DropdownMenu,{className:"block-editor-warning__secondary",icon:ks,label:(0,Qj.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,Ss.jsx)(Qp.MenuGroup,{children:r.map((n,i)=>(0,Ss.jsx)(Qp.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var pu=Uke;var Jp=l(w(),1);function tU({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,eU.useDispatch)(_),n=(0,Jj.getBlockType)(t);return(0,Jp.jsxs)(pu,{actions:[(0,Jp.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>r(e),children:(0,Lw.__)("Find original")},"find-original"),(0,Jp.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>o([]),children:(0,Lw.__)("Remove")},"remove")],children:[(0,Jp.jsxs)("strong",{children:[n?.title,": "]}),(0,Lw.__)("This block can only be used once.")]})}var Lv=l(w(),1);function Dw({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:o,blockEditingMode:r,isPreviewMode:n,...i}){let{name:s,isSelected:a,clientId:c,attributes:u={},__unstableLayoutClassNames:d}=i,{layout:f=null,metadata:m={}}=u,{bindings:h}=m,p=(0,Nw.hasBlockSupport)(s,"layout",!1)||(0,Nw.hasBlockSupport)(s,"__experimentalLayout",!1),b=!!Pe()[jk]||(0,Nw.hasBlockSupport)(s,"listView")||s==="core/navigation",{originalBlockClientId:v}=(0,Mw.useContext)(ur);return(0,Lv.jsxs)(u0,{value:(0,Mw.useMemo)(()=>({name:s,isSelected:a,clientId:c,layout:p?f:null,__unstableLayoutClassNames:d,[bs]:e,[Ip]:t,[$c]:o&&r!=="disabled",[l0]:r,[Pp]:h,[c0]:n,[jk]:b}),[s,a,c,p,f,d,e,t,o,r,h,n,b]),children:[(0,Lv.jsx)(z6,{...i}),v&&(0,Lv.jsx)(tU,{originalBlockClientId:v,name:s,onReplace:i.onReplace})]})}function me(...e){let{clientId:t=null}=Pe();return(0,oU.useSelect)(o=>M(o(_)).getBlockSettings(t,...e),[t,...e])}function nU(e){(0,rU.default)("wp.blockEditor.useSetting",{since:"6.5",alternative:"wp.blockEditor.useSettings",note:"The new useSettings function can retrieve multiple settings at once, with better performance."});let[t]=me(e);return t}var Fw=l(w(),1),{kebabCase:Hke}=M(sU.privateApis),iU=([e,...t])=>e.toUpperCase()+t.join(""),Gke=e=>(0,Ff.createHigherOrderComponent)(t=>function(r){return(0,Fw.jsx)(t,{...r,colors:e})},"withCustomColorPalette"),Wke=()=>(0,Ff.createHigherOrderComponent)(e=>function(o){let[r,n,i]=me("color.palette.custom","color.palette.theme","color.palette.default"),s=(0,Vw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]);return(0,Fw.jsx)(e,{...o,colors:s})},"withEditorColorPalette");function aU(e,t){let o=e.reduce((r,n)=>({...r,...typeof n=="string"?{[n]:Hke(n)}:n}),{});return(0,Ff.compose)([t,r=>class extends Vw.Component{constructor(i){super(i),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(i){let{colors:s}=this.props;return P6(s,i)}createSetters(){return Object.keys(o).reduce((i,s)=>{let a=iU(s),c=`custom${a}`;return i[`set${a}`]=this.createSetColor(s,c),i},{})}createSetColor(i,s){return a=>{let c=f0(this.props.colors,a);this.props.setAttributes({[i]:c&&c.slug?c.slug:void 0,[s]:c&&c.slug?void 0:a})}}static getDerivedStateFromProps({attributes:i,colors:s},a){return Object.entries(o).reduce((c,[u,d])=>{let f=ua(s,i[u],i[`custom${iU(u)}`]),m=a[u];return m?.color===f.color&&m?c[u]=m:c[u]={...f,class:yi(d,f.slug)},c},{})}render(){return(0,Fw.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function lU(e){return(...t)=>{let o=Gke(e);return(0,Ff.createHigherOrderComponent)(aU(t,o),"withCustomColors")}}function cU(...e){let t=Wke();return(0,Ff.createHigherOrderComponent)(aU(e,t),"withColors")}var zw=l(O(),1),jw=l(F(),1);function eh(e){if(e)return`has-${e}-gradient-background`}function Uw(e,t){let o=e?.find(r=>r.slug===t);return o&&o.gradient}function uU(e,t){return e?.find(r=>r.gradient===t)}function dU(e,t){let o=uU(e,t);return o&&o.slug}function $ke({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){let{clientId:o}=Pe(),[r,n,i]=me("color.gradients.custom","color.gradients.theme","color.gradients.default"),s=(0,zw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,jw.useSelect)(h=>{let{getBlockAttributes:p}=h(_),g=p(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,jw.useDispatch)(_),d=(0,zw.useCallback)(h=>{let p=dU(s,h);if(p){u(o,{[e]:p,[t]:void 0});return}u(o,{[e]:void 0,[t]:h})},[s,o,u]),f=eh(a),m;return a?m=Uw(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var fU=l(A(),1);var{kebabCase:Kke}=M(fU.privateApis),th=(e,t,o)=>{if(t){let r=e?.find(({slug:n})=>n===t);if(r)return r}return{size:o}};function dM(e,t){let o=e?.find(({size:r})=>r===t);return o||{size:t}}function hu(e){if(e)return`has-${Kke(e)}-font-size`}var Yke="1600px",qke="320px",Zke=1,Xke=.25,Qke=.75,Jke="14px";function mU({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=qke,maximumViewportWidth:n=Yke,scaleFactor:i=Zke,minimumFontSizeLimit:s}){if(s=gu(s)?s:Jke,o){let y=gu(o);if(!y?.unit)return null;let S=gu(s,{coerceTo:y.unit});if(S?.value&&!e&&!t&&y?.value<=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit==="px"?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),Xke),Qke),B=Nv(y.value*C,3);S?.value&&Be.toUpperCase()+t.join(""),kU=(...e)=>{let t=e.reduce((o,r)=>(o[r]=`custom${gU(r)}`,o),{});return(0,Mv.createHigherOrderComponent)((0,Mv.compose)([(0,Mv.createHigherOrderComponent)(o=>function(n){let[i]=me("typography.fontSizes");return(0,mM.jsx)(o,{...n,fontSizes:i||tve})},"withFontSizes"),o=>class extends bU.Component{constructor(n){super(n),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((n,[i,s])=>{let a=gU(i);return n[`set${a}`]=this.createSetFontSize(i,s),n},{})}createSetFontSize(n,i){return s=>{let a=this.props.fontSizes?.find(({size:c})=>c===Number(s));this.props.setAttributes({[n]:a&&a.slug?a.slug:void 0,[i]:a&&a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,fontSizes:i},s){let a=(u,d)=>s[d]?n[d]?n[d]!==s[d].slug:s[d].size!==n[u]:!0;if(!Object.values(t).some(a))return null;let c=Object.entries(t).filter(([u,d])=>a(d,u)).reduce((u,[d,f])=>{let m=n[d],h=th(i,m,n[f]);return u[d]={...h,class:hu(m)},u},{});return{...s,...c}}render(){return(0,mM.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),"withFontSizes")};var bu=l(N(),1),Hw=l(A(),1);var vU=l(w(),1),ove=[{icon:Jc,title:(0,bu.__)("Align text left"),align:"left"},{icon:yf,title:(0,bu.__)("Align text center"),align:"center"},{icon:eu,title:(0,bu.__)("Align text right"),align:"right"}],rve={placement:"bottom-start"};function nve({value:e,onChange:t,alignmentControls:o=ove,label:r=(0,bu.__)("Align text"),description:n=(0,bu.__)("Change text alignment"),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=>t(e===m?void 0:m)}let c=o.find(m=>m.align===e);function u(){return c?c.icon:(0,bu.isRTL)()?eu:Jc}let d=s?Hw.ToolbarGroup:Hw.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:rve};return(0,vU.jsx)(d,{icon:u(),label:r,controls:o.map(m=>{let{align:h}=m;return{...m,isActive:e===h,role:i?"menuitemradio":void 0,onClick:a(h)}}),...f})}var pM=nve;var hM=l(w(),1),Gw=e=>(0,hM.jsx)(pM,{...e,isToolbar:!1}),yU=e=>(0,hM.jsx)(pM,{...e,isToolbar:!0});var Xw=l(ct(),1),Qw=l(A(),1),UU=l(O(),1),Jw=l($(),1);var AU=l(F(),1),vu=l($(),1),yM=l(O(),1);var IU=l(wU(),1);var gM=function(e,t){return gM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},gM(e,t)};function CU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gM(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Fo=function(){return Fo=Object.assign||function(t){for(var o,r=1,n=arguments.length;re.name||"",fve=e=>e.title,mve=e=>e.description||"",pve=e=>e.keywords||[],hve=e=>e.category,gve=()=>null,bve=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],kve=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),bM=new Map,kM=new Map;function $w(e=""){if(bM.has(e))return bM.get(e);let t=TU(e,{splitRegexp:bve,stripRegexp:kve}).split(" ").filter(Boolean);return bM.set(e,t),t}function Dv(e=""){if(kM.has(e))return kM.get(e);let t=(0,IU.default)(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),kM.set(e,t),t}var Vv=(e="")=>$w(Dv(e)),vve=(e,t)=>e.filter(o=>!Vv(t).some(r=>r.includes(o))),Kw=(e,t,o,r)=>Vv(r).length===0?e:Fv(e,r,{getCategory:s=>t.find(({slug:a})=>a===s.category)?.title,getCollection:s=>o[s.name.split("/")[0]]?.title}),Fv=(e=[],t="",o={})=>{if(Vv(t).length===0)return e;let n=e.map(i=>[i,yve(i,t,o)]).filter(([,i])=>i>0);return n.sort(([,i],[,s])=>s-i),n.map(([i])=>i)};function yve(e,t,o={}){let{getName:r=dve,getTitle:n=fve,getDescription:i=mve,getKeywords:s=pve,getCategory:a=hve,getCollection:c=gve}=o,u=r(e),d=n(e),f=i(e),m=s(e),h=a(e),p=c(e),g=Dv(t),b=Dv(d),v=0;if(g===b)v+=30;else if(b.startsWith(g))v+=20;else{let k=[u,d,f,...m,h,p].join(" "),y=$w(g);vve(y,k).length===0&&(v+=10)}if(v!==0&&u.startsWith("core/")){let k=u!==e.id;v+=k?1:2}return v}var ma=l($(),1),oh=l(F(),1),Yw=l(O(),1),PU=l(Ti(),1),qw=l(N(),1);var Sve=(e,t,o)=>{let r=(0,Yw.useMemo)(()=>({[uu]:!!o}),[o]),[n]=(0,oh.useSelect)(d=>[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=M((0,oh.useSelect)(_)),{createErrorNotice:s}=(0,oh.useDispatch)(PU.store),[a,c]=(0,oh.useSelect)(d=>{let{getCategories:f,getCollections:m}=d(ma.store);return[f(),m()]},[]),u=(0,Yw.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:h,content:p},g)=>{let b=i(d,e);if(b===null){let k=(0,ma.getBlockType)(d)?.title??d;s((0,qw.sprintf)((0,qw.__)(`Block "%s" can't be inserted.`),k),{type:"snackbar",id:"inserter-notice"});return}let v=h==="unsynced"?(0,ma.parse)(p,{__unstableSkipMigrationLogs:!0}):(0,ma.createBlock)(d,f,(0,ma.createBlocksFromInnerBlocksTemplate)(m));t(v,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},ku=Sve;var RU=l(A(),1);var OU=l(O(),1),vM=l(w(),1);function _ve({icon:e,showColors:t=!1,className:o,context:r}){e?.src==="block-default"&&(e={src:Qk});let n=(0,vM.jsx)(RU.Icon,{icon:e&&e.src?e.src:e,context:r}),i=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,vM.jsx)("span",{style:i,className:V("block-editor-block-icon",o,{"has-colors":t}),children:n})}var Ae=(0,OU.memo)(_ve);var Zw=(e,t)=>(t&&e.sort(({id:o},{id:r})=>{let n=t.indexOf(o),i=t.indexOf(r);return n<0&&(n=t.length),i<0&&(i=t.length),n-i}),e);var rh=l(w(),1),xve=()=>{},wve=9;function Cve(){return{name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,AU.useSelect)(u=>{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:h}=u(_),{getActiveBlockVariation:p}=u(vu.store),g=d(),{name:b,attributes:v}=f(g),k=p(b,v),y=h(g);return{selectedBlockId:k?`${b}/${k.name}`:b,rootClientId:y,prioritizedBlocks:m(y)?.prioritizedInserterBlocks}},[]),[n,i,s]=ku(t,xve,!0),a=(0,yM.useMemo)(()=>(e.trim()?Kw(n,i,s,e):Zw(fa(n,"frecency","desc"),r)).filter(d=>d.id!==o).slice(0,wve),[e,o,n,i,s,r]);return[(0,yM.useMemo)(()=>a.map(u=>{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,rh.jsxs)(rh.Fragment,{children:[(0,rh.jsx)(Ae,{icon:f,showColors:!0},"icon"),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:"replace",value:n==="unsynced"?(i??[]).map(s=>(0,vu.cloneBlock)(s)):(0,vu.createBlock)(t,o,(0,vu.createBlocksFromInnerBlocksTemplate)(r))}}}}var LU=Cve();var VU=l(MU(),1),FU=l(dn(),1);var zU=l(SM(),1),zf=l(w(),1),Bve=10;function Eve(){return{name:"links",className:"block-editor-autocompleters__link",triggerPrefix:"[[",options:async e=>{let t=await(0,VU.default)({path:(0,FU.addQueryArgs)("/wp/v2/search",{per_page:Bve,search:e,type:"post",order_by:"menu_order"})});return t=t.filter(o=>o.title!==""),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,zf.jsxs)(zf.Fragment,{children:[(0,zf.jsx)(we,{icon:e.subtype==="page"?kl:YL},"icon"),(0,zU.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,zf.jsx)("a",{href:e.url,children:e.title})}}}var jU=Eve();var HU=l(w(),1),Tve=[];function GU({completers:e=Tve}){let{name:t}=Pe();return(0,UU.useMemo)(()=>{let o=[...e,jU];return(t===(0,Jw.getDefaultBlockName)()||(0,Jw.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(o=[...o,LU]),(0,Xw.hasFilter)("editor.Autocomplete.completers")&&(o===e&&(o=o.map(r=>({...r}))),o=(0,Xw.applyFilters)("editor.Autocomplete.completers",o,t)),o},[e,t])}function WU(e){return(0,Qw.__unstableUseAutocompleteProps)({...e,completers:GU(e)})}function Ive(e){return(0,HU.jsx)(Qw.Autocomplete,{...e,completers:GU(e)})}var $U=Ive;var BM=l(N(),1),xu=l(A(),1);var fH=l(F(),1);var iC=l(O(),1);var Ii=l(N(),1);var mn=l(A(),1);var nh=l(N(),1);var Un={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};function Hn(e,t=""){return e.split(",").map(o=>`${o}${t?` ${t}`:""}`).join(",")}function yu(e,t=Un,o,r){let n="";return t?.[o]?.spacingStyles?.length&&r&&t[o].spacingStyles.forEach(i=>{n+=`${Hn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=>`${s}: ${a||r}`).join("; "),n+="; }"}),n}function eC(e){let{contentSize:t,wideSize:o,type:r="default"}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&&r==="constrained"&&(n.none=(0,nh.sprintf)((0,nh.__)("Max %s wide"),t)),i.test(o)&&(n.wide=(0,nh.sprintf)((0,nh.__)("Max %s wide"),o)),n}var _s=l(N(),1);var KU=8,Su=["top","right","bottom","left"],YU={top:void 0,right:void 0,bottom:void 0,left:void 0},tC={custom:aw,axial:aw,horizontal:lN,vertical:fN,top:dN,right:uN,bottom:aN,left:cN},pa={default:(0,_s.__)("Spacing control"),top:(0,_s.__)("Top"),bottom:(0,_s.__)("Bottom"),left:(0,_s.__)("Left"),right:(0,_s.__)("Right"),mixed:(0,_s.__)("Mixed"),vertical:(0,_s.__)("Vertical"),horizontal:(0,_s.__)("Horizontal"),axial:(0,_s.__)("Horizontal & vertical"),custom:(0,_s.__)("Custom")},Cl={axial:"axial",top:"top",right:"right",bottom:"bottom",left:"left",custom:"custom"};function oC(e){return e?.includes?e==="0"||e.includes("var:preset|spacing|"):!1}function qU(e,t){if(!oC(e))return e;let o=Pve(e);return t.find(n=>String(n.slug)===o)?.size}function ih(e,t){if(!e||oC(e)||e==="0")return e;let o=t.find(r=>String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function zv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function Pve(e){if(!e)return;if(e==="0"||e==="default")return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function _M(e,t){if(!e||!e.length)return!1;let o=e.includes("horizontal")||e.includes("left")&&e.includes("right"),r=e.includes("vertical")||e.includes("top")&&e.includes("bottom");return t==="horizontal"?o:t==="vertical"?r:o||r}function Rve(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=>t[o]+=1),(t.top+t.bottom)%2===0&&(t.left+t.right)%2===0}function ZU(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&&i===r&&(!!o||!!i),c=!s.length&&Rve(t),u=t?.includes("horizontal")&&t?.includes("vertical")&&t?.length===2;if(_M(t)&&(a||c))return Cl.axial;if(u&&s.length===1){let d;return Object.entries(e).some(([f,m])=>(d=f,m!==void 0)),d}return t?.length===1&&!s.length?t[0]:Cl.custom}function Ove(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function mr(e,t="0"){let o=Ove(e);if(!o)return null;let r=zv(o?.top)||t,n=zv(o?.left)||t;return r===n?r:`${r} ${n}`}var oo=l(w(),1),Ave={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},XU={left:"flex-start",right:"flex-end",center:"center",stretch:"stretch"},Lve={top:"flex-start",center:"center",bottom:"flex-end",stretch:"stretch","space-between":"space-between"},QU={horizontal:"center",vertical:"top"},Nve=["wrap","nowrap"],eH={name:"flex",label:(0,Ii.__)("Flex"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0,allowWrap:s=!0}=r;return(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsxs)(mn.Flex,{children:[i&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(JU,{layout:t,onChange:o})}),n&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(Fve,{layout:t,onChange:o})})]}),s&&(0,oo.jsx)(Vve,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&&!n?null:(0,oo.jsxs)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:[i&&(0,oo.jsx)(JU,{layout:t,onChange:o,isToolbar:!0}),n&&(0,oo.jsx)(Mve,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{orientation:c="horizontal"}=o,u="0.5em";if(s){let k=mr(s,"0.5em").split(" ");u=k.length>1?k[1]:k[0]}let d=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,u):void 0,f=Ave[o.justifyContent],m=Nve.includes(o.flexWrap)?o.flexWrap:"wrap",h=Lve[o.verticalAlignment],p=XU[o.justifyContent]||XU.left,g="",b=[];return m&&m!=="wrap"&&b.push(`flex-wrap: ${m}`),c==="horizontal"?(h&&b.push(`align-items: ${h}`),f&&b.push(`justify-content: ${f}`)):(h&&b.push(`justify-content: ${h}`),b.push("flex-direction: column"),b.push(`align-items: ${p}`)),b.length&&(g=`${Hn(t)} { ${b.join("; ")}; - }`),i&&d&&(g+=yu(t,a,"flex",d)),g},getOrientation(e){let{orientation:t="horizontal"}=e;return t},getAlignments(){return[]}};function Fve({layout:e,onChange:t}){let{orientation:o="horizontal"}=e,r=o==="horizontal"?JU.horizontal:JU.vertical,{verticalAlignment:n=r}=e;return(0,oo.jsx)(rC,{onChange:s=>{t({...e,verticalAlignment:s})},value:n,controls:o==="horizontal"?["top","center","bottom","stretch"]:["top","center","bottom","space-between"]})}var zve={placement:"bottom-start"};function eH({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r="left",orientation:n="horizontal"}=e,i=c=>{t({...e,justifyContent:c})},s=["left","center","right"];if(n==="horizontal"?s.push("space-between"):s.push("stretch"),o)return(0,oo.jsx)(sh,{allowedControls:s,value:r,onChange:i,popoverProps:zve});let a=[{value:"left",icon:ru,label:(0,Ii.__)("Justify items left")},{value:"center",icon:ou,label:(0,Ii.__)("Justify items center")},{value:"right",icon:nu,label:(0,Ii.__)("Justify items right")}];return n==="horizontal"?a.push({value:"space-between",icon:Vp,label:(0,Ii.__)("Space between items")}):a.push({value:"stretch",icon:Fp,label:(0,Ii.__)("Stretch items")}),(0,oo.jsx)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Ii.__)("Justification"),value:r,onChange:i,className:"block-editor-hooks__flex-layout-justification-controls",children:a.map(({value:c,icon:u,label:d})=>(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function jve({layout:e,onChange:t}){let{flexWrap:o="wrap"}=e;return(0,oo.jsx)(mn.ToggleControl,{label:(0,Ii.__)("Allow to wrap to multiple lines"),onChange:r=>{t({...e,flexWrap:r?"wrap":"nowrap"})},checked:o==="wrap"})}function Uve({layout:e,onChange:t}){let{orientation:o="horizontal",verticalAlignment:r,justifyContent:n}=e;return(0,oo.jsxs)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:"block-editor-hooks__flex-layout-orientation-controls",label:(0,Ii.__)("Orientation"),value:o,onChange:i=>{let s=r,a=n;return i==="horizontal"?(r==="space-between"&&(s="center"),n==="stretch"&&(a="left")):(r==="stretch"&&(s="top"),n==="space-between"&&(a="left")),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:Xk,value:"horizontal",label:(0,Ii.__)("Horizontal")}),(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:DO,value:"vertical",label:(0,Ii.__)("Vertical")})]})}var oH=l(N(),1);var rH={name:"default",label:(0,oH.__)("Flow"),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=Un}){let s=mr(o?.spacing?.blockGap),a="";Ue(r,"spacing","blockGap")||(s?.top?a=mr(s?.top):typeof s=="string"&&(a=mr(s)));let c="";return n&&a&&(c+=yu(t,i,"default",a)),c},getOrientation(){return"vertical"},getAlignments(e,t){let o=eC(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(n=>({name:n,info:o[n]}));let r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){let{contentSize:n,wideSize:i}=e;n&&r.unshift({name:"full"}),i&&r.unshift({name:"wide",info:o.wide})}return r.unshift({name:"none",info:o.none}),r}};var pn=l(A(),1),Bl=l(N(),1);var iH=l(jv(),1);var Qo=l(w(),1),sH={name:"constrained",label:(0,Bl.__)("Constrained"),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s="center"}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=h=>{o({...t,justifyContent:h})},d=[{value:"left",icon:ru,label:(0,Bl.__)("Justify items left")},{value:"center",icon:ou,label:(0,Bl.__)("Justify items center")},{value:"right",icon:nu,label:(0,Bl.__)("Justify items right")}],[f]=me("spacing.units"),m=(0,pn.__experimentalUseCustomUnits)({availableUnits:f||["%","px","em","rem","vw"]});return(0,Qo.jsxs)(pn.__experimentalVStack,{spacing:4,className:"block-editor-hooks__layout-constrained",children:[c&&(0,Qo.jsxs)(Qo.Fragment,{children:[(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Content width"),labelPosition:"top",value:i||n||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,contentSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Sf})})}),(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Wide width"),labelPosition:"top",value:n||i||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,wideSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Af})})}),(0,Qo.jsx)("p",{className:"block-editor-hooks__layout-constrained-helptext",children:(0,Bl.__)("Customize the width for all elements that are assigned to the center or wide columns.")})]}),a&&(0,Qo.jsx)(pn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Justification"),value:s,onChange:u,children:d.map(({value:h,icon:p,label:g})=>(0,Qo.jsx)(pn.__experimentalToggleGroupControlOptionIcon,{value:h,icon:p,label:g},h))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,Qo.jsx)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,Qo.jsx)(Gve,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=Un}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=mr(r?.spacing?.blockGap),f="";Ue(n,"spacing","blockGap")||(d?.top?f=mr(d?.top):typeof d=="string"&&(f=mr(d)));let m=u==="left"?"0 !important":"auto !important",h=u==="right"?"0 !important":"auto !important",p=a||c?` + }`),i&&d&&(g+=yu(t,a,"flex",d)),g},getOrientation(e){let{orientation:t="horizontal"}=e;return t},getAlignments(){return[]}};function Mve({layout:e,onChange:t}){let{orientation:o="horizontal"}=e,r=o==="horizontal"?QU.horizontal:QU.vertical,{verticalAlignment:n=r}=e;return(0,oo.jsx)(rC,{onChange:s=>{t({...e,verticalAlignment:s})},value:n,controls:o==="horizontal"?["top","center","bottom","stretch"]:["top","center","bottom","space-between"]})}var Dve={placement:"bottom-start"};function JU({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r="left",orientation:n="horizontal"}=e,i=c=>{t({...e,justifyContent:c})},s=["left","center","right"];if(n==="horizontal"?s.push("space-between"):s.push("stretch"),o)return(0,oo.jsx)(sh,{allowedControls:s,value:r,onChange:i,popoverProps:Dve});let a=[{value:"left",icon:ru,label:(0,Ii.__)("Justify items left")},{value:"center",icon:ou,label:(0,Ii.__)("Justify items center")},{value:"right",icon:nu,label:(0,Ii.__)("Justify items right")}];return n==="horizontal"?a.push({value:"space-between",icon:Vp,label:(0,Ii.__)("Space between items")}):a.push({value:"stretch",icon:Fp,label:(0,Ii.__)("Stretch items")}),(0,oo.jsx)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Ii.__)("Justification"),value:r,onChange:i,className:"block-editor-hooks__flex-layout-justification-controls",children:a.map(({value:c,icon:u,label:d})=>(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function Vve({layout:e,onChange:t}){let{flexWrap:o="wrap"}=e;return(0,oo.jsx)(mn.ToggleControl,{label:(0,Ii.__)("Allow to wrap to multiple lines"),onChange:r=>{t({...e,flexWrap:r?"wrap":"nowrap"})},checked:o==="wrap"})}function Fve({layout:e,onChange:t}){let{orientation:o="horizontal",verticalAlignment:r,justifyContent:n}=e;return(0,oo.jsxs)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:"block-editor-hooks__flex-layout-orientation-controls",label:(0,Ii.__)("Orientation"),value:o,onChange:i=>{let s=r,a=n;return i==="horizontal"?(r==="space-between"&&(s="center"),n==="stretch"&&(a="left")):(r==="stretch"&&(s="top"),n==="space-between"&&(a="left")),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:Xk,value:"horizontal",label:(0,Ii.__)("Horizontal")}),(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:DO,value:"vertical",label:(0,Ii.__)("Vertical")})]})}var tH=l(N(),1);var oH={name:"default",label:(0,tH.__)("Flow"),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=Un}){let s=mr(o?.spacing?.blockGap),a="";Ue(r,"spacing","blockGap")||(s?.top?a=mr(s?.top):typeof s=="string"&&(a=mr(s)));let c="";return n&&a&&(c+=yu(t,i,"default",a)),c},getOrientation(){return"vertical"},getAlignments(e,t){let o=eC(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(n=>({name:n,info:o[n]}));let r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){let{contentSize:n,wideSize:i}=e;n&&r.unshift({name:"full"}),i&&r.unshift({name:"wide",info:o.wide})}return r.unshift({name:"none",info:o.none}),r}};var pn=l(A(),1),Bl=l(N(),1);var nH=l(jv(),1);var Qo=l(w(),1),iH={name:"constrained",label:(0,Bl.__)("Constrained"),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s="center"}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=h=>{o({...t,justifyContent:h})},d=[{value:"left",icon:ru,label:(0,Bl.__)("Justify items left")},{value:"center",icon:ou,label:(0,Bl.__)("Justify items center")},{value:"right",icon:nu,label:(0,Bl.__)("Justify items right")}],[f]=me("spacing.units"),m=(0,pn.__experimentalUseCustomUnits)({availableUnits:f||["%","px","em","rem","vw"]});return(0,Qo.jsxs)(pn.__experimentalVStack,{spacing:4,className:"block-editor-hooks__layout-constrained",children:[c&&(0,Qo.jsxs)(Qo.Fragment,{children:[(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Content width"),labelPosition:"top",value:i||n||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,contentSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Sf})})}),(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Wide width"),labelPosition:"top",value:n||i||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,wideSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Af})})}),(0,Qo.jsx)("p",{className:"block-editor-hooks__layout-constrained-helptext",children:(0,Bl.__)("Customize the width for all elements that are assigned to the center or wide columns.")})]}),a&&(0,Qo.jsx)(pn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Justification"),value:s,onChange:u,children:d.map(({value:h,icon:p,label:g})=>(0,Qo.jsx)(pn.__experimentalToggleGroupControlOptionIcon,{value:h,icon:p,label:g},h))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,Qo.jsx)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,Qo.jsx)(jve,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=Un}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=mr(r?.spacing?.blockGap),f="";Ue(n,"spacing","blockGap")||(d?.top?f=mr(d?.top):typeof d=="string"&&(f=mr(d)));let m=u==="left"?"0 !important":"auto !important",h=u==="right"?"0 !important":"auto !important",p=a||c?` ${Hn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { max-width: ${a??c}; margin-left: ${m}; @@ -37,7 +37,7 @@ } `:"";return u==="left"?p+=`${Hn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { margin-left: ${m}; }`:u==="right"&&(p+=`${Hn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} - { margin-right: ${h}; }`),r?.spacing?.padding&&(0,iH.getCSSRules)(r).forEach(b=>{if(b.key==="paddingRight"){let v=b.value==="0"?"0px":b.value;p+=` + { margin-right: ${h}; }`),r?.spacing?.padding&&(0,nH.getCSSRules)(r).forEach(b=>{if(b.key==="paddingRight"){let v=b.value==="0"?"0px":b.value;p+=` ${Hn(t,"> .alignfull")} { margin-right: calc(${v} * -1); } @@ -45,10 +45,10 @@ ${Hn(t,"> .alignfull")} { margin-left: calc(${v} * -1); } - `}}),i&&f&&(p+=yu(t,s,"constrained",f)),p},getOrientation(){return"vertical"},getAlignments(e){let t=eC(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(i=>({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:"left"},{name:"center"},{name:"right"}];return o&&n.unshift({name:"full"}),r&&n.unshift({name:"wide",info:t.wide}),n.unshift({name:"none",info:t.none}),n}},Hve={placement:"bottom-start"};function Gve({layout:e,onChange:t}){let{justifyContent:o="center"}=e;return(0,Qo.jsx)(sh,{allowedControls:["left","center","right"],value:o,onChange:i=>{t({...e,justifyContent:i})},popoverProps:Hve})}var Fr=l(N(),1),nt=l(A(),1),nC=l(O(),1);var Ye=l(w(),1),Wve={px:600,"%":100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},$ve=[{value:"px",label:"px",default:0},{value:"rem",label:"rem",default:0},{value:"em",label:"em",default:0}],aH={name:"grid",label:(0,Fr.__)("Grid"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,Ye.jsxs)(Ye.Fragment,{children:[window.__experimentalEnableGridInteractivity&&(0,Ye.jsx)(qve,{layout:t,onChange:o}),(0,Ye.jsxs)(nt.__experimentalVStack,{spacing:4,children:[i&&(0,Ye.jsx)(Yve,{layout:t,onChange:o,allowSizingOnChildren:n}),s&&(0,Ye.jsx)(Kve,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{minimumColumnWidth:c=null,columnCount:u=null,rowCount:d=null}=o,f="1.2rem";if(s){let b=mr(s,"0.5em").split(" ");f=b.length>1?b[1]:b[0]}let m=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,f):void 0,h="",p=[];if(c&&u>0){let g=m||f;(g==="0"||g===0)&&(g="0px");let b=`max(min( ${c}, 100%), ( 100% - (${g}*${u-1}) ) / ${u})`;p.push(`grid-template-columns: repeat(auto-fill, minmax(${b}, 1fr))`,"container-type: inline-size"),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)}else u?(p.push(`grid-template-columns: repeat(${u}, minmax(0, 1fr))`),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)):p.push(`grid-template-columns: repeat(auto-fill, minmax(min(${c||"12rem"}, 100%), 1fr))`,"container-type: inline-size");return p.length&&(h=`${Hn(t)} { ${p.join("; ")}; }`),i&&m&&(h+=yu(t,a,"grid",m)),h},getOrientation(){return"horizontal"},getAlignments(){return[]}};function Kve({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:"12rem"),[a,c="rem"]=(0,nt.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=>{t({...e,minimumColumnWidth:[f,c].join("")})},d=f=>{let m;["em","rem"].includes(f)&&c==="px"?m=(a/16).toFixed(2)+f:["em","rem"].includes(c)&&f==="px"&&(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-minimum-width-control",children:[(0,Ye.jsx)(nt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Min. column width")}),(0,Ye.jsxs)(nt.Flex,{gap:4,children:[(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.__experimentalUnitControl,{size:"__unstable-large",onChange:f=>{t({...e,minimumColumnWidth:f===""?void 0:f})},onUnitChange:d,value:s,units:$ve,min:0,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})}),(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Wve[c]||600,withInputField:!1,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})})]}),(0,Ye.jsx)("p",{className:"components-base-control__help",children:(0,Fr.__)("Columns will wrap to fewer per row when they can no longer maintain the minimum width.")})]})}function Yve({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-columns-and-rows-controls",children:[!s&&(0,Ye.jsx)(nt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Max. columns")}),(0,Ye.jsxs)(nt.Flex,{gap:4,children:[(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let u=a===""||a==="0"?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!s})}),(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:o&&s?(0,Ye.jsx)(nt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let c=a===""||a==="0"?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Fr.__)("Rows")}):(0,Ye.jsx)(nt.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=>t({...e,columnCount:a===""||a==="0"?1:a}),min:1,max:16,withInputField:!1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!0})})]})]})})}function qve({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,nC.useState)(o||3),[c,u]=(0,nC.useState)(r),[d,f]=(0,nC.useState)(n||"12rem"),m=i?"manual":"auto",h=g=>{g==="manual"?f(n||"12rem"):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g==="manual"?c:void 0,isManualPlacement:g==="manual"?!0:void 0,minimumColumnWidth:g==="auto"?d:null})},p=m==="manual"?(0,Fr.__)("Grid items can be manually placed in any position on the grid."):(0,Fr.__)("Grid items are placed automatically depending on their order.");return(0,Ye.jsxs)(nt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Fr.__)("Grid item position"),value:m,onChange:h,isBlock:!0,help:p,children:[(0,Ye.jsx)(nt.__experimentalToggleGroupControlOption,{value:"auto",label:(0,Fr.__)("Auto")},"auto"),(0,Ye.jsx)(nt.__experimentalToggleGroupControlOption,{value:"manual",label:(0,Fr.__)("Manual")},"manual")]})}var lH=[rH,tH,sH,aH];function xs(e="default"){return lH.find(t=>t.name===e)}function cH(){return lH}var xM=l(w(),1),wM={type:"default"},CM=(0,iC.createContext)(wM);CM.displayName="BlockLayoutContext";var uH=CM.Provider;function jf(){return(0,iC.useContext)(CM)}function dH({layout:e={},css:t,...o}){let r=xs(e.type),[n]=me("spacing.blockGap"),i=n!==null;if(r){if(t)return(0,xM.jsx)("style",{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,xM.jsx)("style",{children:s})}return null}var sC=[],fH=["none","left","center","right","wide","full"],Zve=["wide","full"];function Uv(e=fH){e.includes("none")||(e=["none",...e]);let t=e.length===1&&e[0]==="none",[o,r,n]=(0,mH.useSelect)(c=>{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=jf();if(t)return sC;let s=xs(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=>e.includes(d.name));return u.length===1&&u[0].name==="none"?sC:u}if(s.name!=="default"&&s.name!=="constrained")return sC;let a=e.filter(c=>i.alignments?i.alignments.includes(c):!o&&Zve.includes(c)?!1:fH.includes(c)).map(c=>({name:c}));return a.length===1&&a[0].name==="none"?sC:a}var _u=l(N(),1);var Hv={none:{icon:Sf,title:(0,_u._x)("None","Alignment option")},left:{icon:zL,title:(0,_u.__)("Align left")},center:{icon:VL,title:(0,_u.__)("Align center")},right:{icon:UL,title:(0,_u.__)("Align right")},wide:{icon:Af,title:(0,_u.__)("Wide width")},full:{icon:Sv,title:(0,_u.__)("Full width")}},pH="none";var Uf=l(w(),1);function Xve({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=Uv(o);if(!!!i.length)return null;function a(h){t([e,"none"].includes(h)?void 0:h)}let c=Hv[e],u=Hv[pH],d=r?xu.ToolbarGroup:xu.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,BM.__)("Align")},m=r?{isCollapsed:n,controls:i.map(({name:h})=>({...Hv[h],isActive:e===h||!e&&h==="none",role:n?"menuitemradio":void 0,onClick:()=>a(h)}))}:{toggleProps:{description:(0,BM.__)("Change alignment")},children:({onClose:h})=>(0,Uf.jsx)(Uf.Fragment,{children:(0,Uf.jsx)(xu.MenuGroup,{className:"block-editor-block-alignment-control__menu-group",children:i.map(({name:p,info:g})=>{let{icon:b,title:v}=Hv[p],k=p===e||!e&&p==="none";return(0,Uf.jsx)(xu.MenuItem,{icon:b,iconPosition:"left",className:V("components-dropdown-menu__menu-item",{"is-active":k}),isSelected:k,onClick:()=>{a(p),h()},role:"menuitemradio",info:g,children:v},p)})})})};return(0,Uf.jsx)(d,{...f,...m})}var EM=Xve;var TM=l(w(),1),aC=e=>(0,TM.jsx)(EM,{...e,isToolbar:!1}),hH=e=>(0,TM.jsx)(EM,{...e,isToolbar:!0});var yH=l(vf(),1),dC=l(N(),1),fC=l($(),1),Cs=l(A(),1),RM=l(F(),1),SH=l(O(),1),_H=l(Z(),1);var PM=l(vf(),1),gH=l($(),1),bH=l(A(),1),kH=l(F(),1),cC=l(O(),1),vH=l(Z(),1);var lC=l(F(),1);function IM(e){return!e||Object.keys(e).length===0}function El(e){let{clientId:t}=Pe(),o=e||t,{updateBlockAttributes:r}=(0,lC.useDispatch)(_),{getBlockAttributes:n}=(0,lC.useRegistry)().select(_);return{updateBlockBindings:a=>{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,h])=>{if(!h&&d[m]){delete d[m];return}d[m]=h});let f={...u,bindings:d};IM(f.bindings)&&delete f.bindings,r(o,{metadata:IM(f)?void 0:f})},removeAllBlockBindings:()=>{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:IM(c)?void 0:c})}}}var ws=l(w(),1),{Menu:wu}=M(bH.privateApis);function Qve({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,cC.useMemo)(()=>({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,cC.useContext)(xr),a=(0,kH.useSelect)(u=>r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=El();return(0,ws.jsxs)(wu.CheckboxItem,{onChange:()=>{let u=(0,PM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+"-binding",value:a[t],checked:(0,PM.default)(e,o.args)??o.key===e?.key,children:[(0,ws.jsx)(wu.ItemLabel,{children:o.label}),(0,ws.jsx)(wu.ItemHelpText,{children:a[t]})]})}function Gv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,vH.useViewportMatch)("medium","<");if(!r||r.length===0)return null;let i=(0,gH.getBlockBindingsSource)(o);return(0,ws.jsxs)(wu,{placement:n?"bottom-start":"left-start",children:[(0,ws.jsx)(wu.SubmenuTriggerItem,{children:(0,ws.jsx)(wu.ItemLabel,{children:i.label})}),(0,ws.jsx)(wu.Popover,{gutter:8,children:(0,ws.jsx)(wu.Group,{children:r.map(s=>(0,ws.jsx)(Qve,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var Pi=l(w(),1),{Menu:uC}=M(Cs.privateApis);function Wv({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=El(),n=(0,_H.useViewportMatch)("medium","<"),i=(0,SH.useContext)(xr),s=(0,RM.useSelect)(g=>{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:v,getBlockType:k}=M(g(fC.store)),y=k(o).attributes?.[e]?.type,S=y==="rich-text"?"string":y,x={};return Object.entries(b()).forEach(([C,B])=>{let I=v(B,i);if(!I?.length)return;let P=I.filter(E=>E.type===S);P.length&&(x[C]=P)}),x},[e,o,i]),{canUpdateBlockBindings:a}=(0,RM.useSelect)(g=>({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length>0,u=!a||!c,{source:d,args:f}=t||{},m=(0,fC.getBlockBindingsSource)(d),h,p=!0;return t===void 0?(c?h=(0,dC.__)("Not connected"):h=(0,dC.__)("No sources available"),p=!0):m?h=s?.[d]?.find(g=>(0,yH.default)(g.args,f))?.label||m?.label||d:(p=!1,h=(0,dC.__)("Source not registered")),(0,Pi.jsx)(Cs.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!c&&(()=>{r({[e]:void 0})}),children:(0,Pi.jsxs)(uC,{placement:n?"bottom-start":"left-start",children:[(0,Pi.jsx)(uC.TriggerButton,{render:(0,Pi.jsx)(Cs.__experimentalItem,{}),disabled:!c,children:(0,Pi.jsxs)(Cs.__experimentalVStack,{className:"block-editor-bindings__item",spacing:0,children:[(0,Pi.jsx)(Cs.__experimentalText,{truncate:!0,children:e}),(0,Pi.jsx)(Cs.__experimentalText,{truncate:!0,variant:p?"muted":void 0,isDestructive:!p,children:h})]})}),!u&&(0,Pi.jsx)(uC.Popover,{gutter:n?8:36,children:(0,Pi.jsx)(uC,{placement:n?"bottom-start":"left-start",children:Object.entries(s).map(([g,b])=>(0,Pi.jsx)(Gv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var xH=l(N(),1),wH=l(A(),1);var CH=l(w(),1);function Jve({isActive:e,label:t=(0,xH.__)("Full height"),onToggle:o,isDisabled:r}){return(0,CH.jsx)(wH.ToolbarButton,{isActive:e,icon:NA,label:t,onClick:()=>o(!e),disabled:r})}var BH=Jve;var TH=l(N(),1),IH=l(it(),1),Hf=l(A(),1),$v=l(w(),1),eye=()=>{};function tye(e){let{label:t=(0,TH.__)("Change matrix alignment"),onChange:o=eye,value:r="center",isDisabled:n}=e,i=(0,$v.jsx)(Hf.AlignmentMatrixControl.Icon,{value:r});return(0,$v.jsx)(Hf.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:({onToggle:s,isOpen:a})=>(0,$v.jsx)(Hf.ToolbarButton,{onClick:s,"aria-haspopup":"true","aria-expanded":a,onKeyDown:u=>{!a&&u.keyCode===IH.DOWN&&(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=>(0,$v.jsx)(Hf.AlignmentMatrixControl,{onChange:o,value:r})})}var PH=tye;var LM=l(A(),1),hC=l(F(),1),gC=l(N(),1);var DH=l(O(),1);var RH=l(F(),1),mC=l($(),1);function zr({clientId:e,maximumLength:t,context:o}){let r=(0,RH.useSelect)(n=>{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(mC.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,mC.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&&t>0&&r.length>t?r.slice(0,t-3)+"...":r:null}function Kv({clientId:e,maximumLength:t,context:o}){return zr({clientId:e,maximumLength:t,context:o})}var Gf=l(O(),1),LH=l(Z(),1);var pC=l(O(),1),OM=l(Z(),1),OH=l(w(),1),Yv=(0,pC.createContext)({refsMap:(0,OM.observableMap)()});Yv.displayName="BlockRefsContext";function AH({children:e}){let t=(0,pC.useMemo)(()=>({refsMap:(0,OM.observableMap)()}),[]);return(0,OH.jsx)(Yv.Provider,{value:t,children:e})}function NH(e){let{refsMap:t}=(0,Gf.useContext)(Yv);return(0,LH.useRefEffect)(o=>(t.set(e,o),()=>t.delete(e)),[e])}function AM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Wf(e,t){let{refsMap:o}=(0,Gf.useContext)(Yv);(0,Gf.useLayoutEffect)(()=>{AM(t,o.get(e));let r=o.subscribe(e,()=>AM(t,o.get(e)));return()=>{r(),AM(t,null)}},[o,e,t])}function ft(e){let[t,o]=(0,Gf.useState)(null);return Wf(e,o),t}function MH(e){if(!e)return null;let t=Array.from(document.querySelectorAll('iframe[name="editor-canvas"]').values()).find(o=>(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest('[role="region"]')??t}var Gn=l(w(),1);function oye({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,hC.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,hC.useSelect)(c=>{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=M(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,gC._x)("Document","noun, breadcrumb"),a=(0,DH.useRef)();return Wf(r,a),(0,Gn.jsxs)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,gC.__)("Block breadcrumb"),children:[(0,Gn.jsxs)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true",children:[i&&(0,Gn.jsx)(LM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>{let c=a.current?.closest(".editor-styles-wrapper");o(),MH(c)?.focus()},children:s}),!i&&(0,Gn.jsx)("span",{children:s}),!!r&&(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]}),n.map(c=>(0,Gn.jsxs)("li",{children:[(0,Gn.jsx)(LM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>t(c),children:(0,Gn.jsx)(Kv,{clientId:c,maximumLength:35,context:"breadcrumb"})}),(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]},c)),!!r&&(0,Gn.jsx)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true",children:(0,Gn.jsx)(Kv,{clientId:r,maximumLength:35,context:"breadcrumb"})})]})}var VH=oye;var FH=l(F(),1);function zH(e){return(0,FH.useSelect)(t=>{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var xT=l(Z(),1),ZQ=l(O(),1),XQ=l(F(),1),QQ=l(A(),1);var Gi=l(F(),1),ZB=l(Z(),1),ed=l(O(),1),sq=l($(),1);var Nu=l(O(),1),He=l($(),1),d9=l(A(),1),c1=l(F(),1),f9=l(Z(),1),m9=l(je(),1);var Tl=l(N(),1),kC=l(A(),1),$f=l(O(),1),lh=l($(),1),vC=l(F(),1);var qH=l(WH(),1),bC=l(N(),1),ZH=l($(),1);var $H=l(A(),1),KH=l(O(),1),YH=l(je(),1),ha=l(w(),1);function MM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,ha.jsxs)("div",{className:i,children:[(0,ha.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,ha.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,ha.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,ha.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,ha.jsx)(KH.RawHTML,{children:(0,YH.safeHTML)(o)})})]}),(0,ha.jsx)("div",{className:"block-editor-block-compare__action",children:(0,ha.jsx)($H.Button,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:r,children:n})})]})}var ah=l(w(),1);function lye({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,qH.diffChars)(u,d).map((m,h)=>{let p=V({"block-editor-block-compare__added":m.added,"block-editor-block-compare__removed":m.removed});return(0,ah.jsx)("span",{className:p,children:m.value},h)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=>(0,ZH.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join("")}let a=s(r(e)),c=i(e.originalContent,a);return(0,ah.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,ah.jsx)(MM,{title:(0,bC.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,bC.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,ah.jsx)(MM,{title:(0,bC.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:n,rawContent:c,renderedContent:a})]})}var XH=lye;var Il=l(w(),1),QH=e=>(0,lh.rawHandler)({HTML:e.originalContent});function JH({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,vC.useSelect)(d=>{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:h}=d(_),p=h(e);return{block:m(e),canInsertHTMLBlock:f("core/html",p),canInsertClassicBlock:f("core/freeform",p)}},[e]),{replaceBlock:n}=(0,vC.useDispatch)(_),[i,s]=(0,$f.useState)(!1),a=(0,$f.useCallback)(()=>s(!1),[]),c=(0,$f.useMemo)(()=>({toClassic(){let d=(0,lh.createBlock)("core/freeform",{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,lh.createBlock)("core/html",{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=QH(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,lh.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,$f.useMemo)(()=>[{title:(0,Tl._x)("Resolve","imperative verb"),onClick:()=>s(!0)},o&&{title:(0,Tl.__)("Convert to HTML"),onClick:c.toHTML},r&&{title:(0,Tl.__)("Convert to Classic Block"),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(pu,{actions:[(0,Il.jsx)(kC.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:"primary",children:(0,Tl.__)("Attempt recovery")},"recover")],secondaryActions:u,children:(0,Tl.__)("Block contains unexpected or invalid content.")}),i&&(0,Il.jsx)(kC.Modal,{title:(0,Tl.__)("Resolve Block"),onRequestClose:a,className:"block-editor-block-compare",children:(0,Il.jsx)(XH,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:QH,convertButtonText:(0,Tl.__)("Convert to Blocks")})})]})}var e8=l(N(),1);var t8=l(w(),1),cye=(0,t8.jsx)(pu,{className:"block-editor-block-list__block-crash-warning",children:(0,e8.__)("This block has encountered an error and cannot be previewed.")}),o8=()=>cye;var r8=l(O(),1),uye=class extends r8.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},n8=uye;var x8=l(FM(),1),xC=l(O(),1),wC=l(F(),1),ga=l($(),1);var w8=l(w(),1);function Sye({clientId:e}){let[t,o]=(0,xC.useState)(""),r=(0,wC.useSelect)(s=>s(_).getBlock(e),[e]),{updateBlock:n}=(0,wC.useDispatch)(_),i=()=>{let s=(0,ga.getBlockType)(r.name);if(!s)return;let a=(0,ga.getBlockAttributes)(s,t,r.attributes),c=t||(0,ga.getSaveContent)(s,a),[u]=t?(0,ga.validateBlock)({...r,attributes:a,originalContent:c}):[!0];n(e,{attributes:a,originalContent:c,isValid:u}),t||o(c)};return(0,xC.useEffect)(()=>{o((0,ga.getBlockContent)(r))},[r]),(0,w8.jsx)(x8.default,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:i,onChange:s=>o(s.target.value)})}var C8=Sye;var l9=l(O(),1),s1=l(N(),1),c9=l($(),1),a1=l(Z(),1),u9=l(Xv(),1);var jM=Jv(),ye=e=>Qv(e,jM),UM=Jv();ye.write=e=>Qv(e,UM);var CC=Jv();ye.onStart=e=>Qv(e,CC);var HM=Jv();ye.onFrame=e=>Qv(e,HM);var GM=Jv();ye.onFinish=e=>Qv(e,GM);var ch=[];ye.setTimeout=(e,t)=>{let o=ye.now()+t,r=()=>{let i=ch.findIndex(s=>s.cancel==r);~i&&ch.splice(i,1),Bu-=~i?1:0},n={time:o,handler:e,cancel:r};return ch.splice(E8(o),0,n),Bu+=1,T8(),n};var E8=e=>~(~ch.findIndex(t=>t.time>e)||~ch.length);ye.cancel=e=>{CC.delete(e),HM.delete(e),GM.delete(e),jM.delete(e),UM.delete(e)};ye.sync=e=>{zM=!0,ye.batchedUpdates(e),zM=!1};ye.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,ye.onStart(o)}return r.handler=e,r.cancel=()=>{CC.delete(o),t=null},r};var WM=typeof window<"u"?window.requestAnimationFrame:()=>{};ye.use=e=>WM=e;ye.now=typeof performance<"u"?()=>performance.now():Date.now;ye.batchedUpdates=e=>e();ye.catch=console.error;ye.frameLoop="always";ye.advance=()=>{ye.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):P8()};var Cu=-1,Bu=0,zM=!1;function Qv(e,t){zM?(t.delete(e),e(0)):(t.add(e),T8())}function T8(){Cu<0&&(Cu=0,ye.frameLoop!=="demand"&&WM(I8))}function _ye(){Cu=-1}function I8(){~Cu&&(WM(I8),ye.batchedUpdates(P8))}function P8(){let e=Cu;Cu=ye.now();let t=E8(Cu);if(t&&(R8(ch.splice(0,t),o=>o.handler()),Bu-=t),!Bu){_ye();return}CC.flush(),jM.flush(e?Math.min(64,Cu-e):16.667),HM.flush(),UM.flush(),GM.flush()}function Jv(){let e=new Set,t=e;return{add(o){Bu+=t==e&&!e.has(o)?1:0,e.add(o)},delete(o){return Bu-=t==e&&e.has(o)?1:0,e.delete(o)},flush(o){t.size&&(e=new Set,Bu-=t.size,R8(t,r=>r(o)&&e.add(r)),Bu+=e.size,t=e)}}}function R8(e,t){e.forEach(o=>{try{t(o)}catch(r){ye.catch(r)}})}var Oi=l(jr());function PC(){}var D8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function ba(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let o=0;oe.forEach(t);function Ai(e,t,o){if(ae.arr(e)){for(let r=0;rae.und(e)?[]:ae.arr(e)?e:[e];function mh(e,t){if(e.size){let o=Array.from(e);e.clear(),bt(o,t)}}var ph=(e,...t)=>mh(e,o=>o(...t)),XM=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),QM,V8,Eu=null,F8=!1,JM=PC,xye=e=>{e.to&&(V8=e.to),e.now&&(ye.now=e.now),e.colors!==void 0&&(Eu=e.colors),e.skipAnimation!=null&&(F8=e.skipAnimation),e.createStringInterpolator&&(QM=e.createStringInterpolator),e.requestAnimationFrame&&ye.use(e.requestAnimationFrame),e.batchedUpdates&&(ye.batchedUpdates=e.batchedUpdates),e.willAdvance&&(JM=e.willAdvance),e.frameLoop&&(ye.frameLoop=e.frameLoop)},Wn=Object.freeze({__proto__:null,get createStringInterpolator(){return QM},get to(){return V8},get colors(){return Eu},get skipAnimation(){return F8},get willAdvance(){return JM},assign:xye}),ey=new Set,Ri=[],$M=[],TC=0,hh={get idle(){return!ey.size&&!Ri.length},start(e){TC>e.priority?(ey.add(e),ye.onStart(wye)):(z8(e),ye(qM))},advance:qM,sort(e){if(TC)ye.onFrame(()=>hh.sort(e));else{let t=Ri.indexOf(e);~t&&(Ri.splice(t,1),j8(e))}},clear(){Ri=[],ey.clear()}};function wye(){ey.forEach(z8),ey.clear(),ye(qM)}function z8(e){Ri.includes(e)||j8(e)}function j8(e){Ri.splice(Cye(Ri,t=>t.priority>e.priority),0,e)}function qM(e){let t=$M;for(let o=0;o0}function Cye(e,t){let o=e.findIndex(t);return o<0?e.length:o}var U8={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bs="[-+]?\\d*\\.?\\d+",IC=Bs+"%";function RC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Bye=new RegExp("rgb"+RC(Bs,Bs,Bs)),Eye=new RegExp("rgba"+RC(Bs,Bs,Bs,Bs)),Tye=new RegExp("hsl"+RC(Bs,IC,IC)),Iye=new RegExp("hsla"+RC(Bs,IC,IC,Bs)),Pye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Rye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Oye=/^#([0-9a-fA-F]{6})$/,Aye=/^#([0-9a-fA-F]{8})$/;function Lye(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Oye.exec(e))?parseInt(t[1]+"ff",16)>>>0:Eu&&Eu[e]!==void 0?Eu[e]:(t=Bye.exec(e))?(uh(t[1])<<24|uh(t[2])<<16|uh(t[3])<<8|255)>>>0:(t=Eye.exec(e))?(uh(t[1])<<24|uh(t[2])<<16|uh(t[3])<<8|L8(t[4]))>>>0:(t=Pye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Aye.exec(e))?parseInt(t[1],16)>>>0:(t=Rye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Tye.exec(e))?(O8(A8(t[1]),BC(t[2]),BC(t[3]))|255)>>>0:(t=Iye.exec(e))?(O8(A8(t[1]),BC(t[2]),BC(t[3]))|L8(t[4]))>>>0:null}function KM(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function O8(e,t,o){let r=o<.5?o*(1+t):o+t-o*t,n=2*o-r,i=KM(n,r,e+1/3),s=KM(n,r,e),a=KM(n,r,e-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function uh(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function A8(e){return(parseFloat(e)%360+360)%360/360}function L8(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function BC(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function N8(e){let t=Lye(e);if(t===null)return e;t=t||0;let o=(t&4278190080)>>>24,r=(t&16711680)>>>16,n=(t&65280)>>>8,i=(t&255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var Tu=(e,t,o)=>{if(ae.fun(e))return e;if(ae.arr(e))return Tu({range:e,output:t,extrapolate:o});if(ae.str(e.output[0]))return QM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{let d=Mye(u,i);return Nye(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Nye(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(uo){if(a==="identity")return u;a==="clamp"&&(u=o)}return r===n?r:t===o?e<=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Mye(e,t){for(var o=1;o=e);++o);return o-1}function ZM(){return ZM=Object.assign?Object.assign.bind():function(e){for(var t=1;t!!(e&&e[dh]),pr=e=>e&&e[dh]?e[dh]():e,eD=e=>e[Kf]||null;function Dye(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Yf(e,t){let o=e[Kf];o&&o.forEach(r=>{Dye(r,t)})}var fh=class{constructor(t){if(this[dh]=void 0,this[Kf]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");Vye(this,t)}},Vye=(e,t)=>H8(e,dh,t);function Iu(e,t){if(e[dh]){let o=e[Kf];o||H8(e,Kf,o=new Set),o.has(t)||(o.add(t),e.observerAdded&&e.observerAdded(o.size,t))}return t}function Pu(e,t){let o=e[Kf];if(o&&o.has(t)){let r=o.size-1;r?o.delete(t):e[Kf]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var H8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),EC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Fye=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,M8=new RegExp(`(${EC.source})(%|[a-z]+)`,"i"),zye=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,OC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,G8=e=>{let[t,o]=jye(e);if(!t||XM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&&o.startsWith("--")){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&&OC.test(o))return G8(o);if(o)return o}return e},jye=e=>{let t=OC.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},YM,Uye=(e,t,o,r,n)=>`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,AC=e=>{YM||(YM=Eu?new RegExp(`(${Object.keys(Eu).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(i=>pr(i).replace(OC,G8).replace(Fye,N8).replace(YM,N8)),o=t.map(i=>i.match(EC).map(Number)),n=o[0].map((i,s)=>o.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(i=>Tu(ZM({},e,{output:i})));return i=>{var s;let a=!M8.test(t[0])&&((s=t.find(u=>M8.test(u)))==null?void 0:s.replace(EC,"")),c=0;return t[0].replace(EC,()=>`${n[c++](i)}${a||""}`).replace(zye,Uye)}},W8="react-spring: ",$8=e=>{let t=e,o=!1;if(typeof t!="function")throw new TypeError(`${W8}once requires a function parameter`);return(...r)=>{o||(t(...r),o=!0)}},Hye=$8(console.warn);function K8(){Hye(`${W8}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var $ze=$8(console.warn);function gh(e){return ae.str(e)&&(e[0]=="#"||/\d/.test(e)||!XM()&&OC.test(e)||e in(Eu||{}))}var ty=XM()?Oi.useEffect:Oi.useLayoutEffect,Gye=()=>{let e=(0,Oi.useRef)(!1);return ty(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function tD(){let e=(0,Oi.useState)()[1],t=Gye();return()=>{t.current&&e(Math.random())}}function Y8(e,t){let[o]=(0,Oi.useState)(()=>({inputs:t,result:e()})),r=(0,Oi.useRef)(),n=r.current,i=n;return i?t&&i.inputs&&Wye(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,Oi.useEffect)(()=>{r.current=i,n==o&&(o.inputs=o.result=void 0)},[i]),i.result}function Wye(e,t){if(e.length!==t.length)return!1;for(let o=0;o(0,Oi.useEffect)(e,$ye),$ye=[];var dy=l(jr()),fy=l(jr());var Q8=l(jr()),Rl=l(jr()),oy=Symbol.for("Animated:node"),Kye=e=>!!e&&e[oy]===e,Es=e=>e&&e[oy],DC=(e,t)=>D8(e,oy,t),ry=e=>e&&e[oy]&&e[oy].getPayload(),LC=class{constructor(){this.payload=void 0,DC(this,this)}getPayload(){return this.payload||[]}},qf=class e extends LC{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ae.num(t)&&(this.lastPosition=t,o&&(t=Math.round(t/o)*o,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ae.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Zf=class e extends qf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},NC={dependencies:null},Xf=class extends LC{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return Ai(this.source,(r,n)=>{Kye(r)?o[n]=r.getValue(t):Ur(r)?o[n]=pr(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&bt(this.payload,t=>t.reset())}_makePayload(t){if(t){let o=new Set;return Ai(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){NC.dependencies&&Ur(t)&&NC.dependencies.add(t);let o=ry(t);o&&bt(o,r=>this.add(r))}},rD=class e extends Xf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(Yye)),!0)}};function Yye(e){return(gh(e)?Zf:qf).create(e)}function VC(e){let t=Es(e);return t?t.constructor:ae.arr(e)?rD:gh(e)?Zf:qf}function MC(){return MC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let o=!ae.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,Rl.forwardRef)((r,n)=>{let i=(0,Rl.useRef)(null),s=o&&(0,Rl.useCallback)(p=>{i.current=Zye(n,p)},[n]),[a,c]=qye(r,t),u=tD(),d=()=>{let p=i.current;if(o&&!p)return;(p?t.applyAnimatedValues(p,a.getValue(!0)):!1)===!1&&u()},f=new nD(d,c),m=(0,Rl.useRef)();ty(()=>(m.current=f,bt(c,p=>Iu(p,f)),()=>{m.current&&(bt(m.current.deps,p=>Pu(p,m.current)),ye.cancel(m.current.update))})),(0,Rl.useEffect)(d,[]),oD(()=>()=>{let p=m.current;bt(p.deps,g=>Pu(g,p))});let h=t.getComponentProps(a.getValue());return Q8.createElement(e,MC({},h,{ref:s}))})},nD=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type=="change"&&ye.write(this.update)}};function qye(e,t){let o=new Set;return NC.dependencies=o,e.style&&(e=MC({},e,{style:t.createAnimatedStyle(e.style)})),e=new Xf(e),NC.dependencies=null,[e,o]}function Zye(e,t){return e&&(ae.fun(e)?e(t):e.current=t),t}var Z8=Symbol.for("AnimatedComponent"),J8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:o=n=>new Xf(n),getComponentProps:r=n=>n}={})=>{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=>{let a=X8(s)||"Anonymous";return ae.str(s)?s=i[s]||(i[s]=q8(s,n)):s=s[Z8]||(s[Z8]=q8(s,n)),s.displayName=`Animated(${a})`,s};return Ai(e,(s,a)=>{ae.arr(e)&&(a=X8(s)),i[a]=i(s)}),{animated:i}},X8=e=>ae.str(e)?e:e&&ae.str(e.displayName)?e.displayName:ae.fun(e)&&e.name||null;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;te===!0||!!(t&&e&&(ae.fun(e)?e(t):hn(e).includes(t))),d7=(e,t)=>ae.obj(e)?t&&e[t]:e,f7=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Xye=e=>e,m7=(e,t=Xye)=>{let o=Qye;e.default&&e.default!==!0&&(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ae.und(i)||(r[n]=i)}return r},Qye=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Jye={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function eSe(e){let t={},o=0;if(Ai(e,(r,n)=>{Jye[n]||(t[n]=r,o++)}),o)return t}function p7(e){let t=eSe(e);if(t){let o={to:t};return Ai(e,(r,n)=>n in t||(o[n]=r)),o}return Hr({},e)}function ly(e){return e=pr(e),ae.arr(e)?e.map(ly):gh(e)?Wn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function aD(e){return ae.fun(e)||ae.arr(e)&&ae.obj(e[0])}var tSe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},jC=1.70158,FC=jC*1.525,e7=jC+1,t7=2*Math.PI/3,o7=2*Math.PI/4.5,zC=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,oSe={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>e7*e*e*e-jC*e*e,easeOutBack:e=>1+e7*Math.pow(e-1,3)+jC*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((FC+1)*2*e-FC)/2:(Math.pow(2*e-2,2)*((FC+1)*(e*2-2)+FC)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*t7),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*t7)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*o7))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*o7)/2+1,easeInBounce:e=>1-zC(1-e),easeOutBounce:zC,easeInOutBounce:e=>e<.5?(1-zC(1-2*e))/2:(1+zC(2*e-1))/2},lD=Hr({},tSe.default,{mass:1,damping:1,easing:oSe.linear,clamp:!1}),cD=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,lD)}};function rSe(e,t,o){o&&(o=Hr({},o),r7(o,t),t=Hr({},o,t)),r7(e,t),Object.assign(e,t);for(let s in lD)e[s]==null&&(e[s]=lD[s]);let{mass:r,frequency:n,damping:i}=e;return ae.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function r7(e,t){if(!ae.und(t.decay))e.duration=void 0;else{let o=!ae.und(t.tension)||!ae.und(t.friction);(o||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&&(e.duration=void 0,e.decay=void 0),o&&(e.frequency=void 0)}}var n7=[],uD=class{constructor(){this.changed=!1,this.values=n7,this.toValues=null,this.fromValues=n7,this.to=void 0,this.from=void 0,this.config=new cD,this.immediate=!1}};function h7(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=>{var c;let u,d,f=ay((c=o.cancel)!=null?c:r?.cancel,t);if(f)p();else{ae.und(o.pause)||(n.paused=ay(o.pause,t));let g=r?.pause;g!==!0&&(g=n.paused||ay(g,t)),u=Qf(o.delay||0,t),g?(n.resumeQueue.add(h),i.pause()):(i.resume(),h())}function m(){n.resumeQueue.add(h),n.timeouts.delete(d),d.cancel(),u=d.time-ye.now()}function h(){u>0&&!Wn.skipAnimation?(n.delayed=!0,d=ye.setTimeout(p,u),n.pauseQueue.add(m),n.timeouts.add(d)):p()}function p(){n.delayed&&(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e<=(n.cancelId||0)&&(f=!0);try{i.start(Hr({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var bD=(e,t)=>t.length==1?t[0]:t.some(o=>o.cancelled)?bh(e.get()):t.every(o=>o.noop)?g7(e.get()):Ts(e.get(),t.every(o=>o.finished)),g7=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ts=(e,t,o=!1)=>({value:e,finished:t,cancelled:o}),bh=e=>({value:e,cancelled:!0,finished:!1});function b7(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&&e===a&&!t.reset?c:o.promise=(async()=>{o.asyncId=n,o.asyncTo=e;let u=m7(t,(b,v)=>v==="onRest"?void 0:b),d,f,m=new Promise((b,v)=>(d=b,f=v)),h=b=>{let v=n<=(o.cancelId||0)&&bh(r)||n!==o.asyncId&&Ts(r,!1);if(v)throw b.result=v,f(b),b},p=(b,v)=>{let k=new UC,y=new HC;return(async()=>{if(Wn.skipAnimation)throw cy(o),y.result=Ts(r,!1),f(y),y;h(k);let S=ae.obj(b)?Hr({},b):Hr({},v,{to:b});S.parentId=n,Ai(u,(C,B)=>{ae.und(S[B])&&(S[B]=C)});let x=await r.start(S);return h(k),o.paused&&await new Promise(C=>{o.resumeQueue.add(C)}),x})()},g;if(Wn.skipAnimation)return cy(o),Ts(r,!1);try{let b;ae.arr(e)?b=(async v=>{for(let k of v)await p(k)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=Ts(r.get(),!0,!1)}catch(b){if(b instanceof UC)g=b.result;else if(b instanceof HC)g=b.result;else throw b}finally{n==o.asyncId&&(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ae.fun(s)&&ye.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function cy(e,t){mh(e.timeouts,o=>o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var UC=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}},HC=class extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}},dD=e=>e instanceof uy,nSe=1,uy=class extends fh{constructor(...t){super(...t),this.id=nSe++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=Es(this);return t&&t.getValue()}to(...t){return Wn.to(this,t)}interpolate(...t){return K8(),Wn.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){Yf(this,{type:"change",parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||hh.sort(this),Yf(this,{type:"priority",parent:this,priority:t})}},Jf=Symbol.for("SpringPhase"),k7=1,fD=2,mD=4,iD=e=>(e[Jf]&k7)>0,Ru=e=>(e[Jf]&fD)>0,ny=e=>(e[Jf]&mD)>0,i7=(e,t)=>t?e[Jf]|=fD|k7:e[Jf]&=~fD,s7=(e,t)=>t?e[Jf]|=mD:e[Jf]&=~mD,pD=class extends uy{constructor(t,o){if(super(),this.key=void 0,this.animation=new uD,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(o)){let r=ae.obj(t)?Hr({},t):Hr({},o,{from:t});ae.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ru(this)||this._state.asyncTo)||ny(this)}get goal(){return pr(this.animation.to)}get velocity(){let t=Es(this);return t instanceof qf?t.lastVelocity||0:t.getPayload().map(o=>o.lastVelocity||0)}get hasAnimated(){return iD(this)}get isAnimating(){return Ru(this)}get isPaused(){return ny(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=ry(n.to);!a&&Ur(n.to)&&(s=hn(pr(n.to))),n.values.forEach((d,f)=>{if(d.done)return;let m=d.constructor==Zf?1:a?a[f].lastPosition:s[f],h=n.immediate,p=m;if(!h){if(p=d.lastPosition,i.tension<=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],v=d.v0!=null?d.v0:d.v0=ae.arr(i.velocity)?i.velocity[f]:i.velocity,k,y=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ae.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,x=Math.exp(-(1-S)*g);p=b+v/(1-S)*(1-x),h=Math.abs(d.lastPosition-p)<=y,k=v*x}else{k=d.lastVelocity==null?v:d.lastVelocity;let S=i.restVelocity||y/10,x=i.clamp?0:i.bounce,C=!ae.und(x),B=b==m?d.v0>0:bS,!(!I&&(h=Math.abs(m-p)<=y,h)));++T){C&&(P=p==m||p>m==B,P&&(k=-k*x,p=m));let R=-i.tension*1e-6*(p-m),D=-i.friction*.001*k,j=(R+D)/i.mass;k=k+j*E,p=p+k*E}}else{let S=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,d.durationProgress>0&&(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S>1?1:S<0?0:S,d.durationProgress=S),p=b+i.easing(S)*(m-b),k=(p-d.lastPosition)/t,h=S==1}d.lastVelocity=k,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}a&&!a[f].done&&(h=!1),h?d.done=!0:o=!1,d.setValue(p,i.round)&&(r=!0)});let c=Es(this),u=c.getValue();if(o){let d=pr(n.to);(u!==d||r)&&!i.decay?(c.setValue(d),this._onChange(d)):r&&i.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(t){return ye.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ru(this)){let{to:t,config:o}=this.animation;ye.batchedUpdates(()=>{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ae.und(t)?(r=this.queue||[],this.queue=[]):r=[ae.obj(t)?t:Hr({},o,{to:t})],Promise.all(r.map(n=>this._update(n))).then(n=>bD(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),cy(this._state,t&&this._lastCallId),ye.batchedUpdates(()=>this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||"",{to:r,from:n}=t;r=ae.obj(r)?r[o]:r,(r==null||aD(r))&&(r=void 0),n=ae.obj(n)?n[o]:n,n==null&&(n=void 0);let i={to:r,from:n};return iD(this)||(t.reverse&&([r,n]=[n,r]),n=pr(n),ae.und(n)?Es(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Hr({},t),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,m7(r,(c,u)=>/^on/.test(u)?d7(c,n):c)),l7(this,r,"onProps"),sy(this,"onProps",r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return h7(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{ny(this)||(s7(this,!0),ph(a.pauseQueue),sy(this,"onPause",Ts(this,iy(this,this.animation.to)),this))},resume:()=>{ny(this)&&(s7(this,!1),Ru(this)&&this._resume(),ph(a.resumeQueue),sy(this,"onResume",Ts(this,iy(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=>{if(r.loop&&c.finished&&!(o&&c.noop)){let u=v7(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(bh(this));let n=!ae.und(t.to),i=!ae.und(t.from);if(n||i)if(o.callId>this._lastToId)this._lastToId=o.callId;else return r(bh(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&&!n&&(!o.default||ae.und(f))&&(f=m),o.reverse&&([f,m]=[m,f]);let h=!ba(m,d);h&&(c.from=m),m=pr(m);let p=!ba(f,u);p&&this._focus(f);let g=aD(o.to),{config:b}=c,{decay:v,velocity:k}=b;(n||i)&&(b.velocity=0),o.config&&!g&&rSe(b,Qf(o.config,s),o.config!==a.config?Qf(a.config,s):void 0);let y=Es(this);if(!y||ae.und(f))return r(Ts(this,!0));let S=ae.und(o.reset)?i&&!o.default:!ae.und(m)&&ay(o.reset,s),x=S?m:this.get(),C=ly(f),B=ae.num(C)||ae.arr(C)||gh(C),I=!g&&(!B||ay(a.immediate||o.immediate,s));if(p){let T=VC(f);if(T!==y.constructor)if(I)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${T.name}, as the "to" prop suggests`)}let P=y.constructor,E=Ur(f),L=!1;if(!E){let T=S||!iD(this)&&h;(p||T)&&(L=ba(ly(x),C),E=!L),(!ba(c.immediate,I)&&!I||!ba(b.decay,v)||!ba(b.velocity,k))&&(E=!0)}if(L&&Ru(this)&&(c.changed&&!S?E=!0:E||this._stop(u)),!g&&((E||Ur(u))&&(c.values=y.getPayload(),c.toValues=Ur(f)?null:P==Zf?[1]:hn(C)),c.immediate!=I&&(c.immediate=I,!I&&!S&&this._set(u)),E)){let{onRest:T}=c;bt(iSe,D=>l7(this,o,D));let R=Ts(this,iy(this,u));ph(this._pendingCalls,R),this._pendingCalls.add(r),c.changed&&ye.batchedUpdates(()=>{c.changed=!S,T?.(R,this),S?Qf(a.onRest,R):c.onStart==null||c.onStart(R,this)})}S&&this._set(x),g?r(b7(o.to,o,this._state,this)):E?this._start():Ru(this)&&!p?this._pendingCalls.add(r):r(g7(x))}_focus(t){let o=this.animation;t!==o.to&&(eD(this)&&this._detach(),o.to=t,eD(this)&&this._attach())}_attach(){let t=0,{to:o}=this.animation;Ur(o)&&(Iu(o,this),dD(o)&&(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Ur(t)&&Pu(t,this)}_set(t,o=!0){let r=pr(t);if(!ae.und(r)){let n=Es(this);if(!n||!ba(r,n.getValue())){let i=VC(r);!n||n.constructor!=i?DC(this,i.create(r)):n.setValue(r),n&&ye.batchedUpdates(()=>{this._onChange(r,o)})}}return Es(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,sy(this,"onStart",Ts(this,iy(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Qf(this.animation.onChange,t,this)),Qf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;Es(this).reset(pr(t.to)),t.immediate||(t.fromValues=t.values.map(o=>o.lastPosition)),Ru(this)||(i7(this,!0),ny(this)||this._resume())}_resume(){Wn.skipAnimation?this.finish():hh.start(this)}_stop(t,o){if(Ru(this)){i7(this,!1);let r=this.animation;bt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Yf(this,{type:"idle",parent:this});let n=o?bh(this.get()):Ts(this.get(),iy(this,t??r.to));ph(this._pendingCalls,n),r.changed&&(r.changed=!1,sy(this,"onRest",n,this))}}};function iy(e,t){let o=ly(t),r=ly(e.get());return ba(r,o)}function v7(e,t=e.loop,o=e.to){let r=Qf(t);if(r){let n=r!==!0&&p7(r),i=(n||e).reverse,s=!n||n.reset;return hD(Hr({},e,{loop:t,default:!1,pause:void 0,to:!i||aD(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function hD(e){let{to:t,from:o}=e=p7(e),r=new Set;return ae.obj(t)&&a7(t,r),ae.obj(o)&&a7(o,r),e.keys=r.size?Array.from(r):null,e}function a7(e,t){Ai(e,(o,r)=>o!=null&&t.add(r))}var iSe=["onStart","onRest","onChange","onPause","onResume"];function l7(e,t,o){e.animation[o]=t[o]!==f7(t,o)?d7(t[o],e.key):void 0}function sy(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var sSe=["onStart","onChange","onRest"],aSe=1,GC=class{constructor(t,o){this.id=aSe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&&(this._flush=o),t&&this.start(Hr({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=>t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ae.und(r)||this.springs[o].set(r)}}update(t){return t&&this.queue.push(hD(t)),this}start(t){let{queue:o}=this;return t?o=hn(t).map(hD):this.queue=[],this._flush?this._flush(this,o):(S7(this,o),lSe(this,o))}stop(t,o){if(t!==!!t&&(o=t),o){let r=this.springs;bt(hn(o),n=>r[n].stop(!!t))}else cy(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{let o=this.springs;bt(hn(t),r=>o[r].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{let o=this.springs;bt(hn(t),r=>o[r].resume())}return this}each(t){Ai(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,mh(t,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));let s=!n&&this._started,a=i||s&&r.size?this.get():null;i&&o.size&&mh(o,([c,u])=>{u.value=a,c(u,this,this._item)}),s&&(this._started=!1,mh(r,([c,u])=>{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ye.onFrame(this._onFrame)}};function lSe(e,t){return Promise.all(t.map(o=>y7(e,o))).then(o=>bD(e,o))}async function y7(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ae.obj(t.default)&&t.default;s&&(t.loop=!1),n===!1&&(t.to=null),i===!1&&(t.from=null);let d=ae.arr(n)||ae.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):bt(sSe,g=>{let b=t[g];if(ae.fun(b)){let v=e._events[g];t[g]=({finished:k,cancelled:y})=>{let S=v.get(b);S?(k||(S.finished=!1),y&&(S.cancelled=!0)):v.set(b,{value:null,finished:k||!1,cancelled:y||!1})},u&&(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,ph(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),h=t.cancel===!0||f7(t,"cancel")===!0;(d||h&&f.asyncId)&&m.push(h7(++e._lastAsyncId,{props:t,state:f,actions:{pause:PC,resume:PC,start(g,b){h?(cy(f,e._lastAsyncId),b(bh(e))):(g.onRest=a,b(b7(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});let p=bD(e,await Promise.all(m));if(s&&p.finished&&!(o&&p.noop)){let g=v7(t,s,n);if(g)return S7(e,[g]),y7(e,g,!0)}return c&&ye.batchedUpdates(()=>c(p,e,e.item)),p}function cSe(e,t){let o=new pD;return o.key=e,t&&Iu(o,t),o}function uSe(e,t,o){t.keys&&bt(t.keys,r=>{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function S7(e,t){bt(t,o=>{uSe(e.springs,o,r=>cSe(r,e))})}function dSe(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var fSe=["children"],kD=e=>{let{children:t}=e,o=dSe(e,fSe),r=(0,fy.useContext)(WC),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=Y8(()=>({pause:n,immediate:i}),[n,i]);let{Provider:s}=WC;return dy.createElement(s,{value:o},t)},WC=mSe(kD,{});kD.Provider=WC.Provider;kD.Consumer=WC.Consumer;function mSe(e,t){return Object.assign(e,dy.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var c7;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(c7||(c7={}));var gD=class extends uy{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Tu(...o);let r=this._get(),n=VC(r);DC(this,n.create(r))}advance(t){let o=this._get(),r=this.get();ba(o,r)||(Es(this).setValue(o),this._onChange(o,this.idle)),!this.idle&&u7(this._active)&&sD(this)}_get(){let t=ae.arr(this.source)?this.source.map(pr):hn(pr(this.source));return this.calc(...t)}_start(){this.idle&&!u7(this._active)&&(this.idle=!1,bt(ry(this),t=>{t.done=!1}),Wn.skipAnimation?(ye.batchedUpdates(()=>this.advance()),sD(this)):hh.start(this))}_attach(){let t=1;bt(hn(this.source),o=>{Ur(o)&&Iu(o,this),dD(o)&&(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){bt(hn(this.source),t=>{Ur(t)&&Pu(t,this)}),this._active.clear(),sD(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=hn(this.source).reduce((o,r)=>Math.max(o,(dD(r)?r.priority:0)+1),0))}};function pSe(e){return e.idle!==!1}function u7(e){return!e.size||Array.from(e).every(pSe)}function sD(e){e.idle||(e.idle=!0,bt(ry(e),t=>{t.done=!0}),Yf(e,{type:"idle",parent:e}))}Wn.assign({createStringInterpolator:AC,to:(e,t)=>new gD(e,t)});var o6e=hh.advance;var C7=l(x7());function _D(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var hSe=["style","children","scrollTop","scrollLeft"],B7=/^--/;function gSe(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!B7.test(e)&&!(my.hasOwnProperty(e)&&my[e])?t+"px":(""+t).trim()}var w7={};function bSe(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=_D(r,hSe),u=Object.values(c),d=Object.keys(c).map(f=>o||e.hasAttribute(f)?f:w7[f]||(w7[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));i!==void 0&&(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=gSe(f,n[f]);B7.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=>{e.setAttribute(f,u[m])}),s!==void 0&&(e.scrollTop=s),a!==void 0&&(e.scrollLeft=a)}var my={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kSe=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),vSe=["Webkit","Ms","Moz","O"];my=Object.keys(my).reduce((e,t)=>(vSe.forEach(o=>e[kSe(o,t)]=e[t]),e),my);var ySe=["x","y","z"],SSe=/^(matrix|translate|scale|rotate|skew)/,_Se=/^(translate)/,xSe=/^(rotate|skew)/,vD=(e,t)=>ae.num(e)&&e!==0?e+t:e,$C=(e,t)=>ae.arr(e)?e.every(o=>$C(o,t)):ae.num(e)?e===t:parseFloat(e)===t,yD=class extends Xf{constructor(t){let{x:o,y:r,z:n}=t,i=_D(t,ySe),s=[],a=[];(o||r||n)&&(s.push([o||0,r||0,n||0]),a.push(c=>[`translate3d(${c.map(u=>vD(u,"px")).join(",")})`,$C(c,0)])),Ai(i,(c,u)=>{if(u==="transform")s.push([c||""]),a.push(d=>[d,d===""]);else if(SSe.test(u)){if(delete i[u],ae.und(c))return;let d=_Se.test(u)?"px":xSe.test(u)?"deg":"";s.push(hn(c)),a.push(u==="rotate3d"?([f,m,h,p])=>[`rotate3d(${f},${m},${h},${vD(p,d)})`,$C(p,0)]:f=>[`${u}(${f.map(m=>vD(m,d)).join(",")})`,$C(f,u.startsWith("scale")?1:0)])}}),s.length&&(i.transform=new SD(s,a)),super(i)}},SD=class extends fh{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t="",o=!0;return bt(this.inputs,(r,n)=>{let i=pr(r[0]),[s,a]=this.transforms[n](ae.arr(i)?i:r.map(pr));t+=" "+s,o=o&&a}),o?"none":t}observerAdded(t){t==1&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Iu(r,this)))}observerRemoved(t){t==0&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Pu(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Yf(this,t)}},wSe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],CSe=["scrollTop","scrollLeft"];Wn.assign({batchedUpdates:C7.unstable_batchedUpdates,createStringInterpolator:AC,colors:U8});var BSe=J8(wSe,{applyAnimatedValues:bSe,createAnimatedStyle:e=>new yD(e),getComponentProps:e=>_D(e,CSe)}),E7=BSe.animated;var kh=l(O(),1),I7=l(je(),1),P7=l(F(),1);var ESe=200;function T7(e){return{top:e.offsetTop,left:e.offsetLeft}}function TSe({triggerAnimationOnChange:e,clientId:t}){let o=(0,kh.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,P7.useSelect)(_),{previous:d,prevRect:f}=(0,kh.useMemo)(()=>({previous:o.current&&T7(o.current),prevRect:o.current&&o.current.getBoundingClientRect()}),[e]);return(0,kh.useLayoutEffect)(()=>{if(!d||!o.current)return;let m=(0,I7.getScrollContainer)(o.current),h=i(t),p=h||s(t),g=u();function b(){if(!g&&p&&f){let P=o.current.getBoundingClientRect().top-f.top;P&&(m.scrollTop+=P)}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||r()||n()>ESe){b();return}let k=h||a(t)||c(t);if(k&&g)return;let y=k?"1":"",S=new GC({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:I}){if(!o.current)return;let{x:P,y:E}=I;P=Math.round(P),E=Math.round(E);let L=P===0&&E===0;o.current.style.transformOrigin="center center",o.current.style.transform=L?null:`translate3d(${P}px,${E}px,0)`,o.current.style.zIndex=y,b()}});o.current.style.transform=void 0;let x=T7(o.current),C=Math.round(d.left-x.left),B=Math.round(d.top-x.top);return S.start({x:0,y:0,from:{x:C,y:B}}),()=>{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var KC=TSe;var qC=l(O(),1),Ol=l(je(),1),O7=l(F(),1);var YC=".block-editor-block-list__block",ISe=".block-list-appender",PSe=".block-editor-button-block-appender";function R7(e,t){return e.closest(YC)===t.closest(YC)}function ka(e,t){return t.closest([YC,ISe,PSe].join(","))===e}function Li(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(YC);if(o)return o.id.slice(6)}function xD(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function RSe(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains("components-visually-hidden"))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")}function OSe(e){let t=window.getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"||t.overflowY==="auto"||t.overflowY==="scroll"}var ASe=["core/navigation"];function vh(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute("data-type");if(r&&ASe.includes(r)){let s=[e],a;for(;a=s.pop();)if(!OSe(a)){for(let c of a.children)if(RSe(c)){let u=c.getBoundingClientRect();o=xD(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function A7({clientId:e,initialPosition:t}){let o=(0,qC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=M((0,O7.useSelect)(_));return(0,qC.useEffect)(()=>{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(ka(o.current,s.activeElement))return;let a=Ol.focus.tabbable.find(o.current).filter(d=>(0,Ol.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!ka(o.current,u)){o.current.focus();return}if(!o.current.getAttribute("contenteditable")){let d=Ol.focus.tabbable.findNext(o.current);if(d&&ka(o.current,d)&&(0,Ol.isFormElement)(d)){d.focus();return}}(0,Ol.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var L7=l(Z(),1);function ZC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle("is-hovered",e.type==="mouseover"))}function N7({isEnabled:e=!0}={}){return(0,L7.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",ZC),t.addEventListener("mouseover",ZC),()=>{t.removeEventListener("mouseout",ZC),t.removeEventListener("mouseover",ZC),t.classList.remove("is-hovered")}},[e])}var XC=l(F(),1),M7=l(Z(),1);function D7(e){let{isBlockSelected:t}=(0,XC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,XC.useDispatch)(_);return(0,M7.useRefEffect)(n=>{function i(s){if(!n.parentElement.closest('[contenteditable="true"]')){if(t(e)){s.target.isContentEditable||r(e);return}ka(n,s.target)&&o(e)}}return n.addEventListener("focusin",i),()=>{n.removeEventListener("focusin",i)}},[t,o])}var yh=l($(),1),F7=l(je(),1),Ou=l(it(),1),QC=l(F(),1),z7=l(Z(),1);function V7(e){return!e||e==="transparent"||e==="rgba(0, 0, 0, 0)"}function j7({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s,getBlock:a}=M((0,QC.useSelect)(_)),{insertAfterBlock:c,removeBlock:u,resetZoomLevel:d,startDraggingBlocks:f,stopDraggingBlocks:m,editContentOnlySection:h}=M((0,QC.useDispatch)(_));return(0,z7.useRefEffect)(p=>{if(!t)return;function g(k){let{keyCode:y,target:S}=k;y!==Ou.ENTER&&y!==Ou.BACKSPACE&&y!==Ou.DELETE||S!==p||(0,F7.isTextField)(S)||(k.preventDefault(),y===Ou.ENTER&&r()?d():y===Ou.ENTER?c(e):u(e))}function b(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed="move",k.dataTransfer.clearData(),k.dataTransfer.setData("wp-blocks",y);let{ownerDocument:S}=p,{defaultView:x}=S;x.getSelection().removeAllRanges();let B=S.createElement("div");B.style.width="1px",B.style.height="1px",B.style.position="fixed",B.style.visibility="hidden",S.body.appendChild(B),k.dataTransfer.setDragImage(B,0,0);let I=p.getBoundingClientRect(),P=p.id,E=p.cloneNode();E.style.display="none",p.id=null,p.after(E);let L=1;{let Q=p;for(;Q=Q.parentElement;){let{scale:K}=x.getComputedStyle(Q);if(K&&K!=="none"){L=parseFloat(K);break}}}let T=1/L,R={};for(let Q of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])R[Q]=p.style[Q];let D=x.scrollY,j=x.scrollX,G=k.clientX,z=k.clientY;p.style.position="relative",p.style.top="0px",p.style.left="0px";let U=k.clientX-I.left,W=k.clientY-I.top,ee=I.height>200?200/I.height:1;if(p.style.zIndex="1000",p.style.transformOrigin=`${U*T}px ${W*T}px`,p.style.transition="transform 0.2s ease-out",p.style.transform=`scale(${ee})`,p.style.opacity="0.9",V7(x.getComputedStyle(p).backgroundColor)){let Q="transparent",K=p;for(;K=K.parentElement;){let{backgroundColor:H}=x.getComputedStyle(K);if(!V7(H)){Q=H;break}}p.style.backgroundColor=Q}let ne=!1,ce=G,ie=z;function re(Q){Q.clientX===ce&&Q.clientY===ie||(ce=Q.clientX,ie=Q.clientY,J())}function J(){ne||(ne=!0,p.style.pointerEvents="none");let Q=ie-z,K=ce-G,H=x.scrollY,X=x.scrollX,se=H-D,le=X-j,_e=Q+se,he=K+le;p.style.top=`${_e*T}px`,p.style.left=`${he*T}px`}function Y(){S.removeEventListener("dragover",re),S.removeEventListener("dragend",Y),S.removeEventListener("drop",Y),S.removeEventListener("scroll",J);for(let[Q,K]of Object.entries(R))p.style[Q]=K;E.remove(),p.id=P,B.remove(),m(),document.body.classList.remove("is-dragging-components-draggable"),S.documentElement.classList.remove("is-dragging")}S.addEventListener("dragover",re),S.addEventListener("dragend",Y),S.addEventListener("drop",Y),S.addEventListener("scroll",J),f([e]),document.body.classList.add("is-dragging-components-draggable"),S.documentElement.classList.add("is-dragging")}p.addEventListener("keydown",g),p.addEventListener("dragstart",b);function v(k){let y=i(e),S=a(e),x=(0,yh.isReusableBlock)(S),C=(0,yh.isTemplatePart)(S);!y||s===e||x||C||(k.preventDefault(),h(e))}return p.addEventListener("dblclick",v),()=>{p.removeEventListener("keydown",g),p.removeEventListener("dragstart",b),p.removeEventListener("dblclick",v)}},[e,t,o,a,yh.isReusableBlock,yh.isTemplatePart,c,u,r,d,n,f,m,i,s,h])}var U7=l(Z(),1),H7=l(O(),1);function G7(){let e=(0,H7.useContext)(JC);return(0,U7.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}var e1=l(Z(),1);function W7({isSelected:e}){let t=(0,e1.useReducedMotion)();return(0,e1.useRefEffect)(o=>{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=>{s[0].isIntersecting||o.scrollIntoView({behavior:t?"instant":"smooth"}),i.disconnect()});return i.observe(o),()=>{i.disconnect()}}},[e])}var $7=l(Z(),1),K7=l(F(),1);function t1({clientId:e="",isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=M((0,K7.useSelect)(_));return(0,$7.useRefEffect)(r=>{if(!t)return;let n=()=>{o(e).forEach(({clientId:s})=>{let a=r.querySelector(`[data-block="${s}"]`);a&&(a.classList.remove("has-editable-outline"),a.offsetWidth,a.classList.add("has-editable-outline"))})},i=s=>{(s.target===r||s.target.classList.contains("is-root-container"))&&(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener("click",i),()=>r.removeEventListener("click",i)},[t])}var Y7=l(Z(),1),py=new Map;function LSe(e,t){let o=py.get(e);o||(o=new Set,py.set(e,o),e.addEventListener("pointerdown",Z7)),o.add(t)}function NSe(e,t){let o=py.get(e);o&&(o.delete(t),q7(t),o.size===0&&(py.delete(e),e.removeEventListener("pointerdown",Z7)))}function q7(e){let t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),t==="true"&&!e.getAttribute("draggable")&&e.setAttribute("draggable","true"))}function Z7(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=["INPUT","TEXTAREA"].includes(n),s=py.get(o);if(r||i)for(let a of s)a.getAttribute("draggable")==="true"&&a.contains(t)&&(a.removeAttribute("draggable"),a.setAttribute("data-draggable","true"));else for(let a of s)q7(a)}function X7(){return(0,Y7.useRefEffect)(e=>(LSe(e.ownerDocument,e),()=>{NSe(e.ownerDocument,e)}),[])}var fo=l(N(),1),gn=l(O(),1),Gr=l(A(),1),Sh=l(F(),1),t9=l(Is(),1),o9=l(Ti(),1);var hy=l(N(),1);function MSe(e,t){if(!e)return!1;let o=e.attributes?.metadata?.blockVisibility;if(o===!0||typeof o!="object")return!1;let r=o.viewport;return!r||typeof r!="object"||!iu.some(([,{key:n}])=>n===t)?!1:r[t]===!1}function J7(e,t){if(!e?.length)return!1;let o=e.filter(r=>MSe(r,t)).length;return o===0?!1:o===e.length?!0:null}function e9(e){if(!e?.length)return!1;let t=e.filter(o=>o&&o.attributes?.metadata?.blockVisibility===!1).length;return t===0?!1:t===e.length?!0:null}function gy(e){if(!e&&e!==!1)return null;if(e===!1)return(0,hy.__)("Block is hidden");if(e?.viewport){let t=iu.filter(([o])=>e.viewport?.[o]===!1).map(([,o])=>o.label);if(t.length>0)return(0,hy.sprintf)((0,hy.__)("Block is hidden on %s"),t.join(", "))}return null}var ro=l(w(),1);if(typeof document<"u"&&!document.head.querySelector("style[data-wp-hash='4334c7deb6']")){let e=document.createElement("style");e.setAttribute("data-wp-hash","4334c7deb6"),e.appendChild(document.createTextNode(".block-editor-block-visibility-modal{z-index:1000001}.block-editor-block-visibility-modal__options{border:0;list-style:none;margin:24px 0;padding:0}.block-editor-block-visibility-modal__options-item{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 0 16px}.block-editor-block-visibility-modal__options-item:last-child{margin:0}.block-editor-block-visibility-modal__options-item--everywhere{align-items:start;flex-direction:column}.block-editor-block-visibility-modal__options-checkbox--everywhere{font-weight:600}.block-editor-block-visibility-modal__options-icon--checked{fill:#ddd}.block-editor-block-visibility-modal__sub-options{padding-inline-start:12px;width:100%}.block-editor-block-visibility-modal__description{color:#757575;font-size:12px}.block-editor-block-visibility-info{align-items:center;display:flex;justify-content:start;margin:0 16px 16px;padding-bottom:4px;padding-top:4px}")),document.head.appendChild(e)}var DSe={[Et.mobile.key]:!1,[Et.tablet.key]:!1,[Et.desktop.key]:!1},VSe=[];function wD({clientIds:e,onClose:t}){let{createSuccessNotice:o}=(0,Sh.useDispatch)(o9.store),{updateBlockAttributes:r}=(0,Sh.useDispatch)(_),n=(0,Sh.useSelect)(k=>k(_).getBlocksByClientId(e)??VSe,[e]),i=(0,Sh.useSelect)(k=>k(t9.store).getShortcutRepresentation("core/editor/toggle-list-view"),[]),s=(0,gn.useMemo)(()=>{if(n?.length===0)return{hideEverywhere:!1,viewportChecked:{}};let k={};return iu.forEach(([,{key:y}])=>{k[y]=J7(n,y)}),{hideEverywhere:e9(n),viewportChecked:k}},[n]),[a,c]=(0,gn.useState)(s?.viewportChecked??{}),[u,d]=(0,gn.useState)(s?.hideEverywhere??!1),f=(0,gn.useCallback)((k,y)=>{c({...a,[k]:y})},[a]),m=(0,gn.useMemo)(()=>{if(!u)return(0,fo.sprintf)((0,fo.__)("Block visibility settings updated. You can access them via the List View (%s)."),i);let k=n?.length>1?(0,fo.__)("Blocks hidden. You can access them via the List View (%s)."):(0,fo.__)("Block hidden. You can access it via the List View (%s).");return(0,fo.sprintf)(k,i)},[u,n?.length,i]),h=(0,gn.useMemo)(()=>Object.values(a).some(k=>k===!0||k===null),[a]),p=(0,gn.useMemo)(()=>u!==s.hideEverywhere?!0:iu.some(([,{key:k}])=>a[k]!==s.viewportChecked[k]),[u,a,s]),g=(0,gn.useMemo)(()=>u===null?!0:Object.values(a).some(k=>k===null),[u,a]),b=(0,gn.useCallback)(k=>{k.preventDefault();let y=u?!1:{viewport:iu.reduce((x,[,{key:C}])=>(a[C]&&(x[C]=!1),x),{})},S=Object.fromEntries(n.map(({clientId:x,attributes:C})=>[x,{metadata:Me({...C?.metadata,blockVisibility:y})}]));r(e,S,{uniqueByBlock:!0}),o(m,{id:u?"block-visibility-hidden":"block-visibility-viewports-updated",type:"snackbar"}),t()},[n,e,o,u,m,t,r,a]),v=n?.length>1;return(0,ro.jsx)(Gr.Modal,{title:e?.length>1?(0,fo.__)("Hide blocks"):(0,fo.__)("Hide block"),onRequestClose:t,overlayClassName:"block-editor-block-visibility-modal",size:"small",children:(0,ro.jsxs)("form",{onSubmit:b,children:[(0,ro.jsxs)("fieldset",{children:[(0,ro.jsx)("legend",{children:v?(0,fo.__)("Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks."):(0,fo.__)("Select the viewport size for which you want to hide the block.")}),(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__options",children:(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere",children:[(0,ro.jsx)(Gr.CheckboxControl,{className:"block-editor-block-visibility-modal__options-checkbox--everywhere",label:(0,fo.__)("Omit from published content"),checked:u===!0,indeterminate:u===null,onChange:k=>{d(k),c(DSe)}}),u!==!0&&(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__sub-options",children:iu.map(([,{label:k,icon:y,key:S}])=>(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item",children:[(0,ro.jsx)(Gr.CheckboxControl,{label:(0,fo.sprintf)((0,fo.__)("Hide on %s"),k),checked:a[S]??!1,indeterminate:a[S]===null,onChange:x=>f(S,x)}),(0,ro.jsx)(Gr.Icon,{icon:y,className:V({"block-editor-block-visibility-modal__options-icon--checked":a[S]})})]},S))})]})}),v&&g&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,fo.__)("Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.")}),!v&&u===!0&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,fo.sprintf)((0,fo.__)("Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i)}),!v&&!u&&h&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,gn.createInterpolateElement)((0,fo.sprintf)((0,fo.__)("Block will be hidden according to the selected viewports. It will be included in the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i),{strong:(0,ro.jsx)("strong",{})})})]}),(0,ro.jsxs)(Gr.Flex,{className:"block-editor-block-visibility-modal__actions",justify:"flex-end",expanded:!1,children:[(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,fo.__)("Cancel")})}),(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"primary",type:"submit",disabled:!p,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,fo.__)("Apply")})})]})]})})}var CD=l(Z(),1);function Ni(e={}){let{blockVisibility:t=void 0,deviceType:o=Et.desktop.key}=e,r=(0,CD.useViewportMatch)("mobile",">="),n=(0,CD.useViewportMatch)("medium",">="),i;return o===Et.mobile.key?i=Et.mobile.key:o===Et.tablet.key?i=Et.tablet.key:r?r&&!n?i=Et.tablet.key:i=Et.desktop.key:i=Et.mobile.key,{isBlockCurrentlyHidden:t===!1||t?.viewport?.[i]===!1,currentViewport:i}}var BD=l(N(),1),o1=l(A(),1),r1=l(O(),1);var r9=l($(),1),n1=l(F(),1);var ED=l(w(),1);function TD({clientIds:e}){let t=(0,r1.useRef)(!1),{canToggleBlockVisibility:o,areBlocksHiddenAnywhere:r}=(0,n1.useSelect)(s=>{let{getBlocksByClientId:a,getBlockName:c,isBlockHiddenAnywhere:u}=M(s(_));return{canToggleBlockVisibility:a(e).every(({clientId:f})=>(0,r9.hasBlockSupport)(c(f),"visibility",!0)),areBlocksHiddenAnywhere:e?.every(f=>u(f))}},[e]),n=(0,n1.useDispatch)(_);if((0,r1.useEffect)(()=>{r&&(t.current=!0)},[r]),!r&&!t.current)return null;let{showViewportModal:i}=M(n);return(0,ED.jsx)(o1.ToolbarGroup,{className:"block-editor-block-visibility-toolbar",children:(0,ED.jsx)(o1.ToolbarButton,{disabled:!o,icon:r?vs:Of,label:r?(0,BD.__)("Hidden"):(0,BD.__)("Visible"),onClick:()=>i(e),"aria-haspopup":"dialog"})})}var ID=l(N(),1),n9=l(A(),1),i1=l(F(),1),i9=l(Is(),1);var s9=l(w(),1);function PD({clientIds:e}){let{areBlocksHiddenAnywhere:t,shortcut:o}=(0,i1.useSelect)(n=>{let{isBlockHiddenAnywhere:i}=M(n(_));return{areBlocksHiddenAnywhere:e?.every(s=>i(s)),shortcut:n(i9.store).getShortcutRepresentation("core/block-editor/toggle-block-visibility")}},[e]),{showViewportModal:r}=M((0,i1.useDispatch)(_));return(0,s9.jsx)(n9.MenuItem,{onClick:()=>r(e),shortcut:o,children:t?(0,ID.__)("Show"):(0,ID.__)("Hide")})}var Lu=l(A(),1),RD=l(F(),1),Au=l(N(),1);var _h=l(w(),1),{Badge:FSe}=M(Lu.privateApis),zSe={currentBlockVisibility:void 0,hasParentHiddenEverywhere:!1,selectedDeviceType:Et.desktop.value};function a9({clientId:e}){let{currentBlockVisibility:t,selectedDeviceType:o,hasParentHiddenEverywhere:r}=(0,RD.useSelect)(c=>{if(!e)return zSe;let{getBlockAttributes:u,isBlockParentHiddenEverywhere:d,getSettings:f}=M(c(_));return{currentBlockVisibility:u(e)?.metadata?.blockVisibility,selectedDeviceType:f()?.[_i]?.toLowerCase()||Et.desktop.value,hasParentHiddenEverywhere:d(e)}},[e]),{isBlockCurrentlyHidden:n,currentViewport:i}=Ni({blockVisibility:t,deviceType:o}),s=(0,RD.useSelect)(c=>!e||!i?!1:M(c(_)).isBlockParentHiddenAtViewport(e,i),[e,i]);if(!(n||r||s))return null;let a;if(n)if(t===!1)a=(0,Au.__)("Block is hidden");else{let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Block is hidden on %s"),c)}if(r)a=(0,Au.__)("Parent block is hidden");else if(s){let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Parent block is hidden on %s"),c)}return(0,_h.jsx)(FSe,{className:"block-editor-block-visibility-info",children:(0,_h.jsxs)(Lu.__experimentalHStack,{spacing:2,justify:"start",children:[(0,_h.jsx)(Lu.Icon,{icon:vs}),(0,_h.jsx)(Lu.__experimentalText,{children:a})]})})}function by(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:h,initialPosition:p,blockEditingMode:g,isHighlighted:b,isMultiSelected:v,isPartiallySelected:k,isReusable:y,isDragging:S,hasChildSelected:x,isEditingDisabled:C,hasEditableOutline:B,isEditingContentOnlySection:I,defaultClassName:P,isSectionBlock:E,isWithinSectionBlock:L,canMove:T,blockVisibility:R,deviceType:D}=(0,l9.useContext)(ur),j=(0,s1.sprintf)((0,s1.__)("Block: %s"),d),G=a==="html"&&!t?"-visual":"",z=X7(),U=!L,W=(0,a1.useMergeRefs)([e.ref,A7({clientId:o,initialPosition:p}),NH(o),D7(o),j7({clientId:o,isSelected:f}),N7({isEnabled:U}),G7(),KC({triggerAnimationOnChange:s,clientId:o}),(0,a1.useDisabled)({isDisabled:!h}),t1({clientId:o,isEnabled:E}),W7({isSelected:f}),T?z:void 0]),ee=Pe(),ce=!!ee[Pp]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{},{isBlockCurrentlyHidden:ie}=Ni({blockVisibility:R,deviceType:D});u<2&&o===ee.clientId&&(0,u9.default)(`Block type "${c}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let re=!1;return(n?.style?.marginTop?.charAt(0)==="-"||n?.style?.marginBottom?.charAt(0)==="-"||n?.style?.marginLeft?.charAt(0)==="-"||n?.style?.marginRight?.charAt(0)==="-")&&(re=!0),{tabIndex:g==="disabled"?-1:0,draggable:T&&!x?!0:void 0,...n,...e,ref:W,id:`block-${o}${G}`,role:"document","aria-label":j,"data-block":o,"data-type":c,"data-title":d,inert:m?"true":void 0,className:V("block-editor-block-list__block",{"wp-block":!i,"has-block-overlay":h,"is-selected":f,"is-highlighted":b,"is-multi-selected":v,"is-partially-selected":k,"is-reusable":y,"is-dragging":S,"has-child-selected":x,"is-editing-disabled":C,"has-editable-outline":B,"has-negative-margin":re,"is-editing-content-only-section":I,"is-block-hidden":ie},r,e.className,n.className,P),style:{...n.style,...e.style,...ce}}}by.save=c9.__unstableGetBlockProps;var mo=l(w(),1);function jSe(e,t){let o={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(o.className=V(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(o.style={...e.style,...t.style}),o}function l1({children:e,isHtml:t,...o}){return(0,mo.jsx)("div",{...by(o,{__unstableIsHtml:t}),children:e})}function OD({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:h,onReplace:p,onRemove:g,onInsertBlocksAfter:b,onMerge:v,toggleSelection:k}){let{mayDisplayControls:y,mayDisplayParentControls:S,isSelectionWithinCurrentSection:x,themeSupportsLayout:C,...B}=(0,Nu.useContext)(ur),I=jf()||{},P=(0,mo.jsx)(Dw,{name:u,isSelected:i,attributes:f,setAttributes:h,insertBlocksAfter:o?void 0:b,onReplace:r?p:void 0,onRemove:r?g:void 0,mergeBlocks:r?v:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:k,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(I).length?I:void 0,mayDisplayControls:y,mayDisplayParentControls:S,mayDisplayPatternEditingControls:x,blockEditingMode:B.blockEditingMode,isPreviewMode:B.isPreviewMode}),E=(0,He.getBlockType)(u);E?.getEditWrapperProps&&(m=jSe(m,E.getEditWrapperProps(f)));let L=m&&!!m["data-align"]&&!C,T=a?.includes("is-position-sticky");L&&(P=(0,mo.jsx)("div",{className:V("wp-block",T&&a),"data-align":m["data-align"],children:P}));let R;if(d)t==="html"?R=(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)("div",{style:{display:"none"},children:P}),(0,mo.jsx)(l1,{isHtml:!0,children:(0,mo.jsx)(C8,{clientId:n})})]}):E?.apiVersion>1?R=P:R=(0,mo.jsx)(l1,{children:P});else{let z=e?(0,He.serializeRawBlock)(e):(0,He.getSaveContent)(E,f);R=(0,mo.jsxs)(l1,{className:"has-warning",children:[(0,mo.jsx)(JH,{clientId:n}),(0,mo.jsx)(Nu.RawHTML,{children:(0,m9.safeHTML)(z)})]})}let{"data-align":D,...j}=m??{},G={...j,className:V(j.className,D&&C&&`align${D}`,!(D&&T)&&a)};return(0,mo.jsx)(ur.Provider,{value:{wrapperProps:G,isAligned:L,isSelectionWithinCurrentSection:x,...B},children:(0,mo.jsx)(n8,{fallback:(0,mo.jsx)(l1,{className:"has-warning",children:(0,mo.jsx)(o8,{})}),children:R})})}var USe=(0,c1.withDispatch)((e,t,o)=>{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:h}=o.select(_),p=h(),{clientId:g,attributes:b}=t,v=p.length?p:[g],k=typeof m=="function"?m(b):m;r(v,k)},onInsertBlocks(m,h){let{rootClientId:p}=t;n(m,h,p)},onInsertBlocksAfter(m){let{clientId:h,rootClientId:p}=t,{getBlockIndex:g}=o.select(_),b=g(h);n(m,b+1,p)},onMerge(m){let{clientId:h,rootClientId:p}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:v,getBlockAttributes:k,getBlockName:y,getBlockOrder:S,getBlockIndex:x,getBlockRootClientId:C,canInsertBlockType:B}=o.select(_);function I(){let E=v(h),L=(0,He.getDefaultBlockName)(),T=(0,He.getBlockType)(L);if(y(h)!==L){let R=(0,He.switchToBlockType)(E,L);R&&R.length&&s(h,R)}else if((0,He.isUnmodifiedDefaultBlock)(E)){let R=b(h);R&&o.batch(()=>{d(h),f(R)})}else if(T.merge){let R=T.merge({},E.attributes);s([h],[(0,He.createBlock)(L,R)])}}function P(E,L=!0){let T=y(E),D=(0,He.getBlockType)(T).category==="text",j=C(E),G=S(E),[z]=G;G.length===1&&(0,He.isUnmodifiedBlock)(v(z))?d(E):D?o.batch(()=>{if(B(y(z),j))u([z],E,j,x(E));else{let U=(0,He.switchToBlockType)(v(z),(0,He.getDefaultBlockName)());U&&U.length&&U.every(W=>B(W.name,j))?(n(U,x(E),j,L),d(z,!1)):I()}!S(E).length&&(0,He.isUnmodifiedBlock)(v(E))&&d(E,!1)}):I()}if(m){if(p){let L=b(p);if(L)if(y(p)===y(L)){let T=k(p),R=k(L);if(Object.keys(T).every(D=>T[D]===R[D])){o.batch(()=>{u(S(L),L,p),d(L,!1)});return}}else{i(p,L);return}}let E=b(h);if(!E)return;S(E).length?P(E,!1):i(h,E)}else{let E=g(h);if(E)i(E,h);else if(p){let L=g(p);if(L&&y(p)===y(L)){let T=k(p),R=k(L);if(Object.keys(T).every(D=>T[D]===R[D])){o.batch(()=>{u(S(p),p,L),d(p,!1)});return}}P(p)}else I()}},onReplace(m,h,p){m.length&&!(0,He.isUnmodifiedDefaultBlock)(m[m.length-1])&&c();let g=m?.length===1&&Array.isArray(m[0])?m[0]:m;s([t.clientId],g,h,p)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});OD=(0,f9.compose)(USe,(0,d9.withFilters)("editor.BlockListBlock"))(OD);function HSe(e){let{clientId:t,rootClientId:o}=e,r=(0,c1.useSelect)(se=>{let{isBlockSelected:le,getBlockMode:_e,isSelectionEnabled:he,getTemplateLock:xe,isSectionBlock:Fe,getParentSectionBlock:tt,getBlockWithoutAttributes:Wt,getBlockAttributes:uo,canRemoveBlock:Do,canMoveBlock:ot,getSettings:ar,getEditedContentOnlySection:xt,getBlockEditingMode:At,getBlockName:Re,isFirstMultiSelectedBlock:wt,getMultiSelectedBlockClientIds:qo,hasSelectedInnerBlock:$t,getBlocksByName:lr,getBlockIndex:ln,isBlockMultiSelected:ze,isBlockSubtreeDisabled:Bo,isBlockHighlighted:Ze,__unstableIsFullySelected:Ve,__unstableSelectionHasUnmergeableBlock:gt,isBlockBeingDragged:Eo,isDragging:cr,__unstableHasActiveBlockOverlayActive:ge,getSelectedBlocksInitialCaretPosition:Ct}=M(se(_)),To=Wt(t);if(!To)return;let{hasBlockSupport:Ke,getActiveBlockVariation:te}=se(He.store),Le=uo(t),{name:ct,isValid:Gc}=To,ca=(0,He.getBlockType)(ct),Cp=ar(),{supportsLayout:Fk,isPreviewMode:pf,__experimentalBlockBindingsSupportedAttributes:cn}=Cp,Bp=cn?.[ct],Ep=Le?.metadata?.blockVisibility,n0=Cp?.[_i]?.toLowerCase()||"desktop",i0=ca?.apiVersion>1,zk=ze(t),ue=At(t),to={isPreviewMode:pf,blockWithoutAttributes:To,name:ct,attributes:Le,isValid:Gc,themeSupportsLayout:Fk,index:ln(t),isReusable:(0,He.isReusableBlock)(ca),className:i0?Le.className:void 0,defaultClassName:i0?(0,He.getBlockDefaultClassName)(ct):void 0,blockTitle:ca?.title,bindableAttributes:Bp,blockVisibility:Ep,deviceType:n0,isMultiSelected:zk,blockEditingMode:ue,isEditingDisabled:ue==="disabled"};if(pf)return to;let ve=le(t),Lt=Do(t),un=ot(t),_r=te(ct,Le),Wc=!0,dO=$t(t,Wc),fO=Fe(t)?t:tt(t),mO=(0,He.hasBlockSupport)(ct,"multiple",!0)?[]:lr(ct),jme=mO.length&&mO[0]!==t;return{...to,mode:_e(t),isSelectionEnabled:he(),isLocked:!!xe(o),isSectionBlock:Fe(t),isWithinSectionBlock:!!fO,isSelectionWithinCurrentSection:le(fO)||$t(fO,Wc),blockType:ca,canRemove:Lt,canMove:un,isSelected:ve,isEditingContentOnlySection:xt()===t,blockEditingMode:ue,mayDisplayControls:ve||wt(t)&&qo().every(Ume=>Re(Ume)===ct),mayDisplayParentControls:Ke(Re(t),"__experimentalExposeControlsToChildren",!1)&&$t(t),blockApiVersion:ca?.apiVersion||1,blockTitle:_r?.title||ca?.title,isSubtreeDisabled:ue==="disabled"&&Bo(t),hasOverlay:ge(t)&&!cr(),initialPosition:ve?Ct():void 0,isHighlighted:Ze(t),isMultiSelected:zk,isPartiallySelected:zk&&!Ve()&&!gt(),isDragging:Eo(t),hasChildSelected:dO,isEditingDisabled:ue==="disabled",hasEditableOutline:ue!=="disabled"&&At(o)==="disabled",originalBlockClientId:jme?mO[0]:!1,blockVisibility:Ep,deviceType:n0}},[t,o]),{isPreviewMode:n,mode:i="visual",isSelectionEnabled:s=!1,isLocked:a=!1,canRemove:c=!1,canMove:u=!1,blockWithoutAttributes:d,name:f,attributes:m,isValid:h,isSelected:p=!1,themeSupportsLayout:g,isEditingContentOnlySection:b,blockEditingMode:v,mayDisplayControls:k,mayDisplayParentControls:y,index:S,blockApiVersion:x,blockType:C,blockTitle:B,isSubtreeDisabled:I,hasOverlay:P,initialPosition:E,isHighlighted:L,isMultiSelected:T,isPartiallySelected:R,isReusable:D,isDragging:j,hasChildSelected:G,isSectionBlock:z,isWithinSectionBlock:U,isSelectionWithinCurrentSection:W,isEditingDisabled:ee,hasEditableOutline:ne,className:ce,defaultClassName:ie,originalBlockClientId:re,bindableAttributes:J,blockVisibility:Y,deviceType:Q}=r,{isBlockCurrentlyHidden:K}=Ni({blockVisibility:Y,deviceType:Q}),H=(0,Nu.useMemo)(()=>({...d,attributes:m}),[d,m]);if(!r)return null;let X={isPreviewMode:n,clientId:t,className:ce,index:S,mode:i,name:f,blockApiVersion:x,blockType:C,blockTitle:B,isSelected:p,isSubtreeDisabled:I,hasOverlay:P,initialPosition:E,blockEditingMode:v,isHighlighted:L,isMultiSelected:T,isPartiallySelected:R,isReusable:D,isDragging:j,hasChildSelected:G,isSectionBlock:z,isWithinSectionBlock:U,isSelectionWithinCurrentSection:W,isEditingDisabled:ee,hasEditableOutline:ne,isEditingContentOnlySection:b,defaultClassName:ie,mayDisplayControls:k,mayDisplayParentControls:y,originalBlockClientId:re,themeSupportsLayout:g,canMove:u,isBlockCurrentlyHidden:K,bindableAttributes:J,blockVisibility:Y,deviceType:Q};return K&&!p&&!T&&!G?null:(0,mo.jsx)(ur.Provider,{value:X,children:(0,mo.jsx)(OD,{...e,mode:i,isSelectionEnabled:s,isLocked:a,canRemove:c,canMove:u,block:H,name:f,attributes:m,isValid:h,isSelected:p})})}var p9=(0,Nu.memo)(HSe);var Y5=l(F(),1),lY=l($(),1);var $5=l(N(),1),rY=l(SM(),1),OB=l(F(),1),AB=l(it(),1);var tY=l(Xo(),1),Gl=l(N(),1),IB=l(A(),1),oY=l(O(),1),PB=l(F(),1),RB=l(Z(),1),Ky=l($(),1);var Ft=l(O(),1),ig=l(A(),1),Zu=l(N(),1),Gy=l(Z(),1),ZK=l(F(),1);var xh=l(N(),1),wh=l(O(),1),g9=l(A(),1),ky=l(w(),1),h9=[(0,wh.createInterpolateElement)((0,xh.__)("While writing, you can press / to quickly insert new blocks."),{kbd:(0,ky.jsx)("kbd",{})}),(0,wh.createInterpolateElement)((0,xh.__)("Indent a list by pressing space at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,wh.createInterpolateElement)((0,xh.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,xh.__)("Drag files into the editor to automatically insert media blocks."),(0,xh.__)("Change a block's type by pressing the block icon on the toolbar.")];function GSe(){let[e]=(0,wh.useState)(Math.floor(Math.random()*h9.length));return(0,ky.jsx)(g9.Tip,{children:h9[e]})}var b9=GSe;var Hh=l($(),1),A$=l(O(),1),L$=l(N(),1);var bn=l(A(),1),u1=l(F(),1),k9=l(Oe(),1),Mu=l(N(),1);var d1=l($(),1);var Cr=l(w(),1),{Badge:WSe}=M(bn.privateApis);function $Se({children:e,onClick:t}){return t?(0,Cr.jsx)(bn.Button,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}function KSe({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&&((0,k9.default)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),{title:e,icon:t,description:o}=r);let{parentBlockClientId:f,parentBlockName:m}=(0,u1.useSelect)(g=>{if(a||c||!s)return{};let{getBlockParents:b,getBlockName:v}=g(_),y=b(d,!1).find(S=>{let x=v(S);return x==="core/navigation"||(0,d1.hasBlockSupport)(x,"listView")});return{parentBlockClientId:y,parentBlockName:y?v(y):null}},[d,s,c,a]),{selectBlock:h}=(0,u1.useDispatch)(_),p=a?"div":"h2";return(0,Cr.jsx)("div",{className:V("block-editor-block-card",{"is-parent":a,"is-child":c},n),children:(0,Cr.jsxs)(bn.__experimentalVStack,{children:[(0,Cr.jsxs)(bn.__experimentalHStack,{justify:"flex-start",spacing:0,children:[f&&(0,Cr.jsx)(bn.Button,{onClick:()=>h(f),label:m?(0,Mu.sprintf)((0,Mu.__)('Go to "%s" block'),(0,d1.getBlockType)(m)?.title):(0,Mu.__)("Go to parent block"),style:{minWidth:24,padding:0},icon:(0,Mu.isRTL)()?Vo:Mr,size:"small"}),c&&(0,Cr.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,Cr.jsx)(bn.Icon,{icon:(0,Mu.isRTL)()?Zk:Xk})}),(0,Cr.jsxs)($Se,{onClick:a?()=>{h(a)}:void 0,children:[(0,Cr.jsx)(Ae,{icon:t,showColors:!0}),(0,Cr.jsxs)(bn.__experimentalVStack,{spacing:1,children:[(0,Cr.jsxs)(p,{className:"block-editor-block-card__title",children:[(0,Cr.jsx)("span",{className:"block-editor-block-card__name",children:i?.length?i:e}),!a&&!c&&!!i?.length&&(0,Cr.jsx)(WSe,{children:e})]}),u]})]})]}),!a&&!c&&o&&(0,Cr.jsx)(bn.__experimentalText,{className:"block-editor-block-card__description",children:o})]})})}var vy=KSe;var q1=l(Z(),1),w5=l(F(),1),im=l(O(),1),x5=l(Oe(),1);var V9=l(F(),1),Du=l(O(),1),F9=l(A(),1),em=l(y9(),1);var S9=l(O(),1),Ch=l(F(),1),_9=l(Z(),1);var f1=l(w(),1);function YSe(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,Ch.createRegistry)({},t),r.registerStore(Kt,Xp),e.set(t,r)),r}var qSe=(0,_9.createHigherOrderComponent)(e=>function({useSubRegistry:o=!0,...r}){let n=(0,Ch.useRegistry)(),[i]=(0,S9.useState)(()=>new WeakMap),s=YSe(i,n,o);return s===n?(0,f1.jsx)(e,{registry:n,...r}):(0,f1.jsx)(Ch.RegistryProvider,{value:s,children:(0,f1.jsx)(e,{registry:s,...r})})},"withRegistryProvider"),x9=qSe;var Wr=l(O(),1),E9=l(F(),1),T9=l($(),1);var w9=l(O(),1),ZSe=()=>{},m1=(0,w9.createContext)({getSelection:()=>{},onChangeSelection:ZSe});var C9=()=>{};function I9(e,t){let o=(0,T9.cloneBlock)(e);return t.externalToInternal.set(e.clientId,o.clientId),t.internalToExternal.set(o.clientId,e.clientId),e.innerBlocks?.length&&(o.innerBlocks=e.innerBlocks.map(r=>I9(r,t))),o}function P9(e,t){return e.map(o=>{let r=t.internalToExternal.get(o.clientId);return{...o,clientId:r??o.clientId,innerBlocks:P9(o.innerBlocks,t)}})}function B9(e,t){let{selectionStart:o,selectionEnd:r,initialPosition:n}=e,i=s=>{if(!s?.clientId)return s;let a=t.internalToExternal.get(s.clientId);return{...s,clientId:a??s.clientId}};return{selectionStart:i(o),selectionEnd:i(r),initialPosition:n}}function p1({clientId:e=null,value:t,onChange:o=C9,onInput:r=C9}){let n=(0,E9.useRegistry)(),{getSelection:i,onChangeSelection:s}=(0,Wr.useContext)(m1),{resetBlocks:a,resetSelection:c,replaceInnerBlocks:u,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_),{getBlockName:m,getBlocks:h,getSelectionStart:p,getSelectionEnd:g}=n.select(_),b=(0,Wr.useRef)({incoming:null,outgoing:[]}),v=(0,Wr.useRef)(!1),k=(0,Wr.useRef)({externalToInternal:new Map,internalToExternal:new Map}),y=(0,Wr.useRef)(null),S=(0,Wr.useRef)(!1),x=()=>{let E=i();if(!E?.selectionStart?.clientId||E===y.current)return;let L=E.selectionStart.clientId;if(e?k.current.externalToInternal.has(L):!!m(L)){y.current=E;let R=D=>!D?.clientId||!e?D:{...D,clientId:k.current.externalToInternal.get(D.clientId)??D.clientId};S.current=!0,c(R(E.selectionStart),R(E.selectionEnd),E.initialPosition),S.current=!1}},C=()=>{t&&(e?n.batch(()=>{k.current.externalToInternal.clear(),k.current.internalToExternal.clear();let E=t.map(L=>I9(L,k.current));d(e,!0),v.current&&(b.current.incoming=E),f(),u(e,E),y.current=null}):(v.current&&(b.current.incoming=t),f(),a(t)))},B=()=>{f(),e?(d(e,!1),f(),u(e,[])):a([])},I=(0,Wr.useRef)(r),P=(0,Wr.useRef)(o);(0,Wr.useEffect)(()=>{I.current=r,P.current=o},[r,o]),(0,Wr.useEffect)(()=>{let E=b.current.outgoing.includes(t),L=h(e)===t;E?b.current.outgoing[b.current.outgoing.length-1]===t&&(b.current.outgoing=[]):L||(b.current.outgoing=[],C(),x())},[t,e]),(0,Wr.useEffect)(()=>{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:L,__unstableIsLastBlockChangeIgnored:T,areInnerBlocksControlled:R,getBlockParents:D}=n.select(_),j=h(e),G=L(),z=!1,U=p(),W=g();v.current=!0;let ee=n.subscribe(()=>{if(e!==null&&m(e)===null)return;let ne=L(),ce=h(e),ie=ce!==j;if(j=ce,ie&&(b.current.incoming||T())){b.current.incoming=null,G=ne;return}let J=ie||z&&!ie&&ne&&!G,Y=p(),Q=g(),K=Y!==U||Q!==W;K&&(U=Y,W=Q),(J||K)&&n.batch(()=>{if(J){G=ne;let H=e?P9(j,k.current):j,X={selectionStart:Y,selectionEnd:Q,initialPosition:E()},se=e?B9(X,k.current):X;b.current.outgoing.push(H),(G?P.current:I.current)(H,{selection:se})}if(K&&!J&&Y?.clientId&&!S.current&&(e?k.current.internalToExternal.has(Y.clientId):!D(Y.clientId).some(X=>R(X)))){let X={selectionStart:Y,selectionEnd:Q,initialPosition:E()};s(e?B9(X,k.current):X)}}),z=ie},_);return()=>{v.current=!1,ee()}},[n,e]),(0,Wr.useEffect)(()=>()=>{B()},[])}var R9=l(O(),1),O9=l(F(),1),A9=l(Is(),1),po=l(N(),1);function L9(){return null}function XSe(){let{registerShortcut:e}=(0,O9.useDispatch)(A9.store);return(0,R9.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,po.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,po.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,po.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,po.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,po.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,po.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,po.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,po.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,po.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,po.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,po.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,po.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,po.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,po.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,po.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,po.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,po.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,po.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,po.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}}),e({name:"core/block-editor/rename",category:"block",description:(0,po.__)("Rename the selected block."),keyCombination:{modifier:"primaryAlt",character:"r"}})},[e]),null}L9.Register=XSe;var h1=L9;var N9=l(O(),1);function QSe(e={}){return(0,N9.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold}),[e])}var M9=QSe;var Al=l(w(),1),AD=()=>{},D9=!1,Bh=null;function JSe(){if(Bh!==null)return Bh;if(!window.__clientSideMediaProcessing||typeof em.detectClientSideMediaSupport!="function")return Bh=!1,!1;let e=(0,em.detectClientSideMediaSupport)();return!e||!e.supported?(D9||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),D9=!0),Bh=!1,!1):(Bh=!0,!0)}function e_e(e,t,{allowedTypes:o,additionalData:r={},filesList:n,onError:i=AD,onFileChange:s,onSuccess:a,onBatchSuccess:c}){e.dispatch(em.store).addItems({files:Array.from(n),onChange:s,onSuccess:u=>{t?.[x0]?.(u),a?.(u)},onBatchSuccess:c,onError:({message:u})=>i(u),additionalData:r,allowedTypes:o})}function t_e(e){return p1(e),null}var Eh=x9(e=>{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=M9(t),i=JSe(),s=!!t?.mediaUpload?.__isMediaUploadInterceptor,a=(0,Du.useMemo)(()=>{if(i&&t?.mediaUpload&&!s){let p=e_e.bind(null,o,t);return p.__isMediaUploadInterceptor=!0,{...t,mediaUpload:p}}return t},[t,o,i,s]),{__experimentalUpdateSettings:c}=M((0,V9.useDispatch)(_));(0,Du.useEffect)(()=>{c({...a,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[a,r,c]);let u=(0,Du.useRef)(e.selection);u.current=e.selection;let d=(0,Du.useRef)(e.onChangeSelection??AD);d.current=e.onChangeSelection??AD;let f=(0,Du.useMemo)(()=>({getSelection:()=>u.current,onChangeSelection:(...p)=>d.current(...p)}),[]),m=(0,Al.jsxs)(F9.SlotFillProvider,{passthrough:!0,children:[!a?.isPreviewMode&&(0,Al.jsx)(h1.Register,{}),(0,Al.jsx)(AH,{children:e.children})]}),h=(0,Al.jsxs)(m1.Provider,{value:f,children:[(0,Al.jsx)(t_e,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),m]});return i&&!s?(0,Al.jsx)(em.MediaUploadProvider,{settings:n,useSubRegistry:!1,children:h}):h}),o_e=e=>(0,Al.jsx)(Eh,{...e,stripExperimentalSettings:!0,children:e.children}),z9=o_e;var My=l(Z(),1),x$=l(F(),1),Y1=l(O(),1),w$=l(A(),1);var tm=l(O(),1),BG=l(N(),1),_a=l(Z(),1),EG=l(A(),1),zD=l(F(),1);var vG=l(F(),1),yG=l(N(),1),xy=l(Z(),1),SG=l(O(),1);var j9=l(Z(),1),U9=l(F(),1);function r_e(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function H9(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,U9.useSelect)(r_e,[]);return(0,j9.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u<2||i&&(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var Th=l(je(),1),LD=l(it(),1),g1=l(F(),1),b1=l(Z(),1),yy=l(O(),1);var ND=l(w(),1);function G9(){let e=(0,yy.useRef)(),t=(0,yy.useRef)(),o=(0,yy.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=M((0,g1.useSelect)(_)),{setLastFocus:d}=M((0,g1.useDispatch)(_)),f=(0,yy.useRef)();function m(v){let k=e.current.ownerDocument===v.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block="${n()}"]`).focus();else if(u()){let y=c(),S=s(y);S.length?e.current.querySelector(`[data-block="${S[0]}"]`).focus():y?e.current.querySelector(`[data-block="${y}"]`).focus():k.focus()}else{let y=v.target.compareDocumentPosition(k)&v.target.DOCUMENT_POSITION_FOLLOWING,S=Th.focus.tabbable.find(e.current);S.length&&(y?S[0]:S[S.length-1]).focus()}}let h=(0,ND.jsx)("div",{ref:t,tabIndex:"0",onFocus:m}),p=(0,ND.jsx)("div",{ref:o,tabIndex:"0",onFocus:m}),g=(0,b1.useRefEffect)(v=>{function k(B){if(B.defaultPrevented||B.keyCode!==LD.TAB||!o.current||!t.current)return;let{target:I,shiftKey:P}=B,E=P?"findPrevious":"findNext",L=Th.focus.tabbable[E](I),T=I.closest("[data-block]"),R=T&&L&&(R7(T,L)||ka(T,L));if((0,Th.isFormElement)(L)&&R)return;let D=P?t:o;f.current=!0,D.current.focus({preventScroll:!0})}function y(B){d({...a(),current:B.target});let{ownerDocument:I}=v;!B.relatedTarget&&B.target.hasAttribute("data-block")&&I.activeElement===I.body&&i()===0&&v.focus()}function S(B){if(B.keyCode!==LD.TAB||B.target?.getAttribute("role")==="region"||e.current===B.target)return;let P=B.shiftKey?"findPrevious":"findNext",E=Th.focus.tabbable[P](B.target);(E===t.current||E===o.current)&&(B.preventDefault(),E.focus({preventScroll:!0}))}let{ownerDocument:x}=v,{defaultView:C}=x;return C.addEventListener("keydown",S),v.addEventListener("keydown",k),v.addEventListener("focusout",y),()=>{C.removeEventListener("keydown",S),v.removeEventListener("keydown",k),v.removeEventListener("focusout",y)}},[]),b=(0,b1.useMergeRefs)([e,g]);return[h,b,p]}var ho=l(je(),1),va=l(it(),1),k1=l(F(),1),W9=l(Z(),1);function n_e(e,t,o){let r=t===va.UP||t===va.DOWN,{tagName:n}=e,i=e.getAttribute("type");return r&&!o?n==="INPUT"?!["date","datetime-local","month","number","range","time","week"].includes(i):!0:n==="INPUT"?["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i):n!=="TEXTAREA"}function MD(e,t,o,r){let n=ho.focus.focusable.find(o);t&&n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&&(i=e.getBoundingClientRect());function s(a){if(Li(a)&&ho.focus.focusable.find(a).filter(c=>!(0,ho.isFormElement)(c)).length!==0||!ho.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&&a.contentEditable!=="true")return!1;if(r){let c=a.getBoundingClientRect();if(c.left>=i.right||c.right<=i.left)return!1}return!0}return n.find(s)}function $9(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,k1.useSelect)(_),{selectBlock:i}=(0,k1.useDispatch)(_);return(0,W9.useRefEffect)(s=>{let a;function c(){a=null}function u(f,m){let h=MD(f,m,s);return h&&Li(h)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:h,shiftKey:p,ctrlKey:g,altKey:b,metaKey:v}=f,k=m===va.UP,y=m===va.DOWN,S=m===va.LEFT,x=m===va.RIGHT,C=k||S,B=S||x,I=k||y,P=B||I,E=p||g||b||v,L=I?ho.isVerticalEdge:ho.isHorizontalEdge,{ownerDocument:T}=s,{defaultView:R}=T;if(!P||o().isPreviewMode)return;if(r()){if(p||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!n_e(h,m,E))return;I?a||(a=(0,ho.computeCaretRect)(R)):a=null;let D=(0,ho.isRTL)(h)?!C:C,{keepCaretInsideBlock:j}=o();if(p)u(h,C)&&L(h,C)&&(s.contentEditable=!0,s.focus());else if(I&&(0,ho.isVerticalEdge)(h,C)&&(!b||(0,ho.isHorizontalEdge)(h,D))&&!j){let G=MD(h,C,s,!0);G&&((0,ho.placeCaretAtVerticalEdge)(G,b?!C:C,b?void 0:a),f.preventDefault())}else if(B&&R.getSelection().isCollapsed&&(0,ho.isHorizontalEdge)(h,D)&&!j){let G=MD(h,D,s);(0,ho.placeCaretAtHorizontalEdge)(G,C),f.preventDefault()}}return s.addEventListener("mousedown",c),s.addEventListener("keydown",d),()=>{s.removeEventListener("mousedown",c),s.removeEventListener("keydown",d)}},[])}var K9=l(Z(),1),Y9=l(F(),1),ya=l(it(),1);function q9(){let e=(0,Y9.useSelect)(t=>t(_).getSettings().isPreviewMode,[]);return(0,K9.useRefEffect)(t=>{if(!e)return;function o(r){let{keyCode:n,shiftKey:i,target:s}=r,a=n===ya.TAB,c=n===ya.UP,u=n===ya.DOWN,d=n===ya.LEFT;if(!a&&!(c||u||d||n===ya.RIGHT))return;let h=a?i:c||d,p=Array.from(t.querySelectorAll("[data-block]"));if(!p.length)return;let g=s.closest("[data-block]"),b=g?p.indexOf(g):-1;if(b===-1||a&&(h&&b===0||!h&&b===p.length-1))return;let v;h?v=b<=0?p.length-1:b-1:v=b===-1||b>=p.length-1?0:b+1,r.preventDefault(),p[v].focus()}return t.addEventListener("keydown",o),()=>{t.removeEventListener("keydown",o)}},[e])}var Z9=l(je(),1),v1=l(F(),1),X9=l(Is(),1),Q9=l(Z(),1);function J9(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,v1.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,v1.useDispatch)(_),i=(0,X9.__unstableUseShortcutEventMatch)();return(0,Q9.useRefEffect)(s=>{function a(c){if(!i("core/block-editor/select-all",c))return;let u=t();if(u.length<2&&!(0,Z9.isEntirelySelected)(c.target))return;c.preventDefault();let{ownerDocument:d}=c.target,[f]=u,m=Li(d.activeElement);if(m&&m!==f&&!ka(d.getElementById("block-"+f),d.activeElement)){n(m);return}let h=o(f),p=e(h);if(u.length===p.length){h&&(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(h));return}r(p[0],p[p.length-1])}return s.addEventListener("keydown",a),()=>{s.removeEventListener("keydown",a)}},[])}var y1=l(F(),1),tG=l(Z(),1);function eG(e,t){e.contentEditable=t,t&&e.focus()}function oG(){let{startMultiSelect:e,stopMultiSelect:t}=(0,y1.useDispatch)(_),{getSettings:o,isSelectionEnabled:r,hasSelectedBlock:n,isDraggingBlocks:i,isMultiSelecting:s}=(0,y1.useSelect)(_);return(0,tG.useRefEffect)(a=>{let{ownerDocument:c}=a,{defaultView:u}=c,d,f;function m(){t(),u.removeEventListener("mouseup",m),f=u.requestAnimationFrame(()=>{if(!n())return;eG(a,!1);let b=u.getSelection();if(b.rangeCount){let v=b.getRangeAt(0),{commonAncestorContainer:k}=v,y=v.cloneRange();d.contains(k)&&(d.focus(),b.removeAllRanges(),b.addRange(y))}})}let h;function p({target:b}){h=b}function g({buttons:b,target:v,relatedTarget:k}){v.contains(h)&&(v.contains(k)||i()||b===1&&(s()||a!==v&&(v.getAttribute("contenteditable")!=="true"&&!o().isPreviewMode||r()&&(d=v,e(),u.addEventListener("mouseup",m),eG(a,!0)))))}return a.addEventListener("mouseout",g),a.addEventListener("mousedown",p),()=>{a.removeEventListener("mouseout",g),u.removeEventListener("mouseup",m),u.cancelAnimationFrame(f)}},[e,t,r,n])}var S1=l(F(),1),iG=l(Z(),1),DD=l(dr(),1),sG=l(je(),1);function i_e(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function s_e(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&&(0,sG.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function a_e(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function rG(e,t){e.contentEditable!==String(t)&&(e.contentEditable=t,t&&e.focus())}function nG(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest("[data-wp-block-attribute-key]")}function aG(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,S1.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,S1.useSelect)(_);return(0,iG.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=i_e(f),h=s_e(f);if(!s.contains(m)||!s.contains(h))return;let p=d.shiftKey&&d.type==="mouseup";if(f.isCollapsed&&!p){if(s.contentEditable==="true"&&!i()){rG(s,!1);let k=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;k=k?.closest("[contenteditable]"),k?.focus()}return}let g=Li(m),b=Li(h);if(p){let k=n(),y=Li(d.target),S=y!==b;(g===b&&f.isCollapsed||!b||S)&&(b=y),g!==k&&(g=k)}if(g===void 0&&b===void 0){rG(s,!1);return}if(d.type==="mouseup"&&!d.shiftKey&&!i()&&g===b){let k=Li(d.target);if(k&&k!==g){f.removeAllRanges();return}}if(g===b)i()?e(g,g):t(g);else{let k=[...r(g),g],y=[...r(b),b],S=a_e(k,y);if(k[S]!==g||y[S]!==b){e(k[S],y[S]);return}let x=nG(m),C=nG(h);if(x&&C){let B=f.getRangeAt(0),I=(0,DD.create)({element:x,range:B,__unstableIsEditableTree:!0}),P=(0,DD.create)({element:C,range:B,__unstableIsEditableTree:!0}),E=I.start??I.end,L=P.start??P.end;o({start:{clientId:g,attributeKey:x.dataset.wpBlockAttributeKey,offset:E},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:L}})}else e(g,b)}}return a.addEventListener("selectionchange",u),c.addEventListener("mouseup",u),()=>{a.removeEventListener("selectionchange",u),c.removeEventListener("mouseup",u)}},[e,t,o,r])}var _1=l(F(),1),lG=l(Z(),1);function cG(){let{selectBlock:e}=(0,_1.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,_1.useSelect)(_);return(0,lG.useRefEffect)(n=>{function i(s){if(!t()||s.button!==0)return;let a=o(),c=Li(s.target);s.shiftKey?a&&a!==c&&(n.contentEditable=!0,n.focus()):r()&&e(c)}return n.addEventListener("mousedown",i),()=>{n.removeEventListener("mousedown",i)}},[e,t,o,r])}var x1=l(F(),1),uG=l(Z(),1),Ll=l(it(),1),Ps=l($(),1);function dG(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,x1.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:h,__unstableDeleteSelection:p,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,x1.useDispatch)(_);return(0,uG.useRefEffect)(v=>{function k(x){v.contentEditable==="true"&&x.preventDefault()}function y(x){if(!x.defaultPrevented){if(!n()){if(x.keyCode===Ll.ENTER){if(x.shiftKey||e())return;let C=o(),B=i(C),I=c(),P=u();if(I.attributeKey===P.attributeKey){let E=d(C)[I.attributeKey],L=(0,Ps.getBlockTransforms)("from").filter(({type:R})=>R==="enter"),T=(0,Ps.findTransform)(L,R=>R.regExp.test(E));if(T){f(C,T.transform({content:E})),b();return}}if(!(0,Ps.hasBlockSupport)(B,"splitting",!1)&&!x.__deprecatedOnSplit)return;(s((0,Ps.getDefaultBlockName)(),a(C))||s(B,a(C)))&&(m(),x.preventDefault())}return}x.keyCode===Ll.ENTER?(v.contentEditable=!1,x.preventDefault(),e()?f(t(),(0,Ps.createBlock)((0,Ps.getDefaultBlockName)())):m()):x.keyCode===Ll.BACKSPACE||x.keyCode===Ll.DELETE?(v.contentEditable=!1,x.preventDefault(),e()?h(t()):r()?p(x.keyCode===Ll.DELETE):g()):x.key.length===1&&!(x.metaKey||x.ctrlKey)&&(v.contentEditable=!1,r()?p(x.keyCode===Ll.DELETE):(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(x){n()&&(v.contentEditable=!1,r()?p():(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}return v.addEventListener("beforeinput",k),v.addEventListener("keydown",y),v.addEventListener("compositionstart",S),()=>{v.removeEventListener("beforeinput",k),v.removeEventListener("keydown",y),v.removeEventListener("compositionstart",S)}},[])}var Sa=l($(),1),C1=l(je(),1),Rh=l(F(),1),kG=l(Z(),1);var fG=l(O(),1),mG=l($(),1),Sy=l(F(),1),Mi=l(N(),1),pG=l(Ti(),1);function Ih(){let{getBlockName:e}=(0,Sy.useSelect)(_),{getBlockType:t}=(0,Sy.useSelect)(mG.store),{createSuccessNotice:o}=(0,Sy.useDispatch)(pG.store);return(0,fG.useCallback)((r,n)=>{let i="";if(r==="copyStyles")i=(0,Mi.__)("Styles copied to clipboard.");else if(n.length===1){let s=n[0],a=t(e(s))?.title;r==="copy"?i=(0,Mi.sprintf)((0,Mi.__)('Copied "%s" to clipboard.'),a):i=(0,Mi.sprintf)((0,Mi.__)('Moved "%s" to clipboard.'),a)}else r==="copy"?i=(0,Mi.sprintf)((0,Mi._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",n.length),n.length):i=(0,Mi.sprintf)((0,Mi._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",n.length),n.length);o(i,{type:"snackbar"})},[o,e,t])}var gG=l(je(),1),Di=l($(),1);var hG=l(je(),1);function l_e(e){let t="",o=e.indexOf(t);if(o>-1)e=e.substring(o+t.length);else return e;let n=e.indexOf("");return n>-1&&(e=e.substring(0,n)),e}function c_e(e){let t="";return e.startsWith(t)?e.slice(t.length):e}function Ph({clipboardData:e}){let t="",o="";try{t=e.getData("text/plain"),o=e.getData("text/html")}catch{return}o=l_e(o),o=c_e(o);let r=(0,hG.getFilesFromDataTransfer)(e);return r.length&&!u_e(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function u_e(e,t){if(t&&e?.length===1&&e[0].type.indexOf("image/")===0){let o=/<\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(r))return!0}return!1}var VD=Symbol("requiresWrapperOnCopy");function w1(e,t,o){let r=t,[n]=t;if(n&&o.select(Di.store).getBlockType(n.name)[VD]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&&(r=(0,Di.createBlock)(f,u(d),r))}let i=(0,Di.serialize)(r);e.clipboardData.setData("text/plain",d_e(i)),e.clipboardData.setData("text/html",i)}function bG(e,t){let{plainText:o,html:r,files:n}=Ph(e),i=[];if(n.length){let s=(0,Di.getBlockTransforms)("from");i=n.reduce((a,c)=>{let u=(0,Di.findTransform)(s,d=>d.type==="files"&&d.isMatch([c]));return u&&a.push(u.transform([c])),a},[]).flat()}else i=(0,Di.pasteHandler)({HTML:r,plainText:o,mode:"BLOCKS",canUserUseUnfilteredHTML:t});return i}function d_e(e){return e=e.replace(/
/g,` -`),(0,gG.__unstableStripHTML)(e).trim().replace(/\n\n+/g,` + `}}),i&&f&&(p+=yu(t,s,"constrained",f)),p},getOrientation(){return"vertical"},getAlignments(e){let t=eC(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(i=>({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:"left"},{name:"center"},{name:"right"}];return o&&n.unshift({name:"full"}),r&&n.unshift({name:"wide",info:t.wide}),n.unshift({name:"none",info:t.none}),n}},zve={placement:"bottom-start"};function jve({layout:e,onChange:t}){let{justifyContent:o="center"}=e;return(0,Qo.jsx)(sh,{allowedControls:["left","center","right"],value:o,onChange:i=>{t({...e,justifyContent:i})},popoverProps:zve})}var Fr=l(N(),1),rt=l(A(),1),nC=l(O(),1);var Ye=l(w(),1),Uve={px:600,"%":100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},Hve=[{value:"px",label:"px",default:0},{value:"rem",label:"rem",default:0},{value:"em",label:"em",default:0}],sH={name:"grid",label:(0,Fr.__)("Grid"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,Ye.jsxs)(Ye.Fragment,{children:[window.__experimentalEnableGridInteractivity&&(0,Ye.jsx)($ve,{layout:t,onChange:o}),(0,Ye.jsxs)(rt.__experimentalVStack,{spacing:4,children:[i&&(0,Ye.jsx)(Wve,{layout:t,onChange:o,allowSizingOnChildren:n}),s&&(0,Ye.jsx)(Gve,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{minimumColumnWidth:c=null,columnCount:u=null,rowCount:d=null}=o,f="1.2rem";if(s){let b=mr(s,"0.5em").split(" ");f=b.length>1?b[1]:b[0]}let m=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,f):void 0,h="",p=[];if(c&&u>0){let g=m||f;(g==="0"||g===0)&&(g="0px");let b=`max(min( ${c}, 100%), ( 100% - (${g}*${u-1}) ) / ${u})`;p.push(`grid-template-columns: repeat(auto-fill, minmax(${b}, 1fr))`,"container-type: inline-size"),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)}else u?(p.push(`grid-template-columns: repeat(${u}, minmax(0, 1fr))`),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)):p.push(`grid-template-columns: repeat(auto-fill, minmax(min(${c||"12rem"}, 100%), 1fr))`,"container-type: inline-size");return p.length&&(h=`${Hn(t)} { ${p.join("; ")}; }`),i&&m&&(h+=yu(t,a,"grid",m)),h},getOrientation(){return"horizontal"},getAlignments(){return[]}};function Gve({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:"12rem"),[a,c="rem"]=(0,rt.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=>{t({...e,minimumColumnWidth:[f,c].join("")})},d=f=>{let m;["em","rem"].includes(f)&&c==="px"?m=(a/16).toFixed(2)+f:["em","rem"].includes(c)&&f==="px"&&(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-minimum-width-control",children:[(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Min. column width")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalUnitControl,{size:"__unstable-large",onChange:f=>{t({...e,minimumColumnWidth:f===""?void 0:f})},onUnitChange:d,value:s,units:Hve,min:0,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Uve[c]||600,withInputField:!1,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})})]}),(0,Ye.jsx)("p",{className:"components-base-control__help",children:(0,Fr.__)("Columns will wrap to fewer per row when they can no longer maintain the minimum width.")})]})}function Wve({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-columns-and-rows-controls",children:[!s&&(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Max. columns")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let u=a===""||a==="0"?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!s})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:o&&s?(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let c=a===""||a==="0"?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Fr.__)("Rows")}):(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=>t({...e,columnCount:a===""||a==="0"?1:a}),min:1,max:16,withInputField:!1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!0})})]})]})})}function $ve({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,nC.useState)(o||3),[c,u]=(0,nC.useState)(r),[d,f]=(0,nC.useState)(n||"12rem"),m=i?"manual":"auto",h=g=>{g==="manual"?f(n||"12rem"):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g==="manual"?c:void 0,isManualPlacement:g==="manual"?!0:void 0,minimumColumnWidth:g==="auto"?d:null})},p=m==="manual"?(0,Fr.__)("Grid items can be manually placed in any position on the grid."):(0,Fr.__)("Grid items are placed automatically depending on their order.");return(0,Ye.jsxs)(rt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Fr.__)("Grid item position"),value:m,onChange:h,isBlock:!0,help:p,children:[(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"auto",label:(0,Fr.__)("Auto")},"auto"),(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"manual",label:(0,Fr.__)("Manual")},"manual")]})}var aH=[oH,eH,iH,sH];function xs(e="default"){return aH.find(t=>t.name===e)}function lH(){return aH}var xM=l(w(),1),wM={type:"default"},CM=(0,iC.createContext)(wM);CM.displayName="BlockLayoutContext";var cH=CM.Provider;function jf(){return(0,iC.useContext)(CM)}function uH({layout:e={},css:t,...o}){let r=xs(e.type),[n]=me("spacing.blockGap"),i=n!==null;if(r){if(t)return(0,xM.jsx)("style",{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,xM.jsx)("style",{children:s})}return null}var sC=[],dH=["none","left","center","right","wide","full"],Kve=["wide","full"];function Uv(e=dH){e.includes("none")||(e=["none",...e]);let t=e.length===1&&e[0]==="none",[o,r,n]=(0,fH.useSelect)(c=>{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=jf();if(t)return sC;let s=xs(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=>e.includes(d.name));return u.length===1&&u[0].name==="none"?sC:u}if(s.name!=="default"&&s.name!=="constrained")return sC;let a=e.filter(c=>i.alignments?i.alignments.includes(c):!o&&Kve.includes(c)?!1:dH.includes(c)).map(c=>({name:c}));return a.length===1&&a[0].name==="none"?sC:a}var _u=l(N(),1);var Hv={none:{icon:Sf,title:(0,_u._x)("None","Alignment option")},left:{icon:zL,title:(0,_u.__)("Align left")},center:{icon:VL,title:(0,_u.__)("Align center")},right:{icon:UL,title:(0,_u.__)("Align right")},wide:{icon:Af,title:(0,_u.__)("Wide width")},full:{icon:Sv,title:(0,_u.__)("Full width")}},mH="none";var Uf=l(w(),1);function Yve({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=Uv(o);if(!!!i.length)return null;function a(h){t([e,"none"].includes(h)?void 0:h)}let c=Hv[e],u=Hv[mH],d=r?xu.ToolbarGroup:xu.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,BM.__)("Align")},m=r?{isCollapsed:n,controls:i.map(({name:h})=>({...Hv[h],isActive:e===h||!e&&h==="none",role:n?"menuitemradio":void 0,onClick:()=>a(h)}))}:{toggleProps:{description:(0,BM.__)("Change alignment")},children:({onClose:h})=>(0,Uf.jsx)(Uf.Fragment,{children:(0,Uf.jsx)(xu.MenuGroup,{className:"block-editor-block-alignment-control__menu-group",children:i.map(({name:p,info:g})=>{let{icon:b,title:v}=Hv[p],k=p===e||!e&&p==="none";return(0,Uf.jsx)(xu.MenuItem,{icon:b,iconPosition:"left",className:V("components-dropdown-menu__menu-item",{"is-active":k}),isSelected:k,onClick:()=>{a(p),h()},role:"menuitemradio",info:g,children:v},p)})})})};return(0,Uf.jsx)(d,{...f,...m})}var EM=Yve;var TM=l(w(),1),aC=e=>(0,TM.jsx)(EM,{...e,isToolbar:!1}),pH=e=>(0,TM.jsx)(EM,{...e,isToolbar:!0});var vH=l(vf(),1),dC=l(N(),1),fC=l($(),1),Cs=l(A(),1),RM=l(F(),1),yH=l(O(),1),SH=l(Z(),1);var PM=l(vf(),1),hH=l($(),1),gH=l(A(),1),bH=l(F(),1),cC=l(O(),1),kH=l(Z(),1);var lC=l(F(),1);function IM(e){return!e||Object.keys(e).length===0}function El(e){let{clientId:t}=Pe(),o=e||t,{updateBlockAttributes:r}=(0,lC.useDispatch)(_),{getBlockAttributes:n}=(0,lC.useRegistry)().select(_);return{updateBlockBindings:a=>{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,h])=>{if(!h&&d[m]){delete d[m];return}d[m]=h});let f={...u,bindings:d};IM(f.bindings)&&delete f.bindings,r(o,{metadata:IM(f)?void 0:f})},removeAllBlockBindings:()=>{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:IM(c)?void 0:c})}}}var ws=l(w(),1),{Menu:wu}=M(gH.privateApis);function qve({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,cC.useMemo)(()=>({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,cC.useContext)(xr),a=(0,bH.useSelect)(u=>r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=El();return(0,ws.jsxs)(wu.CheckboxItem,{onChange:()=>{let u=(0,PM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+"-binding",value:a[t],checked:(0,PM.default)(e,o.args)??o.key===e?.key,children:[(0,ws.jsx)(wu.ItemLabel,{children:o.label}),(0,ws.jsx)(wu.ItemHelpText,{children:a[t]})]})}function Gv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,kH.useViewportMatch)("medium","<");if(!r||r.length===0)return null;let i=(0,hH.getBlockBindingsSource)(o);return(0,ws.jsxs)(wu,{placement:n?"bottom-start":"left-start",children:[(0,ws.jsx)(wu.SubmenuTriggerItem,{children:(0,ws.jsx)(wu.ItemLabel,{children:i.label})}),(0,ws.jsx)(wu.Popover,{gutter:8,children:(0,ws.jsx)(wu.Group,{children:r.map(s=>(0,ws.jsx)(qve,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var Pi=l(w(),1),{Menu:uC}=M(Cs.privateApis);function Wv({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=El(),n=(0,SH.useViewportMatch)("medium","<"),i=(0,yH.useContext)(xr),s=(0,RM.useSelect)(g=>{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:v,getBlockType:k}=M(g(fC.store)),y=k(o).attributes?.[e]?.type,S=y==="rich-text"?"string":y,x={};return Object.entries(b()).forEach(([C,B])=>{let I=v(B,i);if(!I?.length)return;let P=I.filter(E=>E.type===S);P.length&&(x[C]=P)}),x},[e,o,i]),{canUpdateBlockBindings:a}=(0,RM.useSelect)(g=>({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length>0,u=!a||!c,{source:d,args:f}=t||{},m=(0,fC.getBlockBindingsSource)(d),h,p=!0;return t===void 0?(c?h=(0,dC.__)("Not connected"):h=(0,dC.__)("No sources available"),p=!0):m?h=s?.[d]?.find(g=>(0,vH.default)(g.args,f))?.label||m?.label||d:(p=!1,h=(0,dC.__)("Source not registered")),(0,Pi.jsx)(Cs.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!c&&(()=>{r({[e]:void 0})}),children:(0,Pi.jsxs)(uC,{placement:n?"bottom-start":"left-start",children:[(0,Pi.jsx)(uC.TriggerButton,{render:(0,Pi.jsx)(Cs.__experimentalItem,{}),disabled:!c,children:(0,Pi.jsxs)(Cs.__experimentalVStack,{className:"block-editor-bindings__item",spacing:0,children:[(0,Pi.jsx)(Cs.__experimentalText,{truncate:!0,children:e}),(0,Pi.jsx)(Cs.__experimentalText,{truncate:!0,variant:p?"muted":void 0,isDestructive:!p,children:h})]})}),!u&&(0,Pi.jsx)(uC.Popover,{gutter:n?8:36,children:(0,Pi.jsx)(uC,{placement:n?"bottom-start":"left-start",children:Object.entries(s).map(([g,b])=>(0,Pi.jsx)(Gv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var _H=l(N(),1),xH=l(A(),1);var wH=l(w(),1);function Zve({isActive:e,label:t=(0,_H.__)("Full height"),onToggle:o,isDisabled:r}){return(0,wH.jsx)(xH.ToolbarButton,{isActive:e,icon:NA,label:t,onClick:()=>o(!e),disabled:r})}var CH=Zve;var EH=l(N(),1),TH=l(nt(),1),Hf=l(A(),1),$v=l(w(),1),Xve=()=>{};function Qve(e){let{label:t=(0,EH.__)("Change matrix alignment"),onChange:o=Xve,value:r="center",isDisabled:n}=e,i=(0,$v.jsx)(Hf.AlignmentMatrixControl.Icon,{value:r});return(0,$v.jsx)(Hf.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:({onToggle:s,isOpen:a})=>(0,$v.jsx)(Hf.ToolbarButton,{onClick:s,"aria-haspopup":"true","aria-expanded":a,onKeyDown:u=>{!a&&u.keyCode===TH.DOWN&&(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=>(0,$v.jsx)(Hf.AlignmentMatrixControl,{onChange:o,value:r})})}var IH=Qve;var LM=l(A(),1),hC=l(F(),1),gC=l(N(),1);var MH=l(O(),1);var PH=l(F(),1),mC=l($(),1);function zr({clientId:e,maximumLength:t,context:o}){let r=(0,PH.useSelect)(n=>{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(mC.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,mC.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&&t>0&&r.length>t?r.slice(0,t-3)+"...":r:null}function Kv({clientId:e,maximumLength:t,context:o}){return zr({clientId:e,maximumLength:t,context:o})}var Gf=l(O(),1),AH=l(Z(),1);var pC=l(O(),1),OM=l(Z(),1),RH=l(w(),1),Yv=(0,pC.createContext)({refsMap:(0,OM.observableMap)()});Yv.displayName="BlockRefsContext";function OH({children:e}){let t=(0,pC.useMemo)(()=>({refsMap:(0,OM.observableMap)()}),[]);return(0,RH.jsx)(Yv.Provider,{value:t,children:e})}function LH(e){let{refsMap:t}=(0,Gf.useContext)(Yv);return(0,AH.useRefEffect)(o=>(t.set(e,o),()=>t.delete(e)),[e])}function AM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Wf(e,t){let{refsMap:o}=(0,Gf.useContext)(Yv);(0,Gf.useLayoutEffect)(()=>{AM(t,o.get(e));let r=o.subscribe(e,()=>AM(t,o.get(e)));return()=>{r(),AM(t,null)}},[o,e,t])}function ft(e){let[t,o]=(0,Gf.useState)(null);return Wf(e,o),t}function NH(e){if(!e)return null;let t=Array.from(document.querySelectorAll('iframe[name="editor-canvas"]').values()).find(o=>(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest('[role="region"]')??t}var Gn=l(w(),1);function Jve({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,hC.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,hC.useSelect)(c=>{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=M(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,gC._x)("Document","noun, breadcrumb"),a=(0,MH.useRef)();return Wf(r,a),(0,Gn.jsxs)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,gC.__)("Block breadcrumb"),children:[(0,Gn.jsxs)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true",children:[i&&(0,Gn.jsx)(LM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>{let c=a.current?.closest(".editor-styles-wrapper");o(),NH(c)?.focus()},children:s}),!i&&(0,Gn.jsx)("span",{children:s}),!!r&&(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]}),n.map(c=>(0,Gn.jsxs)("li",{children:[(0,Gn.jsx)(LM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>t(c),children:(0,Gn.jsx)(Kv,{clientId:c,maximumLength:35,context:"breadcrumb"})}),(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]},c)),!!r&&(0,Gn.jsx)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true",children:(0,Gn.jsx)(Kv,{clientId:r,maximumLength:35,context:"breadcrumb"})})]})}var DH=Jve;var VH=l(F(),1);function FH(e){return(0,VH.useSelect)(t=>{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var xT=l(Z(),1),qQ=l(O(),1),ZQ=l(F(),1),XQ=l(A(),1);var Gi=l(F(),1),ZB=l(Z(),1),ed=l(O(),1),iq=l($(),1);var Nu=l(O(),1),He=l($(),1),u9=l(A(),1),c1=l(F(),1),d9=l(Z(),1),f9=l(je(),1);var Tl=l(N(),1),kC=l(A(),1),$f=l(O(),1),lh=l($(),1),vC=l(F(),1);var YH=l(GH(),1),bC=l(N(),1),qH=l($(),1);var WH=l(A(),1),$H=l(O(),1),KH=l(je(),1),ha=l(w(),1);function MM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,ha.jsxs)("div",{className:i,children:[(0,ha.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,ha.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,ha.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,ha.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,ha.jsx)($H.RawHTML,{children:(0,KH.safeHTML)(o)})})]}),(0,ha.jsx)("div",{className:"block-editor-block-compare__action",children:(0,ha.jsx)(WH.Button,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:r,children:n})})]})}var ah=l(w(),1);function iye({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,YH.diffChars)(u,d).map((m,h)=>{let p=V({"block-editor-block-compare__added":m.added,"block-editor-block-compare__removed":m.removed});return(0,ah.jsx)("span",{className:p,children:m.value},h)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=>(0,qH.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join("")}let a=s(r(e)),c=i(e.originalContent,a);return(0,ah.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,ah.jsx)(MM,{title:(0,bC.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,bC.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,ah.jsx)(MM,{title:(0,bC.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:n,rawContent:c,renderedContent:a})]})}var ZH=iye;var Il=l(w(),1),XH=e=>(0,lh.rawHandler)({HTML:e.originalContent});function QH({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,vC.useSelect)(d=>{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:h}=d(_),p=h(e);return{block:m(e),canInsertHTMLBlock:f("core/html",p),canInsertClassicBlock:f("core/freeform",p)}},[e]),{replaceBlock:n}=(0,vC.useDispatch)(_),[i,s]=(0,$f.useState)(!1),a=(0,$f.useCallback)(()=>s(!1),[]),c=(0,$f.useMemo)(()=>({toClassic(){let d=(0,lh.createBlock)("core/freeform",{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,lh.createBlock)("core/html",{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=XH(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,lh.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,$f.useMemo)(()=>[{title:(0,Tl._x)("Resolve","imperative verb"),onClick:()=>s(!0)},o&&{title:(0,Tl.__)("Convert to HTML"),onClick:c.toHTML},r&&{title:(0,Tl.__)("Convert to Classic Block"),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(pu,{actions:[(0,Il.jsx)(kC.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:"primary",children:(0,Tl.__)("Attempt recovery")},"recover")],secondaryActions:u,children:(0,Tl.__)("Block contains unexpected or invalid content.")}),i&&(0,Il.jsx)(kC.Modal,{title:(0,Tl.__)("Resolve Block"),onRequestClose:a,className:"block-editor-block-compare",children:(0,Il.jsx)(ZH,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:XH,convertButtonText:(0,Tl.__)("Convert to Blocks")})})]})}var JH=l(N(),1);var e8=l(w(),1),sye=(0,e8.jsx)(pu,{className:"block-editor-block-list__block-crash-warning",children:(0,JH.__)("This block has encountered an error and cannot be previewed.")}),t8=()=>sye;var o8=l(O(),1),aye=class extends o8.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},r8=aye;var _8=l(FM(),1),xC=l(O(),1),wC=l(F(),1),ga=l($(),1);var x8=l(w(),1);function kye({clientId:e}){let[t,o]=(0,xC.useState)(""),r=(0,wC.useSelect)(s=>s(_).getBlock(e),[e]),{updateBlock:n}=(0,wC.useDispatch)(_),i=()=>{let s=(0,ga.getBlockType)(r.name);if(!s)return;let a=(0,ga.getBlockAttributes)(s,t,r.attributes),c=t||(0,ga.getSaveContent)(s,a),[u]=t?(0,ga.validateBlock)({...r,attributes:a,originalContent:c}):[!0];n(e,{attributes:a,originalContent:c,isValid:u}),t||o(c)};return(0,xC.useEffect)(()=>{o((0,ga.getBlockContent)(r))},[r]),(0,x8.jsx)(_8.default,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:i,onChange:s=>o(s.target.value)})}var w8=kye;var a9=l(O(),1),s1=l(N(),1),l9=l($(),1),a1=l(Z(),1),c9=l(Xv(),1);var jM=Jv(),ye=e=>Qv(e,jM),UM=Jv();ye.write=e=>Qv(e,UM);var CC=Jv();ye.onStart=e=>Qv(e,CC);var HM=Jv();ye.onFrame=e=>Qv(e,HM);var GM=Jv();ye.onFinish=e=>Qv(e,GM);var ch=[];ye.setTimeout=(e,t)=>{let o=ye.now()+t,r=()=>{let i=ch.findIndex(s=>s.cancel==r);~i&&ch.splice(i,1),Bu-=~i?1:0},n={time:o,handler:e,cancel:r};return ch.splice(B8(o),0,n),Bu+=1,E8(),n};var B8=e=>~(~ch.findIndex(t=>t.time>e)||~ch.length);ye.cancel=e=>{CC.delete(e),HM.delete(e),GM.delete(e),jM.delete(e),UM.delete(e)};ye.sync=e=>{zM=!0,ye.batchedUpdates(e),zM=!1};ye.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,ye.onStart(o)}return r.handler=e,r.cancel=()=>{CC.delete(o),t=null},r};var WM=typeof window<"u"?window.requestAnimationFrame:()=>{};ye.use=e=>WM=e;ye.now=typeof performance<"u"?()=>performance.now():Date.now;ye.batchedUpdates=e=>e();ye.catch=console.error;ye.frameLoop="always";ye.advance=()=>{ye.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):I8()};var Cu=-1,Bu=0,zM=!1;function Qv(e,t){zM?(t.delete(e),e(0)):(t.add(e),E8())}function E8(){Cu<0&&(Cu=0,ye.frameLoop!=="demand"&&WM(T8))}function vye(){Cu=-1}function T8(){~Cu&&(WM(T8),ye.batchedUpdates(I8))}function I8(){let e=Cu;Cu=ye.now();let t=B8(Cu);if(t&&(P8(ch.splice(0,t),o=>o.handler()),Bu-=t),!Bu){vye();return}CC.flush(),jM.flush(e?Math.min(64,Cu-e):16.667),HM.flush(),UM.flush(),GM.flush()}function Jv(){let e=new Set,t=e;return{add(o){Bu+=t==e&&!e.has(o)?1:0,e.add(o)},delete(o){return Bu-=t==e&&e.has(o)?1:0,e.delete(o)},flush(o){t.size&&(e=new Set,Bu-=t.size,P8(t,r=>r(o)&&e.add(r)),Bu+=e.size,t=e)}}}function P8(e,t){e.forEach(o=>{try{t(o)}catch(r){ye.catch(r)}})}var Oi=l(jr());function PC(){}var M8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function ba(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let o=0;oe.forEach(t);function Ai(e,t,o){if(ae.arr(e)){for(let r=0;rae.und(e)?[]:ae.arr(e)?e:[e];function mh(e,t){if(e.size){let o=Array.from(e);e.clear(),bt(o,t)}}var ph=(e,...t)=>mh(e,o=>o(...t)),XM=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),QM,D8,Eu=null,V8=!1,JM=PC,yye=e=>{e.to&&(D8=e.to),e.now&&(ye.now=e.now),e.colors!==void 0&&(Eu=e.colors),e.skipAnimation!=null&&(V8=e.skipAnimation),e.createStringInterpolator&&(QM=e.createStringInterpolator),e.requestAnimationFrame&&ye.use(e.requestAnimationFrame),e.batchedUpdates&&(ye.batchedUpdates=e.batchedUpdates),e.willAdvance&&(JM=e.willAdvance),e.frameLoop&&(ye.frameLoop=e.frameLoop)},Wn=Object.freeze({__proto__:null,get createStringInterpolator(){return QM},get to(){return D8},get colors(){return Eu},get skipAnimation(){return V8},get willAdvance(){return JM},assign:yye}),ey=new Set,Ri=[],$M=[],TC=0,hh={get idle(){return!ey.size&&!Ri.length},start(e){TC>e.priority?(ey.add(e),ye.onStart(Sye)):(F8(e),ye(qM))},advance:qM,sort(e){if(TC)ye.onFrame(()=>hh.sort(e));else{let t=Ri.indexOf(e);~t&&(Ri.splice(t,1),z8(e))}},clear(){Ri=[],ey.clear()}};function Sye(){ey.forEach(F8),ey.clear(),ye(qM)}function F8(e){Ri.includes(e)||z8(e)}function z8(e){Ri.splice(_ye(Ri,t=>t.priority>e.priority),0,e)}function qM(e){let t=$M;for(let o=0;o0}function _ye(e,t){let o=e.findIndex(t);return o<0?e.length:o}var j8={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bs="[-+]?\\d*\\.?\\d+",IC=Bs+"%";function RC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var xye=new RegExp("rgb"+RC(Bs,Bs,Bs)),wye=new RegExp("rgba"+RC(Bs,Bs,Bs,Bs)),Cye=new RegExp("hsl"+RC(Bs,IC,IC)),Bye=new RegExp("hsla"+RC(Bs,IC,IC,Bs)),Eye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Tye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Iye=/^#([0-9a-fA-F]{6})$/,Pye=/^#([0-9a-fA-F]{8})$/;function Rye(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Iye.exec(e))?parseInt(t[1]+"ff",16)>>>0:Eu&&Eu[e]!==void 0?Eu[e]:(t=xye.exec(e))?(uh(t[1])<<24|uh(t[2])<<16|uh(t[3])<<8|255)>>>0:(t=wye.exec(e))?(uh(t[1])<<24|uh(t[2])<<16|uh(t[3])<<8|A8(t[4]))>>>0:(t=Eye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Pye.exec(e))?parseInt(t[1],16)>>>0:(t=Tye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Cye.exec(e))?(R8(O8(t[1]),BC(t[2]),BC(t[3]))|255)>>>0:(t=Bye.exec(e))?(R8(O8(t[1]),BC(t[2]),BC(t[3]))|A8(t[4]))>>>0:null}function KM(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function R8(e,t,o){let r=o<.5?o*(1+t):o+t-o*t,n=2*o-r,i=KM(n,r,e+1/3),s=KM(n,r,e),a=KM(n,r,e-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function uh(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function O8(e){return(parseFloat(e)%360+360)%360/360}function A8(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function BC(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function L8(e){let t=Rye(e);if(t===null)return e;t=t||0;let o=(t&4278190080)>>>24,r=(t&16711680)>>>16,n=(t&65280)>>>8,i=(t&255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var Tu=(e,t,o)=>{if(ae.fun(e))return e;if(ae.arr(e))return Tu({range:e,output:t,extrapolate:o});if(ae.str(e.output[0]))return QM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{let d=Aye(u,i);return Oye(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Oye(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(uo){if(a==="identity")return u;a==="clamp"&&(u=o)}return r===n?r:t===o?e<=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Aye(e,t){for(var o=1;o=e);++o);return o-1}function ZM(){return ZM=Object.assign?Object.assign.bind():function(e){for(var t=1;t!!(e&&e[dh]),pr=e=>e&&e[dh]?e[dh]():e,eD=e=>e[Kf]||null;function Lye(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Yf(e,t){let o=e[Kf];o&&o.forEach(r=>{Lye(r,t)})}var fh=class{constructor(t){if(this[dh]=void 0,this[Kf]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");Nye(this,t)}},Nye=(e,t)=>U8(e,dh,t);function Iu(e,t){if(e[dh]){let o=e[Kf];o||U8(e,Kf,o=new Set),o.has(t)||(o.add(t),e.observerAdded&&e.observerAdded(o.size,t))}return t}function Pu(e,t){let o=e[Kf];if(o&&o.has(t)){let r=o.size-1;r?o.delete(t):e[Kf]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var U8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),EC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Mye=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,N8=new RegExp(`(${EC.source})(%|[a-z]+)`,"i"),Dye=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,OC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,H8=e=>{let[t,o]=Vye(e);if(!t||XM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&&o.startsWith("--")){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&&OC.test(o))return H8(o);if(o)return o}return e},Vye=e=>{let t=OC.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},YM,Fye=(e,t,o,r,n)=>`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,AC=e=>{YM||(YM=Eu?new RegExp(`(${Object.keys(Eu).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(i=>pr(i).replace(OC,H8).replace(Mye,L8).replace(YM,L8)),o=t.map(i=>i.match(EC).map(Number)),n=o[0].map((i,s)=>o.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(i=>Tu(ZM({},e,{output:i})));return i=>{var s;let a=!N8.test(t[0])&&((s=t.find(u=>N8.test(u)))==null?void 0:s.replace(EC,"")),c=0;return t[0].replace(EC,()=>`${n[c++](i)}${a||""}`).replace(Dye,Fye)}},G8="react-spring: ",W8=e=>{let t=e,o=!1;if(typeof t!="function")throw new TypeError(`${G8}once requires a function parameter`);return(...r)=>{o||(t(...r),o=!0)}},zye=W8(console.warn);function $8(){zye(`${G8}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Hze=W8(console.warn);function gh(e){return ae.str(e)&&(e[0]=="#"||/\d/.test(e)||!XM()&&OC.test(e)||e in(Eu||{}))}var ty=XM()?Oi.useEffect:Oi.useLayoutEffect,jye=()=>{let e=(0,Oi.useRef)(!1);return ty(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function tD(){let e=(0,Oi.useState)()[1],t=jye();return()=>{t.current&&e(Math.random())}}function K8(e,t){let[o]=(0,Oi.useState)(()=>({inputs:t,result:e()})),r=(0,Oi.useRef)(),n=r.current,i=n;return i?t&&i.inputs&&Uye(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,Oi.useEffect)(()=>{r.current=i,n==o&&(o.inputs=o.result=void 0)},[i]),i.result}function Uye(e,t){if(e.length!==t.length)return!1;for(let o=0;o(0,Oi.useEffect)(e,Hye),Hye=[];var dy=l(jr()),fy=l(jr());var X8=l(jr()),Rl=l(jr()),oy=Symbol.for("Animated:node"),Gye=e=>!!e&&e[oy]===e,Es=e=>e&&e[oy],DC=(e,t)=>M8(e,oy,t),ry=e=>e&&e[oy]&&e[oy].getPayload(),LC=class{constructor(){this.payload=void 0,DC(this,this)}getPayload(){return this.payload||[]}},qf=class e extends LC{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ae.num(t)&&(this.lastPosition=t,o&&(t=Math.round(t/o)*o,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ae.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Zf=class e extends qf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},NC={dependencies:null},Xf=class extends LC{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return Ai(this.source,(r,n)=>{Gye(r)?o[n]=r.getValue(t):Ur(r)?o[n]=pr(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&bt(this.payload,t=>t.reset())}_makePayload(t){if(t){let o=new Set;return Ai(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){NC.dependencies&&Ur(t)&&NC.dependencies.add(t);let o=ry(t);o&&bt(o,r=>this.add(r))}},rD=class e extends Xf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(Wye)),!0)}};function Wye(e){return(gh(e)?Zf:qf).create(e)}function VC(e){let t=Es(e);return t?t.constructor:ae.arr(e)?rD:gh(e)?Zf:qf}function MC(){return MC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let o=!ae.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,Rl.forwardRef)((r,n)=>{let i=(0,Rl.useRef)(null),s=o&&(0,Rl.useCallback)(p=>{i.current=Kye(n,p)},[n]),[a,c]=$ye(r,t),u=tD(),d=()=>{let p=i.current;if(o&&!p)return;(p?t.applyAnimatedValues(p,a.getValue(!0)):!1)===!1&&u()},f=new nD(d,c),m=(0,Rl.useRef)();ty(()=>(m.current=f,bt(c,p=>Iu(p,f)),()=>{m.current&&(bt(m.current.deps,p=>Pu(p,m.current)),ye.cancel(m.current.update))})),(0,Rl.useEffect)(d,[]),oD(()=>()=>{let p=m.current;bt(p.deps,g=>Pu(g,p))});let h=t.getComponentProps(a.getValue());return X8.createElement(e,MC({},h,{ref:s}))})},nD=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type=="change"&&ye.write(this.update)}};function $ye(e,t){let o=new Set;return NC.dependencies=o,e.style&&(e=MC({},e,{style:t.createAnimatedStyle(e.style)})),e=new Xf(e),NC.dependencies=null,[e,o]}function Kye(e,t){return e&&(ae.fun(e)?e(t):e.current=t),t}var q8=Symbol.for("AnimatedComponent"),Q8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:o=n=>new Xf(n),getComponentProps:r=n=>n}={})=>{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=>{let a=Z8(s)||"Anonymous";return ae.str(s)?s=i[s]||(i[s]=Y8(s,n)):s=s[q8]||(s[q8]=Y8(s,n)),s.displayName=`Animated(${a})`,s};return Ai(e,(s,a)=>{ae.arr(e)&&(a=Z8(s)),i[a]=i(s)}),{animated:i}},Z8=e=>ae.str(e)?e:e&&ae.str(e.displayName)?e.displayName:ae.fun(e)&&e.name||null;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;te===!0||!!(t&&e&&(ae.fun(e)?e(t):hn(e).includes(t))),u7=(e,t)=>ae.obj(e)?t&&e[t]:e,d7=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Yye=e=>e,f7=(e,t=Yye)=>{let o=qye;e.default&&e.default!==!0&&(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ae.und(i)||(r[n]=i)}return r},qye=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Zye={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Xye(e){let t={},o=0;if(Ai(e,(r,n)=>{Zye[n]||(t[n]=r,o++)}),o)return t}function m7(e){let t=Xye(e);if(t){let o={to:t};return Ai(e,(r,n)=>n in t||(o[n]=r)),o}return Hr({},e)}function ly(e){return e=pr(e),ae.arr(e)?e.map(ly):gh(e)?Wn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function aD(e){return ae.fun(e)||ae.arr(e)&&ae.obj(e[0])}var Qye={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},jC=1.70158,FC=jC*1.525,J8=jC+1,e7=2*Math.PI/3,t7=2*Math.PI/4.5,zC=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,Jye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>J8*e*e*e-jC*e*e,easeOutBack:e=>1+J8*Math.pow(e-1,3)+jC*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((FC+1)*2*e-FC)/2:(Math.pow(2*e-2,2)*((FC+1)*(e*2-2)+FC)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*e7),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*e7)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*t7))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*t7)/2+1,easeInBounce:e=>1-zC(1-e),easeOutBounce:zC,easeInOutBounce:e=>e<.5?(1-zC(1-2*e))/2:(1+zC(2*e-1))/2},lD=Hr({},Qye.default,{mass:1,damping:1,easing:Jye.linear,clamp:!1}),cD=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,lD)}};function eSe(e,t,o){o&&(o=Hr({},o),o7(o,t),t=Hr({},o,t)),o7(e,t),Object.assign(e,t);for(let s in lD)e[s]==null&&(e[s]=lD[s]);let{mass:r,frequency:n,damping:i}=e;return ae.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function o7(e,t){if(!ae.und(t.decay))e.duration=void 0;else{let o=!ae.und(t.tension)||!ae.und(t.friction);(o||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&&(e.duration=void 0,e.decay=void 0),o&&(e.frequency=void 0)}}var r7=[],uD=class{constructor(){this.changed=!1,this.values=r7,this.toValues=null,this.fromValues=r7,this.to=void 0,this.from=void 0,this.config=new cD,this.immediate=!1}};function p7(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=>{var c;let u,d,f=ay((c=o.cancel)!=null?c:r?.cancel,t);if(f)p();else{ae.und(o.pause)||(n.paused=ay(o.pause,t));let g=r?.pause;g!==!0&&(g=n.paused||ay(g,t)),u=Qf(o.delay||0,t),g?(n.resumeQueue.add(h),i.pause()):(i.resume(),h())}function m(){n.resumeQueue.add(h),n.timeouts.delete(d),d.cancel(),u=d.time-ye.now()}function h(){u>0&&!Wn.skipAnimation?(n.delayed=!0,d=ye.setTimeout(p,u),n.pauseQueue.add(m),n.timeouts.add(d)):p()}function p(){n.delayed&&(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e<=(n.cancelId||0)&&(f=!0);try{i.start(Hr({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var bD=(e,t)=>t.length==1?t[0]:t.some(o=>o.cancelled)?bh(e.get()):t.every(o=>o.noop)?h7(e.get()):Ts(e.get(),t.every(o=>o.finished)),h7=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ts=(e,t,o=!1)=>({value:e,finished:t,cancelled:o}),bh=e=>({value:e,cancelled:!0,finished:!1});function g7(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&&e===a&&!t.reset?c:o.promise=(async()=>{o.asyncId=n,o.asyncTo=e;let u=f7(t,(b,v)=>v==="onRest"?void 0:b),d,f,m=new Promise((b,v)=>(d=b,f=v)),h=b=>{let v=n<=(o.cancelId||0)&&bh(r)||n!==o.asyncId&&Ts(r,!1);if(v)throw b.result=v,f(b),b},p=(b,v)=>{let k=new UC,y=new HC;return(async()=>{if(Wn.skipAnimation)throw cy(o),y.result=Ts(r,!1),f(y),y;h(k);let S=ae.obj(b)?Hr({},b):Hr({},v,{to:b});S.parentId=n,Ai(u,(C,B)=>{ae.und(S[B])&&(S[B]=C)});let x=await r.start(S);return h(k),o.paused&&await new Promise(C=>{o.resumeQueue.add(C)}),x})()},g;if(Wn.skipAnimation)return cy(o),Ts(r,!1);try{let b;ae.arr(e)?b=(async v=>{for(let k of v)await p(k)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=Ts(r.get(),!0,!1)}catch(b){if(b instanceof UC)g=b.result;else if(b instanceof HC)g=b.result;else throw b}finally{n==o.asyncId&&(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ae.fun(s)&&ye.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function cy(e,t){mh(e.timeouts,o=>o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var UC=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}},HC=class extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}},dD=e=>e instanceof uy,tSe=1,uy=class extends fh{constructor(...t){super(...t),this.id=tSe++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=Es(this);return t&&t.getValue()}to(...t){return Wn.to(this,t)}interpolate(...t){return $8(),Wn.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){Yf(this,{type:"change",parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||hh.sort(this),Yf(this,{type:"priority",parent:this,priority:t})}},Jf=Symbol.for("SpringPhase"),b7=1,fD=2,mD=4,iD=e=>(e[Jf]&b7)>0,Ru=e=>(e[Jf]&fD)>0,ny=e=>(e[Jf]&mD)>0,n7=(e,t)=>t?e[Jf]|=fD|b7:e[Jf]&=~fD,i7=(e,t)=>t?e[Jf]|=mD:e[Jf]&=~mD,pD=class extends uy{constructor(t,o){if(super(),this.key=void 0,this.animation=new uD,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(o)){let r=ae.obj(t)?Hr({},t):Hr({},o,{from:t});ae.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ru(this)||this._state.asyncTo)||ny(this)}get goal(){return pr(this.animation.to)}get velocity(){let t=Es(this);return t instanceof qf?t.lastVelocity||0:t.getPayload().map(o=>o.lastVelocity||0)}get hasAnimated(){return iD(this)}get isAnimating(){return Ru(this)}get isPaused(){return ny(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=ry(n.to);!a&&Ur(n.to)&&(s=hn(pr(n.to))),n.values.forEach((d,f)=>{if(d.done)return;let m=d.constructor==Zf?1:a?a[f].lastPosition:s[f],h=n.immediate,p=m;if(!h){if(p=d.lastPosition,i.tension<=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],v=d.v0!=null?d.v0:d.v0=ae.arr(i.velocity)?i.velocity[f]:i.velocity,k,y=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ae.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,x=Math.exp(-(1-S)*g);p=b+v/(1-S)*(1-x),h=Math.abs(d.lastPosition-p)<=y,k=v*x}else{k=d.lastVelocity==null?v:d.lastVelocity;let S=i.restVelocity||y/10,x=i.clamp?0:i.bounce,C=!ae.und(x),B=b==m?d.v0>0:bS,!(!I&&(h=Math.abs(m-p)<=y,h)));++T){C&&(P=p==m||p>m==B,P&&(k=-k*x,p=m));let R=-i.tension*1e-6*(p-m),D=-i.friction*.001*k,j=(R+D)/i.mass;k=k+j*E,p=p+k*E}}else{let S=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,d.durationProgress>0&&(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S>1?1:S<0?0:S,d.durationProgress=S),p=b+i.easing(S)*(m-b),k=(p-d.lastPosition)/t,h=S==1}d.lastVelocity=k,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}a&&!a[f].done&&(h=!1),h?d.done=!0:o=!1,d.setValue(p,i.round)&&(r=!0)});let c=Es(this),u=c.getValue();if(o){let d=pr(n.to);(u!==d||r)&&!i.decay?(c.setValue(d),this._onChange(d)):r&&i.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(t){return ye.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ru(this)){let{to:t,config:o}=this.animation;ye.batchedUpdates(()=>{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ae.und(t)?(r=this.queue||[],this.queue=[]):r=[ae.obj(t)?t:Hr({},o,{to:t})],Promise.all(r.map(n=>this._update(n))).then(n=>bD(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),cy(this._state,t&&this._lastCallId),ye.batchedUpdates(()=>this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||"",{to:r,from:n}=t;r=ae.obj(r)?r[o]:r,(r==null||aD(r))&&(r=void 0),n=ae.obj(n)?n[o]:n,n==null&&(n=void 0);let i={to:r,from:n};return iD(this)||(t.reverse&&([r,n]=[n,r]),n=pr(n),ae.und(n)?Es(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Hr({},t),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,f7(r,(c,u)=>/^on/.test(u)?u7(c,n):c)),a7(this,r,"onProps"),sy(this,"onProps",r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return p7(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{ny(this)||(i7(this,!0),ph(a.pauseQueue),sy(this,"onPause",Ts(this,iy(this,this.animation.to)),this))},resume:()=>{ny(this)&&(i7(this,!1),Ru(this)&&this._resume(),ph(a.resumeQueue),sy(this,"onResume",Ts(this,iy(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=>{if(r.loop&&c.finished&&!(o&&c.noop)){let u=k7(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(bh(this));let n=!ae.und(t.to),i=!ae.und(t.from);if(n||i)if(o.callId>this._lastToId)this._lastToId=o.callId;else return r(bh(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&&!n&&(!o.default||ae.und(f))&&(f=m),o.reverse&&([f,m]=[m,f]);let h=!ba(m,d);h&&(c.from=m),m=pr(m);let p=!ba(f,u);p&&this._focus(f);let g=aD(o.to),{config:b}=c,{decay:v,velocity:k}=b;(n||i)&&(b.velocity=0),o.config&&!g&&eSe(b,Qf(o.config,s),o.config!==a.config?Qf(a.config,s):void 0);let y=Es(this);if(!y||ae.und(f))return r(Ts(this,!0));let S=ae.und(o.reset)?i&&!o.default:!ae.und(m)&&ay(o.reset,s),x=S?m:this.get(),C=ly(f),B=ae.num(C)||ae.arr(C)||gh(C),I=!g&&(!B||ay(a.immediate||o.immediate,s));if(p){let T=VC(f);if(T!==y.constructor)if(I)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${T.name}, as the "to" prop suggests`)}let P=y.constructor,E=Ur(f),L=!1;if(!E){let T=S||!iD(this)&&h;(p||T)&&(L=ba(ly(x),C),E=!L),(!ba(c.immediate,I)&&!I||!ba(b.decay,v)||!ba(b.velocity,k))&&(E=!0)}if(L&&Ru(this)&&(c.changed&&!S?E=!0:E||this._stop(u)),!g&&((E||Ur(u))&&(c.values=y.getPayload(),c.toValues=Ur(f)?null:P==Zf?[1]:hn(C)),c.immediate!=I&&(c.immediate=I,!I&&!S&&this._set(u)),E)){let{onRest:T}=c;bt(oSe,D=>a7(this,o,D));let R=Ts(this,iy(this,u));ph(this._pendingCalls,R),this._pendingCalls.add(r),c.changed&&ye.batchedUpdates(()=>{c.changed=!S,T?.(R,this),S?Qf(a.onRest,R):c.onStart==null||c.onStart(R,this)})}S&&this._set(x),g?r(g7(o.to,o,this._state,this)):E?this._start():Ru(this)&&!p?this._pendingCalls.add(r):r(h7(x))}_focus(t){let o=this.animation;t!==o.to&&(eD(this)&&this._detach(),o.to=t,eD(this)&&this._attach())}_attach(){let t=0,{to:o}=this.animation;Ur(o)&&(Iu(o,this),dD(o)&&(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Ur(t)&&Pu(t,this)}_set(t,o=!0){let r=pr(t);if(!ae.und(r)){let n=Es(this);if(!n||!ba(r,n.getValue())){let i=VC(r);!n||n.constructor!=i?DC(this,i.create(r)):n.setValue(r),n&&ye.batchedUpdates(()=>{this._onChange(r,o)})}}return Es(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,sy(this,"onStart",Ts(this,iy(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Qf(this.animation.onChange,t,this)),Qf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;Es(this).reset(pr(t.to)),t.immediate||(t.fromValues=t.values.map(o=>o.lastPosition)),Ru(this)||(n7(this,!0),ny(this)||this._resume())}_resume(){Wn.skipAnimation?this.finish():hh.start(this)}_stop(t,o){if(Ru(this)){n7(this,!1);let r=this.animation;bt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Yf(this,{type:"idle",parent:this});let n=o?bh(this.get()):Ts(this.get(),iy(this,t??r.to));ph(this._pendingCalls,n),r.changed&&(r.changed=!1,sy(this,"onRest",n,this))}}};function iy(e,t){let o=ly(t),r=ly(e.get());return ba(r,o)}function k7(e,t=e.loop,o=e.to){let r=Qf(t);if(r){let n=r!==!0&&m7(r),i=(n||e).reverse,s=!n||n.reset;return hD(Hr({},e,{loop:t,default:!1,pause:void 0,to:!i||aD(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function hD(e){let{to:t,from:o}=e=m7(e),r=new Set;return ae.obj(t)&&s7(t,r),ae.obj(o)&&s7(o,r),e.keys=r.size?Array.from(r):null,e}function s7(e,t){Ai(e,(o,r)=>o!=null&&t.add(r))}var oSe=["onStart","onRest","onChange","onPause","onResume"];function a7(e,t,o){e.animation[o]=t[o]!==d7(t,o)?u7(t[o],e.key):void 0}function sy(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var rSe=["onStart","onChange","onRest"],nSe=1,GC=class{constructor(t,o){this.id=nSe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&&(this._flush=o),t&&this.start(Hr({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=>t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ae.und(r)||this.springs[o].set(r)}}update(t){return t&&this.queue.push(hD(t)),this}start(t){let{queue:o}=this;return t?o=hn(t).map(hD):this.queue=[],this._flush?this._flush(this,o):(y7(this,o),iSe(this,o))}stop(t,o){if(t!==!!t&&(o=t),o){let r=this.springs;bt(hn(o),n=>r[n].stop(!!t))}else cy(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{let o=this.springs;bt(hn(t),r=>o[r].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{let o=this.springs;bt(hn(t),r=>o[r].resume())}return this}each(t){Ai(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,mh(t,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));let s=!n&&this._started,a=i||s&&r.size?this.get():null;i&&o.size&&mh(o,([c,u])=>{u.value=a,c(u,this,this._item)}),s&&(this._started=!1,mh(r,([c,u])=>{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ye.onFrame(this._onFrame)}};function iSe(e,t){return Promise.all(t.map(o=>v7(e,o))).then(o=>bD(e,o))}async function v7(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ae.obj(t.default)&&t.default;s&&(t.loop=!1),n===!1&&(t.to=null),i===!1&&(t.from=null);let d=ae.arr(n)||ae.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):bt(rSe,g=>{let b=t[g];if(ae.fun(b)){let v=e._events[g];t[g]=({finished:k,cancelled:y})=>{let S=v.get(b);S?(k||(S.finished=!1),y&&(S.cancelled=!0)):v.set(b,{value:null,finished:k||!1,cancelled:y||!1})},u&&(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,ph(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),h=t.cancel===!0||d7(t,"cancel")===!0;(d||h&&f.asyncId)&&m.push(p7(++e._lastAsyncId,{props:t,state:f,actions:{pause:PC,resume:PC,start(g,b){h?(cy(f,e._lastAsyncId),b(bh(e))):(g.onRest=a,b(g7(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});let p=bD(e,await Promise.all(m));if(s&&p.finished&&!(o&&p.noop)){let g=k7(t,s,n);if(g)return y7(e,[g]),v7(e,g,!0)}return c&&ye.batchedUpdates(()=>c(p,e,e.item)),p}function sSe(e,t){let o=new pD;return o.key=e,t&&Iu(o,t),o}function aSe(e,t,o){t.keys&&bt(t.keys,r=>{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function y7(e,t){bt(t,o=>{aSe(e.springs,o,r=>sSe(r,e))})}function lSe(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var cSe=["children"],kD=e=>{let{children:t}=e,o=lSe(e,cSe),r=(0,fy.useContext)(WC),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=K8(()=>({pause:n,immediate:i}),[n,i]);let{Provider:s}=WC;return dy.createElement(s,{value:o},t)},WC=uSe(kD,{});kD.Provider=WC.Provider;kD.Consumer=WC.Consumer;function uSe(e,t){return Object.assign(e,dy.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var l7;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(l7||(l7={}));var gD=class extends uy{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Tu(...o);let r=this._get(),n=VC(r);DC(this,n.create(r))}advance(t){let o=this._get(),r=this.get();ba(o,r)||(Es(this).setValue(o),this._onChange(o,this.idle)),!this.idle&&c7(this._active)&&sD(this)}_get(){let t=ae.arr(this.source)?this.source.map(pr):hn(pr(this.source));return this.calc(...t)}_start(){this.idle&&!c7(this._active)&&(this.idle=!1,bt(ry(this),t=>{t.done=!1}),Wn.skipAnimation?(ye.batchedUpdates(()=>this.advance()),sD(this)):hh.start(this))}_attach(){let t=1;bt(hn(this.source),o=>{Ur(o)&&Iu(o,this),dD(o)&&(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){bt(hn(this.source),t=>{Ur(t)&&Pu(t,this)}),this._active.clear(),sD(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=hn(this.source).reduce((o,r)=>Math.max(o,(dD(r)?r.priority:0)+1),0))}};function dSe(e){return e.idle!==!1}function c7(e){return!e.size||Array.from(e).every(dSe)}function sD(e){e.idle||(e.idle=!0,bt(ry(e),t=>{t.done=!0}),Yf(e,{type:"idle",parent:e}))}Wn.assign({createStringInterpolator:AC,to:(e,t)=>new gD(e,t)});var Jze=hh.advance;var w7=l(_7());function _D(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var fSe=["style","children","scrollTop","scrollLeft"],C7=/^--/;function mSe(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!C7.test(e)&&!(my.hasOwnProperty(e)&&my[e])?t+"px":(""+t).trim()}var x7={};function pSe(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=_D(r,fSe),u=Object.values(c),d=Object.keys(c).map(f=>o||e.hasAttribute(f)?f:x7[f]||(x7[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));i!==void 0&&(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=mSe(f,n[f]);C7.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=>{e.setAttribute(f,u[m])}),s!==void 0&&(e.scrollTop=s),a!==void 0&&(e.scrollLeft=a)}var my={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},hSe=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),gSe=["Webkit","Ms","Moz","O"];my=Object.keys(my).reduce((e,t)=>(gSe.forEach(o=>e[hSe(o,t)]=e[t]),e),my);var bSe=["x","y","z"],kSe=/^(matrix|translate|scale|rotate|skew)/,vSe=/^(translate)/,ySe=/^(rotate|skew)/,vD=(e,t)=>ae.num(e)&&e!==0?e+t:e,$C=(e,t)=>ae.arr(e)?e.every(o=>$C(o,t)):ae.num(e)?e===t:parseFloat(e)===t,yD=class extends Xf{constructor(t){let{x:o,y:r,z:n}=t,i=_D(t,bSe),s=[],a=[];(o||r||n)&&(s.push([o||0,r||0,n||0]),a.push(c=>[`translate3d(${c.map(u=>vD(u,"px")).join(",")})`,$C(c,0)])),Ai(i,(c,u)=>{if(u==="transform")s.push([c||""]),a.push(d=>[d,d===""]);else if(kSe.test(u)){if(delete i[u],ae.und(c))return;let d=vSe.test(u)?"px":ySe.test(u)?"deg":"";s.push(hn(c)),a.push(u==="rotate3d"?([f,m,h,p])=>[`rotate3d(${f},${m},${h},${vD(p,d)})`,$C(p,0)]:f=>[`${u}(${f.map(m=>vD(m,d)).join(",")})`,$C(f,u.startsWith("scale")?1:0)])}}),s.length&&(i.transform=new SD(s,a)),super(i)}},SD=class extends fh{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t="",o=!0;return bt(this.inputs,(r,n)=>{let i=pr(r[0]),[s,a]=this.transforms[n](ae.arr(i)?i:r.map(pr));t+=" "+s,o=o&&a}),o?"none":t}observerAdded(t){t==1&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Iu(r,this)))}observerRemoved(t){t==0&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Pu(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Yf(this,t)}},SSe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_Se=["scrollTop","scrollLeft"];Wn.assign({batchedUpdates:w7.unstable_batchedUpdates,createStringInterpolator:AC,colors:j8});var xSe=Q8(SSe,{applyAnimatedValues:pSe,createAnimatedStyle:e=>new yD(e),getComponentProps:e=>_D(e,_Se)}),B7=xSe.animated;var kh=l(O(),1),T7=l(je(),1),I7=l(F(),1);var wSe=200;function E7(e){return{top:e.offsetTop,left:e.offsetLeft}}function CSe({triggerAnimationOnChange:e,clientId:t}){let o=(0,kh.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,I7.useSelect)(_),{previous:d,prevRect:f}=(0,kh.useMemo)(()=>({previous:o.current&&E7(o.current),prevRect:o.current&&o.current.getBoundingClientRect()}),[e]);return(0,kh.useLayoutEffect)(()=>{if(!d||!o.current)return;let m=(0,T7.getScrollContainer)(o.current),h=i(t),p=h||s(t),g=u();function b(){if(!g&&p&&f){let P=o.current.getBoundingClientRect().top-f.top;P&&(m.scrollTop+=P)}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||r()||n()>wSe){b();return}let k=h||a(t)||c(t);if(k&&g)return;let y=k?"1":"",S=new GC({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:I}){if(!o.current)return;let{x:P,y:E}=I;P=Math.round(P),E=Math.round(E);let L=P===0&&E===0;o.current.style.transformOrigin="center center",o.current.style.transform=L?null:`translate3d(${P}px,${E}px,0)`,o.current.style.zIndex=y,b()}});o.current.style.transform=void 0;let x=E7(o.current),C=Math.round(d.left-x.left),B=Math.round(d.top-x.top);return S.start({x:0,y:0,from:{x:C,y:B}}),()=>{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var KC=CSe;var qC=l(O(),1),Ol=l(je(),1),R7=l(F(),1);var YC=".block-editor-block-list__block",BSe=".block-list-appender",ESe=".block-editor-button-block-appender";function P7(e,t){return e.closest(YC)===t.closest(YC)}function ka(e,t){return t.closest([YC,BSe,ESe].join(","))===e}function Li(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(YC);if(o)return o.id.slice(6)}function xD(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function TSe(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains("components-visually-hidden"))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")}function ISe(e){let t=window.getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"||t.overflowY==="auto"||t.overflowY==="scroll"}var PSe=["core/navigation"];function vh(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute("data-type");if(r&&PSe.includes(r)){let s=[e],a;for(;a=s.pop();)if(!ISe(a)){for(let c of a.children)if(TSe(c)){let u=c.getBoundingClientRect();o=xD(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function O7({clientId:e,initialPosition:t}){let o=(0,qC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=M((0,R7.useSelect)(_));return(0,qC.useEffect)(()=>{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(ka(o.current,s.activeElement))return;let a=Ol.focus.tabbable.find(o.current).filter(d=>(0,Ol.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!ka(o.current,u)){o.current.focus();return}if(!o.current.getAttribute("contenteditable")){let d=Ol.focus.tabbable.findNext(o.current);if(d&&ka(o.current,d)&&(0,Ol.isFormElement)(d)){d.focus();return}}(0,Ol.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var A7=l(Z(),1);function ZC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle("is-hovered",e.type==="mouseover"))}function L7({isEnabled:e=!0}={}){return(0,A7.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",ZC),t.addEventListener("mouseover",ZC),()=>{t.removeEventListener("mouseout",ZC),t.removeEventListener("mouseover",ZC),t.classList.remove("is-hovered")}},[e])}var XC=l(F(),1),N7=l(Z(),1);function M7(e){let{isBlockSelected:t}=(0,XC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,XC.useDispatch)(_);return(0,N7.useRefEffect)(n=>{function i(s){if(!n.parentElement.closest('[contenteditable="true"]')){if(t(e)){s.target.isContentEditable||r(e);return}ka(n,s.target)&&o(e)}}return n.addEventListener("focusin",i),()=>{n.removeEventListener("focusin",i)}},[t,o])}var yh=l($(),1),V7=l(je(),1),Ou=l(nt(),1),QC=l(F(),1),F7=l(Z(),1);function D7(e){return!e||e==="transparent"||e==="rgba(0, 0, 0, 0)"}function z7({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s,getBlock:a}=M((0,QC.useSelect)(_)),{insertAfterBlock:c,removeBlock:u,resetZoomLevel:d,startDraggingBlocks:f,stopDraggingBlocks:m,editContentOnlySection:h}=M((0,QC.useDispatch)(_));return(0,F7.useRefEffect)(p=>{if(!t)return;function g(k){let{keyCode:y,target:S}=k;y!==Ou.ENTER&&y!==Ou.BACKSPACE&&y!==Ou.DELETE||S!==p||(0,V7.isTextField)(S)||(k.preventDefault(),y===Ou.ENTER&&r()?d():y===Ou.ENTER?c(e):u(e))}function b(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed="move",k.dataTransfer.clearData(),k.dataTransfer.setData("wp-blocks",y);let{ownerDocument:S}=p,{defaultView:x}=S;x.getSelection().removeAllRanges();let B=S.createElement("div");B.style.width="1px",B.style.height="1px",B.style.position="fixed",B.style.visibility="hidden",S.body.appendChild(B),k.dataTransfer.setDragImage(B,0,0);let I=p.getBoundingClientRect(),P=p.id,E=p.cloneNode();E.style.display="none",p.id=null,p.after(E);let L=1;{let Q=p;for(;Q=Q.parentElement;){let{scale:K}=x.getComputedStyle(Q);if(K&&K!=="none"){L=parseFloat(K);break}}}let T=1/L,R={};for(let Q of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])R[Q]=p.style[Q];let D=x.scrollY,j=x.scrollX,G=k.clientX,z=k.clientY;p.style.position="relative",p.style.top="0px",p.style.left="0px";let U=k.clientX-I.left,W=k.clientY-I.top,ee=I.height>200?200/I.height:1;if(p.style.zIndex="1000",p.style.transformOrigin=`${U*T}px ${W*T}px`,p.style.transition="transform 0.2s ease-out",p.style.transform=`scale(${ee})`,p.style.opacity="0.9",D7(x.getComputedStyle(p).backgroundColor)){let Q="transparent",K=p;for(;K=K.parentElement;){let{backgroundColor:H}=x.getComputedStyle(K);if(!D7(H)){Q=H;break}}p.style.backgroundColor=Q}let ne=!1,ce=G,ie=z;function re(Q){Q.clientX===ce&&Q.clientY===ie||(ce=Q.clientX,ie=Q.clientY,J())}function J(){ne||(ne=!0,p.style.pointerEvents="none");let Q=ie-z,K=ce-G,H=x.scrollY,X=x.scrollX,se=H-D,le=X-j,_e=Q+se,he=K+le;p.style.top=`${_e*T}px`,p.style.left=`${he*T}px`}function Y(){S.removeEventListener("dragover",re),S.removeEventListener("dragend",Y),S.removeEventListener("drop",Y),S.removeEventListener("scroll",J);for(let[Q,K]of Object.entries(R))p.style[Q]=K;E.remove(),p.id=P,B.remove(),m(),document.body.classList.remove("is-dragging-components-draggable"),S.documentElement.classList.remove("is-dragging")}S.addEventListener("dragover",re),S.addEventListener("dragend",Y),S.addEventListener("drop",Y),S.addEventListener("scroll",J),f([e]),document.body.classList.add("is-dragging-components-draggable"),S.documentElement.classList.add("is-dragging")}p.addEventListener("keydown",g),p.addEventListener("dragstart",b);function v(k){let y=i(e),S=a(e),x=(0,yh.isReusableBlock)(S),C=(0,yh.isTemplatePart)(S);!y||s===e||x||C||(k.preventDefault(),h(e))}return p.addEventListener("dblclick",v),()=>{p.removeEventListener("keydown",g),p.removeEventListener("dragstart",b),p.removeEventListener("dblclick",v)}},[e,t,o,a,yh.isReusableBlock,yh.isTemplatePart,c,u,r,d,n,f,m,i,s,h])}var j7=l(Z(),1),U7=l(O(),1);function H7(){let e=(0,U7.useContext)(JC);return(0,j7.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}var e1=l(Z(),1);function G7({isSelected:e}){let t=(0,e1.useReducedMotion)();return(0,e1.useRefEffect)(o=>{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=>{s[0].isIntersecting||o.scrollIntoView({behavior:t?"instant":"smooth"}),i.disconnect()});return i.observe(o),()=>{i.disconnect()}}},[e])}var W7=l(Z(),1),$7=l(F(),1);function t1({clientId:e="",isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=M((0,$7.useSelect)(_));return(0,W7.useRefEffect)(r=>{if(!t)return;let n=()=>{o(e).forEach(({clientId:s})=>{let a=r.querySelector(`[data-block="${s}"]`);a&&(a.classList.remove("has-editable-outline"),a.offsetWidth,a.classList.add("has-editable-outline"))})},i=s=>{(s.target===r||s.target.classList.contains("is-root-container"))&&(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener("click",i),()=>r.removeEventListener("click",i)},[t])}var K7=l(Z(),1),py=new Map;function RSe(e,t){let o=py.get(e);o||(o=new Set,py.set(e,o),e.addEventListener("pointerdown",q7)),o.add(t)}function OSe(e,t){let o=py.get(e);o&&(o.delete(t),Y7(t),o.size===0&&(py.delete(e),e.removeEventListener("pointerdown",q7)))}function Y7(e){let t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),t==="true"&&!e.getAttribute("draggable")&&e.setAttribute("draggable","true"))}function q7(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=["INPUT","TEXTAREA"].includes(n),s=py.get(o);if(r||i)for(let a of s)a.getAttribute("draggable")==="true"&&a.contains(t)&&(a.removeAttribute("draggable"),a.setAttribute("data-draggable","true"));else for(let a of s)Y7(a)}function Z7(){return(0,K7.useRefEffect)(e=>(RSe(e.ownerDocument,e),()=>{OSe(e.ownerDocument,e)}),[])}var fo=l(N(),1),gn=l(O(),1),Gr=l(A(),1),Sh=l(F(),1),e9=l(Is(),1),t9=l(Ti(),1);var hy=l(N(),1);function ASe(e,t){if(!e)return!1;let o=e.attributes?.metadata?.blockVisibility;if(o===!0||typeof o!="object")return!1;let r=o.viewport;return!r||typeof r!="object"||!iu.some(([,{key:n}])=>n===t)?!1:r[t]===!1}function Q7(e,t){if(!e?.length)return!1;let o=e.filter(r=>ASe(r,t)).length;return o===0?!1:o===e.length?!0:null}function J7(e){if(!e?.length)return!1;let t=e.filter(o=>o&&o.attributes?.metadata?.blockVisibility===!1).length;return t===0?!1:t===e.length?!0:null}function gy(e){if(!e&&e!==!1)return null;if(e===!1)return(0,hy.__)("Block is hidden");if(e?.viewport){let t=iu.filter(([o])=>e.viewport?.[o]===!1).map(([,o])=>o.label);if(t.length>0)return(0,hy.sprintf)((0,hy.__)("Block is hidden on %s"),t.join(", "))}return null}var ro=l(w(),1);if(typeof document<"u"&&!document.head.querySelector("style[data-wp-hash='4334c7deb6']")){let e=document.createElement("style");e.setAttribute("data-wp-hash","4334c7deb6"),e.appendChild(document.createTextNode(".block-editor-block-visibility-modal{z-index:1000001}.block-editor-block-visibility-modal__options{border:0;list-style:none;margin:24px 0;padding:0}.block-editor-block-visibility-modal__options-item{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 0 16px}.block-editor-block-visibility-modal__options-item:last-child{margin:0}.block-editor-block-visibility-modal__options-item--everywhere{align-items:start;flex-direction:column}.block-editor-block-visibility-modal__options-checkbox--everywhere{font-weight:600}.block-editor-block-visibility-modal__options-icon--checked{fill:#ddd}.block-editor-block-visibility-modal__sub-options{padding-inline-start:12px;width:100%}.block-editor-block-visibility-modal__description{color:#757575;font-size:12px}.block-editor-block-visibility-info{align-items:center;display:flex;justify-content:start;margin:0 16px 16px;padding-bottom:4px;padding-top:4px}")),document.head.appendChild(e)}var LSe={[Et.mobile.key]:!1,[Et.tablet.key]:!1,[Et.desktop.key]:!1},NSe=[];function wD({clientIds:e,onClose:t}){let{createSuccessNotice:o}=(0,Sh.useDispatch)(t9.store),{updateBlockAttributes:r}=(0,Sh.useDispatch)(_),n=(0,Sh.useSelect)(k=>k(_).getBlocksByClientId(e)??NSe,[e]),i=(0,Sh.useSelect)(k=>k(e9.store).getShortcutRepresentation("core/editor/toggle-list-view"),[]),s=(0,gn.useMemo)(()=>{if(n?.length===0)return{hideEverywhere:!1,viewportChecked:{}};let k={};return iu.forEach(([,{key:y}])=>{k[y]=Q7(n,y)}),{hideEverywhere:J7(n),viewportChecked:k}},[n]),[a,c]=(0,gn.useState)(s?.viewportChecked??{}),[u,d]=(0,gn.useState)(s?.hideEverywhere??!1),f=(0,gn.useCallback)((k,y)=>{c({...a,[k]:y})},[a]),m=(0,gn.useMemo)(()=>{if(!u)return(0,fo.sprintf)((0,fo.__)("Block visibility settings updated. You can access them via the List View (%s)."),i);let k=n?.length>1?(0,fo.__)("Blocks hidden. You can access them via the List View (%s)."):(0,fo.__)("Block hidden. You can access it via the List View (%s).");return(0,fo.sprintf)(k,i)},[u,n?.length,i]),h=(0,gn.useMemo)(()=>Object.values(a).some(k=>k===!0||k===null),[a]),p=(0,gn.useMemo)(()=>u!==s.hideEverywhere?!0:iu.some(([,{key:k}])=>a[k]!==s.viewportChecked[k]),[u,a,s]),g=(0,gn.useMemo)(()=>u===null?!0:Object.values(a).some(k=>k===null),[u,a]),b=(0,gn.useCallback)(k=>{k.preventDefault();let y=u?!1:{viewport:iu.reduce((x,[,{key:C}])=>(a[C]&&(x[C]=!1),x),{})},S=Object.fromEntries(n.map(({clientId:x,attributes:C})=>[x,{metadata:Me({...C?.metadata,blockVisibility:y})}]));r(e,S,{uniqueByBlock:!0}),o(m,{id:u?"block-visibility-hidden":"block-visibility-viewports-updated",type:"snackbar"}),t()},[n,e,o,u,m,t,r,a]),v=n?.length>1;return(0,ro.jsx)(Gr.Modal,{title:e?.length>1?(0,fo.__)("Hide blocks"):(0,fo.__)("Hide block"),onRequestClose:t,overlayClassName:"block-editor-block-visibility-modal",size:"small",children:(0,ro.jsxs)("form",{onSubmit:b,children:[(0,ro.jsxs)("fieldset",{children:[(0,ro.jsx)("legend",{children:v?(0,fo.__)("Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks."):(0,fo.__)("Select the viewport size for which you want to hide the block.")}),(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__options",children:(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere",children:[(0,ro.jsx)(Gr.CheckboxControl,{className:"block-editor-block-visibility-modal__options-checkbox--everywhere",label:(0,fo.__)("Omit from published content"),checked:u===!0,indeterminate:u===null,onChange:k=>{d(k),c(LSe)}}),u!==!0&&(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__sub-options",children:iu.map(([,{label:k,icon:y,key:S}])=>(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item",children:[(0,ro.jsx)(Gr.CheckboxControl,{label:(0,fo.sprintf)((0,fo.__)("Hide on %s"),k),checked:a[S]??!1,indeterminate:a[S]===null,onChange:x=>f(S,x)}),(0,ro.jsx)(Gr.Icon,{icon:y,className:V({"block-editor-block-visibility-modal__options-icon--checked":a[S]})})]},S))})]})}),v&&g&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,fo.__)("Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.")}),!v&&u===!0&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,fo.sprintf)((0,fo.__)("Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i)}),!v&&!u&&h&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,gn.createInterpolateElement)((0,fo.sprintf)((0,fo.__)("Block will be hidden according to the selected viewports. It will be included in the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i),{strong:(0,ro.jsx)("strong",{})})})]}),(0,ro.jsxs)(Gr.Flex,{className:"block-editor-block-visibility-modal__actions",justify:"flex-end",expanded:!1,children:[(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,fo.__)("Cancel")})}),(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"primary",type:"submit",disabled:!p,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,fo.__)("Apply")})})]})]})})}var CD=l(Z(),1);function Ni(e={}){let{blockVisibility:t=void 0,deviceType:o=Et.desktop.key}=e,r=(0,CD.useViewportMatch)("mobile",">="),n=(0,CD.useViewportMatch)("medium",">="),i;return o===Et.mobile.key?i=Et.mobile.key:o===Et.tablet.key?i=Et.tablet.key:r?r&&!n?i=Et.tablet.key:i=Et.desktop.key:i=Et.mobile.key,{isBlockCurrentlyHidden:t===!1||t?.viewport?.[i]===!1,currentViewport:i}}var BD=l(N(),1),o1=l(A(),1),r1=l(O(),1);var o9=l($(),1),n1=l(F(),1);var ED=l(w(),1);function TD({clientIds:e}){let t=(0,r1.useRef)(!1),{canToggleBlockVisibility:o,areBlocksHiddenAnywhere:r}=(0,n1.useSelect)(s=>{let{getBlocksByClientId:a,getBlockName:c,isBlockHiddenAnywhere:u}=M(s(_));return{canToggleBlockVisibility:a(e).every(({clientId:f})=>(0,o9.hasBlockSupport)(c(f),"visibility",!0)),areBlocksHiddenAnywhere:e?.every(f=>u(f))}},[e]),n=(0,n1.useDispatch)(_);if((0,r1.useEffect)(()=>{r&&(t.current=!0)},[r]),!r&&!t.current)return null;let{showViewportModal:i}=M(n);return(0,ED.jsx)(o1.ToolbarGroup,{className:"block-editor-block-visibility-toolbar",children:(0,ED.jsx)(o1.ToolbarButton,{disabled:!o,icon:r?vs:Of,label:r?(0,BD.__)("Hidden"):(0,BD.__)("Visible"),onClick:()=>i(e),"aria-haspopup":"dialog"})})}var ID=l(N(),1),r9=l(A(),1),i1=l(F(),1),n9=l(Is(),1);var i9=l(w(),1);function PD({clientIds:e}){let{areBlocksHiddenAnywhere:t,shortcut:o}=(0,i1.useSelect)(n=>{let{isBlockHiddenAnywhere:i}=M(n(_));return{areBlocksHiddenAnywhere:e?.every(s=>i(s)),shortcut:n(n9.store).getShortcutRepresentation("core/block-editor/toggle-block-visibility")}},[e]),{showViewportModal:r}=M((0,i1.useDispatch)(_));return(0,i9.jsx)(r9.MenuItem,{onClick:()=>r(e),shortcut:o,children:t?(0,ID.__)("Show"):(0,ID.__)("Hide")})}var Lu=l(A(),1),RD=l(F(),1),Au=l(N(),1);var _h=l(w(),1),{Badge:MSe}=M(Lu.privateApis),DSe={currentBlockVisibility:void 0,hasParentHiddenEverywhere:!1,selectedDeviceType:Et.desktop.value};function s9({clientId:e}){let{currentBlockVisibility:t,selectedDeviceType:o,hasParentHiddenEverywhere:r}=(0,RD.useSelect)(c=>{if(!e)return DSe;let{getBlockAttributes:u,isBlockParentHiddenEverywhere:d,getSettings:f}=M(c(_));return{currentBlockVisibility:u(e)?.metadata?.blockVisibility,selectedDeviceType:f()?.[_i]?.toLowerCase()||Et.desktop.value,hasParentHiddenEverywhere:d(e)}},[e]),{isBlockCurrentlyHidden:n,currentViewport:i}=Ni({blockVisibility:t,deviceType:o}),s=(0,RD.useSelect)(c=>!e||!i?!1:M(c(_)).isBlockParentHiddenAtViewport(e,i),[e,i]);if(!(n||r||s))return null;let a;if(n)if(t===!1)a=(0,Au.__)("Block is hidden");else{let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Block is hidden on %s"),c)}if(r)a=(0,Au.__)("Parent block is hidden");else if(s){let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Parent block is hidden on %s"),c)}return(0,_h.jsx)(MSe,{className:"block-editor-block-visibility-info",children:(0,_h.jsxs)(Lu.__experimentalHStack,{spacing:2,justify:"start",children:[(0,_h.jsx)(Lu.Icon,{icon:vs}),(0,_h.jsx)(Lu.__experimentalText,{children:a})]})})}function by(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:h,initialPosition:p,blockEditingMode:g,isHighlighted:b,isMultiSelected:v,isPartiallySelected:k,isReusable:y,isDragging:S,hasChildSelected:x,isEditingDisabled:C,hasEditableOutline:B,isEditingContentOnlySection:I,defaultClassName:P,isSectionBlock:E,isWithinSectionBlock:L,canMove:T,blockVisibility:R,deviceType:D}=(0,a9.useContext)(ur),j=(0,s1.sprintf)((0,s1.__)("Block: %s"),d),G=a==="html"&&!t?"-visual":"",z=Z7(),U=!L,W=(0,a1.useMergeRefs)([e.ref,O7({clientId:o,initialPosition:p}),LH(o),M7(o),z7({clientId:o,isSelected:f}),L7({isEnabled:U}),H7(),KC({triggerAnimationOnChange:s,clientId:o}),(0,a1.useDisabled)({isDisabled:!h}),t1({clientId:o,isEnabled:E}),G7({isSelected:f}),T?z:void 0]),ee=Pe(),ce=!!ee[Pp]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{},{isBlockCurrentlyHidden:ie}=Ni({blockVisibility:R,deviceType:D});u<2&&o===ee.clientId&&(0,c9.default)(`Block type "${c}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let re=!1;return(n?.style?.marginTop?.charAt(0)==="-"||n?.style?.marginBottom?.charAt(0)==="-"||n?.style?.marginLeft?.charAt(0)==="-"||n?.style?.marginRight?.charAt(0)==="-")&&(re=!0),{tabIndex:g==="disabled"?-1:0,draggable:T&&!x?!0:void 0,...n,...e,ref:W,id:`block-${o}${G}`,role:"document","aria-label":j,"data-block":o,"data-type":c,"data-title":d,inert:m?"true":void 0,className:V("block-editor-block-list__block",{"wp-block":!i,"has-block-overlay":h,"is-selected":f,"is-highlighted":b,"is-multi-selected":v,"is-partially-selected":k,"is-reusable":y,"is-dragging":S,"has-child-selected":x,"is-editing-disabled":C,"has-editable-outline":B,"has-negative-margin":re,"is-editing-content-only-section":I,"is-block-hidden":ie},r,e.className,n.className,P),style:{...n.style,...e.style,...ce}}}by.save=l9.__unstableGetBlockProps;var mo=l(w(),1);function VSe(e,t){let o={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(o.className=V(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(o.style={...e.style,...t.style}),o}function l1({children:e,isHtml:t,...o}){return(0,mo.jsx)("div",{...by(o,{__unstableIsHtml:t}),children:e})}function OD({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:h,onReplace:p,onRemove:g,onInsertBlocksAfter:b,onMerge:v,toggleSelection:k}){let{mayDisplayControls:y,mayDisplayParentControls:S,isSelectionWithinCurrentSection:x,themeSupportsLayout:C,...B}=(0,Nu.useContext)(ur),I=jf()||{},P=(0,mo.jsx)(Dw,{name:u,isSelected:i,attributes:f,setAttributes:h,insertBlocksAfter:o?void 0:b,onReplace:r?p:void 0,onRemove:r?g:void 0,mergeBlocks:r?v:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:k,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(I).length?I:void 0,mayDisplayControls:y,mayDisplayParentControls:S,mayDisplayPatternEditingControls:x,blockEditingMode:B.blockEditingMode,isPreviewMode:B.isPreviewMode}),E=(0,He.getBlockType)(u);E?.getEditWrapperProps&&(m=VSe(m,E.getEditWrapperProps(f)));let L=m&&!!m["data-align"]&&!C,T=a?.includes("is-position-sticky");L&&(P=(0,mo.jsx)("div",{className:V("wp-block",T&&a),"data-align":m["data-align"],children:P}));let R;if(d)t==="html"?R=(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)("div",{style:{display:"none"},children:P}),(0,mo.jsx)(l1,{isHtml:!0,children:(0,mo.jsx)(w8,{clientId:n})})]}):E?.apiVersion>1?R=P:R=(0,mo.jsx)(l1,{children:P});else{let z=e?(0,He.serializeRawBlock)(e):(0,He.getSaveContent)(E,f);R=(0,mo.jsxs)(l1,{className:"has-warning",children:[(0,mo.jsx)(QH,{clientId:n}),(0,mo.jsx)(Nu.RawHTML,{children:(0,f9.safeHTML)(z)})]})}let{"data-align":D,...j}=m??{},G={...j,className:V(j.className,D&&C&&`align${D}`,!(D&&T)&&a)};return(0,mo.jsx)(ur.Provider,{value:{wrapperProps:G,isAligned:L,isSelectionWithinCurrentSection:x,...B},children:(0,mo.jsx)(r8,{fallback:(0,mo.jsx)(l1,{className:"has-warning",children:(0,mo.jsx)(t8,{})}),children:R})})}var FSe=(0,c1.withDispatch)((e,t,o)=>{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:h}=o.select(_),p=h(),{clientId:g,attributes:b}=t,v=p.length?p:[g],k=typeof m=="function"?m(b):m;r(v,k)},onInsertBlocks(m,h){let{rootClientId:p}=t;n(m,h,p)},onInsertBlocksAfter(m){let{clientId:h,rootClientId:p}=t,{getBlockIndex:g}=o.select(_),b=g(h);n(m,b+1,p)},onMerge(m){let{clientId:h,rootClientId:p}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:v,getBlockAttributes:k,getBlockName:y,getBlockOrder:S,getBlockIndex:x,getBlockRootClientId:C,canInsertBlockType:B}=o.select(_);function I(){let E=v(h),L=(0,He.getDefaultBlockName)(),T=(0,He.getBlockType)(L);if(y(h)!==L){let R=(0,He.switchToBlockType)(E,L);R&&R.length&&s(h,R)}else if((0,He.isUnmodifiedDefaultBlock)(E)){let R=b(h);R&&o.batch(()=>{d(h),f(R)})}else if(T.merge){let R=T.merge({},E.attributes);s([h],[(0,He.createBlock)(L,R)])}}function P(E,L=!0){let T=y(E),D=(0,He.getBlockType)(T).category==="text",j=C(E),G=S(E),[z]=G;G.length===1&&(0,He.isUnmodifiedBlock)(v(z))?d(E):D?o.batch(()=>{if(B(y(z),j))u([z],E,j,x(E));else{let U=(0,He.switchToBlockType)(v(z),(0,He.getDefaultBlockName)());U&&U.length&&U.every(W=>B(W.name,j))?(n(U,x(E),j,L),d(z,!1)):I()}!S(E).length&&(0,He.isUnmodifiedBlock)(v(E))&&d(E,!1)}):I()}if(m){if(p){let L=b(p);if(L)if(y(p)===y(L)){let T=k(p),R=k(L);if(Object.keys(T).every(D=>T[D]===R[D])){o.batch(()=>{u(S(L),L,p),d(L,!1)});return}}else{i(p,L);return}}let E=b(h);if(!E)return;S(E).length?P(E,!1):i(h,E)}else{let E=g(h);if(E)i(E,h);else if(p){let L=g(p);if(L&&y(p)===y(L)){let T=k(p),R=k(L);if(Object.keys(T).every(D=>T[D]===R[D])){o.batch(()=>{u(S(p),p,L),d(p,!1)});return}}P(p)}else I()}},onReplace(m,h,p){m.length&&!(0,He.isUnmodifiedDefaultBlock)(m[m.length-1])&&c();let g=m?.length===1&&Array.isArray(m[0])?m[0]:m;s([t.clientId],g,h,p)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});OD=(0,d9.compose)(FSe,(0,u9.withFilters)("editor.BlockListBlock"))(OD);function zSe(e){let{clientId:t,rootClientId:o}=e,r=(0,c1.useSelect)(se=>{let{isBlockSelected:le,getBlockMode:_e,isSelectionEnabled:he,getTemplateLock:xe,isSectionBlock:Fe,getParentSectionBlock:tt,getBlockWithoutAttributes:Wt,getBlockAttributes:uo,canRemoveBlock:Do,canMoveBlock:ot,getSettings:ar,getEditedContentOnlySection:xt,getBlockEditingMode:At,getBlockName:Re,isFirstMultiSelectedBlock:wt,getMultiSelectedBlockClientIds:qo,hasSelectedInnerBlock:$t,getBlocksByName:lr,getBlockIndex:ln,isBlockMultiSelected:ze,isBlockSubtreeDisabled:Bo,isBlockHighlighted:Ze,__unstableIsFullySelected:Ve,__unstableSelectionHasUnmergeableBlock:gt,isBlockBeingDragged:Eo,isDragging:cr,__unstableHasActiveBlockOverlayActive:ge,getSelectedBlocksInitialCaretPosition:Ct}=M(se(_)),To=Wt(t);if(!To)return;let{hasBlockSupport:Ke,getActiveBlockVariation:te}=se(He.store),Le=uo(t),{name:lt,isValid:Gc}=To,ca=(0,He.getBlockType)(lt),Cp=ar(),{supportsLayout:Fk,isPreviewMode:pf,__experimentalBlockBindingsSupportedAttributes:cn}=Cp,Bp=cn?.[lt],Ep=Le?.metadata?.blockVisibility,n0=Cp?.[_i]?.toLowerCase()||"desktop",i0=ca?.apiVersion>1,zk=ze(t),ue=At(t),to={isPreviewMode:pf,blockWithoutAttributes:To,name:lt,attributes:Le,isValid:Gc,themeSupportsLayout:Fk,index:ln(t),isReusable:(0,He.isReusableBlock)(ca),className:i0?Le.className:void 0,defaultClassName:i0?(0,He.getBlockDefaultClassName)(lt):void 0,blockTitle:ca?.title,bindableAttributes:Bp,blockVisibility:Ep,deviceType:n0,isMultiSelected:zk,blockEditingMode:ue,isEditingDisabled:ue==="disabled"};if(pf)return to;let ve=le(t),Lt=Do(t),un=ot(t),_r=te(lt,Le),Wc=!0,dO=$t(t,Wc),fO=Fe(t)?t:tt(t),mO=(0,He.hasBlockSupport)(lt,"multiple",!0)?[]:lr(lt),Vme=mO.length&&mO[0]!==t;return{...to,mode:_e(t),isSelectionEnabled:he(),isLocked:!!xe(o),isSectionBlock:Fe(t),isWithinSectionBlock:!!fO,isSelectionWithinCurrentSection:le(fO)||$t(fO,Wc),blockType:ca,canRemove:Lt,canMove:un,isSelected:ve,isEditingContentOnlySection:xt()===t,blockEditingMode:ue,mayDisplayControls:ve||wt(t)&&qo().every(Fme=>Re(Fme)===lt),mayDisplayParentControls:Ke(Re(t),"__experimentalExposeControlsToChildren",!1)&&$t(t),blockApiVersion:ca?.apiVersion||1,blockTitle:_r?.title||ca?.title,isSubtreeDisabled:ue==="disabled"&&Bo(t),hasOverlay:ge(t)&&!cr(),initialPosition:ve?Ct():void 0,isHighlighted:Ze(t),isMultiSelected:zk,isPartiallySelected:zk&&!Ve()&&!gt(),isDragging:Eo(t),hasChildSelected:dO,isEditingDisabled:ue==="disabled",hasEditableOutline:ue!=="disabled"&&At(o)==="disabled",originalBlockClientId:Vme?mO[0]:!1,blockVisibility:Ep,deviceType:n0}},[t,o]),{isPreviewMode:n,mode:i="visual",isSelectionEnabled:s=!1,isLocked:a=!1,canRemove:c=!1,canMove:u=!1,blockWithoutAttributes:d,name:f,attributes:m,isValid:h,isSelected:p=!1,themeSupportsLayout:g,isEditingContentOnlySection:b,blockEditingMode:v,mayDisplayControls:k,mayDisplayParentControls:y,index:S,blockApiVersion:x,blockType:C,blockTitle:B,isSubtreeDisabled:I,hasOverlay:P,initialPosition:E,isHighlighted:L,isMultiSelected:T,isPartiallySelected:R,isReusable:D,isDragging:j,hasChildSelected:G,isSectionBlock:z,isWithinSectionBlock:U,isSelectionWithinCurrentSection:W,isEditingDisabled:ee,hasEditableOutline:ne,className:ce,defaultClassName:ie,originalBlockClientId:re,bindableAttributes:J,blockVisibility:Y,deviceType:Q}=r,{isBlockCurrentlyHidden:K}=Ni({blockVisibility:Y,deviceType:Q}),H=(0,Nu.useMemo)(()=>({...d,attributes:m}),[d,m]);if(!r)return null;let X={isPreviewMode:n,clientId:t,className:ce,index:S,mode:i,name:f,blockApiVersion:x,blockType:C,blockTitle:B,isSelected:p,isSubtreeDisabled:I,hasOverlay:P,initialPosition:E,blockEditingMode:v,isHighlighted:L,isMultiSelected:T,isPartiallySelected:R,isReusable:D,isDragging:j,hasChildSelected:G,isSectionBlock:z,isWithinSectionBlock:U,isSelectionWithinCurrentSection:W,isEditingDisabled:ee,hasEditableOutline:ne,isEditingContentOnlySection:b,defaultClassName:ie,mayDisplayControls:k,mayDisplayParentControls:y,originalBlockClientId:re,themeSupportsLayout:g,canMove:u,isBlockCurrentlyHidden:K,bindableAttributes:J,blockVisibility:Y,deviceType:Q};return K&&!p&&!T&&!G?null:(0,mo.jsx)(ur.Provider,{value:X,children:(0,mo.jsx)(OD,{...e,mode:i,isSelectionEnabled:s,isLocked:a,canRemove:c,canMove:u,block:H,name:f,attributes:m,isValid:h,isSelected:p})})}var m9=(0,Nu.memo)(zSe);var Y5=l(F(),1),aY=l($(),1);var $5=l(N(),1),oY=l(SM(),1),OB=l(F(),1),AB=l(nt(),1);var eY=l(Xo(),1),Gl=l(N(),1),IB=l(A(),1),tY=l(O(),1),PB=l(F(),1),RB=l(Z(),1),Ky=l($(),1);var Ft=l(O(),1),ig=l(A(),1),Zu=l(N(),1),Gy=l(Z(),1),qK=l(F(),1);var xh=l(N(),1),wh=l(O(),1),h9=l(A(),1),ky=l(w(),1),p9=[(0,wh.createInterpolateElement)((0,xh.__)("While writing, you can press / to quickly insert new blocks."),{kbd:(0,ky.jsx)("kbd",{})}),(0,wh.createInterpolateElement)((0,xh.__)("Indent a list by pressing space at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,wh.createInterpolateElement)((0,xh.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,xh.__)("Drag files into the editor to automatically insert media blocks."),(0,xh.__)("Change a block's type by pressing the block icon on the toolbar.")];function jSe(){let[e]=(0,wh.useState)(Math.floor(Math.random()*p9.length));return(0,ky.jsx)(h9.Tip,{children:p9[e]})}var g9=jSe;var Hh=l($(),1),O$=l(O(),1),A$=l(N(),1);var bn=l(A(),1),u1=l(F(),1),b9=l(Oe(),1),Mu=l(N(),1);var d1=l($(),1);var Cr=l(w(),1),{Badge:USe}=M(bn.privateApis);function HSe({children:e,onClick:t}){return t?(0,Cr.jsx)(bn.Button,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}function GSe({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&&((0,b9.default)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),{title:e,icon:t,description:o}=r);let{parentBlockClientId:f,parentBlockName:m}=(0,u1.useSelect)(g=>{if(a||c||!s)return{};let{getBlockParents:b,getBlockName:v}=g(_),y=b(d,!1).find(S=>{let x=v(S);return x==="core/navigation"||(0,d1.hasBlockSupport)(x,"listView")});return{parentBlockClientId:y,parentBlockName:y?v(y):null}},[d,s,c,a]),{selectBlock:h}=(0,u1.useDispatch)(_),p=a?"div":"h2";return(0,Cr.jsx)("div",{className:V("block-editor-block-card",{"is-parent":a,"is-child":c},n),children:(0,Cr.jsxs)(bn.__experimentalVStack,{children:[(0,Cr.jsxs)(bn.__experimentalHStack,{justify:"flex-start",spacing:0,children:[f&&(0,Cr.jsx)(bn.Button,{onClick:()=>h(f),label:m?(0,Mu.sprintf)((0,Mu.__)('Go to "%s" block'),(0,d1.getBlockType)(m)?.title):(0,Mu.__)("Go to parent block"),style:{minWidth:24,padding:0},icon:(0,Mu.isRTL)()?Vo:Mr,size:"small"}),c&&(0,Cr.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,Cr.jsx)(bn.Icon,{icon:(0,Mu.isRTL)()?Zk:Xk})}),(0,Cr.jsxs)(HSe,{onClick:a?()=>{h(a)}:void 0,children:[(0,Cr.jsx)(Ae,{icon:t,showColors:!0}),(0,Cr.jsxs)(bn.__experimentalVStack,{spacing:1,children:[(0,Cr.jsxs)(p,{className:"block-editor-block-card__title",children:[(0,Cr.jsx)("span",{className:"block-editor-block-card__name",children:i?.length?i:e}),!a&&!c&&!!i?.length&&(0,Cr.jsx)(USe,{children:e})]}),u]})]})]}),!a&&!c&&o&&(0,Cr.jsx)(bn.__experimentalText,{className:"block-editor-block-card__description",children:o})]})})}var vy=GSe;var q1=l(Z(),1),w5=l(F(),1),im=l(O(),1),x5=l(Oe(),1);var D9=l(F(),1),Du=l(O(),1),V9=l(A(),1),em=l(v9(),1);var y9=l(O(),1),Ch=l(F(),1),S9=l(Z(),1);var f1=l(w(),1);function WSe(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,Ch.createRegistry)({},t),r.registerStore(Kt,Xp),e.set(t,r)),r}var $Se=(0,S9.createHigherOrderComponent)(e=>function({useSubRegistry:o=!0,...r}){let n=(0,Ch.useRegistry)(),[i]=(0,y9.useState)(()=>new WeakMap),s=WSe(i,n,o);return s===n?(0,f1.jsx)(e,{registry:n,...r}):(0,f1.jsx)(Ch.RegistryProvider,{value:s,children:(0,f1.jsx)(e,{registry:s,...r})})},"withRegistryProvider"),_9=$Se;var Wr=l(O(),1),B9=l(F(),1),E9=l($(),1);var x9=l(O(),1),KSe=()=>{},m1=(0,x9.createContext)({getSelection:()=>{},onChangeSelection:KSe});var w9=()=>{};function T9(e,t){let o=(0,E9.cloneBlock)(e);return t.externalToInternal.set(e.clientId,o.clientId),t.internalToExternal.set(o.clientId,e.clientId),e.innerBlocks?.length&&(o.innerBlocks=e.innerBlocks.map(r=>T9(r,t))),o}function I9(e,t){return e.map(o=>{let r=t.internalToExternal.get(o.clientId);return{...o,clientId:r??o.clientId,innerBlocks:I9(o.innerBlocks,t)}})}function C9(e,t){let{selectionStart:o,selectionEnd:r,initialPosition:n}=e,i=s=>{if(!s?.clientId)return s;let a=t.internalToExternal.get(s.clientId);return{...s,clientId:a??s.clientId}};return{selectionStart:i(o),selectionEnd:i(r),initialPosition:n}}function p1({clientId:e=null,value:t,onChange:o=w9,onInput:r=w9}){let n=(0,B9.useRegistry)(),{getSelection:i,onChangeSelection:s}=(0,Wr.useContext)(m1),{resetBlocks:a,resetSelection:c,replaceInnerBlocks:u,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_),{getBlockName:m,getBlocks:h,getSelectionStart:p,getSelectionEnd:g}=n.select(_),b=(0,Wr.useRef)({incoming:null,outgoing:[]}),v=(0,Wr.useRef)(!1),k=(0,Wr.useRef)({externalToInternal:new Map,internalToExternal:new Map}),y=(0,Wr.useRef)(null),S=(0,Wr.useRef)(!1),x=()=>{let E=i();if(!E?.selectionStart?.clientId||E===y.current)return;let L=E.selectionStart.clientId;if(e?k.current.externalToInternal.has(L):!!m(L)){y.current=E;let R=D=>!D?.clientId||!e?D:{...D,clientId:k.current.externalToInternal.get(D.clientId)??D.clientId};S.current=!0,c(R(E.selectionStart),R(E.selectionEnd),E.initialPosition),S.current=!1}},C=()=>{t&&(e?n.batch(()=>{k.current.externalToInternal.clear(),k.current.internalToExternal.clear();let E=t.map(L=>T9(L,k.current));d(e,!0),v.current&&(b.current.incoming=E),f(),u(e,E),y.current=null}):(v.current&&(b.current.incoming=t),f(),a(t)))},B=()=>{f(),e?(d(e,!1),f(),u(e,[])):a([])},I=(0,Wr.useRef)(r),P=(0,Wr.useRef)(o);(0,Wr.useEffect)(()=>{I.current=r,P.current=o},[r,o]),(0,Wr.useEffect)(()=>{let E=b.current.outgoing.includes(t),L=h(e)===t;E?b.current.outgoing[b.current.outgoing.length-1]===t&&(b.current.outgoing=[]):L||(b.current.outgoing=[],C(),x())},[t,e]),(0,Wr.useEffect)(()=>{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:L,__unstableIsLastBlockChangeIgnored:T,areInnerBlocksControlled:R,getBlockParents:D}=n.select(_),j=h(e),G=L(),z=!1,U=p(),W=g();v.current=!0;let ee=n.subscribe(()=>{if(e!==null&&m(e)===null)return;let ne=L(),ce=h(e),ie=ce!==j;if(j=ce,ie&&(b.current.incoming||T())){b.current.incoming=null,G=ne;return}let J=ie||z&&!ie&&ne&&!G,Y=p(),Q=g(),K=Y!==U||Q!==W;K&&(U=Y,W=Q),(J||K)&&n.batch(()=>{if(J){G=ne;let H=e?I9(j,k.current):j,X={selectionStart:Y,selectionEnd:Q,initialPosition:E()},se=e?C9(X,k.current):X;b.current.outgoing.push(H),(G?P.current:I.current)(H,{selection:se})}if(K&&!J&&Y?.clientId&&!S.current&&(e?k.current.internalToExternal.has(Y.clientId):!D(Y.clientId).some(X=>R(X)))){let X={selectionStart:Y,selectionEnd:Q,initialPosition:E()};s(e?C9(X,k.current):X)}}),z=ie},_);return()=>{v.current=!1,ee()}},[n,e]),(0,Wr.useEffect)(()=>()=>{B()},[])}var P9=l(O(),1),R9=l(F(),1),O9=l(Is(),1),po=l(N(),1);function A9(){return null}function YSe(){let{registerShortcut:e}=(0,R9.useDispatch)(O9.store);return(0,P9.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,po.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,po.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,po.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,po.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,po.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,po.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,po.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,po.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,po.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,po.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,po.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,po.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,po.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,po.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,po.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,po.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,po.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,po.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,po.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}}),e({name:"core/block-editor/rename",category:"block",description:(0,po.__)("Rename the selected block."),keyCombination:{modifier:"primaryAlt",character:"r"}})},[e]),null}A9.Register=YSe;var h1=A9;var L9=l(O(),1);function qSe(e={}){return(0,L9.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold}),[e])}var N9=qSe;var Al=l(w(),1),AD=()=>{},M9=!1,Bh=null;function ZSe(){if(Bh!==null)return Bh;if(!window.__clientSideMediaProcessing||typeof em.detectClientSideMediaSupport!="function")return Bh=!1,!1;let e=(0,em.detectClientSideMediaSupport)();return!e||!e.supported?(M9||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),M9=!0),Bh=!1,!1):(Bh=!0,!0)}function XSe(e,t,{allowedTypes:o,additionalData:r={},filesList:n,onError:i=AD,onFileChange:s,onSuccess:a,onBatchSuccess:c}){e.dispatch(em.store).addItems({files:Array.from(n),onChange:s,onSuccess:u=>{t?.[x0]?.(u),a?.(u)},onBatchSuccess:c,onError:({message:u})=>i(u),additionalData:r,allowedTypes:o})}function QSe(e){return p1(e),null}var Eh=_9(e=>{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=N9(t),i=ZSe(),s=!!t?.mediaUpload?.__isMediaUploadInterceptor,a=(0,Du.useMemo)(()=>{if(i&&t?.mediaUpload&&!s){let p=XSe.bind(null,o,t);return p.__isMediaUploadInterceptor=!0,{...t,mediaUpload:p}}return t},[t,o,i,s]),{__experimentalUpdateSettings:c}=M((0,D9.useDispatch)(_));(0,Du.useEffect)(()=>{c({...a,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[a,r,c]);let u=(0,Du.useRef)(e.selection);u.current=e.selection;let d=(0,Du.useRef)(e.onChangeSelection??AD);d.current=e.onChangeSelection??AD;let f=(0,Du.useMemo)(()=>({getSelection:()=>u.current,onChangeSelection:(...p)=>d.current(...p)}),[]),m=(0,Al.jsxs)(V9.SlotFillProvider,{passthrough:!0,children:[!a?.isPreviewMode&&(0,Al.jsx)(h1.Register,{}),(0,Al.jsx)(OH,{children:e.children})]}),h=(0,Al.jsxs)(m1.Provider,{value:f,children:[(0,Al.jsx)(QSe,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),m]});return i&&!s?(0,Al.jsx)(em.MediaUploadProvider,{settings:n,useSubRegistry:!1,children:h}):h}),JSe=e=>(0,Al.jsx)(Eh,{...e,stripExperimentalSettings:!0,children:e.children}),F9=JSe;var My=l(Z(),1),_$=l(F(),1),Y1=l(O(),1),x$=l(A(),1);var tm=l(O(),1),CG=l(N(),1),_a=l(Z(),1),BG=l(A(),1),zD=l(F(),1);var kG=l(F(),1),vG=l(N(),1),xy=l(Z(),1),yG=l(O(),1);var z9=l(Z(),1),j9=l(F(),1);function e_e(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function U9(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,j9.useSelect)(e_e,[]);return(0,z9.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u<2||i&&(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var Th=l(je(),1),LD=l(nt(),1),g1=l(F(),1),b1=l(Z(),1),yy=l(O(),1);var ND=l(w(),1);function H9(){let e=(0,yy.useRef)(),t=(0,yy.useRef)(),o=(0,yy.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=M((0,g1.useSelect)(_)),{setLastFocus:d}=M((0,g1.useDispatch)(_)),f=(0,yy.useRef)();function m(v){let k=e.current.ownerDocument===v.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block="${n()}"]`).focus();else if(u()){let y=c(),S=s(y);S.length?e.current.querySelector(`[data-block="${S[0]}"]`).focus():y?e.current.querySelector(`[data-block="${y}"]`).focus():k.focus()}else{let y=v.target.compareDocumentPosition(k)&v.target.DOCUMENT_POSITION_FOLLOWING,S=Th.focus.tabbable.find(e.current);S.length&&(y?S[0]:S[S.length-1]).focus()}}let h=(0,ND.jsx)("div",{ref:t,tabIndex:"0",onFocus:m}),p=(0,ND.jsx)("div",{ref:o,tabIndex:"0",onFocus:m}),g=(0,b1.useRefEffect)(v=>{function k(B){if(B.defaultPrevented||B.keyCode!==LD.TAB||!o.current||!t.current)return;let{target:I,shiftKey:P}=B,E=P?"findPrevious":"findNext",L=Th.focus.tabbable[E](I),T=I.closest("[data-block]"),R=T&&L&&(P7(T,L)||ka(T,L));if((0,Th.isFormElement)(L)&&R)return;let D=P?t:o;f.current=!0,D.current.focus({preventScroll:!0})}function y(B){d({...a(),current:B.target});let{ownerDocument:I}=v;!B.relatedTarget&&B.target.hasAttribute("data-block")&&I.activeElement===I.body&&i()===0&&v.focus()}function S(B){if(B.keyCode!==LD.TAB||B.target?.getAttribute("role")==="region"||e.current===B.target)return;let P=B.shiftKey?"findPrevious":"findNext",E=Th.focus.tabbable[P](B.target);(E===t.current||E===o.current)&&(B.preventDefault(),E.focus({preventScroll:!0}))}let{ownerDocument:x}=v,{defaultView:C}=x;return C.addEventListener("keydown",S),v.addEventListener("keydown",k),v.addEventListener("focusout",y),()=>{C.removeEventListener("keydown",S),v.removeEventListener("keydown",k),v.removeEventListener("focusout",y)}},[]),b=(0,b1.useMergeRefs)([e,g]);return[h,b,p]}var ho=l(je(),1),va=l(nt(),1),k1=l(F(),1),G9=l(Z(),1);function t_e(e,t,o){let r=t===va.UP||t===va.DOWN,{tagName:n}=e,i=e.getAttribute("type");return r&&!o?n==="INPUT"?!["date","datetime-local","month","number","range","time","week"].includes(i):!0:n==="INPUT"?["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i):n!=="TEXTAREA"}function MD(e,t,o,r){let n=ho.focus.focusable.find(o);t&&n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&&(i=e.getBoundingClientRect());function s(a){if(Li(a)&&ho.focus.focusable.find(a).filter(c=>!(0,ho.isFormElement)(c)).length!==0||!ho.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&&a.contentEditable!=="true")return!1;if(r){let c=a.getBoundingClientRect();if(c.left>=i.right||c.right<=i.left)return!1}return!0}return n.find(s)}function W9(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,k1.useSelect)(_),{selectBlock:i}=(0,k1.useDispatch)(_);return(0,G9.useRefEffect)(s=>{let a;function c(){a=null}function u(f,m){let h=MD(f,m,s);return h&&Li(h)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:h,shiftKey:p,ctrlKey:g,altKey:b,metaKey:v}=f,k=m===va.UP,y=m===va.DOWN,S=m===va.LEFT,x=m===va.RIGHT,C=k||S,B=S||x,I=k||y,P=B||I,E=p||g||b||v,L=I?ho.isVerticalEdge:ho.isHorizontalEdge,{ownerDocument:T}=s,{defaultView:R}=T;if(!P||o().isPreviewMode)return;if(r()){if(p||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!t_e(h,m,E))return;I?a||(a=(0,ho.computeCaretRect)(R)):a=null;let D=(0,ho.isRTL)(h)?!C:C,{keepCaretInsideBlock:j}=o();if(p)u(h,C)&&L(h,C)&&(s.contentEditable=!0,s.focus());else if(I&&(0,ho.isVerticalEdge)(h,C)&&(!b||(0,ho.isHorizontalEdge)(h,D))&&!j){let G=MD(h,C,s,!0);G&&((0,ho.placeCaretAtVerticalEdge)(G,b?!C:C,b?void 0:a),f.preventDefault())}else if(B&&R.getSelection().isCollapsed&&(0,ho.isHorizontalEdge)(h,D)&&!j){let G=MD(h,D,s);(0,ho.placeCaretAtHorizontalEdge)(G,C),f.preventDefault()}}return s.addEventListener("mousedown",c),s.addEventListener("keydown",d),()=>{s.removeEventListener("mousedown",c),s.removeEventListener("keydown",d)}},[])}var $9=l(Z(),1),K9=l(F(),1),ya=l(nt(),1);function Y9(){let e=(0,K9.useSelect)(t=>t(_).getSettings().isPreviewMode,[]);return(0,$9.useRefEffect)(t=>{if(!e)return;function o(r){let{keyCode:n,shiftKey:i,target:s}=r,a=n===ya.TAB,c=n===ya.UP,u=n===ya.DOWN,d=n===ya.LEFT;if(!a&&!(c||u||d||n===ya.RIGHT))return;let h=a?i:c||d,p=Array.from(t.querySelectorAll("[data-block]"));if(!p.length)return;let g=s.closest("[data-block]"),b=g?p.indexOf(g):-1;if(b===-1||a&&(h&&b===0||!h&&b===p.length-1))return;let v;h?v=b<=0?p.length-1:b-1:v=b===-1||b>=p.length-1?0:b+1,r.preventDefault(),p[v].focus()}return t.addEventListener("keydown",o),()=>{t.removeEventListener("keydown",o)}},[e])}var q9=l(je(),1),v1=l(F(),1),Z9=l(Is(),1),X9=l(Z(),1);function Q9(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,v1.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,v1.useDispatch)(_),i=(0,Z9.__unstableUseShortcutEventMatch)();return(0,X9.useRefEffect)(s=>{function a(c){if(!i("core/block-editor/select-all",c))return;let u=t();if(u.length<2&&!(0,q9.isEntirelySelected)(c.target))return;c.preventDefault();let{ownerDocument:d}=c.target,[f]=u,m=Li(d.activeElement);if(m&&m!==f&&!ka(d.getElementById("block-"+f),d.activeElement)){n(m);return}let h=o(f),p=e(h);if(u.length===p.length){h&&(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(h));return}r(p[0],p[p.length-1])}return s.addEventListener("keydown",a),()=>{s.removeEventListener("keydown",a)}},[])}var y1=l(F(),1),eG=l(Z(),1);function J9(e,t){e.contentEditable=t,t&&e.focus()}function tG(){let{startMultiSelect:e,stopMultiSelect:t}=(0,y1.useDispatch)(_),{getSettings:o,isSelectionEnabled:r,hasSelectedBlock:n,isDraggingBlocks:i,isMultiSelecting:s}=(0,y1.useSelect)(_);return(0,eG.useRefEffect)(a=>{let{ownerDocument:c}=a,{defaultView:u}=c,d,f;function m(){t(),u.removeEventListener("mouseup",m),f=u.requestAnimationFrame(()=>{if(!n())return;J9(a,!1);let b=u.getSelection();if(b.rangeCount){let v=b.getRangeAt(0),{commonAncestorContainer:k}=v,y=v.cloneRange();d.contains(k)&&(d.focus(),b.removeAllRanges(),b.addRange(y))}})}let h;function p({target:b}){h=b}function g({buttons:b,target:v,relatedTarget:k}){v.contains(h)&&(v.contains(k)||i()||b===1&&(s()||a!==v&&(v.getAttribute("contenteditable")!=="true"&&!o().isPreviewMode||r()&&(d=v,e(),u.addEventListener("mouseup",m),J9(a,!0)))))}return a.addEventListener("mouseout",g),a.addEventListener("mousedown",p),()=>{a.removeEventListener("mouseout",g),u.removeEventListener("mouseup",m),u.cancelAnimationFrame(f)}},[e,t,r,n])}var S1=l(F(),1),nG=l(Z(),1),DD=l(dr(),1),iG=l(je(),1);function o_e(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function r_e(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&&(0,iG.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function n_e(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function oG(e,t){e.contentEditable!==String(t)&&(e.contentEditable=t,t&&e.focus())}function rG(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest("[data-wp-block-attribute-key]")}function sG(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,S1.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,S1.useSelect)(_);return(0,nG.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=o_e(f),h=r_e(f);if(!s.contains(m)||!s.contains(h))return;let p=d.shiftKey&&d.type==="mouseup";if(f.isCollapsed&&!p){if(s.contentEditable==="true"&&!i()){oG(s,!1);let k=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;k=k?.closest("[contenteditable]"),k?.focus()}return}let g=Li(m),b=Li(h);if(p){let k=n(),y=Li(d.target),S=y!==b;(g===b&&f.isCollapsed||!b||S)&&(b=y),g!==k&&(g=k)}if(g===void 0&&b===void 0){oG(s,!1);return}if(d.type==="mouseup"&&!d.shiftKey&&!i()&&g===b){let k=Li(d.target);if(k&&k!==g){f.removeAllRanges();return}}if(g===b)i()?e(g,g):t(g);else{let k=[...r(g),g],y=[...r(b),b],S=n_e(k,y);if(k[S]!==g||y[S]!==b){e(k[S],y[S]);return}let x=rG(m),C=rG(h);if(x&&C){let B=f.getRangeAt(0),I=(0,DD.create)({element:x,range:B,__unstableIsEditableTree:!0}),P=(0,DD.create)({element:C,range:B,__unstableIsEditableTree:!0}),E=I.start??I.end,L=P.start??P.end;o({start:{clientId:g,attributeKey:x.dataset.wpBlockAttributeKey,offset:E},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:L}})}else e(g,b)}}return a.addEventListener("selectionchange",u),c.addEventListener("mouseup",u),()=>{a.removeEventListener("selectionchange",u),c.removeEventListener("mouseup",u)}},[e,t,o,r])}var _1=l(F(),1),aG=l(Z(),1);function lG(){let{selectBlock:e}=(0,_1.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,_1.useSelect)(_);return(0,aG.useRefEffect)(n=>{function i(s){if(!t()||s.button!==0)return;let a=o(),c=Li(s.target);s.shiftKey?a&&a!==c&&(n.contentEditable=!0,n.focus()):r()&&e(c)}return n.addEventListener("mousedown",i),()=>{n.removeEventListener("mousedown",i)}},[e,t,o,r])}var x1=l(F(),1),cG=l(Z(),1),Ll=l(nt(),1),Ps=l($(),1);function uG(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,x1.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:h,__unstableDeleteSelection:p,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,x1.useDispatch)(_);return(0,cG.useRefEffect)(v=>{function k(x){v.contentEditable==="true"&&x.preventDefault()}function y(x){if(!x.defaultPrevented){if(!n()){if(x.keyCode===Ll.ENTER){if(x.shiftKey||e())return;let C=o(),B=i(C),I=c(),P=u();if(I.attributeKey===P.attributeKey){let E=d(C)[I.attributeKey],L=(0,Ps.getBlockTransforms)("from").filter(({type:R})=>R==="enter"),T=(0,Ps.findTransform)(L,R=>R.regExp.test(E));if(T){f(C,T.transform({content:E})),b();return}}if(!(0,Ps.hasBlockSupport)(B,"splitting",!1)&&!x.__deprecatedOnSplit)return;(s((0,Ps.getDefaultBlockName)(),a(C))||s(B,a(C)))&&(m(),x.preventDefault())}return}x.keyCode===Ll.ENTER?(v.contentEditable=!1,x.preventDefault(),e()?f(t(),(0,Ps.createBlock)((0,Ps.getDefaultBlockName)())):m()):x.keyCode===Ll.BACKSPACE||x.keyCode===Ll.DELETE?(v.contentEditable=!1,x.preventDefault(),e()?h(t()):r()?p(x.keyCode===Ll.DELETE):g()):x.key.length===1&&!(x.metaKey||x.ctrlKey)&&(v.contentEditable=!1,r()?p(x.keyCode===Ll.DELETE):(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(x){n()&&(v.contentEditable=!1,r()?p():(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}return v.addEventListener("beforeinput",k),v.addEventListener("keydown",y),v.addEventListener("compositionstart",S),()=>{v.removeEventListener("beforeinput",k),v.removeEventListener("keydown",y),v.removeEventListener("compositionstart",S)}},[])}var Sa=l($(),1),C1=l(je(),1),Rh=l(F(),1),bG=l(Z(),1);var dG=l(O(),1),fG=l($(),1),Sy=l(F(),1),Mi=l(N(),1),mG=l(Ti(),1);function Ih(){let{getBlockName:e}=(0,Sy.useSelect)(_),{getBlockType:t}=(0,Sy.useSelect)(fG.store),{createSuccessNotice:o}=(0,Sy.useDispatch)(mG.store);return(0,dG.useCallback)((r,n)=>{let i="";if(r==="copyStyles")i=(0,Mi.__)("Styles copied to clipboard.");else if(n.length===1){let s=n[0],a=t(e(s))?.title;r==="copy"?i=(0,Mi.sprintf)((0,Mi.__)('Copied "%s" to clipboard.'),a):i=(0,Mi.sprintf)((0,Mi.__)('Moved "%s" to clipboard.'),a)}else r==="copy"?i=(0,Mi.sprintf)((0,Mi._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",n.length),n.length):i=(0,Mi.sprintf)((0,Mi._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",n.length),n.length);o(i,{type:"snackbar"})},[o,e,t])}var hG=l(je(),1),Di=l($(),1);var pG=l(je(),1);function i_e(e){let t="",o=e.indexOf(t);if(o>-1)e=e.substring(o+t.length);else return e;let n=e.indexOf("");return n>-1&&(e=e.substring(0,n)),e}function s_e(e){let t="";return e.startsWith(t)?e.slice(t.length):e}function Ph({clipboardData:e}){let t="",o="";try{t=e.getData("text/plain"),o=e.getData("text/html")}catch{return}o=i_e(o),o=s_e(o);let r=(0,pG.getFilesFromDataTransfer)(e);return r.length&&!a_e(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function a_e(e,t){if(t&&e?.length===1&&e[0].type.indexOf("image/")===0){let o=/<\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(r))return!0}return!1}var VD=Symbol("requiresWrapperOnCopy");function w1(e,t,o){let r=t,[n]=t;if(n&&o.select(Di.store).getBlockType(n.name)[VD]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&&(r=(0,Di.createBlock)(f,u(d),r))}let i=(0,Di.serialize)(r);e.clipboardData.setData("text/plain",l_e(i)),e.clipboardData.setData("text/html",i)}function gG(e,t){let{plainText:o,html:r,files:n}=Ph(e),i=[];if(n.length){let s=(0,Di.getBlockTransforms)("from");i=n.reduce((a,c)=>{let u=(0,Di.findTransform)(s,d=>d.type==="files"&&d.isMatch([c]));return u&&a.push(u.transform([c])),a},[]).flat()}else i=(0,Di.pasteHandler)({HTML:r,plainText:o,mode:"BLOCKS",canUserUseUnfilteredHTML:t});return i}function l_e(e){return e=e.replace(/
/g,` +`),(0,hG.__unstableStripHTML)(e).trim().replace(/\n\n+/g,` -`)}function _y(){let e=(0,Rh.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,Rh.useSelect)(_),{flashBlock:m,removeBlocks:h,replaceBlocks:p,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:v}=(0,Rh.useDispatch)(_),k=Ih();return(0,kG.useRefEffect)(y=>{function S(x){if(x.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:L}=x,{ownerDocument:T}=L;if(x.type==="copy"||x.type==="cut"?(0,C1.documentHasUncollapsedSelection)(T):(0,C1.documentHasSelection)(T)&&!T.activeElement.isContentEditable)return}let{activeElement:B}=x.target.ownerDocument;if(!y.contains(B))return;let I=c(),P=a()||s(),E=!P&&!I;if(x.type==="copy"||x.type==="cut")if(x.preventDefault(),C.length===1&&m(C[0]),E)b();else{k(x.type,C);let L;if(P)L=t(C);else{let[T,R]=u(),D=t(C.slice(1,C.length-1));L=[T,...D,R]}w1(x,L,e)}if(x.type==="cut")P&&!E?h(C):(x.target.ownerDocument.activeElement.contentEditable=!1,g());else if(x.type==="paste"){let{__experimentalCanUserUseUnfilteredHTML:L,mediaUpload:T}=n();if(x.clipboardData.getData("rich-text")==="true")return;let{plainText:D,html:j,files:G}=Ph(x),z=s(),U=[];if(G.length){if(!T){x.preventDefault();return}let ce=(0,Sa.getBlockTransforms)("from");U=G.reduce((ie,re)=>{let J=(0,Sa.findTransform)(ce,Y=>Y.type==="files"&&Y.isMatch([re]));return J&&ie.push(J.transform([re])),ie},[]).flat()}else U=(0,Sa.pasteHandler)({HTML:j,plainText:D,mode:z?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:L});if(typeof U=="string")return;if(z){p(C,U,U.length-1,-1),x.preventDefault();return}if(!r()&&!(0,Sa.hasBlockSupport)(i(C[0]),"splitting",!1)&&!x.__deprecatedOnSplit)return;let[W]=C,ee=f(W),ne=[];for(let ce of U)if(d(ce.name,ee))ne.push(ce);else{let ie=i(ee),re=ce.name!==ie?(0,Sa.switchToBlockType)(ce,ie):[ce];if(!re)return;for(let J of re)for(let Y of J.innerBlocks)ne.push(Y)}v(ne),x.preventDefault()}}return y.ownerDocument.addEventListener("copy",S),y.ownerDocument.addEventListener("cut",S),y.ownerDocument.addEventListener("paste",S),()=>{y.ownerDocument.removeEventListener("copy",S),y.ownerDocument.removeEventListener("cut",S),y.ownerDocument.removeEventListener("paste",S)}},[])}var Oh=l(w(),1);function FD(){let[e,t,o]=G9(),r=(0,vG.useSelect)(n=>n(_).hasMultiSelection(),[]);return[e,(0,xy.useMergeRefs)([t,_y(),dG(),oG(),aG(),cG(),H9(),J9(),$9(),q9(),(0,xy.useRefEffect)(n=>(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute("aria-label",(0,yG.__)("Multiple selected blocks")),()=>{delete n.dataset.hasMultiSelection,n.removeAttribute("aria-label")}):()=>{delete n.dataset.hasMultiSelection}),[r])]),o]}function f_e({children:e,...t},o){let[r,n,i]=FD();return(0,Oh.jsxs)(Oh.Fragment,{children:[r,(0,Oh.jsx)("div",{...t,ref:(0,xy.useMergeRefs)([n,o]),className:V(t.className,"block-editor-writing-flow"),children:e}),i]})}var B1=(0,SG.forwardRef)(f_e);var E1=null;function _G(){return E1||(E1=Array.from(document.styleSheets).reduce((e,t)=>{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith("wp-")||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=>a?n(c):s&&(s.includes(".editor-styles-wrapper")||s.includes(".wp-block")))}if(n(r)){let i=o.tagName==="STYLE";if(i){let s=o.id.replace("-inline-css","-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace("-css","-inline-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}}return e},[]),E1)}var kn=l(O(),1),wy=l(Z(),1);function xG({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function m_e(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function p_e(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i<=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function h_e(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:"0 0",scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function wG({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,wy.useResizeObserver)(),[s,{width:a,height:c}]=(0,wy.useResizeObserver)(),u=(0,kn.useRef)(0),d=r!==1,f=(0,wy.useReducedMotion)(),m=r==="auto-scaled",h=(0,kn.useRef)(!1),p=(0,kn.useRef)(null);(0,kn.useEffect)(()=>{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?xG({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,v=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),k=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,kn.useCallback)(()=>{let{scrollTop:C}=v.current,{scrollTop:B}=k.current;return t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top",`${C}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next",`${B}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior",v.current.scrollHeight===v.current.containerHeight?"auto":"scroll"),t.documentElement.classList.add("zoom-out-animation"),t.documentElement.animate(h_e(v.current,k.current),{easing:"cubic-bezier(0.46, 0.03, 0.52, 0.96)",duration:400})},[t]),S=(0,kn.useCallback)(()=>{h.current=!1,p.current=null,t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",k.current.scaleValue),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${k.current.frameSize}px`),t.documentElement.classList.remove("zoom-out-animation"),t.documentElement.scrollTop=k.current.scrollTop,t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior"),v.current=k.current},[t]),x=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=>{let C=t&&x.current!==d;if(x.current=d,!!C&&(h.current=!0,!!d))return t.documentElement.classList.add("is-zoomed-out"),()=>{t.documentElement.classList.remove("is-zoomed-out")}},[t,d]),(0,kn.useEffect)(()=>{if(t&&(m&&v.current.scaleValue!==1&&(v.current.scaleValue=xG({frameSize:v.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b<1&&(h.current||(t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",b),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${e}px`)),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-content-height",`${i}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-inner-height",`${c}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-container-width",`${a}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale-container-width",`${g}px`)),h.current))if(h.current=!1,p.current){p.current.reverse();let C=v.current,B=k.current;v.current=B,k.current=C}else v.current.scrollTop=t.documentElement.scrollTop,v.current.scrollHeight=t.documentElement.scrollHeight,v.current.containerHeight=c,k.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},k.current.scrollHeight=m_e(v.current,k.current),k.current.scrollTop=p_e(v.current,k.current),p.current=y(),f?S():p.current.onfinish=S},[y,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,containerWidth:a,contentResizeListener:n,containerResizeListener:s}}var Vi=l(w(),1),g_e=_a.useViewportMatch.__experimentalWidthProvider;function TG(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&&n.preventDefault(),!o.dispatchEvent(n)&&e.preventDefault()}function b_e(e){return(0,_a.useRefEffect)(()=>{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=["dragover","mousemove"],i={};for(let s of n)i[s]=a=>{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];TG(a,d,o)},r.addEventListener(s,i[s]);return()=>{for(let s of n)r.removeEventListener(s,i[s])}})}var CG=new WeakMap,k_e=globalThis.FinalizationRegistry?new globalThis.FinalizationRegistry(e=>URL.revokeObjectURL(e)):void 0;function v_e(e){let t=CG.get(e);if(t)return t;let o=` +`)}function _y(){let e=(0,Rh.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,Rh.useSelect)(_),{flashBlock:m,removeBlocks:h,replaceBlocks:p,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:v}=(0,Rh.useDispatch)(_),k=Ih();return(0,bG.useRefEffect)(y=>{function S(x){if(x.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:L}=x,{ownerDocument:T}=L;if(x.type==="copy"||x.type==="cut"?(0,C1.documentHasUncollapsedSelection)(T):(0,C1.documentHasSelection)(T)&&!T.activeElement.isContentEditable)return}let{activeElement:B}=x.target.ownerDocument;if(!y.contains(B))return;let I=c(),P=a()||s(),E=!P&&!I;if(x.type==="copy"||x.type==="cut")if(x.preventDefault(),C.length===1&&m(C[0]),E)b();else{k(x.type,C);let L;if(P)L=t(C);else{let[T,R]=u(),D=t(C.slice(1,C.length-1));L=[T,...D,R]}w1(x,L,e)}if(x.type==="cut")P&&!E?h(C):(x.target.ownerDocument.activeElement.contentEditable=!1,g());else if(x.type==="paste"){let{__experimentalCanUserUseUnfilteredHTML:L,mediaUpload:T}=n();if(x.clipboardData.getData("rich-text")==="true")return;let{plainText:D,html:j,files:G}=Ph(x),z=s(),U=[];if(G.length){if(!T){x.preventDefault();return}let ce=(0,Sa.getBlockTransforms)("from");U=G.reduce((ie,re)=>{let J=(0,Sa.findTransform)(ce,Y=>Y.type==="files"&&Y.isMatch([re]));return J&&ie.push(J.transform([re])),ie},[]).flat()}else U=(0,Sa.pasteHandler)({HTML:j,plainText:D,mode:z?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:L});if(typeof U=="string")return;if(z){p(C,U,U.length-1,-1),x.preventDefault();return}if(!r()&&!(0,Sa.hasBlockSupport)(i(C[0]),"splitting",!1)&&!x.__deprecatedOnSplit)return;let[W]=C,ee=f(W),ne=[];for(let ce of U)if(d(ce.name,ee))ne.push(ce);else{let ie=i(ee),re=ce.name!==ie?(0,Sa.switchToBlockType)(ce,ie):[ce];if(!re)return;for(let J of re)for(let Y of J.innerBlocks)ne.push(Y)}v(ne),x.preventDefault()}}return y.ownerDocument.addEventListener("copy",S),y.ownerDocument.addEventListener("cut",S),y.ownerDocument.addEventListener("paste",S),()=>{y.ownerDocument.removeEventListener("copy",S),y.ownerDocument.removeEventListener("cut",S),y.ownerDocument.removeEventListener("paste",S)}},[])}var Oh=l(w(),1);function FD(){let[e,t,o]=H9(),r=(0,kG.useSelect)(n=>n(_).hasMultiSelection(),[]);return[e,(0,xy.useMergeRefs)([t,_y(),uG(),tG(),sG(),lG(),U9(),Q9(),W9(),Y9(),(0,xy.useRefEffect)(n=>(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute("aria-label",(0,vG.__)("Multiple selected blocks")),()=>{delete n.dataset.hasMultiSelection,n.removeAttribute("aria-label")}):()=>{delete n.dataset.hasMultiSelection}),[r])]),o]}function c_e({children:e,...t},o){let[r,n,i]=FD();return(0,Oh.jsxs)(Oh.Fragment,{children:[r,(0,Oh.jsx)("div",{...t,ref:(0,xy.useMergeRefs)([n,o]),className:V(t.className,"block-editor-writing-flow"),children:e}),i]})}var B1=(0,yG.forwardRef)(c_e);var E1=null;function SG(){return E1||(E1=Array.from(document.styleSheets).reduce((e,t)=>{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith("wp-")||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=>a?n(c):s&&(s.includes(".editor-styles-wrapper")||s.includes(".wp-block")))}if(n(r)){let i=o.tagName==="STYLE";if(i){let s=o.id.replace("-inline-css","-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace("-css","-inline-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}}return e},[]),E1)}var kn=l(O(),1),wy=l(Z(),1);function _G({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function u_e(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function d_e(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i<=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function f_e(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:"0 0",scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function xG({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,wy.useResizeObserver)(),[s,{width:a,height:c}]=(0,wy.useResizeObserver)(),u=(0,kn.useRef)(0),d=r!==1,f=(0,wy.useReducedMotion)(),m=r==="auto-scaled",h=(0,kn.useRef)(!1),p=(0,kn.useRef)(null);(0,kn.useEffect)(()=>{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?_G({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,v=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),k=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,kn.useCallback)(()=>{let{scrollTop:C}=v.current,{scrollTop:B}=k.current;return t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top",`${C}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next",`${B}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior",v.current.scrollHeight===v.current.containerHeight?"auto":"scroll"),t.documentElement.classList.add("zoom-out-animation"),t.documentElement.animate(f_e(v.current,k.current),{easing:"cubic-bezier(0.46, 0.03, 0.52, 0.96)",duration:400})},[t]),S=(0,kn.useCallback)(()=>{h.current=!1,p.current=null,t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",k.current.scaleValue),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${k.current.frameSize}px`),t.documentElement.classList.remove("zoom-out-animation"),t.documentElement.scrollTop=k.current.scrollTop,t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior"),v.current=k.current},[t]),x=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=>{let C=t&&x.current!==d;if(x.current=d,!!C&&(h.current=!0,!!d))return t.documentElement.classList.add("is-zoomed-out"),()=>{t.documentElement.classList.remove("is-zoomed-out")}},[t,d]),(0,kn.useEffect)(()=>{if(t&&(m&&v.current.scaleValue!==1&&(v.current.scaleValue=_G({frameSize:v.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b<1&&(h.current||(t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",b),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${e}px`)),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-content-height",`${i}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-inner-height",`${c}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-container-width",`${a}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale-container-width",`${g}px`)),h.current))if(h.current=!1,p.current){p.current.reverse();let C=v.current,B=k.current;v.current=B,k.current=C}else v.current.scrollTop=t.documentElement.scrollTop,v.current.scrollHeight=t.documentElement.scrollHeight,v.current.containerHeight=c,k.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},k.current.scrollHeight=u_e(v.current,k.current),k.current.scrollTop=d_e(v.current,k.current),p.current=y(),f?S():p.current.onfinish=S},[y,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,containerWidth:a,contentResizeListener:n,containerResizeListener:s}}var Vi=l(w(),1),m_e=_a.useViewportMatch.__experimentalWidthProvider;function EG(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&&n.preventDefault(),!o.dispatchEvent(n)&&e.preventDefault()}function p_e(e){return(0,_a.useRefEffect)(()=>{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=["dragover","mousemove"],i={};for(let s of n)i[s]=a=>{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];EG(a,d,o)},r.addEventListener(s,i[s]);return()=>{for(let s of n)r.removeEventListener(s,i[s])}})}var wG=new WeakMap,h_e=globalThis.FinalizationRegistry?new globalThis.FinalizationRegistry(e=>URL.revokeObjectURL(e)):void 0;function g_e(e){let t=wG.get(e);if(t)return t;let o=` @@ -73,8 +73,8 @@