diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index 795048a234..9430950da5 100644 --- a/wp-includes/assets/script-loader-packages.php +++ b/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '13971b965470c74a60fa32d392c78f2f'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'eb723f9407c194aa273285192d83b312'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8773a93ea0d1278a2eaa147fdb6eb96d'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '762a290d38a892cf7a6a0413600eda07'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '65d313a41f95f4c2ea65820c3f1cad27'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'e3a9c17597ea10a6949c5342e3e3d53b'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', '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-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'c3a38dd816c9e199559c354503ff1e32'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '06010831683eea310ca48d80bada73d6'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '22c85d6c5f095fa70bc1e81f823454da'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => 'e817d20512a049ea38d1e1f22097be1f'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '74f961909cfe6adb331a06e276c41c2b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'c4775e2aa9288586791e26a980eff851'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '966113d894f354075b1eed5a141241bb'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '75f90354ddff4acd5b0b4026454037ca'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '59b9a16339ffe9c2ef592270c19f77ed'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '09eae2d679436dd6bd745b0e8b1687e9'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '99b042a92d284c1276e553789c674cab'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3f7b757d117b8e53e66943297e96bf38'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'db63eb2f693cb5e38b083946b14f0684'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'f44c502bb4f2e1eeeb1f48c6d2f3871a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '272ad744fc70456e6aef505ec195fb83'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'd061952232722fcef7dbe8a686d9996f'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f7b0e4c8bb987c1ab79bdda0d9db465b'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => 'd30ffbd75b1a41143d9016b4042fb913'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b4778690e29d8a2b7518413652ba30c4'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '75dab3db5644768cfaaf16da58993afb'), 'i18n.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'bb7c3c45d012206bfcd73d6a31f84d9e'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'faf996f5d8657ed8cb4e326307229895'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '9cbe52add50401a0e626ebfcb37d742a'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'd22da43ca8a6cd671dd34ea661fff05f'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0927d5c7a69da4be6c476c03374f4b81'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9ad24b42cc69f241229ded4dc61409fb'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'e8ba84906787f0394f07956c137fc314'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '68c870d314e84cb497f7345bddd9a2a2'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '782bb26c3f2f05a0d444baf877880dc0'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '29a6188bba37f7dd03ab293172d040cd'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '25df4fcfc831934f96ee620ba97b8d72'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9c464c6fba42fc0112f5feedb4939fa6'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => 'a4056cfcb2aec8ceb3c8e8935dfd0bc4'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '775d9764790cb6299990774af434f1af'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '14fe6c63320b3200f356d0bcbca32121'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '384d238d095e0738c66c24d5efd0d19e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9dd4e33d1648e90d1390113c29d21f27'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '74fa211298bad8b930c1e9c17d583843'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4846e6a00f535179609298debad4670b'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '29fa35570f10ea28f9198bc26cd088cd')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '13971b965470c74a60fa32d392c78f2f'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'eb723f9407c194aa273285192d83b312'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8773a93ea0d1278a2eaa147fdb6eb96d'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '762a290d38a892cf7a6a0413600eda07'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '65d313a41f95f4c2ea65820c3f1cad27'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'e3a9c17597ea10a6949c5342e3e3d53b'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', '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-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'c479e3b5d487c36ab3dce4e66512212c'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '06010831683eea310ca48d80bada73d6'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '22c85d6c5f095fa70bc1e81f823454da'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => 'e817d20512a049ea38d1e1f22097be1f'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '74f961909cfe6adb331a06e276c41c2b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'c4775e2aa9288586791e26a980eff851'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '966113d894f354075b1eed5a141241bb'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '75f90354ddff4acd5b0b4026454037ca'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '59b9a16339ffe9c2ef592270c19f77ed'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '09eae2d679436dd6bd745b0e8b1687e9'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '99b042a92d284c1276e553789c674cab'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3f7b757d117b8e53e66943297e96bf38'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'db63eb2f693cb5e38b083946b14f0684'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'f44c502bb4f2e1eeeb1f48c6d2f3871a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '272ad744fc70456e6aef505ec195fb83'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'd061952232722fcef7dbe8a686d9996f'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f7b0e4c8bb987c1ab79bdda0d9db465b'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => 'd30ffbd75b1a41143d9016b4042fb913'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b4778690e29d8a2b7518413652ba30c4'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '75dab3db5644768cfaaf16da58993afb'), 'i18n.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'bb7c3c45d012206bfcd73d6a31f84d9e'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'faf996f5d8657ed8cb4e326307229895'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '9cbe52add50401a0e626ebfcb37d742a'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'd22da43ca8a6cd671dd34ea661fff05f'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0927d5c7a69da4be6c476c03374f4b81'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9ad24b42cc69f241229ded4dc61409fb'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'e8ba84906787f0394f07956c137fc314'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '68c870d314e84cb497f7345bddd9a2a2'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '782bb26c3f2f05a0d444baf877880dc0'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '29a6188bba37f7dd03ab293172d040cd'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '25df4fcfc831934f96ee620ba97b8d72'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9c464c6fba42fc0112f5feedb4939fa6'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => 'a4056cfcb2aec8ceb3c8e8935dfd0bc4'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '775d9764790cb6299990774af434f1af'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '14fe6c63320b3200f356d0bcbca32121'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '384d238d095e0738c66c24d5efd0d19e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9dd4e33d1648e90d1390113c29d21f27'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '74fa211298bad8b930c1e9c17d583843'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4846e6a00f535179609298debad4670b'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '29fa35570f10ea28f9198bc26cd088cd')); \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index fa5fb3b139..8bc03b3879 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -500,10 +500,12 @@ width: 48px; } .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { min-width: 36px; - width: 36px; } + width: 36px; + overflow: hidden; } .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { min-width: 24px; - width: 24px; } + width: 24px; + overflow: hidden; } .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button > svg { margin-right: 2px; } .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg { diff --git a/wp-includes/css/dist/block-editor/style-rtl.min.css b/wp-includes/css/dist/block-editor/style-rtl.min.css index b814aee25b..fd8ae6725b 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.min.css +++ b/wp-includes/css/dist/block-editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #f0f0f0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 1.5px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block,.block-editor-block-list__layout .block-list-appender{position:relative}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before,.block-editor-block-list__layout .block-list-appender.is-drop-target:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-14px;left:0;right:0;border-top:4px solid #007cba;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally:before,.block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally:before{top:0;bottom:0;right:-6px;border-top:none;border-right:4px solid #007cba;border-right:4px solid var(--wp-admin-theme-color)}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);border-radius:1px;transition:box-shadow .2s ease-out;outline:2px solid transparent}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{transition-duration:0s}}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1.5px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:1.5px solid transparent}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;left:0;right:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{content:none}.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;box-shadow:0 0 0 1.5px transparent;transition:box-shadow .1s ease-in}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:after{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__layout .wp-block{margin-right:auto;margin-left:auto}.wp-block[data-align=left],.wp-block[data-align=right]{width:100%;height:0}.wp-block[data-align=left]:before,.wp-block[data-align=right]:before{content:none}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.wp-block[data-align=left]>*{float:left;margin-right:2em}.wp-block[data-align=right]>*{float:right;margin-left:2em}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:1.5px;right:0;left:0;background:#007cba;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{visibility:hidden;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-left-color:#1e1e1e}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-left-style:solid;border-left-width:1px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__no-switcher-icon:before,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__toggle:before{width:28px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-icon svg{margin-right:10px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher:last-child .block-editor-block-icon svg{margin-right:auto}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar-group{border-left:none}.block-editor-block-contextual-toolbar .block-editor-block-mover{margin-right:-12px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal{width:48px}.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:36px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button>svg{margin-right:2px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{margin-top:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{margin-bottom:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{right:0!important;min-width:0;width:28px}.block-editor-block-list__block-selection-button{display:block;z-index:22}.block-editor-block-list__block-selection-button .components-button{font-size:13px;height:46px;padding:12px 16px;position:relative;top:-1px;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px;background-color:#fff}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-right:0}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{margin:8px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:20px 8px}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s}}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"←"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;left:1px;bottom:1px;right:1px;box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{margin:0 0 5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-60px}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;border:1px solid #1e1e1e;box-shadow:0 4px 6px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;min-width:72px;padding:0 12px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging.is-multi-selected,.is-dragging.is-selected{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:right}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover .components-toolbar,.block-editor-block-mover .components-toolbar-group{flex-direction:column;flex:1}.block-editor-block-mover.is-horizontal .components-toolbar,.block-editor-block-mover.is-horizontal .components-toolbar-group{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:48px;padding:0!important}.block-editor-block-mover .block-editor-block-mover-button:before{right:8px!important;left:8px!important}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg{margin-bottom:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 8px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg{margin-top:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 8px)}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;min-width:24px;padding-right:0;padding-left:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:8px;bottom:8px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-right:0;margin-left:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{right:8px!important;left:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-right:-8px;margin-left:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{right:0!important;left:8px!important}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:calc(100% - .8em);height:auto;padding:12px 6px;margin-top:auto;margin-bottom:auto;text-align:right;color:#40464d;border-radius:2px}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-right:0;padding-left:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-left:6px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;right:0;left:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 1px 6px 6px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{min-height:56px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line{position:relative;flex-shrink:0;width:24px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child{width:18px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item{margin-left:6px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:before{content:"";display:block;position:absolute;top:1px;bottom:-2px;left:-1px;border-left:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated:before{border-color:transparent}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:26px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item:after,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item:after{content:"";display:block;position:absolute;top:26px;right:100%;width:5px;border-bottom:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:16px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row:after{top:100%}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-right:0;padding-left:0}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:0;margin-left:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{border:2px solid #1e1e1e}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e!important}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon{padding:0}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;left:8px;bottom:8px;right:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{padding:16px;margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #f0f0f0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;right:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-right:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 0 0 8px;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:flex}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;margin-left:12px;text-align:center}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.block-editor-button-block-appender:hover{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px #007cba;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;color:#1e1e1e;box-shadow:none;height:24px;padding:0;margin-right:8px}.block-editor-button-block-appender.block-list-appender__toggle:active{color:#fff}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:inherit;font-size:inherit;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 0 0 50px;color:rgba(30,30,30,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{line-height:1.8}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 16px 11px 36px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;left:19px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{max-width:230px;overflow:hidden;text-overflow:ellipsis}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{color:#1e1e1e}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#6c7781;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{margin-top:20px;overflow:visible;padding:12px 15px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;right:0;display:block;width:100%;border-top:1px solid #ddd}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#007cba!important;color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-replace-flow__media-upload-menu{margin-bottom:16px}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{left:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;left:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle{justify-content:center}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-right:12px;padding-left:12px}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#007cba;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#005a87;background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #ddd;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:6px 12px;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__message{line-height:1.4;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 8px 0 0}.block-editor-warning__secondary{margin:auto 8px auto 0}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-left:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-left:none}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-format-toolbar .components-toolbar,.block-editor-format-toolbar .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-toolbar__block-parent-selector-wrapper{position:absolute;top:-1px;right:-1px;opacity:0;transition:all 60ms linear;z-index:-1}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar__block-parent-selector-wrapper{transition-duration:0s}}.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper{opacity:1;transform:translateY(-60px)}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper{display:none}.block-editor-block-toolbar__block-switcher-wrapper,.block-editor-block-toolbar__mover-switcher-container{display:flex}.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher{display:block}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.block-editor-inserter__search{padding:16px;position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 16px 16px 48px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;left:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:-webkit-sticky;position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-content{padding:0 16px}.block-editor-inserter__panel-title{margin:0 0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#b5bcc2}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;right:calc(100% + 16px)}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:-ms-grid;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#606a73;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results{padding-bottom:16px}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:right}.block-editor-inserter__quick-inserter-patterns{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #1e1e1e,inset 0 0 0 2px #fff}.block-editor-post-preview__dropdown{display:none;margin-left:12px;padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-right:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-right:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{border-top:1px solid #ccc;padding:8px 12px;margin-right:-12px;margin-left:-12px}@media (min-width:600px){.editor-post-preview{display:none}.block-editor-post-preview__dropdown{display:flex}} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #f0f0f0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 1.5px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block,.block-editor-block-list__layout .block-list-appender{position:relative}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before,.block-editor-block-list__layout .block-list-appender.is-drop-target:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-14px;left:0;right:0;border-top:4px solid #007cba;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally:before,.block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally:before{top:0;bottom:0;right:-6px;border-top:none;border-right:4px solid #007cba;border-right:4px solid var(--wp-admin-theme-color)}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);border-radius:1px;transition:box-shadow .2s ease-out;outline:2px solid transparent}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{transition-duration:0s}}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:after,.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1.5px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:1.5px solid transparent}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;left:0;right:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:after{content:none}.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;box-shadow:0 0 0 1.5px transparent;transition:box-shadow .1s ease-in}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:after{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__layout .wp-block{margin-right:auto;margin-left:auto}.wp-block[data-align=left],.wp-block[data-align=right]{width:100%;height:0}.wp-block[data-align=left]:before,.wp-block[data-align=right]:before{content:none}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.wp-block[data-align=left]>*{float:left;margin-right:2em}.wp-block[data-align=right]>*{float:right;margin-left:2em}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:1.5px;right:0;left:0;background:#007cba;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{visibility:hidden;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-left-color:#1e1e1e}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-left-style:solid;border-left-width:1px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__no-switcher-icon:before,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__toggle:before{width:28px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-icon svg{margin-right:10px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher:last-child .block-editor-block-icon svg{margin-right:auto}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar-group{border-left:none}.block-editor-block-contextual-toolbar .block-editor-block-mover{margin-right:-12px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal{width:48px}.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:36px;width:36px;overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px;overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button>svg{margin-right:2px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{margin-top:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{margin-bottom:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{right:0!important;min-width:0;width:28px}.block-editor-block-list__block-selection-button{display:block;z-index:22}.block-editor-block-list__block-selection-button .components-button{font-size:13px;height:46px;padding:12px 16px;position:relative;top:-1px;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px;background-color:#fff}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-right:0}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{margin:8px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:20px 8px}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s}}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"←"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;left:1px;bottom:1px;right:1px;box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{margin:0 0 5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-60px}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;border:1px solid #1e1e1e;box-shadow:0 4px 6px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;min-width:72px;padding:0 12px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging.is-multi-selected,.is-dragging.is-selected{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:right}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover .components-toolbar,.block-editor-block-mover .components-toolbar-group{flex-direction:column;flex:1}.block-editor-block-mover.is-horizontal .components-toolbar,.block-editor-block-mover.is-horizontal .components-toolbar-group{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:48px;padding:0!important}.block-editor-block-mover .block-editor-block-mover-button:before{right:8px!important;left:8px!important}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg{margin-bottom:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 8px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg{margin-top:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 8px)}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;min-width:24px;padding-right:0;padding-left:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:8px;bottom:8px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-right:0;margin-left:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{right:8px!important;left:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-right:-8px;margin-left:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{right:0!important;left:8px!important}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:calc(100% - .8em);height:auto;padding:12px 6px;margin-top:auto;margin-bottom:auto;text-align:right;color:#40464d;border-radius:2px}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-right:0;padding-left:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-left:6px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;right:0;left:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 1px 6px 6px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{min-height:56px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line{position:relative;flex-shrink:0;width:24px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child{width:18px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item{margin-left:6px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:before{content:"";display:block;position:absolute;top:1px;bottom:-2px;left:-1px;border-left:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated:before{border-color:transparent}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:26px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item:after,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item:after{content:"";display:block;position:absolute;top:26px;right:100%;width:5px;border-bottom:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:16px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row:after{top:100%}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-right:0;padding-left:0}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:0;margin-left:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{border:2px solid #1e1e1e}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e!important}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon{padding:0}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;left:8px;bottom:8px;right:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{padding:16px;margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #f0f0f0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;right:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-right:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 0 0 8px;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:flex}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;margin-left:12px;text-align:center}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.block-editor-button-block-appender:hover{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px #007cba;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;color:#1e1e1e;box-shadow:none;height:24px;padding:0;margin-right:8px}.block-editor-button-block-appender.block-list-appender__toggle:active{color:#fff}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:inherit;font-size:inherit;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 0 0 50px;color:rgba(30,30,30,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{line-height:1.8}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 16px 11px 36px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;left:19px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{max-width:230px;overflow:hidden;text-overflow:ellipsis}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{color:#1e1e1e}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#6c7781;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{margin-top:20px;overflow:visible;padding:12px 15px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;right:0;display:block;width:100%;border-top:1px solid #ddd}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#007cba!important;color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-replace-flow__media-upload-menu{margin-bottom:16px}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{left:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;left:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle{justify-content:center}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-right:12px;padding-left:12px}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#007cba;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#005a87;background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #ddd;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:6px 12px;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__message{line-height:1.4;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 8px 0 0}.block-editor-warning__secondary{margin:auto 8px auto 0}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-left:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-left:none}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-format-toolbar .components-toolbar,.block-editor-format-toolbar .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-toolbar__block-parent-selector-wrapper{position:absolute;top:-1px;right:-1px;opacity:0;transition:all 60ms linear;z-index:-1}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar__block-parent-selector-wrapper{transition-duration:0s}}.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper{opacity:1;transform:translateY(-60px)}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper{display:none}.block-editor-block-toolbar__block-switcher-wrapper,.block-editor-block-toolbar__mover-switcher-container{display:flex}.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher{display:block}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.block-editor-inserter__search{padding:16px;position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 16px 16px 48px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;left:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:-webkit-sticky;position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-content{padding:0 16px}.block-editor-inserter__panel-title{margin:0 0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#b5bcc2}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;right:calc(100% + 16px)}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:-ms-grid;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#606a73;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results{padding-bottom:16px}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:right}.block-editor-inserter__quick-inserter-patterns{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #1e1e1e,inset 0 0 0 2px #fff}.block-editor-post-preview__dropdown{display:none;margin-left:12px;padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-right:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-right:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{border-top:1px solid #ccc;padding:8px 12px;margin-right:-12px;margin-left:-12px}@media (min-width:600px){.editor-post-preview{display:none}.block-editor-post-preview__dropdown{display:flex}} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index b71d85d2aa..eeddde8c8a 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -504,10 +504,12 @@ width: 48px; } .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { min-width: 36px; - width: 36px; } + width: 36px; + overflow: hidden; } .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { min-width: 24px; - width: 24px; } + width: 24px; + overflow: hidden; } .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button > svg { margin-left: 2px; } .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg { diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 060952205e..4c7a8998e2 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -2,4 +2,4 @@ /*!rtl:begin:ignore*/float:left;margin-right:2em /*!rtl:end:ignore*/}.wp-block[data-align=right]>*{ /*!rtl:begin:ignore*/float:right;margin-left:2em - /*!rtl:end:ignore*/}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:1.5px;left:0;right:0;background:#007cba;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{visibility:hidden;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-right-color:#1e1e1e}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-right-style:solid;border-right-width:1px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__no-switcher-icon:before,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__toggle:before{width:28px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-icon svg{margin-left:10px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher:last-child .block-editor-block-icon svg{margin-left:auto}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar-group{border-right:none}.block-editor-block-contextual-toolbar .block-editor-block-mover{margin-left:-12px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal{width:48px}.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:36px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button>svg{margin-left:2px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{margin-top:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{margin-bottom:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{left:0!important;min-width:0;width:28px}.block-editor-block-list__block-selection-button{display:block;z-index:22}.block-editor-block-list__block-selection-button .components-button{font-size:13px;height:46px;padding:12px 16px;position:relative;top:-1px;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px;background-color:#fff}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-left:0}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{margin:8px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:20px 8px}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s}}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"→"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;right:1px;bottom:1px;left:1px;box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{margin:0 0 5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-60px}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;border:1px solid #1e1e1e;box-shadow:0 4px 6px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;min-width:72px;padding:0 12px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging.is-multi-selected,.is-dragging.is-selected{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:left}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover .components-toolbar,.block-editor-block-mover .components-toolbar-group{flex-direction:column;flex:1}.block-editor-block-mover.is-horizontal .components-toolbar,.block-editor-block-mover.is-horizontal .components-toolbar-group{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:48px;padding:0!important}.block-editor-block-mover .block-editor-block-mover-button:before{left:8px!important;right:8px!important}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg{margin-bottom:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 8px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg{margin-top:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 8px)}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;min-width:24px;padding-left:0;padding-right:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:8px;bottom:8px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-left:0;margin-right:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{left:8px!important;right:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-left:-8px;margin-right:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{left:0!important;right:8px!important}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:calc(100% - .8em);height:auto;padding:12px 6px;margin-top:auto;margin-bottom:auto;text-align:left;color:#40464d;border-radius:2px}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-left:0;padding-right:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-right:6px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;left:0;right:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 6px 6px 1px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{min-height:56px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line{position:relative;flex-shrink:0;width:24px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child{width:18px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item{margin-right:6px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:before{content:"";display:block;position:absolute;top:1px;bottom:-2px;right:-1px;border-right:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated:before{border-color:transparent}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:26px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item:after,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item:after{content:"";display:block;position:absolute;top:26px;left:100%;width:5px;border-bottom:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:16px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row:after{top:100%}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-left:0;padding-right:0}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:0;margin-right:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{border:2px solid #1e1e1e}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e!important}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon{padding:0}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;right:8px;bottom:8px;left:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{padding:16px;margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #f0f0f0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;left:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-left:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 8px 0 0;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:flex}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;margin-right:12px;text-align:center}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.block-editor-button-block-appender:hover{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px #007cba;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;color:#1e1e1e;box-shadow:none;height:24px;padding:0;margin-left:8px}.block-editor-button-block-appender.block-list-appender__toggle:active{color:#fff}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:inherit;font-size:inherit;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 0;color:rgba(30,30,30,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{line-height:1.8}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 36px 11px 16px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;right:19px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{max-width:230px;overflow:hidden;text-overflow:ellipsis}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{color:#1e1e1e}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#6c7781;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{margin-top:20px;overflow:visible;padding:12px 15px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;left:0;display:block;width:100%;border-top:1px solid #ddd}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;left:auto;bottom:auto;top:28px;right:62px}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#007cba!important;color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-replace-flow__media-upload-menu{margin-bottom:16px}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{right:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;right:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle{justify-content:center}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-left:12px;padding-right:12px}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#007cba;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#005a87;background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #ddd;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:6px 12px;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__message{line-height:1.4;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 8px}.block-editor-warning__secondary{margin:auto 0 auto 8px}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-right:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-right:none}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-format-toolbar .components-toolbar,.block-editor-format-toolbar .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-toolbar__block-parent-selector-wrapper{position:absolute;top:-1px;left:-1px;opacity:0;transition:all 60ms linear;z-index:-1}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar__block-parent-selector-wrapper{transition-duration:0s}}.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper{opacity:1;transform:translateY(-60px)}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper{display:none}.block-editor-block-toolbar__block-switcher-wrapper,.block-editor-block-toolbar__mover-switcher-container{display:flex}.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher{display:block}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.block-editor-inserter__search{padding:16px;position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 48px 16px 16px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;right:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:-webkit-sticky;position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-content{padding:0 16px}.block-editor-inserter__panel-title{margin:0 12px 0 0;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#b5bcc2}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;left:calc(100% + 16px)}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:-ms-grid;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#606a73;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results{padding-bottom:16px}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:left}.block-editor-inserter__quick-inserter-patterns{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #1e1e1e,inset 0 0 0 2px #fff}.block-editor-post-preview__dropdown{display:none;margin-right:12px;padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-left:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-left:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{border-top:1px solid #ccc;padding:8px 12px;margin-left:-12px;margin-right:-12px}@media (min-width:600px){.editor-post-preview{display:none}.block-editor-post-preview__dropdown{display:flex}} \ No newline at end of file + /*!rtl:end:ignore*/}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:1.5px;left:0;right:0;background:#007cba;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{visibility:hidden;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-right-color:#1e1e1e}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container{border-right-style:solid;border-right-width:1px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__no-switcher-icon:before,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__toggle:before{width:28px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-icon svg{margin-left:10px}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher:last-child .block-editor-block-icon svg{margin-left:auto}.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar-group{border-right:none}.block-editor-block-contextual-toolbar .block-editor-block-mover{margin-left:-12px;width:36px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal{width:48px}.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:36px;width:36px;overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px;overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button>svg{margin-left:2px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{margin-top:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{margin-bottom:3px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{left:0!important;min-width:0;width:28px}.block-editor-block-list__block-selection-button{display:block;z-index:22}.block-editor-block-list__block-selection-button .components-button{font-size:13px;height:46px;padding:12px 16px;position:relative;top:-1px;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px;background-color:#fff}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-left:0}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{margin:8px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:20px 8px}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s}}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"→"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;right:1px;bottom:1px;left:1px;box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{margin:0 0 5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-60px}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;border:1px solid #1e1e1e;box-shadow:0 4px 6px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;min-width:72px;padding:0 12px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging.is-multi-selected,.is-dragging.is-selected{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:left}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover .components-toolbar,.block-editor-block-mover .components-toolbar-group{flex-direction:column;flex:1}.block-editor-block-mover.is-horizontal .components-toolbar,.block-editor-block-mover.is-horizontal .components-toolbar-group{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:48px;padding:0!important}.block-editor-block-mover .block-editor-block-mover-button:before{left:8px!important;right:8px!important}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg{margin-bottom:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 8px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg{margin-top:-8px}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 8px)}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;min-width:24px;padding-left:0;padding-right:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:8px;bottom:8px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-left:0;margin-right:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{left:8px!important;right:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-left:-8px;margin-right:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{left:0!important;right:8px!important}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:calc(100% - .8em);height:auto;padding:12px 6px;margin-top:auto;margin-bottom:auto;text-align:left;color:#40464d;border-radius:2px}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-left:0;padding-right:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-right:6px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;left:0;right:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 6px 6px 1px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{min-height:56px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line{position:relative;flex-shrink:0;width:24px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child{width:18px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item{margin-right:6px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:before{content:"";display:block;position:absolute;top:1px;bottom:-2px;right:-1px;border-right:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated:before,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated:before{border-color:transparent}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:26px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item:after,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item:after{content:"";display:block;position:absolute;top:26px;left:100%;width:5px;border-bottom:2px solid #a2aab2}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row{height:16px}.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row:after{top:100%}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1px #fff,0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-left:0;padding-right:0}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:0;margin-right:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{border:2px solid #1e1e1e}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e!important}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon{padding:0}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;right:8px;bottom:8px;left:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{padding:16px;margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #f0f0f0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;left:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-left:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 8px 0 0;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:flex}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;margin-right:12px;text-align:center}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.block-editor-button-block-appender:hover{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px #007cba;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;color:#1e1e1e;box-shadow:none;height:24px;padding:0;margin-left:8px}.block-editor-button-block-appender.block-list-appender__toggle:active{color:#fff}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:inherit;font-size:inherit;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 0;color:rgba(30,30,30,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{line-height:1.8}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 36px 11px 16px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;right:19px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{max-width:230px;overflow:hidden;text-overflow:ellipsis}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{color:#1e1e1e}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#6c7781;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{margin-top:20px;overflow:visible;padding:12px 15px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;left:0;display:block;width:100%;border-top:1px solid #ddd}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;left:auto;bottom:auto;top:28px;right:62px}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#007cba!important;color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-replace-flow__media-upload-menu{margin-bottom:16px}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{right:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;right:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle{justify-content:center}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-left:12px;padding-right:12px}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#007cba;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#005a87;background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1.5px #007cba,inset 0 0 0 4px #fff;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #ddd;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:6px 12px;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__message{line-height:1.4;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 8px}.block-editor-warning__secondary{margin:auto 0 auto 8px}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-right:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-right:none}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-format-toolbar .components-toolbar,.block-editor-format-toolbar .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-toolbar__block-parent-selector-wrapper{position:absolute;top:-1px;left:-1px;opacity:0;transition:all 60ms linear;z-index:-1}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar__block-parent-selector-wrapper{transition-duration:0s}}.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper{opacity:1;transform:translateY(-60px)}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper{display:none}.block-editor-block-toolbar__block-switcher-wrapper,.block-editor-block-toolbar__mover-switcher-container{display:flex}.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher{display:block}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.block-editor-inserter__search{padding:16px;position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 48px 16px 16px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 .5px #007cba;box-shadow:0 0 0 .5px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-ms-input-placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#606a73}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;right:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:-webkit-sticky;position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-content{padding:0 16px}.block-editor-inserter__panel-title{margin:0 12px 0 0;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#b5bcc2}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;left:calc(100% + 16px)}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:-ms-grid;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#606a73;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results{padding-bottom:16px}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:left}.block-editor-inserter__quick-inserter-patterns{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px #1e1e1e,inset 0 0 0 2px #fff}.block-editor-post-preview__dropdown{display:none;margin-right:12px;padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-left:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-left:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{border-top:1px solid #ccc;padding:8px 12px;margin-left:-12px;margin-right:-12px}@media (min-width:600px){.editor-post-preview{display:none}.block-editor-post-preview__dropdown{display:flex}} \ No newline at end of file diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index d55a7a4dce..478aadad28 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -30351,14 +30351,6 @@ function block_BlockListBlock(_ref) { }, alignmentWrapperProps), blockEdit); } - if (mode !== 'visual') { - blockEdit = Object(external_this_wp_element_["createElement"])("div", { - style: { - display: 'none' - } - }, blockEdit); - } - var value = { clientId: clientId, rootClientId: rootClientId, @@ -30378,19 +30370,35 @@ function block_BlockListBlock(_ref) { var memoizedValue = Object(external_this_wp_element_["useMemo"])(function () { return value; }, Object.values(value)); + var block; + + if (!isValid) { + block = Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_invalid_warning, { + clientId: clientId + }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))); + } else if (mode === 'html') { + // Render blockEdit so the inspector controls don't disappear. + // See #8969. + block = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", { + style: { + display: 'none' + } + }, blockEdit), Object(external_this_wp_element_["createElement"])(Block.div, { + __unstableIsHtml: true + }, Object(external_this_wp_element_["createElement"])(block_html, { + clientId: clientId + }))); + } else if (lightBlockWrapper) { + block = blockEdit; + } else { + block = Object(external_this_wp_element_["createElement"])(Block.div, wrapperProps, blockEdit); + } + return Object(external_this_wp_element_["createElement"])(BlockListBlockContext.Provider, { value: memoizedValue }, Object(external_this_wp_element_["createElement"])(block_crash_boundary, { onError: onBlockError - }, isValid && lightBlockWrapper && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, blockEdit, mode === 'html' && Object(external_this_wp_element_["createElement"])(Block.div, { - __unstableIsHtml: true - }, Object(external_this_wp_element_["createElement"])(block_html, { - clientId: clientId - }))), isValid && !lightBlockWrapper && Object(external_this_wp_element_["createElement"])(Block.div, wrapperProps, blockEdit, mode === 'html' && Object(external_this_wp_element_["createElement"])(block_html, { - clientId: clientId - })), !isValid && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_invalid_warning, { - clientId: clientId - }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes)))), !!hasError && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_crash_warning, null))); + }, block), !!hasError && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_crash_warning, null))); } var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 2c7e1a4206..dc2d8e4901 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -9,4 +9,4 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[ autosize 4.0.2 license: MIT http://www.jacklmoore.com/autosize -*/o=[e,t],void 0===(c="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,a=function(){e.clientWidth!==r&&b()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",b,!1),e.removeEventListener("keyup",b,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",b,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",b,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",b,!1),e.addEventListener("autosize:update",b,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:b}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),b()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function b(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,h.left+j.left):!1===a?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((a=void 0===a||!!a)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=l;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=i?i.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function s(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function b(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(b){var d=n?c(b):b,f={},p=!0,m={node:d,node_:b,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){l(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;ee.length?n:e})),s.value=e.join(b)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var d=t[i-1];return i>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[i-2].value+=d.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,b=l+s,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&f+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,b=d[n-1],f=d[n+1],p=(f?f.newPos:0)-n;b&&(d[n-1]=void 0);var m=b&&b.newPos+1=l&&p+1>=s)return a(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>b)return r();p()||e()}),0)}();else for(;u<=b;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,c=n.length,i=e.newPos,a=i-r,l=0;i+11&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?U:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(G)):t}var W=Object(b.createContext)({}),q=W.Provider,$=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=Object(b.useContext)(W).isEmbedButton,r=t.name,o=n?[]:K(Object(c.getBlockSupport)(r,"align"),Object(c.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(b.createElement)(w,{key:"align-controls"},Object(b.createElement)(V,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(c.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(b.createElement)(e,Object(s.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(O.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(b.createElement)(e,t);var i=K(Object(c.getBlockSupport)(n,"align"),Object(c.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return i.includes(r)&&(a=z({},a,{"data-align":r})),Object(b.createElement)(e,Object(s.a)({},t,{wrapperProps:a}))}}));Object(v.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])||Object(c.hasBlockSupport)(e,"align")&&(e.attributes=z({},e.attributes,{align:{type:"string"}})),e})),Object(v.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(v.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return K(Object(c.getBlockSupport)(t,"align"),Object(c.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=f()("align".concat(r),e.className)),e}));var X=Object(g.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return k().isSelected?Object(b.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J;function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ne=/[\s#]/g;var re=Object(m.createHigherOrderComponent)((function(e){return function(t){return Object(c.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(ee,null,Object(b.createElement)(g.TextControl,{className:"html-anchor-control",label:Object(I.__)("HTML anchor"),help:Object(b.createElement)(b.Fragment,null,Object(I.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(b.createElement)(g.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(I.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(ne,"-"),t.setAttributes({anchor:e})},autoComplete:"off"}))):Object(b.createElement)(e,t)}}),"withInspectorControl");function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}Object(v.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])||Object(c.hasBlockSupport)(e,"anchor")&&(e.attributes=function(e){for(var t=1;t");var t=Object(c.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(v.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(c.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,c=k(),i=c.clientId,a=Object(O.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),l=a.gradients,s=a.gradient,d=a.customGradient,f=Object(O.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,m=Object(b.useCallback)((function(e){var t,r,c=ge(l,e);c?p(i,(r={},Object(u.a)(r,n,c),Object(u.a)(r,o,void 0),r)):p(i,(t={},Object(u.a)(t,n,void 0),Object(u.a)(t,o,e),t))}),[l,i,p]),v=me(s);return{gradientClass:v,gradientValue:s?ve(l,s):d,setGradient:m}}var je=function e(t){if(!Object(p.isObject)(t))return t;var n=Object(p.pickBy)(Object(p.mapValues)(t,e),p.identity);return Object(p.isEqual)(n,{})?void 0:n},ke=n(15);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _e=Object(I.__)("(Color: %s)"),Ee=Object(I.__)("(Gradient: %s)"),Ce=["colors","disableCustomColors","gradients","disableCustomGradients"];function Se(e){var t,n,r=e.colors,o=e.gradients,c=e.label,i=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===i){if(a){var s=fe(r,t=a),u=s&&s.name;n=Object(I.sprintf)(_e,u||t)}}else if("gradient"===i&&l){var d=Oe(o,t=l),f=d&&d.name;n=Object(I.sprintf)(Ee,f||t)}return Object(b.createElement)(b.Fragment,null,c,!!t&&Object(b.createElement)(g.ColorIndicator,{colorValue:t,"aria-label":n}))}function we(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,c=e.className,i=e.label,a=e.onColorChange,l=e.onGradientChange,u=e.colorValue,d=e.gradientValue,m=a&&(!Object(p.isEmpty)(t)||!r),v=l&&(!Object(p.isEmpty)(n)||!o),O=Object(b.useState)(d?"gradient":!!m&&"color"),h=Object(le.a)(O,2),j=h[0],k=h[1];return m||v?Object(b.createElement)(g.BaseControl,{className:f()("block-editor-color-gradient-control",c)},Object(b.createElement)("fieldset",null,Object(b.createElement)("legend",null,Object(b.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(b.createElement)(g.BaseControl.VisualLabel,null,Object(b.createElement)(Se,{currentTab:j,label:i,colorValue:u,gradientValue:d})))),m&&v&&Object(b.createElement)(g.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(b.createElement)(g.Button,{isSmall:!0,isPressed:"color"===j,onClick:function(){return k("color")}},Object(I.__)("Solid")),Object(b.createElement)(g.Button,{isSmall:!0,isPressed:"gradient"===j,onClick:function(){return k("gradient")}},Object(I.__)("Gradient"))),("color"===j||!v)&&Object(b.createElement)(g.ColorPalette,Object(s.a)({value:u,onChange:v?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===j||!m)&&Object(b.createElement)(g.__experimentalGradientPicker,Object(s.a)({value:d,onChange:m?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function Ie(e){var t=Object(O.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,Ce)}));return Object(b.createElement)(we,function(e){for(var t=1;t=24?"large":"small"})?null:Object(b.createElement)(Ve,{backgroundColor:t,textColor:i,tinyBackgroundColor:a,tinyTextColor:l})},ze=Object(g.createSlotFill)("InspectorControls"),Ue=ze.Fill,Ge=ze.Slot;function Ke(e){var t=e.children;return y()?Object(b.createElement)(Ue,null,t):null}Ke.Slot=Ge;var We=Ke;function qe(e){return document.getElementById("block-"+e)}function $e(e,t){return t.closest(".block-editor-block-list__block")===e}function Ye(e){for(;e&&e.nodeType!==window.Node.ELEMENT_NODE;)e=e.parentNode;if(e){var t=e.closest(".block-editor-block-list__block");if(t)return t.id.slice("block-".length)}}function Xe(e){var t=e.settings,n=e.clientId,r=e.enableContrastChecking,o=void 0===r||r,c=window,i=c.getComputedStyle,a=c.Node,l=Object(b.useState)(),s=Object(le.a)(l,2),u=s[0],d=s[1],f=Object(b.useState)(),p=Object(le.a)(f,2),m=p[0],v=p[1];return Object(b.useEffect)((function(){if(o){var e=qe(n);if(e){v(i(e).color);for(var t=e,r=i(t).backgroundColor;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===a.ELEMENT_NODE;)t=t.parentNode,r=i(t).backgroundColor;d(r)}}})),Object(b.createElement)(We,null,Object(b.createElement)(Le,{title:Object(I.__)("Color settings"),initialOpen:!1,settings:t},o&&Object(b.createElement)(He,{backgroundColor:u,textColor:m})))}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(O.useSelect)((function(e){return!e("core/block-editor").getSettings().enableCustomLineHeight}));return!Object(c.hasBlockSupport)(t,"__experimentalLineHeight")||n}var dt=n(153),ft=n.n(dt),pt=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function mt(e,t){var n=Object(p.find)(e,{size:t});return n||{size:t}}function vt(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Ot=Object(O.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(g.FontSizePicker);function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ht(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=kt(),r=n.length;return!Object(c.hasBlockSupport)(t,"__experimentalFontSize")||!r}var Et=Object(m.createHigherOrderComponent)((function(e){return function(t){var n,r=kt(),o=t.name,i=t.attributes,a=i.fontSize,l=i.style,s=t.wrapperProps,u=ht({},t);if(Object(c.hasBlockSupport)(o,"__experimentalFontSize")&&a&&!(null==l||null===(n=l.typography)||void 0===n?void 0:n.fontSize)){var d,f=pt(r,a,null==l||null===(d=l.typography)||void 0===d?void 0:d.fontSize).size;u.wrapperProps=ht({},s,{style:ht({fontSize:f},null==s?void 0:s.style)})}return Object(b.createElement)(e,u)}}),"withFontSizeInlineStyles");Object(v.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(c.hasBlockSupport)(e,"__experimentalFontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",jt),Object(v.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(c.hasBlockSupport)(e,"__experimentalFontSize"))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),jt(r,e,n)},e})),Object(v.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",Et);var Ct=["__experimentalLineHeight","__experimentalFontSize"];function St(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_t(e),bt(e)];return t.filter(Boolean).length===t.length}(e),n=wt(e.name);return t||!n?null:Object(b.createElement)(We,null,Object(b.createElement)(g.PanelBody,{title:Object(I.__)("Typography")},Object(b.createElement)(yt,e),Object(b.createElement)(ut,e)))}var wt=function(e){return"web"===b.Platform.OS&&Ct.some((function(t){return Object(c.hasBlockSupport)(e,t)}))};function It(e){var t=e.units,n=Object(ke.a)(e,["units"]),r=Bt(t);return Object(b.createElement)(g.__experimentalUnitControl,Object(s.a)({units:r},n))}function Bt(e){var t=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().enableCustomUnits}),[]),n=!t;return Array.isArray(t)?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(t,e):!n&&e}function xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=At({},Nt,{lineHeight:["typography","lineHeight"],fontSize:["typography","fontSize"],background:["color","gradient"],backgroundColor:["color","background"],color:["color","text"],"--wp--style--color--link":["color","link"]}),n={};return Object.entries(t).forEach((function(t){var r=Object(se.a)(t),o=r[0],c=r.slice(1),i=Object(le.a)(c,1)[0];Object(p.has)(e,i)&&(n[o]=Ft(Object(p.get)(e,i)))})),n}(r),{},e.style),e}var Ht=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=Object(c.hasBlockSupport)(n,"__experimentalPadding");return[Object(b.createElement)(St,Object(s.a)({key:"typography"},t)),Object(b.createElement)(ot,Object(s.a)({key:"colors"},t)),Object(b.createElement)(e,Object(s.a)({key:"edit"},t)),r&&Object(b.createElement)(Rt,{key:"spacing"},Object(b.createElement)(Tt,t))]}}),"withToolbarControls");Object(v.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return Lt(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Vt),Object(v.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!Lt(e))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),Vt(r,e,n)},e})),Object(v.addFilter)("editor.BlockEdit","core/style/with-block-controls",Ht);var zt=n(20),Ut=n(19),Gt=n(12),Kt=n(23),Wt=n(16),qt=n(22);function $t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(I.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(I.__)("Color settings"):n,o=t.colorPanelProps,c=t.contrastCheckers,i=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,s=a.backgroundColorTargetRef,d=void 0===s?l:s,m=a.textColorTargetRef,v=void 0===m?l:m,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],h=k(),j=h.clientId,y=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(j),settingsColors:r&&!0!==r?r:On}}),[j]),_=y.attributes,E=y.settingsColors,C=Object(O.useDispatch)("core/block-editor"),S=C.updateBlockAttributes,w=Object(b.useCallback)((function(e){return S(j,e)}),[S,j]),B=Object(b.useMemo)((function(){return on()((function(e,t,n,r,o,c){return function(i){var a,l=i.children,s=i.className,d=void 0===s?"":s,m=i.style,v=void 0===m?{}:m,O={};r?O=Object(u.a)({},t,o):c&&(O=Object(u.a)({},t,c));var g={className:f()(d,(a={},Object(u.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(u.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||c),a)),style:fn({},O,{},v)};return Object(p.isFunction)(l)?l(g):b.Children.map(l,(function(e){return Object(b.cloneElement)(e,{className:f()(e.props.className,g.className),style:fn({},g.style,{},e.props.style||{})})}))}}),{maxSize:e.length})}),[e.length]),x=Object(b.useMemo)((function(){return on()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));w(Object(u.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),w(Object(u.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[w,e.length]),P=Object(b.useState)(),T=Object(le.a)(P,2),N=T[0],R=T[1],D=Object(b.useState)(),A=Object(le.a)(D,2),M=A[0],L=A[1];return Object(b.useEffect)((function(){if(c){var e,t=!1,n=!1,r=un(Object(p.castArray)(c));try{for(r.s();!(e=r.n()).done;){var o=e.value,i=o.backgroundColor,a=o.textColor;if(t||(t=!0===i),n||(n=!0===a),t&&n)break}}catch(e){r.e(e)}finally{r.f()}if(n&&L(mn(v.current).color),t){for(var l=d.current,s=mn(l).backgroundColor;"rgba(0, 0, 0, 0)"===s&&l.parentNode&&l.parentNode.nodeType===vn.ELEMENT_NODE;)l=l.parentNode,s=mn(l).backgroundColor;R(s)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(_[t.name]," | ").concat(_[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(ae.a)(g))),Object(b.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=fn({},n,{color:_[n.name]}),o=r.name,c=r.property,i=void 0===c?o:c,a=r.className,l=r.panelLabel,s=void 0===l?n.label||gn[o]||Object(p.startCase)(o):l,u=r.componentName,b=void 0===u?Object(p.startCase)(o).replace(/\s/g,""):u,d=r.color,f=void 0===d?n.color:d,m=r.colors,v=void 0===m?E:m,O=_[Object(p.camelCase)("custom ".concat(o))],g=O?void 0:v.find((function(e){return e.slug===f}));return e[b]=B(o,i,a,f,g&&g.color,O),e[b].displayName=b,e[b].color=O||g&&g.color,e[b].slug=f,e[b].setColor=x(o,v),t[b]={value:g?g.color:_[Object(p.camelCase)("custom ".concat(o))],onChange:e[b].setColor,label:s,colors:v},v||delete t[b].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:c,detectedBackgroundColor:N,detectedColor:M,panelChildren:i};return fn({},n,{ColorPanel:Object(b.createElement)(sn,a),InspectorControlsColorPanel:Object(b.createElement)(hn,a)})}),[_,w,M,N].concat(Object(ae.a)(g)))}function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},Dn=function(e,t){return Object(p.differenceWith)(e,Rn(t),(function(e,t){return t.includes(e)}))},An=function(e,t,n,r){var o=Rn(r);return 0===o.length?e:Mn(e,r,{getCategory:function(e){var n;return null===(n=Object(p.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:function(e){var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title},getVariations:function(e){return(e.variations||[]).map((function(e){return e.title}))}}).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,Rn(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Rn(t);if(0===r.length)return e;var o=function(e){return e.title},c=function(e){return e.keywords||[]},i=function(e){return e.category},a=function(){return null},l=function(){return[]},s=n.getTitle,u=void 0===s?o:s,b=n.getKeywords,d=void 0===b?c:b,f=n.getCategory,p=void 0===f?i:f,m=n.getCollection,v=void 0===m?a:m,O=n.getVariations,g=void 0===O?l:O;return e.filter((function(e){var t=u(e),n=d(e),o=p(e),c=v(e),i=g(e),a=[t].concat(Object(ae.a)(n),[o,c],Object(ae.a)(i)).join(" ");return 0===Dn(r,a).length}))},Ln=function(e,t){var n=Object(O.useSelect)((function(t){var n=t("core/block-editor"),r=n.getInserterItems,o=n.getSettings,c=t("core/blocks"),i=c.getCategories,a=c.getCollections,l=o().__experimentalFetchReusableBlocks;return{categories:i(),collections:a(),items:r(e),fetchReusableBlocks:l}}),[e]),r=n.categories,o=n.collections,i=n.items,a=n.fetchReusableBlocks;Object(b.useEffect)((function(){a&&a()}),[]);return[i,r,o,function(e){var n=e.name,r=e.initialAttributes,o=e.innerBlocks,i=Object(c.createBlock)(n,r,function e(t){return Object(p.map)(t,(function(t){var n=Object(le.a)(t,3),r=n[0],o=n[1],i=n[2],a=void 0===i?[]:i;return Object(c.createBlock)(r,o,e(a))}))}(o));t(i)}]};function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vn(e){for(var t=1;t1)return function(e,t,n,r,o){var c=t+1;if(o<0&&n)return Object(I.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(I.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(I.sprintf)(Object(I._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,c);if(o>0&&!r)return Object(I.sprintf)(Object(I._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,c)}(e,n,r,o,c);if(r&&o)return Object(I.sprintf)(Object(I.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!o){var u=s("down");if("down"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(c>0&&o){var b=s("down");if("down"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!r){var d=s("up");if("up"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(c<0&&r){var f=s("up");if("up"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var xr=function(e,t,n){return"up"===e?"horizontal"===t?n?Cr.a:Sr.a:wr.a:"down"===e?"horizontal"===t?n?Sr.a:Cr.a:Ir.a:null},Pr=function(e,t,n){return"up"===e?"horizontal"===t?n?Object(I.__)("Move right"):Object(I.__)("Move left"):Object(I.__)("Move up"):"down"===e?"horizontal"===t?n?Object(I.__)("Move left"):Object(I.__)("Move right"):Object(I.__)("Move down"):null},Tr=Object(b.forwardRef)((function(e,t){var n=e.clientIds,r=e.direction,o=e.orientation,i=Object(ke.a)(e,["clientIds","direction","orientation"]),a=Object(m.useInstanceId)(Tr),l=Object(p.castArray)(n).length,u=Object(O.useSelect)((function(e){var t=e("core/block-editor"),i=t.getBlockIndex,a=t.getBlockRootClientId,l=t.getBlockOrder,s=t.getBlock,u=t.getSettings,b=t.getBlockListSettings,d=Object(p.castArray)(n),f=Object(p.first)(d),m=a(f),v=i(f,m),O=i(Object(p.last)(d),m),g=l(m),h=s(f),j=0===v,k=O===g.length-1,y=(b(m)||{}).orientation;return{blockType:h?Object(c.getBlockType)(h.name):null,isDisabled:"up"===r?j:k,rootClientId:m,firstIndex:v,isFirst:j,isLast:k,isRTL:u().isRTL,orientation:o||y}}),[n,r]),d=u.blockType,v=u.isDisabled,h=u.rootClientId,j=u.isFirst,k=u.isLast,y=u.firstIndex,_=u.isRTL,E=u.orientation,C=void 0===E?"vertical":E,S=Object(O.useDispatch)("core/block-editor"),w=S.moveBlocksDown,I=S.moveBlocksUp,B="up"===r?I:w,x="block-editor-block-mover-button__description-".concat(a);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.Button,Object(s.a)({ref:t,className:f()("block-editor-block-mover-button","is-".concat(r,"-button")),icon:xr(r,C,_),label:Pr(r,C,_),"aria-describedby":x},i,{onClick:v?null:function(e){B(n,h),i.onClick&&i.onClick(e)},"aria-disabled":v})),Object(b.createElement)("span",{id:x,className:"block-editor-block-mover-button__description"},Br(l,d&&d.title,y,j,k,"up"===r?-1:1,C,_)))})),Nr=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Tr,Object(s.a)({direction:"up",ref:t},e))})),Rr=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Tr,Object(s.a)({direction:"down",ref:t},e))}));function Dr(e){var t=e.level,n=e.isLastRow,r=e.terminatedLevels;return Object(p.times)(t-1,(function(e){var o=e+2,c=o===t;return Object(b.createElement)("div",{key:e,"aria-hidden":"true",className:f()("block-editor-block-navigator-descender-line",{"has-item":c,"is-last-row":n,"is-terminated":r.includes(o)})})}))}var Ar=Object(b.createContext)({__experimentalFeatures:!1}),Mr=function(){return Object(b.useContext)(Ar)},Lr=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var Fr=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(b.createElement)("div",{className:f()(t,"block-editor-warning")},Object(b.createElement)("div",{className:"block-editor-warning__contents"},Object(b.createElement)("p",{className:"block-editor-warning__message"},r),(b.Children.count(n)>0||o)&&Object(b.createElement)("div",{className:"block-editor-warning__actions"},b.Children.count(n)>0&&b.Children.map(n,(function(e,t){return Object(b.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})),o&&Object(b.createElement)(g.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.Button,{icon:Lr,label:Object(I.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(b.createElement)(g.MenuGroup,null,o.map((function(e,t){return Object(b.createElement)(g.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))))},Vr=n(264),Hr=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,c=e.actionText,i=e.className;return Object(b.createElement)("div",{className:i},Object(b.createElement)("div",{className:"block-editor-block-compare__content"},Object(b.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(b.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(b.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(b.createElement)("div",{className:"block-editor-block-compare__action"},Object(b.createElement)(g.Button,{isSecondary:!0,tabIndex:"0",onClick:o},c)))};var zr=function(e){var t,n,r,o,i=e.block,a=e.onKeep,l=e.onConvert,s=e.convertor,u=e.convertButtonText,d={rawContent:i.originalContent,renderedContent:Object(c.getSaveElement)(i.name,i.attributes)},m=(t=s(i),n=Object(p.castArray)(t),r=n.map((function(e){return Object(c.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),o=n.map((function(e){return Object(c.getSaveElement)(e.name,e.attributes,e.innerBlocks)})),{rawContent:r.join(""),renderedContent:o}),v=function(e,t){return Object(Vr.diffChars)(e,t).map((function(e,t){var n=f()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(b.createElement)("span",{key:t,className:n},e.value)}))}(d.rawContent,m.rawContent);return Object(b.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(b.createElement)(Hr,{title:Object(I.__)("Current"),className:"block-editor-block-compare__current",action:a,actionText:Object(I.__)("Convert to HTML"),rawContent:d.rawContent,renderedContent:d.renderedContent}),Object(b.createElement)(Hr,{title:Object(I.__)("After Conversion"),className:"block-editor-block-compare__converted",action:l,actionText:u,rawContent:v,renderedContent:m.renderedContent}))};function Ur(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Gr=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Ur()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(e){var t;return Object(zt.a)(this,r),(t=n.call(this,e)).state={compare:!1},t.onCompare=t.onCompare.bind(Object(Gt.a)(t)),t.onCompareClose=t.onCompareClose.bind(Object(Gt.a)(t)),t}return Object(Ut.a)(r,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!Object(c.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(I.__)("Convert to Classic Block"),onClick:r},{title:Object(I.__)("Attempt Block Recovery"),onClick:o}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Fr,{actions:[Object(b.createElement)(g.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(I._x)("Resolve","imperative verb")),a&&Object(b.createElement)(g.Button,{key:"edit",onClick:t,isPrimary:!0},Object(I.__)("Convert to HTML"))],secondaryActions:s},Object(I.__)("This block contains unexpected or invalid content.")),l&&Object(b.createElement)(g.Modal,{title:Object(I.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(b.createElement)(zr,{block:i,onKeep:t,onConvert:n,convertor:Kr,convertButtonText:Object(I.__)("Convert to Blocks")})))}}]),r}(b.Component),Kr=function(e){return Object(c.rawHandler)({HTML:e.originalContent})},Wr=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(O.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(c.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(c.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,Kr(n))},attemptBlockRecovery:function(){var e,t,o,i;r(n.clientId,(t=(e=n).name,o=e.attributes,i=e.innerBlocks,Object(c.createBlock)(t,o,i)))}}}))])(Gr),qr=Object(b.createElement)(Fr,{className:"block-editor-block-list__block-crash-warning"},Object(I.__)("This block has encountered an error and cannot be previewed.")),$r=function(){return qr};function Yr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Xr=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Yr()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={hasError:!1},e}return Object(Ut.a)(r,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),r}(b.Component),Qr=n(97),Zr=n.n(Qr);var Jr=function(e){var t=e.clientId,n=Object(b.useState)(""),r=Object(le.a)(n,2),o=r[0],i=r[1],a=Object(O.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]),l=Object(O.useDispatch)("core/block-editor").updateBlock;return Object(b.useEffect)((function(){i(Object(c.getBlockContent)(a))}),[a]),Object(b.createElement)(Zr.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(c.getBlockType)(a.name),n=Object(c.getBlockAttributes)(e,o,a.attributes),r=o||Object(c.getSaveContent)(e,n),s=!o||Object(c.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||i({content:r})},onChange:function(e){return i(e.target.value)}})};function eo(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function to(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:c(),getBlockParents:i,selectedBlockClientId:a()}}function no(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var ro=n(290),oo=[Object(b.createInterpolateElement)(Object(I.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(b.createElement)("kbd",null)}),Object(b.createInterpolateElement)(Object(I.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(b.createElement)("kbd",null)}),Object(b.createInterpolateElement)(Object(I.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(b.createElement)("kbd",null)}),Object(I.__)("Drag files into the editor to automatically insert media blocks."),Object(I.__)("Change a block's type by pressing the block icon on the toolbar.")];var co=function(){var e=Object(b.useState)(Math.floor(Math.random()*oo.length)),t=Object(le.a)(e,1)[0];return Object(b.createElement)(g.Tip,null,oo[t])},io=n(177),ao=n(137),lo=n(291);var so=function e(t){var n=t.className,r=t.onChange,o=t.value,c=Object(m.useInstanceId)(e),i=Object(b.useRef)();return Object(b.createElement)("div",{className:f()("block-editor-inserter__search",n)},Object(b.createElement)(g.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-".concat(c)},Object(I.__)("Search for a block")),Object(b.createElement)("input",{ref:i,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-".concat(c),type:"search",placeholder:Object(I.__)("Search for a block"),autoFocus:!0,onChange:function(e){return r(e.target.value)},autoComplete:"off",value:o||""}),Object(b.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(b.createElement)(g.Button,{icon:io.a,label:Object(I.__)("Reset search"),onClick:function(){r(""),i.current.focus()}}),!o&&Object(b.createElement)(ao.a,{icon:lo.a})))};var uo=function(e){var t=e.blockType;return Object(b.createElement)("div",{className:"block-editor-block-card"},Object(b.createElement)(Un,{icon:t.icon,showColors:!0}),Object(b.createElement)("div",{className:"block-editor-block-card__content"},Object(b.createElement)("h2",{className:"block-editor-block-card__title"},t.title),Object(b.createElement)("span",{className:"block-editor-block-card__description"},t.description)))},bo={insertUsage:{}},fo={alignWide:!1,colors:[{name:Object(I.__)("Black"),slug:"black",color:"#000000"},{name:Object(I.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(I.__)("White"),slug:"white",color:"#ffffff"},{name:Object(I.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(I.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(I.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(I.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(I.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(I.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(I.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(I.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(I.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(I._x)("Small","font size name"),size:13,slug:"small"},{name:Object(I._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(I._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(I._x)("Large","font size name"),size:36,slug:"large"},{name:Object(I._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:Object(I.__)("Thumbnail")},{slug:"medium",name:Object(I.__)("Medium")},{slug:"large",name:Object(I.__)("Large")},{slug:"full",name:Object(I.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalEnableLegacyWidgetBlock:!1,__experimentalBlockDirectory:!1,__experimentalEnableFullSiteEditing:!1,__experimentalEnableFullSiteEditingDemo:!1,__mobileEnablePageTemplates:!1,gradients:[{name:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(I.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function po(e,t,n){return[].concat(Object(ae.a)(e.slice(0,n)),Object(ae.a)(Object(p.castArray)(t)),Object(ae.a)(e.slice(n)))}function mo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(ae.a)(e);return o.splice(t,r),po(o,e.slice(t,t+r),n)}function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(u.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,go(o,r))})),n}function ho(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(u.a)({},n.clientId,t),ho(n.innerBlocks,n.clientId))}),{})}function jo(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(ae.a)(e);r.length;){var o=r.shift(),c=o.innerBlocks,i=Object(ke.a)(o,["innerBlocks"]);r.push.apply(r,Object(ae.a)(c)),n[i.clientId]=t(i)}return n}function ko(e){return jo(e,(function(e){return Object(p.omit)(e,"attributes")}))}function yo(e){return jo(e,(function(e){return e.attributes}))}function _o(e,t){return e===t?Oo({},e):t}function Eo(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(p.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Co=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var So=Object(p.flow)(O.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Oo({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Oo({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r&&!t.controlledInnerBlocks[r]);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(jo(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var c=Object(p.keys)(jo(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&c.push(n.rootClientId),r.cache=Oo({},r.cache,{},Co(o(c)));break;case"UPDATE_BLOCK":r.cache=Oo({},r.cache,{},Co(o([n.clientId])));break;case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Oo({},r.cache,{},Co(o(n.clientIds)));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var i=Co(o(n.replacedClientIds));r.cache=Oo({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(i,n.replacedClientIds),{},Co(Object(p.keys)(jo(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Oo({},Object(p.omit)(r.cache,n.removedClientIds),{},Co(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCKS_TO_POSITION":var a=Object(ae.a)(n.clientIds);n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Oo({},r.cache,{},Co(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Oo({},r.cache,{},Co(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Oo({},r.cache,{},Co(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var r=e,o=0;o1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(p.reduce)(t[n],(function(n,o){return r[o]?n:[].concat(Object(ae.a)(n),[o],Object(ae.a)(e(t,o)))}),[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(p.pickBy)(t.controlledInnerBlocks));return Oo({},t,{byClientId:Oo({},Object(p.omit)(t.byClientId,r),{},ko(n.blocks)),attributes:Oo({},Object(p.omit)(t.attributes,r),{},yo(n.blocks)),order:Oo({},Object(p.omit)(t.order,r),{},Object(p.omit)(go(n.blocks),o)),parents:Oo({},Object(p.omit)(t.parents,r),{},ho(n.blocks)),cache:Oo({},Object(p.omit)(t.cache,r),{},Object(p.omit)(Object(p.mapValues)(jo(n.blocks),(function(){return{}})),o))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var c=e(r,o),i="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===c&&!i){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Oo({},c,{isPersistentChange:a})}return c=Oo({},c,{isPersistentChange:i?!n:!Eo(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,c}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ko(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Oo({},e,{},ko(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Oo({},e,Object(u.a)({},t.clientId,Oo({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Oo({},Object(p.omit)(e,t.replacedClientIds),{},ko(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return yo(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Oo({},e,{},yo(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Oo({},e,Object(u.a)({},t.clientId,Oo({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(t.clientIds.every((function(t){return!e[t]})))return e;var n=t.clientIds.reduce((function(n,r){return Oo({},n,Object(u.a)({},r,Object(p.reduce)(t.attributes,(function(t,n,o){return n!==t[o]&&((t=_o(e[r],t))[o]=n),t}),e[r])))}),{});return t.clientIds.every((function(t){return n[t]===e[t]}))?e:Oo({},e,{},n);case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Oo({},Object(p.omit)(e,t.replacedClientIds),{},yo(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return go(t.blocks);case"RECEIVE_BLOCKS":return Oo({},e,{},Object(p.omit)(go(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],c=go(t.blocks,r),i=t.index,a=void 0===i?o.length:i;return Oo({},e,{},c,Object(u.a)({},r,po(o,c[r],a)));case"MOVE_BLOCKS_TO_POSITION":var l,s=t.fromRootClientId,b=void 0===s?"":s,d=t.toRootClientId,f=void 0===d?"":d,m=t.clientIds,v=t.index,O=void 0===v?e[f].length:v;if(b===f){var g=e[f],h=g.indexOf(m[0]);return Oo({},e,Object(u.a)({},f,mo(e[f],h,O,m.length)))}return Oo({},e,(l={},Object(u.a)(l,b,p.without.apply(void 0,[e[b]].concat(Object(ae.a)(m)))),Object(u.a)(l,f,po(e[f],m,O)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var C=E.indexOf(_);return Oo({},e,Object(u.a)({},y,mo(E,C,C-1,j.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,B=Object(p.first)(S),x=Object(p.last)(S),P=e[I];if(!P.length||x===Object(p.last)(P))return e;var T=P.indexOf(B);return Oo({},e,Object(u.a)({},I,mo(P,T,T+1,S.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var R=go(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Oo({},e,{},Object(p.omit)(R,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(ae.a)(e),Object(ae.a)(R[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(ae.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ho(t.blocks);case"RECEIVE_BLOCKS":return Oo({},e,{},ho(t.blocks));case"INSERT_BLOCKS":return Oo({},e,{},ho(t.blocks,t.rootClientId||""));case"MOVE_BLOCKS_TO_POSITION":return Oo({},e,{},t.clientIds.reduce((function(e,n){return e[n]=t.toRootClientId||"",e}),{}));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Oo({},Object(p.omit)(e,t.replacedClientIds),{},ho(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.clientId,o=t.hasControlledInnerBlocks;return"SET_HAS_CONTROLLED_INNER_BLOCKS"===n?Oo({},e,Object(u.a)({},r,o)):e}});function wo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;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?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];if(!r)return{};if(r.clientId===e.clientId)return e;var o={clientId:r.clientId};return"number"==typeof t.initialPosition&&(o.initialPosition=t.initialPosition),o}return e}var Io=Object(O.combineReducers)({blocks:So,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return wo(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return wo(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"REPLACE_BLOCKS"===t.type&&"number"==typeof t.initialPosition||"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type||"START_TYPING"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Oo({},e,Object(u.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Oo({},e,Object(u.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Oo({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Oo({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(c.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Oo({},e,{insertUsage:Oo({},e.insertUsage,Object(u.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(u.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((function(e,n){return Oo({},e,Object(u.a)({},n,t.attributes))}),{})}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":var n=t.clientId;return t.isHighlighted?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}}),Bo=n(110),xo=n.n(Bo),Po=n(263),To=n.n(Po),No=n(40);function Ro(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function Mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function ac(e){var t;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ro("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,ic(t,-1);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),Ho)}function lc(e){var t;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ro("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,ic(t);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),zo)}function sc(){return{type:"START_MULTI_SELECT"}}function uc(){return{type:"STOP_MULTI_SELECT"}}function bc(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function dc(){return{type:"CLEAR_SELECTED_BLOCK"}}function fc(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function pc(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!Object(c.hasBlockSupport)(t,"defaultStylePicker",!0))return e;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(null==r?void 0:r.includes("is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,a=n[t];return Fo({},e,{attributes:Fo({},i,{className:"".concat(r||""," is-style-").concat(a).trim()})})}))}function mc(e,t,n,r){var o,c,i;return mr.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(p.castArray)(e),a.t0=pc,a.t1=Object(p.castArray)(t),a.next=5,Ro("core/block-editor","getSettings");case 5:return a.t2=a.sent,t=(0,a.t0)(a.t1,a.t2),a.next=9,Ro("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:o=a.sent,c=0;case 11:if(!(c1&&void 0!==i[1]?i[1]:"",n=i.length>2&&void 0!==i[2]?i[2]:"",r=i.length>3?i[3]:void 0,a.next=5,Ro("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=a.sent)){a.next=8;break}return a.abrupt("return");case 8:if(c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:r},t!==n){a.next=13;break}return a.next=12,c;case 12:return a.abrupt("return");case 13:if("insert"!==o){a.next=15;break}return a.abrupt("return");case 15:return a.next=17,Ro("core/block-editor","canInsertBlocks",e,n);case 17:if(!a.sent){a.next=21;break}return a.next=21,c;case 21:case"end":return a.stop()}}),Go)}function kc(e){var t,n,r,o=arguments;return mr.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:"",n=o.length>2&&void 0!==o[2]?o[2]:"",r=o.length>3?o[3]:void 0,c.next=5,jc([e],t,n,r);case 5:case"end":return c.stop()}}),Ko)}function yc(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return _c([e],t,n,r)}function _c(e,t,n){var r,o,c,i,a,l=arguments;return mr.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return r=!(l.length>3&&void 0!==l[3])||l[3],s.t0=pc,s.t1=Object(p.castArray)(e),s.next=5,Ro("core/block-editor","getSettings");case 5:s.t2=s.sent,e=(0,s.t0)(s.t1,s.t2),o=[],c=Ao(e),s.prev=9,c.s();case 11:if((i=c.n()).done){s.next=19;break}return a=i.value,s.next=15,Ro("core/block-editor","canInsertBlockType",a.name,n);case 15:s.sent&&o.push(a);case 17:s.next=11;break;case 19:s.next=24;break;case 21:s.prev=21,s.t3=s.catch(9),c.e(s.t3);case 24:return s.prev=24,c.f(),s.finish(24);case 27:if(!o.length){s.next=29;break}return s.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 29:case"end":return s.stop()}}),Wo,null,[[9,21,24,27]])}function Ec(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Cc(){return{type:"HIDE_INSERTION_POINT"}}function Sc(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function wc(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ic(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Bc(e){var t,n,r,o,c=arguments;return mr.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=!(c.length>1&&void 0!==c[1])||c[1],e&&e.length){i.next=3;break}return i.abrupt("return");case 3:return e=Object(p.castArray)(e),i.next=6,Ro("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=i.sent,i.next=9,Ro("core/block-editor","getTemplateLock",n);case 9:if(!i.sent){i.next=12;break}return i.abrupt("return");case 12:if(!t){i.next=18;break}return i.next=15,ac(e[0]);case 15:r=i.sent,i.next=21;break;case 18:return i.next=20,Ro("core/block-editor","getPreviousBlockClientId",e[0]);case 20:r=i.sent;case 21:return i.next=23,{type:"REMOVE_BLOCKS",clientIds:e};case 23:return i.delegateYield(ec(),"t0",24);case 24:return o=i.t0,i.abrupt("return",[r||o]);case 26:case"end":return i.stop()}}),qo)}function xc(e,t){return Bc([e],t)}function Pc(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Tc(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Nc(){return{type:"START_TYPING"}}function Rc(){return{type:"STOP_TYPING"}}function Dc(){return{type:"START_DRAGGING_BLOCKS"}}function Ac(){return{type:"STOP_DRAGGING_BLOCKS"}}function Mc(){return{type:"ENTER_FORMATTED_TEXT"}}function Lc(){return{type:"EXIT_FORMATTED_TEXT"}}function Fc(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Vc(e,t,n){var r=Object(c.getDefaultBlockName)();if(r)return yc(Object(c.createBlock)(r,e),n,t)}function Hc(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function zc(e){return{type:"UPDATE_SETTINGS",settings:e}}function Uc(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Gc(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Kc(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function Wc(){return{type:"MARK_AUTOMATIC_CHANGE"}}function qc(){var e,t=arguments;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(Fe.speak)(Object(I.__)("You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.")):Object(Fe.speak)(Object(I.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),$o)}function $c(){var e,t=arguments;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:null,n.next=3,{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e};case 3:e&&Object(Fe.speak)(Object(I.__)("Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block."));case 4:case"end":return n.stop()}}),Yo)}function Yc(e){var t,n,r,o,i,a,l=arguments;return mr.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(t=!(l.length>1&&void 0!==l[1])||l[1],e||e.length){s.next=3;break}return s.abrupt("return");case 3:return s.next=5,Ro("core/block-editor","getBlocksByClientId",e);case 5:return n=s.sent,s.next=8,Ro("core/block-editor","getBlockRootClientId",e[0]);case 8:if(r=s.sent,!Object(p.some)(n,(function(e){return!e}))){s.next=11;break}return s.abrupt("return");case 11:if(o=n.map((function(e){return e.name})),!Object(p.some)(o,(function(e){return!Object(c.hasBlockSupport)(e,"multiple",!0)}))){s.next=14;break}return s.abrupt("return");case 14:return s.next=16,Ro("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),r);case 16:return i=s.sent,a=n.map((function(e){return Object(c.cloneBlock)(e)})),s.next=20,_c(a,i+1,r,t);case 20:if(!(a.length>1&&t)){s.next=23;break}return s.next=23,bc(Object(p.first)(a).clientId,Object(p.last)(a).clientId);case 23:return s.abrupt("return",a.map((function(e){return e.clientId})));case 24:case"end":return s.stop()}}),Xo)}function Xc(e){var t,n;return mr.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Ro("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Ro("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Ro("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Vc({},t,n);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),Qo)}function Qc(e){var t,n;return mr.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Ro("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Ro("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Ro("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Vc({},t,n+1);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),Zo)}function Zc(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function Jc(e){return mr.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zc(e,!0);case 2:return t.next=4,{type:"SLEEP",duration:150};case 4:return t.next=6,Zc(e,!1);case 6:case"end":return t.stop()}}),Jo)}function ei(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}var ti=n(42);function ni(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ri(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),wi=Object(ti.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Si(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:ii(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Ii(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Bi(e,t){for(var n,r=_i(e),o=[].concat(Object(ae.a)(Si(e,t)),[t]),c=[].concat(Object(ae.a)(Si(e,r)),[r]),i=Math.min(o.length,c.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=_i(e)),void 0===t&&(t=n<0?Mi(e):Li(e)),!t)return null;var r=Ci(e,t);if(null===r)return null;var o=e.blocks.order,c=o[r],i=c.indexOf(t),a=i+1*n;return a<0||a===c.length?null:c[a]}function Pi(e,t){return xi(e,t,-1)}function Ti(e,t){return xi(e,t,1)}function Ni(e){return e.initialPosition}var Ri=Object(ti.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return ci;if(t.clientId===n.clientId)return[t.clientId];var r=Ci(e,t.clientId);if(null===r)return ci;var o=Gi(e,r),c=o.indexOf(t.clientId),i=o.indexOf(n.clientId);return c>i?o.slice(i,c+1):o.slice(c,i+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Di(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?ci:Ri(e)}var Ai=Object(ti.a)((function(e){var t=Di(e);return t.length?t.map((function(t){return si(e,t)})):ci}),(function(e){return[].concat(Object(ae.a)(Ri.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Mi(e){return Object(p.first)(Di(e))||null}function Li(e){return Object(p.last)(Di(e))||null}function Fi(e,t){return Mi(e)===t}function Vi(e,t){return-1!==Di(e).indexOf(t)}var Hi=Object(ti.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Vi(e,n=Ci(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function zi(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function Ui(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function Gi(e,t){return e.blocks.order[t||""]||ci}function Ki(e,t,n){return Gi(e,n).indexOf(t)}function Wi(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function qi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(Gi(e,t),(function(t){return Wi(e,t)||Vi(e,t)||n&&qi(e,t,n)}))}function $i(e,t){if(!t)return!1;var n=Di(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n},o=Object(c.getBlockType)(t);if(!o)return!1;var i=va(e),a=i.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!ia(e,n);if(s)return!1;var u=ma(e,n),b=Object(p.get)(u,["allowedBlocks"]),d=r(b,t),f=o.parent,m=ii(e,n),v=r(f,m);return null!==d&&null!==v?d||v:null!==d?d:null===v||v},la=Object(ti.a)(aa,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function sa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((function(t){return la(e,ii(e,t),n)}))}function ua(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var ba=function(e,t,n){return!!Object(c.hasBlockSupport)(t,"inserter",!0)&&aa(e,t.name,n)},da=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=function(t){var r=t.name,o=!1;Object(c.hasBlockSupport)(t.name,"multiple",!0)||(o=Object(p.some)(mi(e,fi(e)),{name:t.name}));var i=ua(e,r)||{},a=i.time,l=i.count,s=void 0===l?0:l,u=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:r,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:u,example:t.example,isDisabled:o,utility:1,frecency:n(a,s)}},o=function(t){var r,o="core/block/".concat(t.id),i=ha(e,t.id);1===i.length&&(r=Object(c.getBlockType)(i[0].name));var a=ua(e,o)||{},l=a.time,s=a.count,u=n(l,void 0===s?0:s);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:r?r.icon:oi,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:u}},i=Object(c.getBlockTypes)().filter((function(n){return ba(e,n,t)})).map(r),a=aa(e,"core/block",t)?ya(e).map(o):[];return[].concat(Object(ae.a)(i),Object(ae.a)(a))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,ya(e),Object(c.getBlockTypes)()]})),fa=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(c.getBlockTypes)(),(function(n){return ba(e,n,t)}));if(n)return!0;var r=aa(e,"core/block",t)&&ya(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,ya(e),Object(c.getBlockTypes)()]})),pa=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(c.getBlockTypes)(),(function(n){return ba(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(c.getBlockTypes)()]}));function ma(e,t){return e.blockListSettings[t]}function va(e){return e.settings}function Oa(e){return e.blocks.isPersistentChange}var ga=Object(ti.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),ha=Object(ti.a)((function(e,t){var n=Object(p.find)(ya(e),(function(e){return e.id===t}));return n?Object(c.parse)(n.content):null}),(function(e){return[ya(e)]}));function ja(e){return e.blocks.isIgnoredChange}function ka(e){return e.lastBlockAttributesChange}function ya(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],ci)}function _a(e){return e.isNavigationMode}function Ea(e){return e.hasBlockMovingClientId}function Ca(e){return!!e.automaticChangeStatus}function Sa(e,t){return e.highlightedBlock===t}function wa(e,t){return!!e.blocks.controlledInnerBlocks[t]}function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ba(e){for(var t=1;t=d&&u<=f?u:u6||j.length>6,P=Object(b.useMemo)((function(){return An(j,k,y,l)}),[l,j,k,y]),T=Object(b.useMemo)((function(){return Mn(S,l)}),[l,S]),N=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().__experimentalSetIsInserterOpened}),[]),R=Object(O.useSelect)((function(e){return e("core/block-editor").getPreviousBlockClientId(n)}),[n]);Object(b.useEffect)((function(){N&&N(!1)}),[N]);var D=Object(O.useDispatch)("core/block-editor").selectBlock;return Object(b.useEffect)((function(){if(l){var e=P.length+T.length,t=Object(I.sprintf)(Object(I._n)("%d result found.","%d results found.",e),e);c(t)}}),[l,c]),Object(b.createElement)("div",{className:"block-editor-inserter__quick-inserter",onKeyPress:Pl,onKeyDown:xl},x&&Object(b.createElement)(so,{value:l,onChange:function(e){s(e)}}),Object(b.createElement)(Tl,{blockTypes:P,blockPatterns:B?T:[],onSelectBlockPattern:w,onSelectBlockType:_,onHover:m}),N&&Object(b.createElement)(g.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:function(){D(R),N(!0)},"aria-label":Object(I.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(I.__)("Browse all")))}));function Rl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Dl=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,c=e.blockTitle,i=e.hasSingleBlockType,a=e.toggleProps;return t=i?Object(I.sprintf)(Object(I._x)("Add %s","directly add the only allowed block"),c):Object(I._x)("Add block","Generic label for block inserter button"),Object(b.createElement)(g.Button,Object(s.a)({icon:ro.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!i&&"true","aria-expanded":!i&&o,disabled:r},a))},Al=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Rl()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).onToggle=e.onToggle.bind(Object(Gt.a)(e)),e.renderToggle=e.renderToggle.bind(Object(Gt.a)(e)),e.renderContent=e.renderContent.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,c=r.blockTitle,i=r.hasSingleBlockType,a=r.toggleProps,l=r.hasItems,s=r.renderToggle,u=void 0===s?Dl:s;return u({onToggle:t,isOpen:n,disabled:o||!l,blockTitle:c,hasSingleBlockType:i,toggleProps:a})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,c=n.isAppender,i=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return n.__experimentalIsQuick?Object(b.createElement)(Nl,{rootClientId:r,clientId:o,isAppender:c,selectBlockOnInsert:a}):Object(b.createElement)(Bl,{onSelect:t,rootClientId:r,clientId:o,isAppender:c,showInserterHelpPanel:i,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock,o=e.__experimentalIsQuick;return n?this.renderToggle({onToggle:r}):Object(b.createElement)(g.Dropdown,{className:"block-editor-inserter",contentClassName:f()("block-editor-inserter__popover",{"is-quick":o}),position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(I.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),r}(b.Component),Ml=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),c=o.getBlockRootClientId,i=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").getBlockVariations,s=a(r=r||c(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),b=!1;return u&&(b=s[0]),{hasItems:i(r),hasSingleBlockType:u,blockTitle:b?b.title:"",allowedBlockType:b,rootClientId:r}})),Object(O.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,i=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(c.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,c=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=c();return!i&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(I.sprintf)(Object(I.__)("%s block added"),l.title);Object(Fe.speak)(u)}}}})),Object(m.ifCondition)((function(e){var t=e.hasItems,n=e.isAppender,r=e.rootClientId,o=e.clientId;return t||!n&&!r&&!o}))])(Al),Ll=Object(b.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,c=e.noCapture,i=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(O.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(O.useDispatch)("core/block-editor").setNavigationMode;return Object(b.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(c.current)c.current=null;else if(n){var e=qe(n);if(r){var t=hr.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(i)return void a.current.focus();s(!0);var l=hr.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),Fl=window,Vl=Fl.getSelection,Hl=Fl.getComputedStyle,zl=Object(p.overEvery)([hr.isTextField,hr.focus.tabbable.isTabbableIndex]);function Ul(e,t,n,r){var o,c=hr.focus.focusable.find(n);return t&&(c=Object(p.reverse)(c)),c=c.slice(c.indexOf(e)+1),r&&(o=e.getBoundingClientRect()),Object(p.find)(c,(function t(n,c,i){if(!hr.focus.tabbable.isTabbableIndex(n))return!1;if(r){var a=n.getBoundingClientRect();if(a.left>=o.right||a.right<=o.left)return!1}if(Object(hr.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return e.classList.contains("block-editor-block-list__layout")||!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var l,s=1;(l=i[c+s])&&n.contains(l);s++)if(t(l,c+s,i))return!1;return!0}))}function Gl(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,c=t.getPreviousBlockClientId,i=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,b=t.isNavigationMode,d=t.hasBlockMovingClientId,f=t.getBlockIndex,p=t.getBlockRootClientId,m=t.getClientIdsOfDescendants,v=t.canInsertBlockType,O=t.getBlockName,g=t.isSelectionEnabled,h=t.getBlockSelectionStart,j=t.isMultiSelecting,k=t.getSettings,y=n(),_=r(),E=o();return{selectedBlockClientId:y,selectionStartClientId:_,selectionBeforeEndClientId:c(E||y),selectionAfterEndClientId:i(E||y),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:b(),hasBlockMovingClientId:d,getBlockIndex:f,getBlockRootClientId:p,getClientIdsOfDescendants:m,canInsertBlockType:v,getBlockName:O,isSelectionEnabled:g(),blockSelectionStart:h(),isMultiSelecting:j(),keepCaretInsideBlock:k().keepCaretInsideBlock}}function Kl(e){var t=e.children,n=Object(b.useRef)(),r=Object(b.useRef)(),o=Object(b.useRef)(),c=Object(b.useRef)(),i=Object(b.useRef)(),a=Object(b.useRef)(),l=Object(b.useRef)(),s=Object(O.useSelect)(Gl,[]),u=s.selectedBlockClientId,d=s.selectionStartClientId,m=s.selectionBeforeEndClientId,v=s.selectionAfterEndClientId,g=s.selectedFirstClientId,h=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.hasBlockMovingClientId,E=s.isSelectionEnabled,C=s.blockSelectionStart,S=s.isMultiSelecting,w=s.getBlockIndex,B=s.getBlockRootClientId,x=s.getClientIdsOfDescendants,P=s.canInsertBlockType,T=s.getBlockName,N=s.keepCaretInsideBlock,R=Object(O.useDispatch)("core/block-editor"),D=R.multiSelect,A=R.selectBlock,M=R.clearSelectedBlock,L=R.setNavigationMode,F=R.setBlockMovingClientId,V=R.moveBlockToPosition,H=Object(b.useState)(!1),z=Object(le.a)(H,2),U=z[0],G=z[1];Object(b.useEffect)((function(){j&&!S&&c.current.focus()}),[j,S]);var K=f()("block-editor-writing-flow",{"is-navigate-mode":y,"is-block-moving-mode":!!_(),"can-insert-moving-block":U});return Object(b.createElement)("div",{className:K},Object(b.createElement)(Ll,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:c}),Object(b.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,b=t===it.UP,f=t===it.DOWN,O=t===it.LEFT,E=t===it.RIGHT,C=t===it.TAB,S=t===it.ESCAPE,I=t===it.ENTER,R=t===it.SPACE,H=b||O,z=O||E,U=b||f,K=z||U,W=e.shiftKey,q=W||e.ctrlKey||e.altKey||e.metaKey,$=U?hr.isVerticalEdge:hr.isHorizontalEdge;if(y){var Y,X=C&&W||b,Q=C&&!W||f,Z=O,J=E;if(X)Y=m;else if(Q)Y=v;else if(Z){var ee;Y=null!==(ee=B(u))&&void 0!==ee?ee:u}else if(J){var te;Y=null!==(te=x([u])[0])&&void 0!==te?te:u}var ne=_();if(ne&&Y&&G(P(T(ne),B(Y))),S&&ne&&(F(null),G(!1)),(I||R)&&ne){var re=B(ne),oe=B(u),ce=w(ne,re),ie=w(u,oe);cen}));if(r){var o=r.id.slice("block-".length);if(o){var a=r.getBoundingClientRect();e.clientX>a.right||e.clientX-1&&Object(Fe.speak)(k)}),[]);var j=Object(c.getBlockType)(a),k=Object(c.__experimentalGetAccessibleBlockLabel)(j,l,i+1,d),y=f()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!u});return Object(b.createElement)("div",Object(s.a)({className:y},r),Object(b.createElement)(g.Button,{ref:h,onClick:function(){return m(!1)},onKeyDown:function(e){var n=e.keyCode;n!==it.BACKSPACE&&n!==it.DELETE||(v(t),e.preventDefault())},label:k},Object(b.createElement)(Yn,{clientId:t})))};function Xl(e){var t,n,r,o=Object(b.useState)(!0),c=Object(le.a)(o,2),i=c[0],a=c[1],l=Object(b.useCallback)((function(){var t=hr.focus.tabbable.find(e.current);a(!t.some((function(e){return!("experimentalToolbarItem"in e.dataset)})))}),[]);return Object(b.useLayoutEffect)(l,[]),t=function(){var t=new window.MutationObserver(l);return t.observe(e.current,{childList:!0,subtree:!0}),function(){return t.disconnect()}},n=[i],r=Object(b.useRef)(!1),Object(b.useLayoutEffect)((function(){if(r.current)return t();r.current=!0}),n),i}function Ql(e,t,n){var r=Object(b.useState)(t),o=Object(le.a)(r,1)[0],c=Object(b.useCallback)((function(){var t,n,r;t=e.current,n=hr.focus.tabbable.find(t),(r=Object(le.a)(n,1)[0])&&r.focus()}),[]);Object(l.useShortcut)("core/block-editor/focus-toolbar",c,{bindGlobal:!0,eventName:"keydown"}),Object(b.useEffect)((function(){o&&c()}),[n,o,c])}var Zl=function(e){var t=e.children,n=e.focusOnMount,r=Object(ke.a)(e,["children","focusOnMount"]),o=Object(b.useRef)(),c=Xl(o);return Ql(o,n,c),c?Object(b.createElement)(g.Toolbar,Object(s.a)({__experimentalAccessibilityLabel:r["aria-label"],ref:o},r),t):Object(b.createElement)(g.NavigableMenu,Object(s.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};function Jl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var es=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Jl()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Gt.a)(e)),e.onBlur=e.onBlur.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.isFirst,n=e.isLast,r=e.clientIds,o=e.isLocked,c=e.isHidden,i=e.rootClientId,a=e.orientation,l=this.state.isFocused;return o||t&&n&&!i?null:Object(b.createElement)("div",{className:f()("block-editor-block-mover",{"is-visible":l||!c,"is-horizontal":"horizontal"===a})},Object(b.createElement)(g.ToolbarGroup,null,Object(b.createElement)(g.__experimentalToolbarItem,{onFocus:this.onFocus,onBlur:this.onBlur},(function(e){return Object(b.createElement)(Nr,Object(s.a)({clientIds:r},e))})),Object(b.createElement)(g.__experimentalToolbarItem,{onFocus:this.onFocus,onBlur:this.onBlur},(function(e){return Object(b.createElement)(Rr,Object(s.a)({clientIds:r},e))}))))}}]),r}(b.Component),ts=Object(O.withSelect)((function(e,t){var n,r=t.clientIds,o=e("core/block-editor"),i=o.getBlock,a=o.getBlockIndex,l=o.getBlockListSettings,s=o.getTemplateLock,u=o.getBlockOrder,b=o.getBlockRootClientId,d=Object(p.castArray)(r),f=Object(p.first)(d),m=i(f),v=b(Object(p.first)(d)),O=a(f,v),g=0===O,h=a(Object(p.last)(d),v)===u(v).length-1;return{blockType:m?Object(c.getBlockType)(m.name):null,isLocked:"all"===s(v),rootClientId:v,firstIndex:O,isFirst:g,isLast:h,orientation:null===(n=l(v))||void 0===n?void 0:n.orientation}}))(es);function ns(){var e=Object(O.useDispatch)("core/block-editor").selectBlock,t=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=(0,t.getBlockParents)((0,t.getSelectedBlockClientId)()),o=r[r.length-1],i=n(o);return{parentBlockType:Object(c.getBlockType)(i),firstParentClientId:o}}),[]),n=t.parentBlockType,r=t.firstParentClientId;return void 0!==r?Object(b.createElement)("div",{className:"block-editor-block-parent-selector",key:r},Object(b.createElement)(g.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:function(){return e(r)},label:Object(I.sprintf)(Object(I.__)("Select parent (%s)"),n.title),showTooltip:!0,icon:Object(b.createElement)(Un,{icon:n.icon})})):null}var rs=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}));function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cs(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function as(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}})),Object(O.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(c.switchToBlockType)(n,r))}}})))(ms),Os=n(44);function gs(){var e=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]).getBlockName,t=Object(O.useSelect)((function(e){return e("core/blocks")}),[]).getBlockType,n=Object(O.useDispatch)("core/notices").createSuccessNotice;return Object(b.useCallback)((function(r,o){var c="";if(1===o.length){var i=o[0],a=t(e(i)).title;c="copy"===r?Object(I.sprintf)(Object(I.__)('Copied "%s" to clipboard.'),a):Object(I.sprintf)(Object(I.__)('Moved "%s" to clipboard.'),a)}else c="copy"===r?Object(I.sprintf)(Object(I._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",o.length),o.length):Object(I.sprintf)(Object(I._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",o.length),o.length);n(c,{type:"snackbar"})}),[])}var hs=function(e){var t=e.children,n=Object(b.useRef)(),r=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=Object(O.useDispatch)("core/block-editor"),u=s.flashBlock,d=s.removeBlocks,f=s.replaceBlocks,m=gs(),v=l().__experimentalCanUserUseUnfilteredHTML,g=function(e){var t=i();if(0!==t.length){if(!a())if("copy"===e.type||"cut"===e.type?Object(hr.documentHasUncollapsedSelection)():Object(hr.documentHasSelection)())return;if(n.current.contains(e.target)){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){1===t.length&&u(t[0]),m(e.type,t);var r=o(t),l=Object(c.serialize)(r);e.clipboardData.setData("text/plain",l),e.clipboardData.setData("text/html",l)}if("cut"===e.type)d(t);else if("paste"===e.type){var s=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",c="";try{o=t.getData("text/plain"),c=t.getData("text/html")}catch(e){try{c=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,c=t.size;Object(p.find)(r,{name:n,type:o,size:c})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!c&&(c=r.map((function(e){return'')})).join(""),o=""),{html:c,plainText:o}}(e),b=s.plainText,O=s.html,g=Object(c.pasteHandler)({HTML:O,plainText:b,mode:"BLOCKS",canUserUseUnfilteredHTML:v});f(t,g,g.length-1,-1)}}}};return Object(b.createElement)("div",{ref:n,onCopy:g,onCut:g,onPaste:g},t)};function js(e){var t=e.clientIds,n=e.children,r=e.__experimentalUpdateSelection,o=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]),i=o.canInsertBlockType,a=o.getBlockRootClientId,l=o.getBlocksByClientId,s=o.getTemplateLock,u=Object(O.useSelect)((function(e){return e("core/blocks")}),[]),b=u.getDefaultBlockName,d=u.getGroupingBlockName,f=l(t),m=a(t[0]),v=Object(p.every)(f,(function(e){return!!e&&Object(c.hasBlockSupport)(e.name,"multiple",!0)&&i(e.name,m)})),g=i(b(),m),h=Object(O.useDispatch)("core/block-editor"),j=h.removeBlocks,k=h.replaceBlocks,y=h.duplicateBlocks,_=h.insertAfterBlock,E=h.insertBeforeBlock,C=h.flashBlock,S=h.setBlockMovingClientId,w=h.setNavigationMode,I=gs();return n({canDuplicate:v,canInsertDefaultBlock:g,isLocked:!!s(m),rootClientId:m,blocks:f,onDuplicate:function(){return y(t,r)},onRemove:function(){return j(t,r)},onInsertBefore:function(){E(Object(p.first)(Object(p.castArray)(t)))},onInsertAfter:function(){_(Object(p.last)(Object(p.castArray)(t)))},onMoveTo:function(){w(!0),S(t[0])},onGroup:function(){if(f.length){var e=d(),n=Object(c.switchToBlockType)(f,e);n&&k(t,n)}},onUngroup:function(){if(f.length){var e=f[0].innerBlocks;e.length&&k(t,e)}},onCopy:function(){var e=f.map((function(e){return e.clientId}));1===f.length&&C(e[0]),I("copy",e)}})}var ks=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:i(n),blockType:l?Object(c.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(O.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(c.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(I.__)("Edit as HTML"):Object(I.__)("Edit visually");return Object(b.createElement)(g.MenuItem,{onClick:r},!i&&s)}));function ys(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(I.__)("Convert to Blocks");return Object(b.createElement)(g.MenuItem,{onClick:n},!r&&o)}var _s=Object(m.compose)(Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(O.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(c.rawHandler)({HTML:Object(c.getBlockContent)(n)}))}}})))(ys),Es=Object(m.compose)(Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(c.getFreeformContentHandlerName)()}})),Object(O.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(c.rawHandler)({HTML:Object(c.serialize)(n)}))}}})))(ys),Cs=Object(g.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Ss=Cs.Fill,ws=Cs.Slot;Ss.Slot=ws;var Is=Ss;function Bs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xs(e){for(var t=1;tc){var a=Math.max(o-c-50,0),l=Math.max(i-c-50,0)/a;n.current=25*l}else if(e.clientY1,C=f()("block-editor-block-toolbar",y&&"is-showing-movers");return Object(b.createElement)("div",{className:C},Object(b.createElement)("div",Object(s.a)({className:"block-editor-block-toolbar__mover-switcher-container",ref:v},j),!E&&Object(b.createElement)("div",{className:"block-editor-block-toolbar__block-parent-selector-wrapper"},Object(b.createElement)(ns,{clientIds:r})),(_||E)&&Object(b.createElement)(Vs,{clientIds:r,cloneClassname:"block-editor-block-toolbar__drag-clone"},(function(e){var n=e.isDraggable,o=e.onDraggableStart,c=e.onDraggableEnd;return Object(b.createElement)("div",{className:"block-editor-block-toolbar__block-switcher-wrapper",draggable:n&&!t,onDragStart:o,onDragEnd:c},Object(b.createElement)(vs,{clientIds:r}),Object(b.createElement)(ts,{clientIds:r}))}))),_&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(w.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(b.createElement)(fr.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(b.createElement)(Ms,{clientIds:r}))}var Ws=function(e){var t=e.focusOnMount,n=Object(ke.a)(e,["focusOnMount"]),r=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getSelectedBlockClientIds,o=e("core/blocks").getBlockType,c=r()[0];return{blockType:c&&o(n(c))}}),[]).blockType;return r&&!Object(c.hasBlockSupport)(r,"__experimentalToolbar",!0)?null:Object(b.createElement)("div",{className:"block-editor-block-contextual-toolbar-wrapper"},Object(b.createElement)(Zl,Object(s.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(I.__)("Block tools")},n),Object(b.createElement)(Ks,null)))};function qs(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,c=t.isTyping,i=t.isCaretWithinFormattedText,a=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:c(),isCaretWithinFormattedText:i(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar,lastClientId:l()}}function $s(e){var t=e.clientId,n=e.rootClientId,r=e.isValid,o=e.isEmptyDefaultBlock,c=e.capturingClientId,i=Object(O.useSelect)(qs,[]),a=i.isNavigationMode,s=i.isMultiSelecting,u=i.isTyping,d=i.isCaretWithinFormattedText,p=i.hasMultiSelection,v=i.hasFixedToolbar,h=i.lastClientId,j=Object(m.useViewportMatch)("medium"),k=Object(b.useState)(!1),y=Object(le.a)(k,2),_=y[0],E=y[1],C=Object(b.useState)(!1),S=Object(le.a)(C,2),w=S[0],I=S[1],B=Object(b.useContext)(Zs),x=!a&&o&&r,P=a,T=!a&&!v&&j&&!x&&!s&&(!u||d),N=!(a||T||v||o);if(Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(b.useCallback)((function(){return E(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!N}),!(P||T||_||x))return null;var R=B[t];if(c&&(R=document.getElementById("block-"+c)),!R)return null;var D=R;if(p){var A=B[h];if(!A)return null;D={top:R,bottom:A}}var M=x?"top left right":"top right left";return Object(b.createElement)(g.Popover,{noArrow:!0,animate:!1,position:M,focusOnMount:!1,anchorRef:D,className:"block-editor-block-list__block-popover",__unstableSticky:!x,__unstableSlotName:"block-toolbar",__unstableBoundaryParent:!0,__unstableObserveElement:R,onBlur:function(){return E(!1)},shouldAnchorIncludePadding:!0},(T||_)&&Object(b.createElement)("div",{onFocus:function(){I(!0)},onBlur:function(){I(!1)},tabIndex:-1,className:f()("block-editor-block-list__block-popover-inserter",{"is-visible":w})},Object(b.createElement)(Ml,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(T||_)&&Object(b.createElement)(Ws,{focusOnMount:_}),P&&Object(b.createElement)(Yl,{clientId:t,rootClientId:n}),x&&Object(b.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(b.createElement)(Ml,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function Ys(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,i=t.__unstableGetBlockWithoutInnerBlocks,a=t.getBlockParents,l=t.__experimentalGetBlockListSettingsForBlocks,s=n()||r();if(s){var u,b=i(s)||{},d=b.name,f=b.attributes,m=void 0===f?{}:f,v=b.isValid,O=a(s),g=l(O),h=Object(p.findIndex)(g,["__experimentalCaptureToolbars",!0]);return-1!==h&&(u=O[h]),{clientId:s,rootClientId:o(s),name:d,isValid:v,isEmptyDefaultBlock:d&&Object(c.isUnmodifiedDefaultBlock)({name:d,attributes:m}),capturingClientId:u}}}function Xs(){var e=Object(O.useSelect)(Ys,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.isValid,c=e.isEmptyDefaultBlock,i=e.capturingClientId;return r?Object(b.createElement)($s,{clientId:t,rootClientId:n,isValid:o,isEmptyDefaultBlock:c,capturingClientId:i}):null}var Qs=Object(b.createContext)(),Zs=Object(b.createContext)(),Js=Object(b.createContext)();function eu(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection;return{selectedBlockClientId:n(),hasMultiSelection:r()}}function tu(e){Ye(e.target)&&e.preventDefault()}var nu=Object(b.forwardRef)((function(e,t){var n=e.children,r=e.className,o=Object(O.useSelect)(eu,[]),c=o.selectedBlockClientId,i=o.hasMultiSelection,a=Object(O.useDispatch)("core/block-editor").selectBlock,l=function(e){var t=Object(O.useSelect)(to,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.selectedBlockClientId,l=Object(O.useDispatch)("core/block-editor"),s=l.startMultiSelect,u=l.stopMultiSelect,d=l.multiSelect,f=l.selectBlock,p=Object(b.useRef)(),m=Object(b.useRef)(),v=Object(b.useRef)();Object(b.useEffect)((function(){if(c&&!r){var e=o.length;if(!(e<2)){var t=o[0],n=o[e-1],i=qe(t),l=qe(n),s=window.getSelection(),u=document.createRange();i=eo(i,"start"),l=eo(l,"end"),u.setStartBefore(i),u.setEndAfter(l),s.removeAllRanges(),s.addRange(u)}}else{if(!a||r)return;var b=window.getSelection();if(b.rangeCount&&!b.isCollapsed){var d=qe(a),f=b.getRangeAt(0),p=f.startContainer,m=f.endContainer;!d||d.contains(p)&&d.contains(m)||b.removeAllRanges()}}}),[c,r,o,f,a]);var g=Object(b.useCallback)((function(t){var n=t.isSelectionEnd,r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=Ye(r.focusNode);if(m.current===o){if(f(o),n&&(no(e.current,!0),r.rangeCount)){var c=r.getRangeAt(0).commonAncestorContainer;v.current.contains(c)&&v.current.focus()}}else{var a=[].concat(Object(ae.a)(i(m.current)),[m.current]),l=[].concat(Object(ae.a)(i(o)),[o]),s=Math.min(a.length,l.length)-1;d(a[s],l[s])}}else no(e.current,!0)}),[f,i,d]),h=Object(b.useCallback)((function(){document.removeEventListener("selectionchange",g),window.removeEventListener("mouseup",h),p.current=window.requestAnimationFrame((function(){g({isSelectionEnd:!0}),u()}))}),[g,u]);return Object(b.useEffect)((function(){return function(){document.removeEventListener("selectionchange",g),window.removeEventListener("mouseup",h),window.cancelAnimationFrame(p.current)}}),[g,h]),Object(b.useCallback)((function(t){n&&(m.current=t,v.current=document.activeElement,s(),document.addEventListener("selectionchange",g),window.addEventListener("mouseup",h),no(e.current,!1))}),[n,s,h])}(t),s=Object(b.useState)({}),u=Object(le.a)(s,2),d=u[0],p=u[1];return Object(b.createElement)($l,{containerRef:t},Object(b.createElement)(Zs.Provider,{value:d},Object(b.createElement)(Xs,null),Object(b.createElement)("div",{ref:t,className:f()(r,"is-root-container"),onFocus:function(e){if(!i){var t=Ye(e.target);t&&t!==c&&a(t)}},onDragStart:tu},Object(b.createElement)(Js.Provider,{value:p},Object(b.createElement)(Qs.Provider,{value:l},n)))))})),ru=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"];function ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t1,w=m||k,B=f()("block-editor-block-navigation-block__mover-cell",{"is-visible":w}),x=Mr().__experimentalFeatures,P=f()("block-editor-block-navigation-block__menu-cell",{"is-visible":w});return Object(b.useEffect)((function(){x&&n&&u.current.focus()}),[x,n]),Object(b.createElement)(Er,{className:f()({"is-selected":n}),onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onFocus:function(){return y(!0)},onBlur:function(){return y(!1)},level:c,position:o,rowCount:i,path:s},Object(b.createElement)(g.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:S?void 0:2,ref:u},(function(e){var a=e.ref,s=e.tabIndex,u=e.onFocus;return Object(b.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(b.createElement)(Dr,{level:c,isLastRow:o===i,terminatedLevels:l}),Object(b.createElement)(ju,{block:t,onClick:function(){return r(t.clientId)},isSelected:n,position:o,siblingCount:C,level:c,ref:a,tabIndex:s,onFocus:u}))})),S&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.__experimentalTreeGridCell,{className:B,withoutGridItem:!0},Object(b.createElement)(g.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(b.createElement)(Nr,{__experimentalOrientation:"vertical",clientIds:[E],ref:t,tabIndex:n,onFocus:r})})),Object(b.createElement)(g.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(b.createElement)(Rr,{__experimentalOrientation:"vertical",clientIds:[E],ref:t,tabIndex:n,onFocus:r})})))),x&&Object(b.createElement)(g.__experimentalTreeGridCell,{className:P},(function(e){var t=e.ref,n=e.tabIndex,o=e.onFocus;return Object(b.createElement)(As,{clientIds:[E],icon:Or.a,toggleProps:{ref:t,tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},(function(e){var t=e.onClose;return Object(b.createElement)(g.MenuGroup,null,Object(b.createElement)(g.MenuItem,{onClick:Object(vr.a)(mr.a.mark((function e(){return mr.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(null);case 2:return e.next=4,_(E);case 4:t();case 5:case"end":return e.stop()}}),e)})))},Object(I.__)("Go to block")))}))})))}function yu(e){var t=e.parentBlockClientId,n=e.position,r=e.level,o=e.rowCount,c=e.terminatedLevels,i=e.path,a=Object(m.useInstanceId)(yu),l="block-navigation-appender-row__description_".concat(a),s=Object(I.sprintf)(Object(I.__)("Add block at position %1$d, Level %2$d"),n,r);return Object(b.createElement)(Er,{level:r,position:n,rowCount:o,path:i},Object(b.createElement)(g.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},(function(e){var i=e.ref,a=e.tabIndex,u=e.onFocus;return Object(b.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(b.createElement)(Dr,{level:r,isLastRow:n===o,terminatedLevels:c}),Object(b.createElement)(Ml,{rootClientId:t,__experimentalSelectBlockOnInsert:!1,"aria-describedby":l,toggleProps:{ref:i,tabIndex:a,onFocus:u}}),Object(b.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:l},s))})))}function _u(e){var t=e.blocks,n=e.selectBlock,r=e.selectedBlockClientId,o=e.showAppender,c=e.showBlockMovers,i=e.showNestedBlocks,a=e.parentBlockClientId,l=e.level,s=void 0===l?1:l,u=e.terminatedLevels,d=void 0===u?[]:u,f=e.path,m=void 0===f?[]:f,v=!a,O=Object(p.compact)(t),g=function(e){return o&&!v&&r===e},h=g(a),j=h?O.length+1:O.length,k=j;return Object(b.createElement)(b.Fragment,null,Object(p.map)(O,(function(e,t){var a=e.clientId,l=e.innerBlocks,u=t+1,f=j===u?[].concat(Object(ae.a)(d),[s]):d,p=[].concat(Object(ae.a)(m),[u]),v=i&&!!l&&!!l.length,O=g(a);return Object(b.createElement)(b.Fragment,{key:a},Object(b.createElement)(ku,{block:e,onClick:n,isSelected:r===a,level:s,position:u,rowCount:j,showBlockMovers:c,terminatedLevels:d,path:p}),(v||O)&&Object(b.createElement)(_u,{blocks:l,selectedBlockClientId:r,selectBlock:n,showAppender:o,showBlockMovers:c,showNestedBlocks:i,parentBlockClientId:a,level:s+1,terminatedLevels:f,path:p}))})),h&&Object(b.createElement)(yu,{parentBlockClientId:a,position:j,rowCount:k,level:s,terminatedLevels:d,path:[].concat(Object(ae.a)(m),[k])}))}function Eu(e){var t=e.__experimentalFeatures,n=Object(ke.a)(e,["__experimentalFeatures"]),r=Object(b.useMemo)((function(){return{__experimentalFeatures:t}}),[t]);return Object(b.createElement)(g.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(I.__)("Block navigation structure")},Object(b.createElement)(Ar.Provider,{value:r},Object(b.createElement)(_u,n)))}_u.defaultProps={selectBlock:function(){}};var Cu=Object(m.compose)(Object(O.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,c=t.getBlocks,i=n();return{rootBlocks:c(),rootBlock:i?o(r(i)):null,selectedBlockClientId:i}})),Object(O.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,c=e.__experimentalFeatures;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(b.createElement)("div",{className:"block-editor-block-navigation__container"},Object(b.createElement)("p",{className:"block-editor-block-navigation__label"},Object(I.__)("Block navigation")),i&&Object(b.createElement)(Eu,{blocks:[t],selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c,showNestedBlocks:!0}),!i&&Object(b.createElement)(Eu,{blocks:n,selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c}))})),Su=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(b.createElement)(g.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));function wu(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen,o=e.innerRef,c=Object(ke.a)(e,["isEnabled","onToggle","isOpen","innerRef"]);Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(b.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var i=Object(O.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(b.createElement)(g.Button,Object(s.a)({},c,{ref:o,icon:Su,"aria-expanded":r,onClick:t?n:void 0,label:Object(I.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:i,"aria-disabled":!t}))}var Iu=Object(b.forwardRef)((function(e,t){var n=e.isDisabled,r=e.__experimentalFeatures,o=Object(ke.a)(e,["isDisabled","__experimentalFeatures"]),c=Object(O.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!n;return Object(b.createElement)(g.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(b.createElement)(wu,Object(s.a)({},o,{innerRef:t,isOpen:n,onToggle:r,isEnabled:c}))},renderContent:function(e){var t=e.onClose;return Object(b.createElement)(Cu,{onSelect:t,__experimentalFeatures:r})}})})),Bu=n(125),xu=[it.rawShortcut.primary("z"),it.rawShortcut.primaryShift("z"),it.rawShortcut.primary("y")],Pu=Object(b.createElement)(g.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(xu.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Tu=function(){return Pu};function Nu(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Ru={position:"bottom right",isAlternate:!0},Du=function(){return Object(b.createElement)("div",{className:"block-editor-format-toolbar"},Object(b.createElement)(g.ToolbarGroup,null,["bold","italic","link","text-color"].map((function(e){return Object(b.createElement)(g.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(b.createElement)(g.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(b.createElement)(g.__experimentalToolbarItem,null,(function(t){return Object(b.createElement)(g.DropdownMenu,{icon:Ir.a,label:Object(I.__)("More rich text controls"),toggleProps:t,controls:Object(p.orderBy)(e.map((function(e){return Object(le.a)(e,1)[0].props})),"title"),popoverProps:Ru})}))}))))},Au=function(e){var t=e.inline,n=e.anchorRef;return t?Object(b.createElement)(g.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(b.createElement)(Du,null)):Object(b.createElement)(fr,null,Object(b.createElement)(Du,null))};function Mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lu(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function Fu(e){var t=e.allowedFormats,n=e.formattingControls;return e.disableFormats?Fu.EMPTY_ARRAY:t||n?t||(cr()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)}))):void 0}Fu.EMPTY_ARRAY=[];var Vu=Object(b.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,d=t.isSelected,p=t.multiline,v=t.inlineToolbar,g=t.wrapperClassName,h=t.className,j=t.autocompleters,y=t.onReplace,_=t.placeholder,E=t.keepPlaceholderOnFocus,C=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,I=t.onRemove,B=t.onMerge,x=t.onSplit,P=t.__unstableOnSplitAtEnd,T=t.__unstableOnSplitMiddle,N=t.identifier,R=t.start,D=t.reversed,A=t.style,M=t.preserveWhiteSpace,L=t.__unstableEmbedURLOnPaste,F=t.__unstableDisableFormats,V=t.disableLineBreaks,H=Object(ke.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitAtEnd","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste","__unstableDisableFormats","disableLineBreaks"]),z=Object(m.useInstanceId)(e);N=N||z;var U=Object(b.useRef)(),G=n||U,K=k(),W=K.clientId,q=K.onCaretVerticalPositionChange,$=K.isSelected,Y=Object(O.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,i=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,s=n.__unstableGetBlockWithoutInnerBlocks,f=n.isMultiSelecting,p=n.hasMultiSelection,m=o(),v=i(),O=a().__experimentalUndo;void 0===d?t=m.clientId===W&&m.attributeKey===N:d&&(t=m.clientId===W);var g={};if("native"===b.Platform.OS){var h=W&&s(W);g={shouldBlurOnUnmount:h&&t&&Object(c.isUnmodifiedDefaultBlock)(h)}}return function(e){for(var t=1;t0,me=a,ve=l;Array.isArray(a)&&(me=c.children.toHTML(a),ve=function(e){return l(c.children.fromDOM(Object(i.__unstableCreateElement)(document,e).childNodes))});var Oe=Object(b.useCallback)((function(e,t){ue(W,N,e,t)}),[W,N]),ge=Object(b.useCallback)((function(e){var t=e.value,n=e.isReverse;B&&B(!n),I&&Object(i.isEmpty)(t)&&n&&I(!n)}),[B,I]),he=Object(b.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(y&&x){var n=[],r=Object(i.split)(e),o=Object(le.a)(r,2),c=o[0],a=o[1],l=t.length>0,s=-1;l&&Object(i.isEmpty)(c)||(n.push(x(Object(i.toHTMLString)({value:c,multilineTag:de}))),s+=1),l?(n.push.apply(n,Object(ae.a)(t)),s+=t.length):T&&n.push(T()),(l||T)&&Object(i.isEmpty)(a)||n.push(x(Object(i.toHTMLString)({value:a,multilineTag:de})));var u=l?s:1,b=l?-1:null;y(n,u,b)}}),[y,x,de,T]),je=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=y&&x;if(y){var a=Object(c.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(c.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(y([l.transform({content:t.text})]),be())}if(p)r?V||n(Object(i.insert)(t,"\n")):o&&Object(i.__unstableIsEmptyLine)(t)?he(t):n(Object(i.__unstableInsertLineSeparator)(t));else{var s=t.text,u=t.start,b=t.end,d=P&&u===b&&b===s.length;r||!o&&!d?V||n(Object(i.insert)(t,"\n")):!o&&d?P():o&&he(t)}}),[y,x,be,p,he,P]),ye=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(c.pasteHandler)({HTML:Nu(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(y&&Object(i.isEmpty)(t)?y(u):he(t,u))}var b,d=y&&x?"AUTO":"INLINE";"AUTO"===d&&Object(i.isEmpty)(t)&&(b=a,Object(Bu.regexp)(".*").test(b))&&(d="BLOCKS"),L&&Object(i.isEmpty)(t)&&Object(hl.isURL)(a.trim())&&(d="BLOCKS");var f=Object(c.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o});if("string"==typeof f){var m=Object(i.create)({html:f});if(s.length)for(var v=m.formats.length;v--;)m.formats[v]=[].concat(Object(ae.a)(s),Object(ae.a)(m.formats[v]||[]));p&&(m=Object(i.replace)(m,/\n+/g,i.__UNSTABLE_LINE_SEPARATOR)),n(Object(i.insert)(t,m))}else f.length>0&&(y&&Object(i.isEmpty)(t)?y(f,f.length-1,-1):he(t,f))}),[o,y,x,he,L,p]),_e=Object(b.useCallback)((function(e,t){if(y){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(c.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(c.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(i.slice)(e,n,r.length)),u=l.transform(s);y([u]),be()}}}}),[y,be]),Ee=Object(b.createElement)(i.__experimentalRichText,Object(s.a)({},H,{clientId:W,identifier:N,ref:G,value:me,onChange:ve,selectionStart:Q,selectionEnd:Z,onSelectionChange:Oe,tagName:o,className:f()("block-editor-rich-text__editable",h,{"keep-placeholder-on-focus":E}),placeholder:_,allowedFormats:fe,withoutInteractiveFormatting:w,onEnter:je,onDelete:ge,onPaste:ye,__unstableIsSelected:J,__unstableInputRule:_e,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:X,__unstableOnEnterFormattedText:ie,__unstableOnExitFormattedText:se,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:be,__unstableDidAutomaticChange:ee,__unstableUndo:ne,__unstableDisableFormats:F,style:A,preserveWhiteSpace:M,disabled:te,start:R,reversed:D,onCaretVerticalPositionChange:q,blockIsSelected:void 0!==d?d:$,shouldBlurOnUnmount:re}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,c=e.onFocus,i=e.editableProps,a=e.editableTagName;return Object(b.createElement)(b.Fragment,null,r&&r({value:n,onChange:o,onFocus:c}),t&&pe&&Object(b.createElement)(Au,{inline:v,anchorRef:G.current}),t&&Object(b.createElement)(Tu,null),Object(b.createElement)(qn,{onReplace:y,completers:j,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(b.createElement)(a,Object(s.a)({},i,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:R,reversed:D,onKeyDown:function(e){r(e),i.onKeyDown(e)}}))})))}));return g?(cr()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(b.createElement)("div",{className:f()("block-editor-rich-text",g)},Ee)):Ee}));Vu.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(ke.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=c.children.toHTML(t));var i=Lu(r);!t&&i&&(t="<".concat(i,">"));var a=Object(b.createElement)(b.RawHTML,null,t);return n?Object(b.createElement)(n,Object(p.omit)(o,["format"]),a):a},Vu.isEmpty=function(e){return!e||0===e.length},Vu.Content.defaultProps={format:"string",value:""};var Hu=Vu;function zu(e){var t=e.value,n=e.onChange;return Object(b.createElement)(hu,null,Object(b.createElement)(Hu,{value:t,onChange:n,placeholder:Object(I.__)("Navigation item"),keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var Uu=n(298);var Gu=function(e){var t=e.icon,n=void 0===t?Uu.a:t,r=e.label,o=void 0===r?Object(I.__)("Choose variation"):r,c=e.instructions,i=void 0===c?Object(I.__)("Select a variation to start with."):c,a=e.variations,l=e.onSelect,s=e.allowSkip,u=f()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(b.createElement)(g.Placeholder,{icon:n,label:o,instructions:i,className:u},Object(b.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(I.__)("Block variations")},a.map((function(e){return Object(b.createElement)("li",{key:e.name},Object(b.createElement)(g.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(b.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title))}))),s&&Object(b.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(b.createElement)(g.Button,{isLink:!0,onClick:function(){return l()}},Object(I.__)("Skip"))))},Ku=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Wu=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"}));function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var $u={top:{icon:Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(I._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Wu,title:Object(I._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Ku,title:Object(I._x)("Vertically Align Bottom","Block vertical alignment setting")}},Yu=["top","center","bottom"],Xu={isAlternate:!0};var Qu=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Yu:r,c=e.isCollapsed,i=void 0===c||c,a=$u[t],l=$u.top;return Object(b.createElement)(g.ToolbarGroup,{popoverProps:Xu,isCollapsed:i,icon:a?a.icon:l.icon,label:Object(I._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var c=!(t&&t.length);if(c||!(t.length<2||!o&&Object(hl.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});var i=r(t,{isInitialSuggestions:c});i.then((function(t){e.suggestionsRequest===i&&(e.setState({suggestions:t,loading:!1,showSuggestions:!!t.length}),t.length?e.props.debouncedSpeak(Object(I.sprintf)(Object(I._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(I.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===i&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=i}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}},{key:"onFocus",value:function(){var e=this.state.suggestions,t=this.props,n=t.disableSuggestions,r=t.value;!r||n||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(r.trim())}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,c=t.loading;if(n&&o.length&&!c){var i=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case it.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case it.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case it.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(i),this.props.speak(Object(I.__)("Link selected.")));break;case it.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(i))}}else switch(e.keyCode){case it.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case it.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,c=t.isFullWidth,i=t.__experimentalRenderSuggestions,a=t.placeholder,l=void 0===a?Object(I.__)("Paste URL or type to search"):a,u=t.value,d=void 0===u?"":u,m=t.autoFocus,v=void 0===m||m,O=t.__experimentalShowInitialSuggestions,h=void 0!==O&&O,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,E=j.loading,C="url-input-control-".concat(r),S="block-editor-url-input-suggestions-".concat(r),w="block-editor-url-input-suggestion-".concat(r),B={id:S,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(w,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(b.createElement)(g.BaseControl,{label:n,id:C,className:f()("block-editor-url-input",o,{"is-full-width":c})},Object(b.createElement)("input",{className:"block-editor-url-input__input",autoFocus:v,type:"text","aria-label":Object(I.__)("URL"),required:!0,value:d,onChange:this.onChange,onFocus:this.onFocus,onInput:wb,placeholder:l,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":S,"aria-activedescendant":null!==_?"".concat(w,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(b.createElement)(g.Spinner,null),Object(p.isFunction)(i)&&k&&!!y.length&&i({suggestions:y,selectedSuggestion:_,suggestionsListProps:B,buildSuggestionItemProps:x,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:h&&!(d&&d.length)}),!Object(p.isFunction)(i)&&k&&!!y.length&&Object(b.createElement)(g.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(b.createElement)("div",Object(s.a)({},B,{className:f()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(b.createElement)(g.Button,Object(s.a)({},x(0,n),{key:t.id,className:f()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,c=void 0!==o&&o,i=t.showSuggestions,a=n&&n.length;return c||a||(i=!1),!0===r&&(i=!1),{showSuggestions:i}}}]),r}(b.Component),Bb=Object(m.compose)(m.withSafeTimeout,g.withSpokenMessages,m.withInstanceId,Object(O.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Ib),xb=function(e){var t=e.placeholder,n=e.value,r=e.onChange,o=e.onSelect,c=e.renderSuggestions,i=e.fetchSuggestions,a=e.showInitialSuggestions,l=e.errorMessage,s=Object(b.useState)(),u=Object(le.a)(s,2),d=u[0],f=u[1];return Object(b.createElement)("form",{onSubmit:function(e){e.preventDefault(),o(d||{url:n})}},Object(b.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(b.createElement)(Bb,{className:"block-editor-link-control__search-input",value:n,onChange:function(e,t){r(e),f(t)},placeholder:null!=t?t:Object(I.__)("Search or type url"),__experimentalRenderSuggestions:c,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:a}),Object(b.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(b.createElement)(g.Button,{type:"submit",label:Object(I.__)("Submit"),icon:_b.a,className:"block-editor-link-control__search-submit"}))),l&&Object(b.createElement)(g.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},l))},Pb=function(e){var t=e.searchTerm,n=e.onClick,r=e.itemProps,o=e.isSelected;return t?Object(b.createElement)(g.Button,Object(s.a)({},r,{className:f()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:n}),Object(b.createElement)(g.Icon,{className:"block-editor-link-control__search-item-icon",icon:"insert"}),Object(b.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(b.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(b.createInterpolateElement)(Object(I.sprintf)(Object(I.__)("New page: %s"),t),{mark:Object(b.createElement)("mark",null)})))):null};function Tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nb(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};T(!1);var n=Nb({},t);delete n.type,delete n.id,c(Nb({},n,{},e))};return Object(b.createElement)("div",{tabIndex:-1,ref:y,className:"block-editor-link-control"},D&&Object(b.createElement)("div",{className:"block-editor-link-control__loading"},Object(b.createElement)(g.Spinner,null)," ",Object(I.__)("Creating"),"…"),(P||!n)&&!D&&Object(b.createElement)(xb,{placeholder:t,value:S,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";w(e)},onSelect:function(){var e=Object(vr.a)(mr.a.mark((function e(t){return mr.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("__CREATE__"!==t.type){e.next=5;break}return e.next=3,Y(S);case 3:e.next=6;break;case 5:(!a||Object.keys(t).length>1)&&(X(t,n),W());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),renderSuggestions:u?function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,i=e.selectedSuggestion,a=e.isLoading,l=e.isInitialSuggestions,u=f()("block-editor-link-control__search-results",{"is-loading":a}),d=["url","mailto","tel","internal"],p=1===o.length&&d.includes(o[0].type.toLowerCase()),m=h&&!p&&!l,v="block-editor-link-control-search-results-label-".concat(_),O=l?Object(I.__)("Recently updated"):Object(I.sprintf)(Object(I.__)('Search results for "%s"'),S),j=Object(b.createElement)(l?b.Fragment:g.VisuallyHidden,{},Object(b.createElement)("span",{className:"block-editor-link-control__search-results-label",id:v},O));return Object(b.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},j,Object(b.createElement)("div",Object(s.a)({},t,{className:u,"aria-labelledby":v}),o.map((function(e,t){return m&&"__CREATE__"===e.type?Object(b.createElement)(Pb,{searchTerm:S,onClick:Object(vr.a)(mr.a.mark((function t(){return mr.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(e.title);case 2:case"end":return t.stop()}}),t)}))),key:e.type,itemProps:r(e,t),isSelected:t===i}):"__CREATE__"===e.type?null:Object(b.createElement)(yb,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,index:t,onClick:function(){W(),c(Nb({},n,{},e))},isSelected:t===i,isURL:d.includes(e.type.toLowerCase()),searchTerm:S})}))))}:null,fetchSuggestions:$,showInitialSuggestions:d,errorMessage:F}),n&&!P&&!D&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{"aria-label":Object(I.__)("Currently selected"),"aria-selected":"true",className:f()("block-editor-link-control__search-item",{"is-current":!0})},Object(b.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(b.createElement)(g.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||U),n&&n.title&&Object(b.createElement)("span",{className:"block-editor-link-control__search-item-info"},U)),Object(b.createElement)(g.Button,{isSecondary:!0,onClick:function(){return T(!0)},className:"block-editor-link-control__search-item-action"},Object(I.__)("Edit")),Object(b.createElement)(Db,{fillProps:n}))),Object(b.createElement)(jb,{value:n,settings:r,onChange:c}))}Lb.ViewerFill=Ab;var Fb=Lb,Vb=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(B.Path,{d:"M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z"})),Hb=n(204),zb=Object(g.withFilters)("editor.MediaUpload")((function(){return null}));var Ub=Object(O.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Gb=Object(m.compose)([Object(O.withDispatch)((function(e){var t=e("core/notices");return{createNotice:t.createNotice,removeNotice:t.removeNotice}})),Object(g.withFilters)("editor.MediaReplaceFlow")])((function(e){var t=e.mediaURL,n=e.mediaId,r=e.allowedTypes,o=e.accept,c=e.onSelect,i=e.onSelectURL,a=e.onFilesUpload,l=void 0===a?p.noop:a,s=e.name,u=void 0===s?Object(I.__)("Replace"):s,d=e.createNotice,f=e.removeNotice,m=Object(b.useState)(t),v=Object(le.a)(m,2),h=v[0],j=v[1],k=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),y=Object(b.createRef)(),_=Object(p.uniqueId)("block-editor/media-replace-flow/error-notice/"),E=function(e){var t=document.createElement("div");t.innerHTML=Object(b.renderToString)(e);var n=t.textContent||t.innerText||"";setTimeout((function(){d("error",n,{speak:!0,id:_,isDismissible:!0})}),1e3)},C=function(e){c(e),j(e.url),Object(Fe.speak)(Object(I.__)("The media file has been replaced")),f(_)},S=function(e){e.keyCode===it.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(b.createElement)(g.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.ToolbarGroup,{className:"media-replace-flow"},Object(b.createElement)(g.ToolbarButton,{ref:y,"aria-expanded":t,onClick:n,onKeyDown:S},u))},renderContent:function(e){e.onClose;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(b.createElement)(zb,{value:n,onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(b.createElement)(g.MenuItem,{icon:Vb,onClick:t},Object(I.__)("Open Media Library"))}}),Object(b.createElement)(Ub,null,Object(b.createElement)(g.FormFileUpload,{onChange:function(e){!function(e){var t=e.target.files;l(t);k({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(le.a)(e,1)[0];C(t)},onError:E})}(e)},accept:o,render:function(e){var t=e.openFileDialog;return Object(b.createElement)(g.MenuItem,{icon:Hb.a,onClick:function(){t()}},Object(I.__)("Upload"))}}))),i&&Object(b.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:function(e){e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()}},Object(b.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(I.__)("Current media URL:")),Object(b.createElement)(Fb,{value:{url:h},settings:[],showSuggestions:!1,onChange:function(e){var t=e.url;j(t),i(t),y.current.focus()}})))}})})),Kb=n(299);function Wb(e){var t=e.url,n=e.urlLabel,r=e.className,o=f()(r,"block-editor-url-popover__link-viewer-url");return t?Object(b.createElement)(g.ExternalLink,{className:o,href:t},n||Object(hl.filterURLForDisplay)(Object(hl.safeDecodeURI)(t))):Object(b.createElement)("span",{className:o})}function qb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var $b=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(qb()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Gt.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(Ut.a)(r,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,c=void 0===o?"bottom center":o,i=e.focusOnMount,a=void 0===i?"firstElement":i,l=Object(ke.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),u=this.state.isSettingsExpanded,d=!!r&&u;return Object(b.createElement)(g.Popover,Object(s.a)({className:"block-editor-url-popover",focusOnMount:a,position:c},l),Object(b.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(b.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(b.createElement)(g.Button,{className:"block-editor-url-popover__settings-toggle",icon:Ir.a,label:Object(I.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":u})),d&&Object(b.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!d&&Object(b.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),r}(b.Component);$b.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,c=Object(ke.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(b.createElement)("form",Object(s.a)({className:f()("block-editor-url-popover__link-editor",n)},c),Object(b.createElement)(Bb,{value:o,onChange:r,autocompleteRef:t}),Object(b.createElement)(g.Button,{icon:_b.a,label:Object(I.__)("Apply"),type:"submit"}))},$b.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,c=e.urlLabel,i=Object(ke.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(b.createElement)("div",Object(s.a)({className:f()("block-editor-url-popover__link-viewer",t)},i),Object(b.createElement)(Wb,{url:o,urlLabel:c,className:n}),r&&Object(b.createElement)(g.Button,{icon:Kb.a,label:Object(I.__)("Edit"),onClick:r}))};var Yb=$b;function Xb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Qb=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(b.createElement)(Yb,{onClose:o},Object(b.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(b.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(I.__)("URL"),placeholder:Object(I.__)("Paste or type URL"),onChange:n,value:t}),Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:_b.a,label:Object(I.__)("Apply"),type:"submit"})))},Zb=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Xb()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(Gt.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(Gt.a)(e)),e.onUpload=e.onUpload.bind(Object(Gt.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(Gt.a)(e)),e.openURLInput=e.openURLInput.bind(Object(Gt.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this,r=this.props,o=r.addToGallery,c=r.allowedTypes,i=r.mediaUpload,a=r.multiple,l=r.onError,s=r.onSelect,u=r.onFilesPreUpload;if((void 0===u?p.noop:u)(e),a)if(o){var b=[];t=function(e){var t=(n.props.value||[]).filter((function(e){return e.id?!b.some((function(t){var n=t.id;return Number(n)===Number(e.id)})):!b.some((function(t){var n=t.urlSlug;return e.url.includes(n)}))}));s(t.concat(e)),b=e.map((function(e){var t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}}))}}else t=s;else t=function(e){var t=Object(le.a)(e,1)[0];return s(t)};i({allowedTypes:c,filesList:e,onFileChange:t,onError:l})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,c=n.className,i=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,d=n.mediaPreview,p=n.notices,m=n.onSelectURL,v=n.mediaUpload,O=n.children,h=s.instructions,j=s.title;if(v||m||(h=Object(I.__)("To edit this block, you need permission to upload media.")),void 0===h||void 0===j){var k=1===o.length,y=k&&"audio"===o[0],_=k&&"image"===o[0],E=k&&"video"===o[0];void 0===h&&v&&(h=Object(I.__)("Upload a media file or pick one from your media library."),y?h=Object(I.__)("Upload an audio file, pick one from your media library, or add one with a URL."):_?h=Object(I.__)("Upload an image file, pick one from your media library, or add one with a URL."):E&&(h=Object(I.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===j&&(j=Object(I.__)("Media"),y?j=Object(I.__)("Audio"):_?j=Object(I.__)("Image"):E&&(j=Object(I.__)("Video")))}var C=f()("block-editor-media-placeholder",c,{"is-appender":a});return Object(b.createElement)(g.Placeholder,{icon:i,label:j,instructions:h,className:C,notices:p,onClick:t,onDoubleClick:u,preview:d},e,O)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(b.createElement)(g.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(I.__)("Cancel"),isLink:!0,onClick:e},Object(I.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(b.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isTertiary:!0},Object(I.__)("Insert from URL")),t&&Object(b.createElement)(Qb,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,c=void 0===o?[]:o,i=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,d=t.value,m=void 0===d?{}:d,v=Object(b.createElement)(zb,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:c,value:Object(p.isArray)(m)?m.map((function(e){return e.id})):m.id,render:function(e){var t=e.open;return Object(b.createElement)(g.Button,{isTertiary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(I.__)("Media Library"))}});if(a&&i)return Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(g.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.Button,{isPrimary:!0,className:f()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(I.__)("Upload")),v,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var O=Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(g.FormFileUpload,{isPrimary:!0,className:f()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(I.__)("Upload")),v,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(O)}return this.renderPlaceholder(v)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&cr()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(b.createElement)(Ub,null,this.renderDropZone())):Object(b.createElement)(Ub,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),r}(b.Component),Jb=Object(O.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ed=Object(m.compose)(Jb,Object(g.withFilters)("editor.MediaPlaceholder"))(Zb),td=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Hu,Object(s.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0}))}));td.Content=function(e){var t=e.value,n=void 0===t?"":t,r=e.tagName,o=void 0===r?"div":r,c=Object(ke.a)(e,["value","tagName"]);return Object(b.createElement)(o,c,n)};var nd=td,rd=Object(b.forwardRef)((function(e,t){var n=e.__experimentalVersion,r=Object(ke.a)(e,["__experimentalVersion"]);if(2===n)return Object(b.createElement)(nd,Object(s.a)({ref:t},r));var o=r.className,c=r.onChange,i=Object(ke.a)(r,["className","onChange"]);return Object(b.createElement)(Zr.a,Object(s.a)({ref:t,className:f()("block-editor-plain-text",o),onChange:function(e){return c(e.target.value)}},i))}));function od(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(m.useInstanceId)(od),c=r||Object(I.sprintf)(Object(I._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(b.createElement)(g.VisuallyHidden,{as:"span",id:"rbc-desc-".concat(o)},c))}var cd=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,c=e.renderDefaultControl,i=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(I.__)("All")}:s,d=e.viewports,p=void 0===d?[{id:"small",label:Object(I.__)("Small screens")},{id:"medium",label:Object(I.__)("Medium screens")},{id:"large",label:Object(I.__)("Large screens")}]:d;if(!t||!n||!c)return null;var m=r||Object(I.sprintf)(Object(I.__)("Use the same %s on all screensizes."),n),v=Object(I.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),O=c(Object(b.createElement)(od,{property:n,viewport:u}),u);return Object(b.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(b.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(b.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(b.createElement)(g.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:m,checked:!l,onChange:o,help:v}),Object(b.createElement)("div",{className:f()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&O,l&&(i?i(p):p.map((function(e){return Object(b.createElement)(b.Fragment,{key:e.id},c(Object(b.createElement)(od,{property:n,viewport:e}),e))}))))))};function id(e){var t=e.character,n=e.type,r=e.onUse;return Object(m.useKeyboardShortcut)(it.rawShortcut[n](t),(function(){return r(),!1}),{bindGlobal:!0}),null}function ad(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,c=Object(ke.a)(e,["name","shortcutType","shortcutCharacter"]),i="RichText.ToolbarControls";return n&&(i+=".".concat(n)),r&&o&&(t=it.displayShortcut[r](o)),Object(b.createElement)(g.Fill,{name:i},Object(b.createElement)(g.ToolbarButton,Object(s.a)({},c,{shortcut:t})))}function ld(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var sd=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(ld()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).onInput=e.onInput.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),r}(b.Component),ud=n(300),bd=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M9.4 20.5L5.2 3.8l14.6 9-2 .3c-.2 0-.4.1-.7.1-.9.2-1.6.3-2.2.5-.8.3-1.4.5-1.8.8-.4.3-.8.8-1.3 1.5-.4.5-.8 1.2-1.2 2l-.3.6-.9 1.9zM7.6 7.1l2.4 9.3c.2-.4.5-.8.7-1.1.6-.8 1.1-1.4 1.6-1.8.5-.4 1.3-.8 2.2-1.1l1.2-.3-8.1-5z"}));var dd=Object(b.forwardRef)((function(e,t){var n=Object(O.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),r=Object(O.useDispatch)("core/block-editor").setNavigationMode,o=function(e){r("edit"!==e)};return Object(b.createElement)(g.Dropdown,{renderToggle:function(r){var o=r.isOpen,c=r.onToggle;return Object(b.createElement)(g.Button,Object(s.a)({},e,{ref:t,icon:n?bd:ud.a,"aria-expanded":o,onClick:c,label:Object(I.__)("Tools")}))},position:"bottom right",renderContent:function(){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.NavigableMenu,{role:"menu","aria-label":Object(I.__)("Tools")},Object(b.createElement)(g.MenuItemsChoice,{value:n?"select":"edit",onSelect:o,choices:[{value:"edit",label:Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ao.a,{icon:ud.a}),Object(I.__)("Edit"))},{value:"select",label:Object(b.createElement)(b.Fragment,null,bd,Object(I.__)("Select"))}]})),Object(b.createElement)("div",{className:"block-editor-tool-selector__help"},Object(I.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})})),fd=n(180),pd=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M9.737 18.011L3.98 12.255l5.734-6.28 1.107 1.012-4.103 4.494h13.3v1.5H6.828l3.97 3.97-1.06 1.06z"}));function md(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var vd=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(md()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(Gt.a)(e)),e.submitLink=e.submitLink.bind(Object(Gt.a)(e)),e.state={expanded:!1},e}return Object(Ut.a)(r,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(I.__)("Edit link"):Object(I.__)("Insert link");return Object(b.createElement)("div",{className:"block-editor-url-input__button"},Object(b.createElement)(g.Button,{icon:fd.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(b.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(b.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(b.createElement)(g.Button,{className:"block-editor-url-input__back",icon:pd,label:Object(I.__)("Close"),onClick:this.toggle}),Object(b.createElement)(Bb,{value:t||"",onChange:n}),Object(b.createElement)(g.Button,{icon:_b.a,label:Object(I.__)("Submit"),type:"submit"}))))}}]),r}(b.Component),Od=n(154),gd=["noreferrer","noopener"],hd=Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(g.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(b.createElement)(g.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),jd=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,c=void 0===o?"image":o,i=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,d=Object(b.useState)(!1),f=Object(le.a)(d,2),m=f[0],v=f[1],O=Object(b.useCallback)((function(){v(!0)})),h=Object(b.useState)(!1),j=Object(le.a)(h,2),k=j[0],y=j[1],_=Object(b.useState)(null),E=Object(le.a)(_,2),C=E[0],S=E[1],w=Object(b.useRef)(null),B=function(e){e.stopPropagation()},x=function(e){[it.LEFT,it.DOWN,it.RIGHT,it.UP,it.BACKSPACE,it.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},P=Object(b.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),y(!0)})),T=Object(b.useCallback)((function(){y(!1)})),N=Object(b.useCallback)((function(){S(null),T(),v(!1)})),R=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(gd,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},D=Object(b.useCallback)((function(){return function(e){var t=w.current;t&&t.contains(e.target)||(v(!1),S(null),T())}})),A=Object(b.useCallback)((function(){return function(e){C&&n({href:C}),T(),S(null),e.preventDefault()}})),M=Object(b.useCallback)((function(){n({linkDestination:"none",href:""})})),L=function(){return[{linkDestination:"media",title:Object(I.__)("Media File"),url:"image"===c?i:void 0,icon:hd},{linkDestination:"attachment",title:Object(I.__)("Attachment Page"),url:"image"===c?a:void 0,icon:Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(b.createElement)(g.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},F=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.ToggleControl,{label:Object(I.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?R(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(b.createElement)(g.TextControl,{label:Object(I.__)("Link Rel"),value:R(u)||"",onChange:function(e){n({rel:e})},onKeyPress:B,onKeyDown:x}),Object(b.createElement)(g.TextControl,{label:Object(I.__)("Link CSS Class"),value:s||"",onKeyPress:B,onKeyDown:x,onChange:function(e){n({linkClass:e})}})),V=null!==C?C:r,H=(Object(p.find)(L(),["linkDestination",t])||{}).title;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.ToolbarButton,{icon:fd.a,className:"components-toolbar__control",label:r?Object(I.__)("Edit link"):Object(I.__)("Insert link"),"aria-expanded":m,onClick:O}),m&&Object(b.createElement)(Yb,{onFocusOutside:D(),onClose:N,renderSettings:function(){return F},additionalControls:!V&&Object(b.createElement)(g.NavigableMenu,null,Object(p.map)(L(),(function(e){return Object(b.createElement)(g.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=L(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),T()}},e.title)})))},(!r||k)&&Object(b.createElement)(Yb.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:V,onChangeInputValue:S,onKeyDown:x,onKeyPress:B,onSubmit:A(),autocompleteRef:w}),r&&!k&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Yb.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:B,url:r,onEditLinkClick:P,urlLabel:H}),Object(b.createElement)(g.Button,{icon:Od.a,label:Object(I.__)("Remove link"),onClick:M}))))},kd=n(155);function yd(e){var t=e.children,n=e.className,r=e.isEnabled,o=void 0===r||r,c=e.deviceType,i=e.setDeviceType;return Object(b.createElement)(g.Dropdown,{className:"block-editor-post-preview__dropdown",contentClassName:f()(n,"block-editor-post-preview__dropdown-content"),popoverProps:{role:"menu"},position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.Button,{isTertiary:!0,onClick:n,className:"block-editor-post-preview__button-toggle","aria-expanded":t,disabled:!o},Object(I.__)("Preview"))},renderContent:function(){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.MenuGroup,null,Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Desktop")},icon:"Desktop"===c&&kd.a},Object(I.__)("Desktop")),Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Tablet")},icon:"Tablet"===c&&kd.a},Object(I.__)("Tablet")),Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Mobile")},icon:"Mobile"===c&&kd.a},Object(I.__)("Mobile"))),t)}})}var _d=n(265),Ed=/\((min|max)-width:[^\(]*?\)/g;function Cd(e){return!!e.media&&!!e.media.mediaText.match(Ed)}function Sd(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function wd(e,t){return e.replace(Ed,(function(e){return Object(_d.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)"}))}function Id(e,t){Object(b.useEffect)((function(){if(t){var n="undefined"==typeof window?[]:Object(p.filter)(Object(p.get)(window,["document","styleSheets"],[]),(function(e){return!!e.href&&Object(hl.getProtocol)(e.href)===window.location.protocol&&Object(hl.getAuthority)(e.href)===window.location.host})),r=[];return n.forEach((function(n,o){for(var c=!1,i=0;i0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,i=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(b.createElement)("div",{className:"block-editor-block-inspector"},Object(b.createElement)(Td,null),Object(b.createElement)(We.Slot,{bubblesVirtually:!0}));var s=i===Object(c.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(b.createElement)("div",{className:"block-editor-block-inspector"},Object(b.createElement)(uo,{blockType:t}),r&&Object(b.createElement)("div",null,Object(b.createElement)(g.PanelBody,{title:Object(I.__)("Styles")},Object(b.createElement)(ss,{clientId:o}),Object(c.hasBlockSupport)(t.name,"defaultStylePicker",!0)&&Object(b.createElement)(Nd,{blockName:t.name}))),Object(b.createElement)(We.Slot,{bubblesVirtually:!0}),Object(b.createElement)("div",null,Object(b.createElement)(Rd,{slotName:ee.slotName})),Object(b.createElement)(xd,{key:"back"})):l?Object(b.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(I.__)("No block selected.")):null}));function Ad(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Md=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Ad()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).bindContainer=e.bindContainer.bind(Object(Gt.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,c=n||r;e.target===this.container&&c&&o()}},{key:"render",value:function(){return Object(b.createElement)("div",Object(s.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),r}(b.Component),Ld=Object(m.compose)([Object(O.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(O.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(Md),Fd=n(266),Vd=n.n(Fd),Hd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zd=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function c(){var e={line:n,column:r};return function(t){return t.position=new i(e),f(),t}}function i(e){this.start=e,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var a=[];function l(o){var c=new Error(t.source+":"+n+":"+r+": "+o);if(c.reason=o,c.filename=t.source,c.line=n,c.column=r,c.source=e,!t.silent)throw c;a.push(c)}function s(){return d(/^{\s*/)}function u(){return d(/^}/)}function b(){var t,n=[];for(f(),p(n);e.length&&"}"!==e.charAt(0)&&(t=C()||S());)!1!==t&&(n.push(t),p(n));return n}function d(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function f(){d(/^\s*/)}function p(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=c();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}}function v(){var e=d(/^([^{]+)/);if(e)return Ud(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function O(){var e=c(),t=d(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Ud(t[0]),!d(/^:\s*/))return l("property missing ':'");var n=d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Hd,""),value:n?Ud(n[0]).replace(Hd,""):""});return d(/^[;\s]*/),r}}function g(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=O();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function h(){for(var e,t=[],n=c();e=d(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),d(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:g()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=c(),r=d(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=c(),t=d(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=d(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var i=p();r=h();)i.push(r),i=i.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:i}):l("@keyframes missing '}'")}}()||function(){var e=c(),t=d(/^@media *([^{]+)/);if(t){var n=Ud(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(b());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=c(),t=d(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Ud(t[1]),media:Ud(t[2])})}()||function(){var e=c(),t=d(/^@supports *([^{]+)/);if(t){var n=Ud(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(b());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||k()||y()||_()||function(){var e=c(),t=d(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Ud(t[1]),r=Ud(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(b());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=c();if(d(/^@page */)){var t=v()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=O();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=c();if(d(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(b());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=c();if(d(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=O();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function S(){var e=c(),t=v();return t?(p(),e({type:"rule",selectors:t,declarations:g()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type,o=r?t:n;for(var c in t){var i=t[c];Array.isArray(i)?i.forEach((function(t){e(t,o)})):i&&"object"===Object(No.a)(i)&&e(i,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=b(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function Ud(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Gd=n(165),Kd=n.n(Gd),Wd=qd;function qd(e){this.options=e||{}}qd.prototype.emit=function(e){return e},qd.prototype.visit=function(e){return this[e.type](e)},qd.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?cf({},n,{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match(af)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},sf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(lf(t)),r&&o.push(rf(r)),o.length?Zd(n,Object(m.compose)(o)):n}))};var uf=function(e){var t=e.styles;return Object(b.useEffect)((function(){var e=sf(t,".editor-styles-wrapper"),n=Object(p.map)(Object(p.compact)(e),(function(e){var t=document.createElement("style");return t.innerHTML=e,document.body.appendChild(t),t}));return function(){return n.forEach((function(e){return document.body.removeChild(e)}))}}),[t]),null};var bf=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,a=e.__experimentalSelectBlockOnInsert,l=e.onSelect,s=void 0===l?p.noop:l,u=Object(O.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(b.createElement)(Bl,{onSelect:s,rootClientId:u,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:a})};function df(){var e=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(le.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(O.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,a=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,d=o.clearSelectedBlock,f=o.moveBlocksUp,m=o.moveBlocksDown;return Object(l.useShortcut)("core/block-editor/move-up",Object(b.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/move-down",Object(b.useCallback)((function(e){e.preventDefault(),m(t,r)}),[t,m]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/duplicate",Object(b.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(b.useCallback)((function(e){e.preventDefault(),a(Object(p.last)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(b.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(l.useShortcut)("core/block-editor/select-all",Object(b.useCallback)((function(e){e.preventDefault(),u(Object(p.first)(n),Object(p.last)(n))}),[n,u])),Object(l.useShortcut)("core/block-editor/unselect",Object(b.useCallback)((function(e){e.preventDefault(),d(),window.getSelection().removeAllRanges()}),[t,d]),{isDisabled:t.length<2}),null}df.Register=function(){var e=Object(O.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(b.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(I.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(I.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(I.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(I.__)("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:Object(I.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(I.__)("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:Object(I.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(I.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(I.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(I.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var ff=df;function pf(){var e=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelection:r(),isMultiSelecting:o()}}),[]),t=e.isMultiSelection,n=e.selectionEnd,r=e.isMultiSelecting;return Object(b.useEffect)((function(){if(n&&!r&&t){var e=qe(n);if(e){var o=Object(hr.getScrollContainer)(e);o&&Cb()(e,o,{onlyScrollIfNeeded:!0})}}}),[t,n,r]),null}var mf=[it.UP,it.RIGHT,it.DOWN,it.LEFT,it.ENTER,it.BACKSPACE];var vf=Object(m.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(b.useRef)(),o=Object(b.useRef)(),c=Object(O.useSelect)((function(e){return e("core/block-editor").isTyping()})),i=Object(O.useDispatch)("core/block-editor"),a=i.startTyping,l=i.stopTyping;function s(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",d),document[t]("mousemove",u)}function u(e){var t=e.clientX,n=e.clientY;if(o.current){var r=o.current,c=r.clientX,i=r.clientY;c===t&&i===n||l()}o.current={clientX:t,clientY:n}}function d(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||l()}function f(e){var t=e.type,n=e.target;!c&&Object(hr.isTextField)(n)&&r.current.contains(n)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&mf.includes(t)}(e))&&a()}return Object(b.useEffect)((function(){return s(c),function(){return s(!1)}}),[c]),Object(b.createElement)("div",{ref:r,onFocus:function(e){var t=e.target;n((function(){c&&!Object(hr.isTextField)(t)&&l()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){!c||e.keyCode!==it.ESCAPE&&e.keyCode!==it.TAB||l()}])},t)}));function Of(){return cr()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}function gf(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var hf=-1!==window.navigator.userAgent.indexOf("Trident"),jf=new Set([it.UP,it.DOWN,it.LEFT,it.RIGHT]),kf=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(gf()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).ref=Object(b.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(Gt.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(Gt.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(Gt.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(Gt.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(Gt.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(Gt.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(hr.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(hr.computeCaretRect)();if(n)if(this.caretRect)if(jf.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(hr.getScrollContainer)(this.ref.current);if(o){var c=o===document.body,i=c?window.scrollY:o.scrollTop,a=c?0:o.getBoundingClientRect().top,l=c?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===i&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=c?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,a=function(){e.clientWidth!==r&&b()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",b,!1),e.removeEventListener("keyup",b,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",b,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",b,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",b,!1),e.addEventListener("autosize:update",b,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:b}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),b()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function b(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,h.left+j.left):!1===a?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((a=void 0===a||!!a)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=l;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=i?i.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function s(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function b(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(b){var d=n?c(b):b,f={},p=!0,m={node:d,node_:b,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){l(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;ee.length?n:e})),s.value=e.join(b)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var d=t[i-1];return i>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[i-2].value+=d.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,b=l+s,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&f+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,b=d[n-1],f=d[n+1],p=(f?f.newPos:0)-n;b&&(d[n-1]=void 0);var m=b&&b.newPos+1=l&&p+1>=s)return a(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>b)return r();p()||e()}),0)}();else for(;u<=b;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,c=n.length,i=e.newPos,a=i-r,l=0;i+11&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?U:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(G)):t}var W=Object(b.createContext)({}),q=W.Provider,$=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=Object(b.useContext)(W).isEmbedButton,r=t.name,o=n?[]:K(Object(c.getBlockSupport)(r,"align"),Object(c.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(b.createElement)(w,{key:"align-controls"},Object(b.createElement)(V,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(c.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(b.createElement)(e,Object(s.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(O.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(b.createElement)(e,t);var i=K(Object(c.getBlockSupport)(n,"align"),Object(c.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return i.includes(r)&&(a=z({},a,{"data-align":r})),Object(b.createElement)(e,Object(s.a)({},t,{wrapperProps:a}))}}));Object(v.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])||Object(c.hasBlockSupport)(e,"align")&&(e.attributes=z({},e.attributes,{align:{type:"string"}})),e})),Object(v.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(v.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return K(Object(c.getBlockSupport)(t,"align"),Object(c.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=f()("align".concat(r),e.className)),e}));var X=Object(g.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return k().isSelected?Object(b.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J;function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ne=/[\s#]/g;var re=Object(m.createHigherOrderComponent)((function(e){return function(t){return Object(c.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(ee,null,Object(b.createElement)(g.TextControl,{className:"html-anchor-control",label:Object(I.__)("HTML anchor"),help:Object(b.createElement)(b.Fragment,null,Object(I.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(b.createElement)(g.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(I.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(ne,"-"),t.setAttributes({anchor:e})},autoComplete:"off"}))):Object(b.createElement)(e,t)}}),"withInspectorControl");function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}Object(v.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])||Object(c.hasBlockSupport)(e,"anchor")&&(e.attributes=function(e){for(var t=1;t");var t=Object(c.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(v.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(c.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,c=k(),i=c.clientId,a=Object(O.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),l=a.gradients,s=a.gradient,d=a.customGradient,f=Object(O.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,m=Object(b.useCallback)((function(e){var t,r,c=ge(l,e);c?p(i,(r={},Object(u.a)(r,n,c),Object(u.a)(r,o,void 0),r)):p(i,(t={},Object(u.a)(t,n,void 0),Object(u.a)(t,o,e),t))}),[l,i,p]),v=me(s);return{gradientClass:v,gradientValue:s?ve(l,s):d,setGradient:m}}var je=function e(t){if(!Object(p.isObject)(t))return t;var n=Object(p.pickBy)(Object(p.mapValues)(t,e),p.identity);return Object(p.isEqual)(n,{})?void 0:n},ke=n(15);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _e=Object(I.__)("(Color: %s)"),Ee=Object(I.__)("(Gradient: %s)"),Ce=["colors","disableCustomColors","gradients","disableCustomGradients"];function Se(e){var t,n,r=e.colors,o=e.gradients,c=e.label,i=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===i){if(a){var s=fe(r,t=a),u=s&&s.name;n=Object(I.sprintf)(_e,u||t)}}else if("gradient"===i&&l){var d=Oe(o,t=l),f=d&&d.name;n=Object(I.sprintf)(Ee,f||t)}return Object(b.createElement)(b.Fragment,null,c,!!t&&Object(b.createElement)(g.ColorIndicator,{colorValue:t,"aria-label":n}))}function we(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,c=e.className,i=e.label,a=e.onColorChange,l=e.onGradientChange,u=e.colorValue,d=e.gradientValue,m=a&&(!Object(p.isEmpty)(t)||!r),v=l&&(!Object(p.isEmpty)(n)||!o),O=Object(b.useState)(d?"gradient":!!m&&"color"),h=Object(le.a)(O,2),j=h[0],k=h[1];return m||v?Object(b.createElement)(g.BaseControl,{className:f()("block-editor-color-gradient-control",c)},Object(b.createElement)("fieldset",null,Object(b.createElement)("legend",null,Object(b.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(b.createElement)(g.BaseControl.VisualLabel,null,Object(b.createElement)(Se,{currentTab:j,label:i,colorValue:u,gradientValue:d})))),m&&v&&Object(b.createElement)(g.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(b.createElement)(g.Button,{isSmall:!0,isPressed:"color"===j,onClick:function(){return k("color")}},Object(I.__)("Solid")),Object(b.createElement)(g.Button,{isSmall:!0,isPressed:"gradient"===j,onClick:function(){return k("gradient")}},Object(I.__)("Gradient"))),("color"===j||!v)&&Object(b.createElement)(g.ColorPalette,Object(s.a)({value:u,onChange:v?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===j||!m)&&Object(b.createElement)(g.__experimentalGradientPicker,Object(s.a)({value:d,onChange:m?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function Ie(e){var t=Object(O.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,Ce)}));return Object(b.createElement)(we,function(e){for(var t=1;t=24?"large":"small"})?null:Object(b.createElement)(Ve,{backgroundColor:t,textColor:i,tinyBackgroundColor:a,tinyTextColor:l})},ze=Object(g.createSlotFill)("InspectorControls"),Ue=ze.Fill,Ge=ze.Slot;function Ke(e){var t=e.children;return y()?Object(b.createElement)(Ue,null,t):null}Ke.Slot=Ge;var We=Ke;function qe(e){return document.getElementById("block-"+e)}function $e(e,t){return t.closest(".block-editor-block-list__block")===e}function Ye(e){for(;e&&e.nodeType!==window.Node.ELEMENT_NODE;)e=e.parentNode;if(e){var t=e.closest(".block-editor-block-list__block");if(t)return t.id.slice("block-".length)}}function Xe(e){var t=e.settings,n=e.clientId,r=e.enableContrastChecking,o=void 0===r||r,c=window,i=c.getComputedStyle,a=c.Node,l=Object(b.useState)(),s=Object(le.a)(l,2),u=s[0],d=s[1],f=Object(b.useState)(),p=Object(le.a)(f,2),m=p[0],v=p[1];return Object(b.useEffect)((function(){if(o){var e=qe(n);if(e){v(i(e).color);for(var t=e,r=i(t).backgroundColor;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===a.ELEMENT_NODE;)t=t.parentNode,r=i(t).backgroundColor;d(r)}}})),Object(b.createElement)(We,null,Object(b.createElement)(Le,{title:Object(I.__)("Color settings"),initialOpen:!1,settings:t},o&&Object(b.createElement)(He,{backgroundColor:u,textColor:m})))}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(O.useSelect)((function(e){return!e("core/block-editor").getSettings().enableCustomLineHeight}));return!Object(c.hasBlockSupport)(t,"__experimentalLineHeight")||n}var dt=n(153),ft=n.n(dt),pt=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function mt(e,t){var n=Object(p.find)(e,{size:t});return n||{size:t}}function vt(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Ot=Object(O.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(g.FontSizePicker);function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ht(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=kt(),r=n.length;return!Object(c.hasBlockSupport)(t,"__experimentalFontSize")||!r}var Et=Object(m.createHigherOrderComponent)((function(e){return function(t){var n,r=kt(),o=t.name,i=t.attributes,a=i.fontSize,l=i.style,s=t.wrapperProps,u=ht({},t);if(Object(c.hasBlockSupport)(o,"__experimentalFontSize")&&a&&!(null==l||null===(n=l.typography)||void 0===n?void 0:n.fontSize)){var d,f=pt(r,a,null==l||null===(d=l.typography)||void 0===d?void 0:d.fontSize).size;u.wrapperProps=ht({},s,{style:ht({fontSize:f},null==s?void 0:s.style)})}return Object(b.createElement)(e,u)}}),"withFontSizeInlineStyles");Object(v.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(c.hasBlockSupport)(e,"__experimentalFontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",jt),Object(v.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(c.hasBlockSupport)(e,"__experimentalFontSize"))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),jt(r,e,n)},e})),Object(v.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",Et);var Ct=["__experimentalLineHeight","__experimentalFontSize"];function St(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_t(e),bt(e)];return t.filter(Boolean).length===t.length}(e),n=wt(e.name);return t||!n?null:Object(b.createElement)(We,null,Object(b.createElement)(g.PanelBody,{title:Object(I.__)("Typography")},Object(b.createElement)(yt,e),Object(b.createElement)(ut,e)))}var wt=function(e){return"web"===b.Platform.OS&&Ct.some((function(t){return Object(c.hasBlockSupport)(e,t)}))};function It(e){var t=e.units,n=Object(ke.a)(e,["units"]),r=Bt(t);return Object(b.createElement)(g.__experimentalUnitControl,Object(s.a)({units:r},n))}function Bt(e){var t=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().enableCustomUnits}),[]),n=!t;return Array.isArray(t)?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(t,e):!n&&e}function xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=At({},Nt,{lineHeight:["typography","lineHeight"],fontSize:["typography","fontSize"],background:["color","gradient"],backgroundColor:["color","background"],color:["color","text"],"--wp--style--color--link":["color","link"]}),n={};return Object.entries(t).forEach((function(t){var r=Object(se.a)(t),o=r[0],c=r.slice(1),i=Object(le.a)(c,1)[0];Object(p.has)(e,i)&&(n[o]=Ft(Object(p.get)(e,i)))})),n}(r),{},e.style),e}var Ht=Object(m.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=Object(c.hasBlockSupport)(n,"__experimentalPadding");return[Object(b.createElement)(St,Object(s.a)({key:"typography"},t)),Object(b.createElement)(ot,Object(s.a)({key:"colors"},t)),Object(b.createElement)(e,Object(s.a)({key:"edit"},t)),r&&Object(b.createElement)(Rt,{key:"spacing"},Object(b.createElement)(Tt,t))]}}),"withToolbarControls");Object(v.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return Lt(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(v.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Vt),Object(v.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!Lt(e))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),Vt(r,e,n)},e})),Object(v.addFilter)("editor.BlockEdit","core/style/with-block-controls",Ht);var zt=n(20),Ut=n(19),Gt=n(12),Kt=n(23),Wt=n(16),qt=n(22);function $t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(I.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(I.__)("Color settings"):n,o=t.colorPanelProps,c=t.contrastCheckers,i=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,s=a.backgroundColorTargetRef,d=void 0===s?l:s,m=a.textColorTargetRef,v=void 0===m?l:m,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],h=k(),j=h.clientId,y=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(j),settingsColors:r&&!0!==r?r:On}}),[j]),_=y.attributes,E=y.settingsColors,C=Object(O.useDispatch)("core/block-editor"),S=C.updateBlockAttributes,w=Object(b.useCallback)((function(e){return S(j,e)}),[S,j]),B=Object(b.useMemo)((function(){return on()((function(e,t,n,r,o,c){return function(i){var a,l=i.children,s=i.className,d=void 0===s?"":s,m=i.style,v=void 0===m?{}:m,O={};r?O=Object(u.a)({},t,o):c&&(O=Object(u.a)({},t,c));var g={className:f()(d,(a={},Object(u.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(u.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||c),a)),style:fn({},O,{},v)};return Object(p.isFunction)(l)?l(g):b.Children.map(l,(function(e){return Object(b.cloneElement)(e,{className:f()(e.props.className,g.className),style:fn({},g.style,{},e.props.style||{})})}))}}),{maxSize:e.length})}),[e.length]),x=Object(b.useMemo)((function(){return on()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));w(Object(u.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),w(Object(u.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[w,e.length]),P=Object(b.useState)(),T=Object(le.a)(P,2),N=T[0],R=T[1],D=Object(b.useState)(),A=Object(le.a)(D,2),M=A[0],L=A[1];return Object(b.useEffect)((function(){if(c){var e,t=!1,n=!1,r=un(Object(p.castArray)(c));try{for(r.s();!(e=r.n()).done;){var o=e.value,i=o.backgroundColor,a=o.textColor;if(t||(t=!0===i),n||(n=!0===a),t&&n)break}}catch(e){r.e(e)}finally{r.f()}if(n&&L(mn(v.current).color),t){for(var l=d.current,s=mn(l).backgroundColor;"rgba(0, 0, 0, 0)"===s&&l.parentNode&&l.parentNode.nodeType===vn.ELEMENT_NODE;)l=l.parentNode,s=mn(l).backgroundColor;R(s)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(_[t.name]," | ").concat(_[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(ae.a)(g))),Object(b.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=fn({},n,{color:_[n.name]}),o=r.name,c=r.property,i=void 0===c?o:c,a=r.className,l=r.panelLabel,s=void 0===l?n.label||gn[o]||Object(p.startCase)(o):l,u=r.componentName,b=void 0===u?Object(p.startCase)(o).replace(/\s/g,""):u,d=r.color,f=void 0===d?n.color:d,m=r.colors,v=void 0===m?E:m,O=_[Object(p.camelCase)("custom ".concat(o))],g=O?void 0:v.find((function(e){return e.slug===f}));return e[b]=B(o,i,a,f,g&&g.color,O),e[b].displayName=b,e[b].color=O||g&&g.color,e[b].slug=f,e[b].setColor=x(o,v),t[b]={value:g?g.color:_[Object(p.camelCase)("custom ".concat(o))],onChange:e[b].setColor,label:s,colors:v},v||delete t[b].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:c,detectedBackgroundColor:N,detectedColor:M,panelChildren:i};return fn({},n,{ColorPanel:Object(b.createElement)(sn,a),InspectorControlsColorPanel:Object(b.createElement)(hn,a)})}),[_,w,M,N].concat(Object(ae.a)(g)))}function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},Dn=function(e,t){return Object(p.differenceWith)(e,Rn(t),(function(e,t){return t.includes(e)}))},An=function(e,t,n,r){var o=Rn(r);return 0===o.length?e:Mn(e,r,{getCategory:function(e){var n;return null===(n=Object(p.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:function(e){var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title},getVariations:function(e){return(e.variations||[]).map((function(e){return e.title}))}}).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,Rn(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Rn(t);if(0===r.length)return e;var o=function(e){return e.title},c=function(e){return e.keywords||[]},i=function(e){return e.category},a=function(){return null},l=function(){return[]},s=n.getTitle,u=void 0===s?o:s,b=n.getKeywords,d=void 0===b?c:b,f=n.getCategory,p=void 0===f?i:f,m=n.getCollection,v=void 0===m?a:m,O=n.getVariations,g=void 0===O?l:O;return e.filter((function(e){var t=u(e),n=d(e),o=p(e),c=v(e),i=g(e),a=[t].concat(Object(ae.a)(n),[o,c],Object(ae.a)(i)).join(" ");return 0===Dn(r,a).length}))},Ln=function(e,t){var n=Object(O.useSelect)((function(t){var n=t("core/block-editor"),r=n.getInserterItems,o=n.getSettings,c=t("core/blocks"),i=c.getCategories,a=c.getCollections,l=o().__experimentalFetchReusableBlocks;return{categories:i(),collections:a(),items:r(e),fetchReusableBlocks:l}}),[e]),r=n.categories,o=n.collections,i=n.items,a=n.fetchReusableBlocks;Object(b.useEffect)((function(){a&&a()}),[]);return[i,r,o,function(e){var n=e.name,r=e.initialAttributes,o=e.innerBlocks,i=Object(c.createBlock)(n,r,function e(t){return Object(p.map)(t,(function(t){var n=Object(le.a)(t,3),r=n[0],o=n[1],i=n[2],a=void 0===i?[]:i;return Object(c.createBlock)(r,o,e(a))}))}(o));t(i)}]};function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vn(e){for(var t=1;t1)return function(e,t,n,r,o){var c=t+1;if(o<0&&n)return Object(I.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(I.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(I.sprintf)(Object(I._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,c);if(o>0&&!r)return Object(I.sprintf)(Object(I._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,c)}(e,n,r,o,c);if(r&&o)return Object(I.sprintf)(Object(I.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!o){var u=s("down");if("down"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(c>0&&o){var b=s("down");if("down"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===b)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!r){var d=s("up");if("up"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===d)return Object(I.sprintf)(Object(I.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(c<0&&r){var f=s("up");if("up"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===f)return Object(I.sprintf)(Object(I.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var xr=function(e,t,n){return"up"===e?"horizontal"===t?n?Cr.a:Sr.a:wr.a:"down"===e?"horizontal"===t?n?Sr.a:Cr.a:Ir.a:null},Pr=function(e,t,n){return"up"===e?"horizontal"===t?n?Object(I.__)("Move right"):Object(I.__)("Move left"):Object(I.__)("Move up"):"down"===e?"horizontal"===t?n?Object(I.__)("Move left"):Object(I.__)("Move right"):Object(I.__)("Move down"):null},Tr=Object(b.forwardRef)((function(e,t){var n=e.clientIds,r=e.direction,o=e.orientation,i=Object(ke.a)(e,["clientIds","direction","orientation"]),a=Object(m.useInstanceId)(Tr),l=Object(p.castArray)(n).length,u=Object(O.useSelect)((function(e){var t=e("core/block-editor"),i=t.getBlockIndex,a=t.getBlockRootClientId,l=t.getBlockOrder,s=t.getBlock,u=t.getSettings,b=t.getBlockListSettings,d=Object(p.castArray)(n),f=Object(p.first)(d),m=a(f),v=i(f,m),O=i(Object(p.last)(d),m),g=l(m),h=s(f),j=0===v,k=O===g.length-1,y=(b(m)||{}).orientation;return{blockType:h?Object(c.getBlockType)(h.name):null,isDisabled:"up"===r?j:k,rootClientId:m,firstIndex:v,isFirst:j,isLast:k,isRTL:u().isRTL,orientation:o||y}}),[n,r]),d=u.blockType,v=u.isDisabled,h=u.rootClientId,j=u.isFirst,k=u.isLast,y=u.firstIndex,_=u.isRTL,E=u.orientation,C=void 0===E?"vertical":E,S=Object(O.useDispatch)("core/block-editor"),w=S.moveBlocksDown,I=S.moveBlocksUp,B="up"===r?I:w,x="block-editor-block-mover-button__description-".concat(a);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.Button,Object(s.a)({ref:t,className:f()("block-editor-block-mover-button","is-".concat(r,"-button")),icon:xr(r,C,_),label:Pr(r,C,_),"aria-describedby":x},i,{onClick:v?null:function(e){B(n,h),i.onClick&&i.onClick(e)},"aria-disabled":v})),Object(b.createElement)("span",{id:x,className:"block-editor-block-mover-button__description"},Br(l,d&&d.title,y,j,k,"up"===r?-1:1,C,_)))})),Nr=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Tr,Object(s.a)({direction:"up",ref:t},e))})),Rr=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Tr,Object(s.a)({direction:"down",ref:t},e))}));function Dr(e){var t=e.level,n=e.isLastRow,r=e.terminatedLevels;return Object(p.times)(t-1,(function(e){var o=e+2,c=o===t;return Object(b.createElement)("div",{key:e,"aria-hidden":"true",className:f()("block-editor-block-navigator-descender-line",{"has-item":c,"is-last-row":n,"is-terminated":r.includes(o)})})}))}var Ar=Object(b.createContext)({__experimentalFeatures:!1}),Mr=function(){return Object(b.useContext)(Ar)},Lr=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var Fr=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(b.createElement)("div",{className:f()(t,"block-editor-warning")},Object(b.createElement)("div",{className:"block-editor-warning__contents"},Object(b.createElement)("p",{className:"block-editor-warning__message"},r),(b.Children.count(n)>0||o)&&Object(b.createElement)("div",{className:"block-editor-warning__actions"},b.Children.count(n)>0&&b.Children.map(n,(function(e,t){return Object(b.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})),o&&Object(b.createElement)(g.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.Button,{icon:Lr,label:Object(I.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(b.createElement)(g.MenuGroup,null,o.map((function(e,t){return Object(b.createElement)(g.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))))},Vr=n(264),Hr=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,c=e.actionText,i=e.className;return Object(b.createElement)("div",{className:i},Object(b.createElement)("div",{className:"block-editor-block-compare__content"},Object(b.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(b.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(b.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(b.createElement)("div",{className:"block-editor-block-compare__action"},Object(b.createElement)(g.Button,{isSecondary:!0,tabIndex:"0",onClick:o},c)))};var zr=function(e){var t,n,r,o,i=e.block,a=e.onKeep,l=e.onConvert,s=e.convertor,u=e.convertButtonText,d={rawContent:i.originalContent,renderedContent:Object(c.getSaveElement)(i.name,i.attributes)},m=(t=s(i),n=Object(p.castArray)(t),r=n.map((function(e){return Object(c.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),o=n.map((function(e){return Object(c.getSaveElement)(e.name,e.attributes,e.innerBlocks)})),{rawContent:r.join(""),renderedContent:o}),v=function(e,t){return Object(Vr.diffChars)(e,t).map((function(e,t){var n=f()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(b.createElement)("span",{key:t,className:n},e.value)}))}(d.rawContent,m.rawContent);return Object(b.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(b.createElement)(Hr,{title:Object(I.__)("Current"),className:"block-editor-block-compare__current",action:a,actionText:Object(I.__)("Convert to HTML"),rawContent:d.rawContent,renderedContent:d.renderedContent}),Object(b.createElement)(Hr,{title:Object(I.__)("After Conversion"),className:"block-editor-block-compare__converted",action:l,actionText:u,rawContent:v,renderedContent:m.renderedContent}))};function Ur(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Gr=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Ur()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(e){var t;return Object(zt.a)(this,r),(t=n.call(this,e)).state={compare:!1},t.onCompare=t.onCompare.bind(Object(Gt.a)(t)),t.onCompareClose=t.onCompareClose.bind(Object(Gt.a)(t)),t}return Object(Ut.a)(r,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!Object(c.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(I.__)("Convert to Classic Block"),onClick:r},{title:Object(I.__)("Attempt Block Recovery"),onClick:o}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Fr,{actions:[Object(b.createElement)(g.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(I._x)("Resolve","imperative verb")),a&&Object(b.createElement)(g.Button,{key:"edit",onClick:t,isPrimary:!0},Object(I.__)("Convert to HTML"))],secondaryActions:s},Object(I.__)("This block contains unexpected or invalid content.")),l&&Object(b.createElement)(g.Modal,{title:Object(I.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(b.createElement)(zr,{block:i,onKeep:t,onConvert:n,convertor:Kr,convertButtonText:Object(I.__)("Convert to Blocks")})))}}]),r}(b.Component),Kr=function(e){return Object(c.rawHandler)({HTML:e.originalContent})},Wr=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(O.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(c.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(c.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,Kr(n))},attemptBlockRecovery:function(){var e,t,o,i;r(n.clientId,(t=(e=n).name,o=e.attributes,i=e.innerBlocks,Object(c.createBlock)(t,o,i)))}}}))])(Gr),qr=Object(b.createElement)(Fr,{className:"block-editor-block-list__block-crash-warning"},Object(I.__)("This block has encountered an error and cannot be previewed.")),$r=function(){return qr};function Yr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Xr=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Yr()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={hasError:!1},e}return Object(Ut.a)(r,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),r}(b.Component),Qr=n(97),Zr=n.n(Qr);var Jr=function(e){var t=e.clientId,n=Object(b.useState)(""),r=Object(le.a)(n,2),o=r[0],i=r[1],a=Object(O.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]),l=Object(O.useDispatch)("core/block-editor").updateBlock;return Object(b.useEffect)((function(){i(Object(c.getBlockContent)(a))}),[a]),Object(b.createElement)(Zr.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(c.getBlockType)(a.name),n=Object(c.getBlockAttributes)(e,o,a.attributes),r=o||Object(c.getSaveContent)(e,n),s=!o||Object(c.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||i({content:r})},onChange:function(e){return i(e.target.value)}})};function eo(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function to(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:c(),getBlockParents:i,selectedBlockClientId:a()}}function no(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var ro=n(290),oo=[Object(b.createInterpolateElement)(Object(I.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(b.createElement)("kbd",null)}),Object(b.createInterpolateElement)(Object(I.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(b.createElement)("kbd",null)}),Object(b.createInterpolateElement)(Object(I.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(b.createElement)("kbd",null)}),Object(I.__)("Drag files into the editor to automatically insert media blocks."),Object(I.__)("Change a block's type by pressing the block icon on the toolbar.")];var co=function(){var e=Object(b.useState)(Math.floor(Math.random()*oo.length)),t=Object(le.a)(e,1)[0];return Object(b.createElement)(g.Tip,null,oo[t])},io=n(177),ao=n(137),lo=n(291);var so=function e(t){var n=t.className,r=t.onChange,o=t.value,c=Object(m.useInstanceId)(e),i=Object(b.useRef)();return Object(b.createElement)("div",{className:f()("block-editor-inserter__search",n)},Object(b.createElement)(g.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-".concat(c)},Object(I.__)("Search for a block")),Object(b.createElement)("input",{ref:i,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-".concat(c),type:"search",placeholder:Object(I.__)("Search for a block"),autoFocus:!0,onChange:function(e){return r(e.target.value)},autoComplete:"off",value:o||""}),Object(b.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(b.createElement)(g.Button,{icon:io.a,label:Object(I.__)("Reset search"),onClick:function(){r(""),i.current.focus()}}),!o&&Object(b.createElement)(ao.a,{icon:lo.a})))};var uo=function(e){var t=e.blockType;return Object(b.createElement)("div",{className:"block-editor-block-card"},Object(b.createElement)(Un,{icon:t.icon,showColors:!0}),Object(b.createElement)("div",{className:"block-editor-block-card__content"},Object(b.createElement)("h2",{className:"block-editor-block-card__title"},t.title),Object(b.createElement)("span",{className:"block-editor-block-card__description"},t.description)))},bo={insertUsage:{}},fo={alignWide:!1,colors:[{name:Object(I.__)("Black"),slug:"black",color:"#000000"},{name:Object(I.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(I.__)("White"),slug:"white",color:"#ffffff"},{name:Object(I.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(I.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(I.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(I.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(I.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(I.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(I.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(I.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(I.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(I._x)("Small","font size name"),size:13,slug:"small"},{name:Object(I._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(I._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(I._x)("Large","font size name"),size:36,slug:"large"},{name:Object(I._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:Object(I.__)("Thumbnail")},{slug:"medium",name:Object(I.__)("Medium")},{slug:"large",name:Object(I.__)("Large")},{slug:"full",name:Object(I.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalEnableLegacyWidgetBlock:!1,__experimentalBlockDirectory:!1,__experimentalEnableFullSiteEditing:!1,__experimentalEnableFullSiteEditingDemo:!1,__mobileEnablePageTemplates:!1,gradients:[{name:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(I.__)("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:Object(I.__)("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:Object(I.__)("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:Object(I.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(I.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function po(e,t,n){return[].concat(Object(ae.a)(e.slice(0,n)),Object(ae.a)(Object(p.castArray)(t)),Object(ae.a)(e.slice(n)))}function mo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(ae.a)(e);return o.splice(t,r),po(o,e.slice(t,t+r),n)}function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(u.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,go(o,r))})),n}function ho(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(u.a)({},n.clientId,t),ho(n.innerBlocks,n.clientId))}),{})}function jo(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(ae.a)(e);r.length;){var o=r.shift(),c=o.innerBlocks,i=Object(ke.a)(o,["innerBlocks"]);r.push.apply(r,Object(ae.a)(c)),n[i.clientId]=t(i)}return n}function ko(e){return jo(e,(function(e){return Object(p.omit)(e,"attributes")}))}function yo(e){return jo(e,(function(e){return e.attributes}))}function _o(e,t){return e===t?Oo({},e):t}function Eo(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(p.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Co=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var So=Object(p.flow)(O.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Oo({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Oo({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r&&!t.controlledInnerBlocks[r]);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(jo(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var c=Object(p.keys)(jo(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&c.push(n.rootClientId),r.cache=Oo({},r.cache,{},Co(o(c)));break;case"UPDATE_BLOCK":r.cache=Oo({},r.cache,{},Co(o([n.clientId])));break;case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Oo({},r.cache,{},Co(o(n.clientIds)));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var i=Co(o(n.replacedClientIds));r.cache=Oo({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(i,n.replacedClientIds),{},Co(Object(p.keys)(jo(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Oo({},Object(p.omit)(r.cache,n.removedClientIds),{},Co(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCKS_TO_POSITION":var a=Object(ae.a)(n.clientIds);n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Oo({},r.cache,{},Co(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Oo({},r.cache,{},Co(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Oo({},r.cache,{},Co(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var r=e,o=0;o1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(p.reduce)(t[n],(function(n,o){return r[o]?n:[].concat(Object(ae.a)(n),[o],Object(ae.a)(e(t,o)))}),[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(p.pickBy)(t.controlledInnerBlocks));return Oo({},t,{byClientId:Oo({},Object(p.omit)(t.byClientId,r),{},ko(n.blocks)),attributes:Oo({},Object(p.omit)(t.attributes,r),{},yo(n.blocks)),order:Oo({},Object(p.omit)(t.order,r),{},Object(p.omit)(go(n.blocks),o)),parents:Oo({},Object(p.omit)(t.parents,r),{},ho(n.blocks)),cache:Oo({},Object(p.omit)(t.cache,r),{},Object(p.omit)(Object(p.mapValues)(jo(n.blocks),(function(){return{}})),o))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var c=e(r,o),i="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===c&&!i){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Oo({},c,{isPersistentChange:a})}return c=Oo({},c,{isPersistentChange:i?!n:!Eo(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,c}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ko(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Oo({},e,{},ko(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Oo({},e,Object(u.a)({},t.clientId,Oo({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Oo({},Object(p.omit)(e,t.replacedClientIds),{},ko(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return yo(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Oo({},e,{},yo(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Oo({},e,Object(u.a)({},t.clientId,Oo({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(t.clientIds.every((function(t){return!e[t]})))return e;var n=t.clientIds.reduce((function(n,r){return Oo({},n,Object(u.a)({},r,Object(p.reduce)(t.attributes,(function(t,n,o){return n!==t[o]&&((t=_o(e[r],t))[o]=n),t}),e[r])))}),{});return t.clientIds.every((function(t){return n[t]===e[t]}))?e:Oo({},e,{},n);case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Oo({},Object(p.omit)(e,t.replacedClientIds),{},yo(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return go(t.blocks);case"RECEIVE_BLOCKS":return Oo({},e,{},Object(p.omit)(go(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],c=go(t.blocks,r),i=t.index,a=void 0===i?o.length:i;return Oo({},e,{},c,Object(u.a)({},r,po(o,c[r],a)));case"MOVE_BLOCKS_TO_POSITION":var l,s=t.fromRootClientId,b=void 0===s?"":s,d=t.toRootClientId,f=void 0===d?"":d,m=t.clientIds,v=t.index,O=void 0===v?e[f].length:v;if(b===f){var g=e[f],h=g.indexOf(m[0]);return Oo({},e,Object(u.a)({},f,mo(e[f],h,O,m.length)))}return Oo({},e,(l={},Object(u.a)(l,b,p.without.apply(void 0,[e[b]].concat(Object(ae.a)(m)))),Object(u.a)(l,f,po(e[f],m,O)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var C=E.indexOf(_);return Oo({},e,Object(u.a)({},y,mo(E,C,C-1,j.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,B=Object(p.first)(S),x=Object(p.last)(S),P=e[I];if(!P.length||x===Object(p.last)(P))return e;var T=P.indexOf(B);return Oo({},e,Object(u.a)({},I,mo(P,T,T+1,S.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var R=go(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Oo({},e,{},Object(p.omit)(R,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(ae.a)(e),Object(ae.a)(R[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(ae.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ho(t.blocks);case"RECEIVE_BLOCKS":return Oo({},e,{},ho(t.blocks));case"INSERT_BLOCKS":return Oo({},e,{},ho(t.blocks,t.rootClientId||""));case"MOVE_BLOCKS_TO_POSITION":return Oo({},e,{},t.clientIds.reduce((function(e,n){return e[n]=t.toRootClientId||"",e}),{}));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Oo({},Object(p.omit)(e,t.replacedClientIds),{},ho(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.clientId,o=t.hasControlledInnerBlocks;return"SET_HAS_CONTROLLED_INNER_BLOCKS"===n?Oo({},e,Object(u.a)({},r,o)):e}});function wo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;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?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];if(!r)return{};if(r.clientId===e.clientId)return e;var o={clientId:r.clientId};return"number"==typeof t.initialPosition&&(o.initialPosition=t.initialPosition),o}return e}var Io=Object(O.combineReducers)({blocks:So,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return wo(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return wo(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"REPLACE_BLOCKS"===t.type&&"number"==typeof t.initialPosition||"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type||"START_TYPING"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Oo({},e,Object(u.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Oo({},e,Object(u.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Oo({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Oo({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(c.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Oo({},e,{insertUsage:Oo({},e.insertUsage,Object(u.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(u.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((function(e,n){return Oo({},e,Object(u.a)({},n,t.attributes))}),{})}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":var n=t.clientId;return t.isHighlighted?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}}),Bo=n(110),xo=n.n(Bo),Po=n(263),To=n.n(Po),No=n(40);function Ro(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function Mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function ac(e){var t;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ro("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,ic(t,-1);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),Ho)}function lc(e){var t;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ro("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,ic(t);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),zo)}function sc(){return{type:"START_MULTI_SELECT"}}function uc(){return{type:"STOP_MULTI_SELECT"}}function bc(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function dc(){return{type:"CLEAR_SELECTED_BLOCK"}}function fc(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function pc(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!Object(c.hasBlockSupport)(t,"defaultStylePicker",!0))return e;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(null==r?void 0:r.includes("is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,a=n[t];return Fo({},e,{attributes:Fo({},i,{className:"".concat(r||""," is-style-").concat(a).trim()})})}))}function mc(e,t,n,r){var o,c,i;return mr.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(p.castArray)(e),a.t0=pc,a.t1=Object(p.castArray)(t),a.next=5,Ro("core/block-editor","getSettings");case 5:return a.t2=a.sent,t=(0,a.t0)(a.t1,a.t2),a.next=9,Ro("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:o=a.sent,c=0;case 11:if(!(c1&&void 0!==i[1]?i[1]:"",n=i.length>2&&void 0!==i[2]?i[2]:"",r=i.length>3?i[3]:void 0,a.next=5,Ro("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=a.sent)){a.next=8;break}return a.abrupt("return");case 8:if(c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:r},t!==n){a.next=13;break}return a.next=12,c;case 12:return a.abrupt("return");case 13:if("insert"!==o){a.next=15;break}return a.abrupt("return");case 15:return a.next=17,Ro("core/block-editor","canInsertBlocks",e,n);case 17:if(!a.sent){a.next=21;break}return a.next=21,c;case 21:case"end":return a.stop()}}),Go)}function kc(e){var t,n,r,o=arguments;return mr.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:"",n=o.length>2&&void 0!==o[2]?o[2]:"",r=o.length>3?o[3]:void 0,c.next=5,jc([e],t,n,r);case 5:case"end":return c.stop()}}),Ko)}function yc(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return _c([e],t,n,r)}function _c(e,t,n){var r,o,c,i,a,l=arguments;return mr.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return r=!(l.length>3&&void 0!==l[3])||l[3],s.t0=pc,s.t1=Object(p.castArray)(e),s.next=5,Ro("core/block-editor","getSettings");case 5:s.t2=s.sent,e=(0,s.t0)(s.t1,s.t2),o=[],c=Ao(e),s.prev=9,c.s();case 11:if((i=c.n()).done){s.next=19;break}return a=i.value,s.next=15,Ro("core/block-editor","canInsertBlockType",a.name,n);case 15:s.sent&&o.push(a);case 17:s.next=11;break;case 19:s.next=24;break;case 21:s.prev=21,s.t3=s.catch(9),c.e(s.t3);case 24:return s.prev=24,c.f(),s.finish(24);case 27:if(!o.length){s.next=29;break}return s.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 29:case"end":return s.stop()}}),Wo,null,[[9,21,24,27]])}function Ec(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Cc(){return{type:"HIDE_INSERTION_POINT"}}function Sc(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function wc(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ic(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Bc(e){var t,n,r,o,c=arguments;return mr.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=!(c.length>1&&void 0!==c[1])||c[1],e&&e.length){i.next=3;break}return i.abrupt("return");case 3:return e=Object(p.castArray)(e),i.next=6,Ro("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=i.sent,i.next=9,Ro("core/block-editor","getTemplateLock",n);case 9:if(!i.sent){i.next=12;break}return i.abrupt("return");case 12:if(!t){i.next=18;break}return i.next=15,ac(e[0]);case 15:r=i.sent,i.next=21;break;case 18:return i.next=20,Ro("core/block-editor","getPreviousBlockClientId",e[0]);case 20:r=i.sent;case 21:return i.next=23,{type:"REMOVE_BLOCKS",clientIds:e};case 23:return i.delegateYield(ec(),"t0",24);case 24:return o=i.t0,i.abrupt("return",[r||o]);case 26:case"end":return i.stop()}}),qo)}function xc(e,t){return Bc([e],t)}function Pc(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Tc(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Nc(){return{type:"START_TYPING"}}function Rc(){return{type:"STOP_TYPING"}}function Dc(){return{type:"START_DRAGGING_BLOCKS"}}function Ac(){return{type:"STOP_DRAGGING_BLOCKS"}}function Mc(){return{type:"ENTER_FORMATTED_TEXT"}}function Lc(){return{type:"EXIT_FORMATTED_TEXT"}}function Fc(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Vc(e,t,n){var r=Object(c.getDefaultBlockName)();if(r)return yc(Object(c.createBlock)(r,e),n,t)}function Hc(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function zc(e){return{type:"UPDATE_SETTINGS",settings:e}}function Uc(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Gc(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Kc(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function Wc(){return{type:"MARK_AUTOMATIC_CHANGE"}}function qc(){var e,t=arguments;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(Fe.speak)(Object(I.__)("You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.")):Object(Fe.speak)(Object(I.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),$o)}function $c(){var e,t=arguments;return mr.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:null,n.next=3,{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e};case 3:e&&Object(Fe.speak)(Object(I.__)("Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block."));case 4:case"end":return n.stop()}}),Yo)}function Yc(e){var t,n,r,o,i,a,l=arguments;return mr.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(t=!(l.length>1&&void 0!==l[1])||l[1],e||e.length){s.next=3;break}return s.abrupt("return");case 3:return s.next=5,Ro("core/block-editor","getBlocksByClientId",e);case 5:return n=s.sent,s.next=8,Ro("core/block-editor","getBlockRootClientId",e[0]);case 8:if(r=s.sent,!Object(p.some)(n,(function(e){return!e}))){s.next=11;break}return s.abrupt("return");case 11:if(o=n.map((function(e){return e.name})),!Object(p.some)(o,(function(e){return!Object(c.hasBlockSupport)(e,"multiple",!0)}))){s.next=14;break}return s.abrupt("return");case 14:return s.next=16,Ro("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),r);case 16:return i=s.sent,a=n.map((function(e){return Object(c.cloneBlock)(e)})),s.next=20,_c(a,i+1,r,t);case 20:if(!(a.length>1&&t)){s.next=23;break}return s.next=23,bc(Object(p.first)(a).clientId,Object(p.last)(a).clientId);case 23:return s.abrupt("return",a.map((function(e){return e.clientId})));case 24:case"end":return s.stop()}}),Xo)}function Xc(e){var t,n;return mr.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Ro("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Ro("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Ro("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Vc({},t,n);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),Qo)}function Qc(e){var t,n;return mr.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Ro("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Ro("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Ro("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Vc({},t,n+1);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),Zo)}function Zc(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function Jc(e){return mr.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zc(e,!0);case 2:return t.next=4,{type:"SLEEP",duration:150};case 4:return t.next=6,Zc(e,!1);case 6:case"end":return t.stop()}}),Jo)}function ei(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}var ti=n(42);function ni(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ri(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),wi=Object(ti.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Si(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:ii(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Ii(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Bi(e,t){for(var n,r=_i(e),o=[].concat(Object(ae.a)(Si(e,t)),[t]),c=[].concat(Object(ae.a)(Si(e,r)),[r]),i=Math.min(o.length,c.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=_i(e)),void 0===t&&(t=n<0?Mi(e):Li(e)),!t)return null;var r=Ci(e,t);if(null===r)return null;var o=e.blocks.order,c=o[r],i=c.indexOf(t),a=i+1*n;return a<0||a===c.length?null:c[a]}function Pi(e,t){return xi(e,t,-1)}function Ti(e,t){return xi(e,t,1)}function Ni(e){return e.initialPosition}var Ri=Object(ti.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return ci;if(t.clientId===n.clientId)return[t.clientId];var r=Ci(e,t.clientId);if(null===r)return ci;var o=Gi(e,r),c=o.indexOf(t.clientId),i=o.indexOf(n.clientId);return c>i?o.slice(i,c+1):o.slice(c,i+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Di(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?ci:Ri(e)}var Ai=Object(ti.a)((function(e){var t=Di(e);return t.length?t.map((function(t){return si(e,t)})):ci}),(function(e){return[].concat(Object(ae.a)(Ri.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Mi(e){return Object(p.first)(Di(e))||null}function Li(e){return Object(p.last)(Di(e))||null}function Fi(e,t){return Mi(e)===t}function Vi(e,t){return-1!==Di(e).indexOf(t)}var Hi=Object(ti.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Vi(e,n=Ci(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function zi(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function Ui(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function Gi(e,t){return e.blocks.order[t||""]||ci}function Ki(e,t,n){return Gi(e,n).indexOf(t)}function Wi(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function qi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(Gi(e,t),(function(t){return Wi(e,t)||Vi(e,t)||n&&qi(e,t,n)}))}function $i(e,t){if(!t)return!1;var n=Di(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n},o=Object(c.getBlockType)(t);if(!o)return!1;var i=va(e),a=i.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!ia(e,n);if(s)return!1;var u=ma(e,n),b=Object(p.get)(u,["allowedBlocks"]),d=r(b,t),f=o.parent,m=ii(e,n),v=r(f,m);return null!==d&&null!==v?d||v:null!==d?d:null===v||v},la=Object(ti.a)(aa,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function sa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((function(t){return la(e,ii(e,t),n)}))}function ua(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var ba=function(e,t,n){return!!Object(c.hasBlockSupport)(t,"inserter",!0)&&aa(e,t.name,n)},da=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=function(t){var r=t.name,o=!1;Object(c.hasBlockSupport)(t.name,"multiple",!0)||(o=Object(p.some)(mi(e,fi(e)),{name:t.name}));var i=ua(e,r)||{},a=i.time,l=i.count,s=void 0===l?0:l,u=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:r,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:u,example:t.example,isDisabled:o,utility:1,frecency:n(a,s)}},o=function(t){var r,o="core/block/".concat(t.id),i=ha(e,t.id);1===i.length&&(r=Object(c.getBlockType)(i[0].name));var a=ua(e,o)||{},l=a.time,s=a.count,u=n(l,void 0===s?0:s);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:r?r.icon:oi,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:u}},i=Object(c.getBlockTypes)().filter((function(n){return ba(e,n,t)})).map(r),a=aa(e,"core/block",t)?ya(e).map(o):[];return[].concat(Object(ae.a)(i),Object(ae.a)(a))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,ya(e),Object(c.getBlockTypes)()]})),fa=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(c.getBlockTypes)(),(function(n){return ba(e,n,t)}));if(n)return!0;var r=aa(e,"core/block",t)&&ya(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,ya(e),Object(c.getBlockTypes)()]})),pa=Object(ti.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(c.getBlockTypes)(),(function(n){return ba(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(c.getBlockTypes)()]}));function ma(e,t){return e.blockListSettings[t]}function va(e){return e.settings}function Oa(e){return e.blocks.isPersistentChange}var ga=Object(ti.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),ha=Object(ti.a)((function(e,t){var n=Object(p.find)(ya(e),(function(e){return e.id===t}));return n?Object(c.parse)(n.content):null}),(function(e){return[ya(e)]}));function ja(e){return e.blocks.isIgnoredChange}function ka(e){return e.lastBlockAttributesChange}function ya(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],ci)}function _a(e){return e.isNavigationMode}function Ea(e){return e.hasBlockMovingClientId}function Ca(e){return!!e.automaticChangeStatus}function Sa(e,t){return e.highlightedBlock===t}function wa(e,t){return!!e.blocks.controlledInnerBlocks[t]}function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ba(e){for(var t=1;t=d&&u<=f?u:u6||j.length>6,P=Object(b.useMemo)((function(){return An(j,k,y,l)}),[l,j,k,y]),T=Object(b.useMemo)((function(){return Mn(S,l)}),[l,S]),N=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().__experimentalSetIsInserterOpened}),[]),R=Object(O.useSelect)((function(e){return e("core/block-editor").getPreviousBlockClientId(n)}),[n]);Object(b.useEffect)((function(){N&&N(!1)}),[N]);var D=Object(O.useDispatch)("core/block-editor").selectBlock;return Object(b.useEffect)((function(){if(l){var e=P.length+T.length,t=Object(I.sprintf)(Object(I._n)("%d result found.","%d results found.",e),e);c(t)}}),[l,c]),Object(b.createElement)("div",{className:"block-editor-inserter__quick-inserter",onKeyPress:Pl,onKeyDown:xl},x&&Object(b.createElement)(so,{value:l,onChange:function(e){s(e)}}),Object(b.createElement)(Tl,{blockTypes:P,blockPatterns:B?T:[],onSelectBlockPattern:w,onSelectBlockType:_,onHover:m}),N&&Object(b.createElement)(g.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:function(){D(R),N(!0)},"aria-label":Object(I.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(I.__)("Browse all")))}));function Rl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Dl=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,c=e.blockTitle,i=e.hasSingleBlockType,a=e.toggleProps;return t=i?Object(I.sprintf)(Object(I._x)("Add %s","directly add the only allowed block"),c):Object(I._x)("Add block","Generic label for block inserter button"),Object(b.createElement)(g.Button,Object(s.a)({icon:ro.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!i&&"true","aria-expanded":!i&&o,disabled:r},a))},Al=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Rl()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).onToggle=e.onToggle.bind(Object(Gt.a)(e)),e.renderToggle=e.renderToggle.bind(Object(Gt.a)(e)),e.renderContent=e.renderContent.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,c=r.blockTitle,i=r.hasSingleBlockType,a=r.toggleProps,l=r.hasItems,s=r.renderToggle,u=void 0===s?Dl:s;return u({onToggle:t,isOpen:n,disabled:o||!l,blockTitle:c,hasSingleBlockType:i,toggleProps:a})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,c=n.isAppender,i=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return n.__experimentalIsQuick?Object(b.createElement)(Nl,{rootClientId:r,clientId:o,isAppender:c,selectBlockOnInsert:a}):Object(b.createElement)(Bl,{onSelect:t,rootClientId:r,clientId:o,isAppender:c,showInserterHelpPanel:i,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock,o=e.__experimentalIsQuick;return n?this.renderToggle({onToggle:r}):Object(b.createElement)(g.Dropdown,{className:"block-editor-inserter",contentClassName:f()("block-editor-inserter__popover",{"is-quick":o}),position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(I.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),r}(b.Component),Ml=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),c=o.getBlockRootClientId,i=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").getBlockVariations,s=a(r=r||c(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),b=!1;return u&&(b=s[0]),{hasItems:i(r),hasSingleBlockType:u,blockTitle:b?b.title:"",allowedBlockType:b,rootClientId:r}})),Object(O.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,i=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(c.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,c=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=c();return!i&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(I.sprintf)(Object(I.__)("%s block added"),l.title);Object(Fe.speak)(u)}}}})),Object(m.ifCondition)((function(e){var t=e.hasItems,n=e.isAppender,r=e.rootClientId,o=e.clientId;return t||!n&&!r&&!o}))])(Al),Ll=Object(b.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,c=e.noCapture,i=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(O.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(O.useDispatch)("core/block-editor").setNavigationMode;return Object(b.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(c.current)c.current=null;else if(n){var e=qe(n);if(r){var t=hr.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(i)return void a.current.focus();s(!0);var l=hr.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),Fl=window,Vl=Fl.getSelection,Hl=Fl.getComputedStyle,zl=Object(p.overEvery)([hr.isTextField,hr.focus.tabbable.isTabbableIndex]);function Ul(e,t,n,r){var o,c=hr.focus.focusable.find(n);return t&&(c=Object(p.reverse)(c)),c=c.slice(c.indexOf(e)+1),r&&(o=e.getBoundingClientRect()),Object(p.find)(c,(function t(n,c,i){if(!hr.focus.tabbable.isTabbableIndex(n))return!1;if(r){var a=n.getBoundingClientRect();if(a.left>=o.right||a.right<=o.left)return!1}if(Object(hr.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return e.classList.contains("block-editor-block-list__layout")||!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var l,s=1;(l=i[c+s])&&n.contains(l);s++)if(t(l,c+s,i))return!1;return!0}))}function Gl(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,c=t.getPreviousBlockClientId,i=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,b=t.isNavigationMode,d=t.hasBlockMovingClientId,f=t.getBlockIndex,p=t.getBlockRootClientId,m=t.getClientIdsOfDescendants,v=t.canInsertBlockType,O=t.getBlockName,g=t.isSelectionEnabled,h=t.getBlockSelectionStart,j=t.isMultiSelecting,k=t.getSettings,y=n(),_=r(),E=o();return{selectedBlockClientId:y,selectionStartClientId:_,selectionBeforeEndClientId:c(E||y),selectionAfterEndClientId:i(E||y),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:b(),hasBlockMovingClientId:d,getBlockIndex:f,getBlockRootClientId:p,getClientIdsOfDescendants:m,canInsertBlockType:v,getBlockName:O,isSelectionEnabled:g(),blockSelectionStart:h(),isMultiSelecting:j(),keepCaretInsideBlock:k().keepCaretInsideBlock}}function Kl(e){var t=e.children,n=Object(b.useRef)(),r=Object(b.useRef)(),o=Object(b.useRef)(),c=Object(b.useRef)(),i=Object(b.useRef)(),a=Object(b.useRef)(),l=Object(b.useRef)(),s=Object(O.useSelect)(Gl,[]),u=s.selectedBlockClientId,d=s.selectionStartClientId,m=s.selectionBeforeEndClientId,v=s.selectionAfterEndClientId,g=s.selectedFirstClientId,h=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.hasBlockMovingClientId,E=s.isSelectionEnabled,C=s.blockSelectionStart,S=s.isMultiSelecting,w=s.getBlockIndex,B=s.getBlockRootClientId,x=s.getClientIdsOfDescendants,P=s.canInsertBlockType,T=s.getBlockName,N=s.keepCaretInsideBlock,R=Object(O.useDispatch)("core/block-editor"),D=R.multiSelect,A=R.selectBlock,M=R.clearSelectedBlock,L=R.setNavigationMode,F=R.setBlockMovingClientId,V=R.moveBlockToPosition,H=Object(b.useState)(!1),z=Object(le.a)(H,2),U=z[0],G=z[1];Object(b.useEffect)((function(){j&&!S&&c.current.focus()}),[j,S]);var K=f()("block-editor-writing-flow",{"is-navigate-mode":y,"is-block-moving-mode":!!_(),"can-insert-moving-block":U});return Object(b.createElement)("div",{className:K},Object(b.createElement)(Ll,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:c}),Object(b.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,b=t===it.UP,f=t===it.DOWN,O=t===it.LEFT,E=t===it.RIGHT,C=t===it.TAB,S=t===it.ESCAPE,I=t===it.ENTER,R=t===it.SPACE,H=b||O,z=O||E,U=b||f,K=z||U,W=e.shiftKey,q=W||e.ctrlKey||e.altKey||e.metaKey,$=U?hr.isVerticalEdge:hr.isHorizontalEdge;if(y){var Y,X=C&&W||b,Q=C&&!W||f,Z=O,J=E;if(X)Y=m;else if(Q)Y=v;else if(Z){var ee;Y=null!==(ee=B(u))&&void 0!==ee?ee:u}else if(J){var te;Y=null!==(te=x([u])[0])&&void 0!==te?te:u}var ne=_();if(ne&&Y&&G(P(T(ne),B(Y))),S&&ne&&(F(null),G(!1)),(I||R)&&ne){var re=B(ne),oe=B(u),ce=w(ne,re),ie=w(u,oe);cen}));if(r){var o=r.id.slice("block-".length);if(o){var a=r.getBoundingClientRect();e.clientX>a.right||e.clientX-1&&Object(Fe.speak)(k)}),[]);var j=Object(c.getBlockType)(a),k=Object(c.__experimentalGetAccessibleBlockLabel)(j,l,i+1,d),y=f()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!u});return Object(b.createElement)("div",Object(s.a)({className:y},r),Object(b.createElement)(g.Button,{ref:h,onClick:function(){return m(!1)},onKeyDown:function(e){var n=e.keyCode;n!==it.BACKSPACE&&n!==it.DELETE||(v(t),e.preventDefault())},label:k},Object(b.createElement)(Yn,{clientId:t})))};function Xl(e){var t,n,r,o=Object(b.useState)(!0),c=Object(le.a)(o,2),i=c[0],a=c[1],l=Object(b.useCallback)((function(){var t=hr.focus.tabbable.find(e.current);a(!t.some((function(e){return!("experimentalToolbarItem"in e.dataset)})))}),[]);return Object(b.useLayoutEffect)(l,[]),t=function(){var t=new window.MutationObserver(l);return t.observe(e.current,{childList:!0,subtree:!0}),function(){return t.disconnect()}},n=[i],r=Object(b.useRef)(!1),Object(b.useLayoutEffect)((function(){if(r.current)return t();r.current=!0}),n),i}function Ql(e,t,n){var r=Object(b.useState)(t),o=Object(le.a)(r,1)[0],c=Object(b.useCallback)((function(){var t,n,r;t=e.current,n=hr.focus.tabbable.find(t),(r=Object(le.a)(n,1)[0])&&r.focus()}),[]);Object(l.useShortcut)("core/block-editor/focus-toolbar",c,{bindGlobal:!0,eventName:"keydown"}),Object(b.useEffect)((function(){o&&c()}),[n,o,c])}var Zl=function(e){var t=e.children,n=e.focusOnMount,r=Object(ke.a)(e,["children","focusOnMount"]),o=Object(b.useRef)(),c=Xl(o);return Ql(o,n,c),c?Object(b.createElement)(g.Toolbar,Object(s.a)({__experimentalAccessibilityLabel:r["aria-label"],ref:o},r),t):Object(b.createElement)(g.NavigableMenu,Object(s.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};function Jl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var es=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Jl()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Gt.a)(e)),e.onBlur=e.onBlur.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.isFirst,n=e.isLast,r=e.clientIds,o=e.isLocked,c=e.isHidden,i=e.rootClientId,a=e.orientation,l=this.state.isFocused;return o||t&&n&&!i?null:Object(b.createElement)("div",{className:f()("block-editor-block-mover",{"is-visible":l||!c,"is-horizontal":"horizontal"===a})},Object(b.createElement)(g.ToolbarGroup,null,Object(b.createElement)(g.__experimentalToolbarItem,{onFocus:this.onFocus,onBlur:this.onBlur},(function(e){return Object(b.createElement)(Nr,Object(s.a)({clientIds:r},e))})),Object(b.createElement)(g.__experimentalToolbarItem,{onFocus:this.onFocus,onBlur:this.onBlur},(function(e){return Object(b.createElement)(Rr,Object(s.a)({clientIds:r},e))}))))}}]),r}(b.Component),ts=Object(O.withSelect)((function(e,t){var n,r=t.clientIds,o=e("core/block-editor"),i=o.getBlock,a=o.getBlockIndex,l=o.getBlockListSettings,s=o.getTemplateLock,u=o.getBlockOrder,b=o.getBlockRootClientId,d=Object(p.castArray)(r),f=Object(p.first)(d),m=i(f),v=b(Object(p.first)(d)),O=a(f,v),g=0===O,h=a(Object(p.last)(d),v)===u(v).length-1;return{blockType:m?Object(c.getBlockType)(m.name):null,isLocked:"all"===s(v),rootClientId:v,firstIndex:O,isFirst:g,isLast:h,orientation:null===(n=l(v))||void 0===n?void 0:n.orientation}}))(es);function ns(){var e=Object(O.useDispatch)("core/block-editor").selectBlock,t=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=(0,t.getBlockParents)((0,t.getSelectedBlockClientId)()),o=r[r.length-1],i=n(o);return{parentBlockType:Object(c.getBlockType)(i),firstParentClientId:o}}),[]),n=t.parentBlockType,r=t.firstParentClientId;return void 0!==r?Object(b.createElement)("div",{className:"block-editor-block-parent-selector",key:r},Object(b.createElement)(g.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:function(){return e(r)},label:Object(I.sprintf)(Object(I.__)("Select parent (%s)"),n.title),showTooltip:!0,icon:Object(b.createElement)(Un,{icon:n.icon})})):null}var rs=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}));function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cs(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,c=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(i)throw o}}}}function as(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}})),Object(O.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(c.switchToBlockType)(n,r))}}})))(ms),Os=n(44);function gs(){var e=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]).getBlockName,t=Object(O.useSelect)((function(e){return e("core/blocks")}),[]).getBlockType,n=Object(O.useDispatch)("core/notices").createSuccessNotice;return Object(b.useCallback)((function(r,o){var c="";if(1===o.length){var i=o[0],a=t(e(i)).title;c="copy"===r?Object(I.sprintf)(Object(I.__)('Copied "%s" to clipboard.'),a):Object(I.sprintf)(Object(I.__)('Moved "%s" to clipboard.'),a)}else c="copy"===r?Object(I.sprintf)(Object(I._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",o.length),o.length):Object(I.sprintf)(Object(I._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",o.length),o.length);n(c,{type:"snackbar"})}),[])}var hs=function(e){var t=e.children,n=Object(b.useRef)(),r=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=Object(O.useDispatch)("core/block-editor"),u=s.flashBlock,d=s.removeBlocks,f=s.replaceBlocks,m=gs(),v=l().__experimentalCanUserUseUnfilteredHTML,g=function(e){var t=i();if(0!==t.length){if(!a())if("copy"===e.type||"cut"===e.type?Object(hr.documentHasUncollapsedSelection)():Object(hr.documentHasSelection)())return;if(n.current.contains(e.target)){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){1===t.length&&u(t[0]),m(e.type,t);var r=o(t),l=Object(c.serialize)(r);e.clipboardData.setData("text/plain",l),e.clipboardData.setData("text/html",l)}if("cut"===e.type)d(t);else if("paste"===e.type){var s=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",c="";try{o=t.getData("text/plain"),c=t.getData("text/html")}catch(e){try{c=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,c=t.size;Object(p.find)(r,{name:n,type:o,size:c})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!c&&(c=r.map((function(e){return'')})).join(""),o=""),{html:c,plainText:o}}(e),b=s.plainText,O=s.html,g=Object(c.pasteHandler)({HTML:O,plainText:b,mode:"BLOCKS",canUserUseUnfilteredHTML:v});f(t,g,g.length-1,-1)}}}};return Object(b.createElement)("div",{ref:n,onCopy:g,onCut:g,onPaste:g},t)};function js(e){var t=e.clientIds,n=e.children,r=e.__experimentalUpdateSelection,o=Object(O.useSelect)((function(e){return e("core/block-editor")}),[]),i=o.canInsertBlockType,a=o.getBlockRootClientId,l=o.getBlocksByClientId,s=o.getTemplateLock,u=Object(O.useSelect)((function(e){return e("core/blocks")}),[]),b=u.getDefaultBlockName,d=u.getGroupingBlockName,f=l(t),m=a(t[0]),v=Object(p.every)(f,(function(e){return!!e&&Object(c.hasBlockSupport)(e.name,"multiple",!0)&&i(e.name,m)})),g=i(b(),m),h=Object(O.useDispatch)("core/block-editor"),j=h.removeBlocks,k=h.replaceBlocks,y=h.duplicateBlocks,_=h.insertAfterBlock,E=h.insertBeforeBlock,C=h.flashBlock,S=h.setBlockMovingClientId,w=h.setNavigationMode,I=gs();return n({canDuplicate:v,canInsertDefaultBlock:g,isLocked:!!s(m),rootClientId:m,blocks:f,onDuplicate:function(){return y(t,r)},onRemove:function(){return j(t,r)},onInsertBefore:function(){E(Object(p.first)(Object(p.castArray)(t)))},onInsertAfter:function(){_(Object(p.last)(Object(p.castArray)(t)))},onMoveTo:function(){w(!0),S(t[0])},onGroup:function(){if(f.length){var e=d(),n=Object(c.switchToBlockType)(f,e);n&&k(t,n)}},onUngroup:function(){if(f.length){var e=f[0].innerBlocks;e.length&&k(t,e)}},onCopy:function(){var e=f.map((function(e){return e.clientId}));1===f.length&&C(e[0]),I("copy",e)}})}var ks=Object(m.compose)([Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:i(n),blockType:l?Object(c.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(O.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(c.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(I.__)("Edit as HTML"):Object(I.__)("Edit visually");return Object(b.createElement)(g.MenuItem,{onClick:r},!i&&s)}));function ys(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(I.__)("Convert to Blocks");return Object(b.createElement)(g.MenuItem,{onClick:n},!r&&o)}var _s=Object(m.compose)(Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(O.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(c.rawHandler)({HTML:Object(c.getBlockContent)(n)}))}}})))(ys),Es=Object(m.compose)(Object(O.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(c.getFreeformContentHandlerName)()}})),Object(O.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(c.rawHandler)({HTML:Object(c.serialize)(n)}))}}})))(ys),Cs=Object(g.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Ss=Cs.Fill,ws=Cs.Slot;Ss.Slot=ws;var Is=Ss;function Bs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xs(e){for(var t=1;tc){var a=Math.max(o-c-50,0),l=Math.max(i-c-50,0)/a;n.current=25*l}else if(e.clientY1,C=f()("block-editor-block-toolbar",y&&"is-showing-movers");return Object(b.createElement)("div",{className:C},Object(b.createElement)("div",Object(s.a)({className:"block-editor-block-toolbar__mover-switcher-container",ref:v},j),!E&&Object(b.createElement)("div",{className:"block-editor-block-toolbar__block-parent-selector-wrapper"},Object(b.createElement)(ns,{clientIds:r})),(_||E)&&Object(b.createElement)(Vs,{clientIds:r,cloneClassname:"block-editor-block-toolbar__drag-clone"},(function(e){var n=e.isDraggable,o=e.onDraggableStart,c=e.onDraggableEnd;return Object(b.createElement)("div",{className:"block-editor-block-toolbar__block-switcher-wrapper",draggable:n&&!t,onDragStart:o,onDragEnd:c},Object(b.createElement)(vs,{clientIds:r}),Object(b.createElement)(ts,{clientIds:r}))}))),_&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(w.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(b.createElement)(fr.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(b.createElement)(Ms,{clientIds:r}))}var Ws=function(e){var t=e.focusOnMount,n=Object(ke.a)(e,["focusOnMount"]),r=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getSelectedBlockClientIds,o=e("core/blocks").getBlockType,c=r()[0];return{blockType:c&&o(n(c))}}),[]).blockType;return r&&!Object(c.hasBlockSupport)(r,"__experimentalToolbar",!0)?null:Object(b.createElement)("div",{className:"block-editor-block-contextual-toolbar-wrapper"},Object(b.createElement)(Zl,Object(s.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(I.__)("Block tools")},n),Object(b.createElement)(Ks,null)))};function qs(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,c=t.isTyping,i=t.isCaretWithinFormattedText,a=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:c(),isCaretWithinFormattedText:i(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar,lastClientId:l()}}function $s(e){var t=e.clientId,n=e.rootClientId,r=e.isValid,o=e.isEmptyDefaultBlock,c=e.capturingClientId,i=Object(O.useSelect)(qs,[]),a=i.isNavigationMode,s=i.isMultiSelecting,u=i.isTyping,d=i.isCaretWithinFormattedText,p=i.hasMultiSelection,v=i.hasFixedToolbar,h=i.lastClientId,j=Object(m.useViewportMatch)("medium"),k=Object(b.useState)(!1),y=Object(le.a)(k,2),_=y[0],E=y[1],C=Object(b.useState)(!1),S=Object(le.a)(C,2),w=S[0],I=S[1],B=Object(b.useContext)(Zs),x=!a&&o&&r,P=a,T=!a&&!v&&j&&!x&&!s&&(!u||d),N=!(a||T||v||o);if(Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(b.useCallback)((function(){return E(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!N}),!(P||T||_||x))return null;var R=B[t];if(c&&(R=document.getElementById("block-"+c)),!R)return null;var D=R;if(p){var A=B[h];if(!A)return null;D={top:R,bottom:A}}var M=x?"top left right":"top right left";return Object(b.createElement)(g.Popover,{noArrow:!0,animate:!1,position:M,focusOnMount:!1,anchorRef:D,className:"block-editor-block-list__block-popover",__unstableSticky:!x,__unstableSlotName:"block-toolbar",__unstableBoundaryParent:!0,__unstableObserveElement:R,onBlur:function(){return E(!1)},shouldAnchorIncludePadding:!0},(T||_)&&Object(b.createElement)("div",{onFocus:function(){I(!0)},onBlur:function(){I(!1)},tabIndex:-1,className:f()("block-editor-block-list__block-popover-inserter",{"is-visible":w})},Object(b.createElement)(Ml,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(T||_)&&Object(b.createElement)(Ws,{focusOnMount:_}),P&&Object(b.createElement)(Yl,{clientId:t,rootClientId:n}),x&&Object(b.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(b.createElement)(Ml,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function Ys(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,i=t.__unstableGetBlockWithoutInnerBlocks,a=t.getBlockParents,l=t.__experimentalGetBlockListSettingsForBlocks,s=n()||r();if(s){var u,b=i(s)||{},d=b.name,f=b.attributes,m=void 0===f?{}:f,v=b.isValid,O=a(s),g=l(O),h=Object(p.findIndex)(g,["__experimentalCaptureToolbars",!0]);return-1!==h&&(u=O[h]),{clientId:s,rootClientId:o(s),name:d,isValid:v,isEmptyDefaultBlock:d&&Object(c.isUnmodifiedDefaultBlock)({name:d,attributes:m}),capturingClientId:u}}}function Xs(){var e=Object(O.useSelect)(Ys,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.isValid,c=e.isEmptyDefaultBlock,i=e.capturingClientId;return r?Object(b.createElement)($s,{clientId:t,rootClientId:n,isValid:o,isEmptyDefaultBlock:c,capturingClientId:i}):null}var Qs=Object(b.createContext)(),Zs=Object(b.createContext)(),Js=Object(b.createContext)();function eu(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection;return{selectedBlockClientId:n(),hasMultiSelection:r()}}function tu(e){Ye(e.target)&&e.preventDefault()}var nu=Object(b.forwardRef)((function(e,t){var n=e.children,r=e.className,o=Object(O.useSelect)(eu,[]),c=o.selectedBlockClientId,i=o.hasMultiSelection,a=Object(O.useDispatch)("core/block-editor").selectBlock,l=function(e){var t=Object(O.useSelect)(to,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.selectedBlockClientId,l=Object(O.useDispatch)("core/block-editor"),s=l.startMultiSelect,u=l.stopMultiSelect,d=l.multiSelect,f=l.selectBlock,p=Object(b.useRef)(),m=Object(b.useRef)(),v=Object(b.useRef)();Object(b.useEffect)((function(){if(c&&!r){var e=o.length;if(!(e<2)){var t=o[0],n=o[e-1],i=qe(t),l=qe(n),s=window.getSelection(),u=document.createRange();i=eo(i,"start"),l=eo(l,"end"),u.setStartBefore(i),u.setEndAfter(l),s.removeAllRanges(),s.addRange(u)}}else{if(!a||r)return;var b=window.getSelection();if(b.rangeCount&&!b.isCollapsed){var d=qe(a),f=b.getRangeAt(0),p=f.startContainer,m=f.endContainer;!d||d.contains(p)&&d.contains(m)||b.removeAllRanges()}}}),[c,r,o,f,a]);var g=Object(b.useCallback)((function(t){var n=t.isSelectionEnd,r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=Ye(r.focusNode);if(m.current===o){if(f(o),n&&(no(e.current,!0),r.rangeCount)){var c=r.getRangeAt(0).commonAncestorContainer;v.current.contains(c)&&v.current.focus()}}else{var a=[].concat(Object(ae.a)(i(m.current)),[m.current]),l=[].concat(Object(ae.a)(i(o)),[o]),s=Math.min(a.length,l.length)-1;d(a[s],l[s])}}else no(e.current,!0)}),[f,i,d]),h=Object(b.useCallback)((function(){document.removeEventListener("selectionchange",g),window.removeEventListener("mouseup",h),p.current=window.requestAnimationFrame((function(){g({isSelectionEnd:!0}),u()}))}),[g,u]);return Object(b.useEffect)((function(){return function(){document.removeEventListener("selectionchange",g),window.removeEventListener("mouseup",h),window.cancelAnimationFrame(p.current)}}),[g,h]),Object(b.useCallback)((function(t){n&&(m.current=t,v.current=document.activeElement,s(),document.addEventListener("selectionchange",g),window.addEventListener("mouseup",h),no(e.current,!1))}),[n,s,h])}(t),s=Object(b.useState)({}),u=Object(le.a)(s,2),d=u[0],p=u[1];return Object(b.createElement)($l,{containerRef:t},Object(b.createElement)(Zs.Provider,{value:d},Object(b.createElement)(Xs,null),Object(b.createElement)("div",{ref:t,className:f()(r,"is-root-container"),onFocus:function(e){if(!i){var t=Ye(e.target);t&&t!==c&&a(t)}},onDragStart:tu},Object(b.createElement)(Js.Provider,{value:p},Object(b.createElement)(Qs.Provider,{value:l},n)))))})),ru=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"];function ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t1,w=m||k,B=f()("block-editor-block-navigation-block__mover-cell",{"is-visible":w}),x=Mr().__experimentalFeatures,P=f()("block-editor-block-navigation-block__menu-cell",{"is-visible":w});return Object(b.useEffect)((function(){x&&n&&u.current.focus()}),[x,n]),Object(b.createElement)(Er,{className:f()({"is-selected":n}),onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onFocus:function(){return y(!0)},onBlur:function(){return y(!1)},level:c,position:o,rowCount:i,path:s},Object(b.createElement)(g.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:S?void 0:2,ref:u},(function(e){var a=e.ref,s=e.tabIndex,u=e.onFocus;return Object(b.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(b.createElement)(Dr,{level:c,isLastRow:o===i,terminatedLevels:l}),Object(b.createElement)(ju,{block:t,onClick:function(){return r(t.clientId)},isSelected:n,position:o,siblingCount:C,level:c,ref:a,tabIndex:s,onFocus:u}))})),S&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.__experimentalTreeGridCell,{className:B,withoutGridItem:!0},Object(b.createElement)(g.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(b.createElement)(Nr,{__experimentalOrientation:"vertical",clientIds:[E],ref:t,tabIndex:n,onFocus:r})})),Object(b.createElement)(g.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(b.createElement)(Rr,{__experimentalOrientation:"vertical",clientIds:[E],ref:t,tabIndex:n,onFocus:r})})))),x&&Object(b.createElement)(g.__experimentalTreeGridCell,{className:P},(function(e){var t=e.ref,n=e.tabIndex,o=e.onFocus;return Object(b.createElement)(As,{clientIds:[E],icon:Or.a,toggleProps:{ref:t,tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},(function(e){var t=e.onClose;return Object(b.createElement)(g.MenuGroup,null,Object(b.createElement)(g.MenuItem,{onClick:Object(vr.a)(mr.a.mark((function e(){return mr.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(null);case 2:return e.next=4,_(E);case 4:t();case 5:case"end":return e.stop()}}),e)})))},Object(I.__)("Go to block")))}))})))}function yu(e){var t=e.parentBlockClientId,n=e.position,r=e.level,o=e.rowCount,c=e.terminatedLevels,i=e.path,a=Object(m.useInstanceId)(yu),l="block-navigation-appender-row__description_".concat(a),s=Object(I.sprintf)(Object(I.__)("Add block at position %1$d, Level %2$d"),n,r);return Object(b.createElement)(Er,{level:r,position:n,rowCount:o,path:i},Object(b.createElement)(g.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},(function(e){var i=e.ref,a=e.tabIndex,u=e.onFocus;return Object(b.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(b.createElement)(Dr,{level:r,isLastRow:n===o,terminatedLevels:c}),Object(b.createElement)(Ml,{rootClientId:t,__experimentalSelectBlockOnInsert:!1,"aria-describedby":l,toggleProps:{ref:i,tabIndex:a,onFocus:u}}),Object(b.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:l},s))})))}function _u(e){var t=e.blocks,n=e.selectBlock,r=e.selectedBlockClientId,o=e.showAppender,c=e.showBlockMovers,i=e.showNestedBlocks,a=e.parentBlockClientId,l=e.level,s=void 0===l?1:l,u=e.terminatedLevels,d=void 0===u?[]:u,f=e.path,m=void 0===f?[]:f,v=!a,O=Object(p.compact)(t),g=function(e){return o&&!v&&r===e},h=g(a),j=h?O.length+1:O.length,k=j;return Object(b.createElement)(b.Fragment,null,Object(p.map)(O,(function(e,t){var a=e.clientId,l=e.innerBlocks,u=t+1,f=j===u?[].concat(Object(ae.a)(d),[s]):d,p=[].concat(Object(ae.a)(m),[u]),v=i&&!!l&&!!l.length,O=g(a);return Object(b.createElement)(b.Fragment,{key:a},Object(b.createElement)(ku,{block:e,onClick:n,isSelected:r===a,level:s,position:u,rowCount:j,showBlockMovers:c,terminatedLevels:d,path:p}),(v||O)&&Object(b.createElement)(_u,{blocks:l,selectedBlockClientId:r,selectBlock:n,showAppender:o,showBlockMovers:c,showNestedBlocks:i,parentBlockClientId:a,level:s+1,terminatedLevels:f,path:p}))})),h&&Object(b.createElement)(yu,{parentBlockClientId:a,position:j,rowCount:k,level:s,terminatedLevels:d,path:[].concat(Object(ae.a)(m),[k])}))}function Eu(e){var t=e.__experimentalFeatures,n=Object(ke.a)(e,["__experimentalFeatures"]),r=Object(b.useMemo)((function(){return{__experimentalFeatures:t}}),[t]);return Object(b.createElement)(g.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(I.__)("Block navigation structure")},Object(b.createElement)(Ar.Provider,{value:r},Object(b.createElement)(_u,n)))}_u.defaultProps={selectBlock:function(){}};var Cu=Object(m.compose)(Object(O.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,c=t.getBlocks,i=n();return{rootBlocks:c(),rootBlock:i?o(r(i)):null,selectedBlockClientId:i}})),Object(O.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,c=e.__experimentalFeatures;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(b.createElement)("div",{className:"block-editor-block-navigation__container"},Object(b.createElement)("p",{className:"block-editor-block-navigation__label"},Object(I.__)("Block navigation")),i&&Object(b.createElement)(Eu,{blocks:[t],selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c,showNestedBlocks:!0}),!i&&Object(b.createElement)(Eu,{blocks:n,selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c}))})),Su=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(b.createElement)(g.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));function wu(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen,o=e.innerRef,c=Object(ke.a)(e,["isEnabled","onToggle","isOpen","innerRef"]);Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(b.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var i=Object(O.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(b.createElement)(g.Button,Object(s.a)({},c,{ref:o,icon:Su,"aria-expanded":r,onClick:t?n:void 0,label:Object(I.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:i,"aria-disabled":!t}))}var Iu=Object(b.forwardRef)((function(e,t){var n=e.isDisabled,r=e.__experimentalFeatures,o=Object(ke.a)(e,["isDisabled","__experimentalFeatures"]),c=Object(O.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!n;return Object(b.createElement)(g.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(b.createElement)(wu,Object(s.a)({},o,{innerRef:t,isOpen:n,onToggle:r,isEnabled:c}))},renderContent:function(e){var t=e.onClose;return Object(b.createElement)(Cu,{onSelect:t,__experimentalFeatures:r})}})})),Bu=n(125),xu=[it.rawShortcut.primary("z"),it.rawShortcut.primaryShift("z"),it.rawShortcut.primary("y")],Pu=Object(b.createElement)(g.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(xu.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Tu=function(){return Pu};function Nu(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Ru={position:"bottom right",isAlternate:!0},Du=function(){return Object(b.createElement)("div",{className:"block-editor-format-toolbar"},Object(b.createElement)(g.ToolbarGroup,null,["bold","italic","link","text-color"].map((function(e){return Object(b.createElement)(g.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(b.createElement)(g.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(b.createElement)(g.__experimentalToolbarItem,null,(function(t){return Object(b.createElement)(g.DropdownMenu,{icon:Ir.a,label:Object(I.__)("More rich text controls"),toggleProps:t,controls:Object(p.orderBy)(e.map((function(e){return Object(le.a)(e,1)[0].props})),"title"),popoverProps:Ru})}))}))))},Au=function(e){var t=e.inline,n=e.anchorRef;return t?Object(b.createElement)(g.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(b.createElement)(Du,null)):Object(b.createElement)(fr,null,Object(b.createElement)(Du,null))};function Mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lu(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function Fu(e){var t=e.allowedFormats,n=e.formattingControls;return e.disableFormats?Fu.EMPTY_ARRAY:t||n?t||(cr()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)}))):void 0}Fu.EMPTY_ARRAY=[];var Vu=Object(b.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,d=t.isSelected,p=t.multiline,v=t.inlineToolbar,g=t.wrapperClassName,h=t.className,j=t.autocompleters,y=t.onReplace,_=t.placeholder,E=t.keepPlaceholderOnFocus,C=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,I=t.onRemove,B=t.onMerge,x=t.onSplit,P=t.__unstableOnSplitAtEnd,T=t.__unstableOnSplitMiddle,N=t.identifier,R=t.start,D=t.reversed,A=t.style,M=t.preserveWhiteSpace,L=t.__unstableEmbedURLOnPaste,F=t.__unstableDisableFormats,V=t.disableLineBreaks,H=Object(ke.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitAtEnd","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste","__unstableDisableFormats","disableLineBreaks"]),z=Object(m.useInstanceId)(e);N=N||z;var U=Object(b.useRef)(),G=n||U,K=k(),W=K.clientId,q=K.onCaretVerticalPositionChange,$=K.isSelected,Y=Object(O.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,i=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,s=n.__unstableGetBlockWithoutInnerBlocks,f=n.isMultiSelecting,p=n.hasMultiSelection,m=o(),v=i(),O=a().__experimentalUndo;void 0===d?t=m.clientId===W&&m.attributeKey===N:d&&(t=m.clientId===W);var g={};if("native"===b.Platform.OS){var h=W&&s(W);g={shouldBlurOnUnmount:h&&t&&Object(c.isUnmodifiedDefaultBlock)(h)}}return function(e){for(var t=1;t0,me=a,ve=l;Array.isArray(a)&&(me=c.children.toHTML(a),ve=function(e){return l(c.children.fromDOM(Object(i.__unstableCreateElement)(document,e).childNodes))});var Oe=Object(b.useCallback)((function(e,t){ue(W,N,e,t)}),[W,N]),ge=Object(b.useCallback)((function(e){var t=e.value,n=e.isReverse;B&&B(!n),I&&Object(i.isEmpty)(t)&&n&&I(!n)}),[B,I]),he=Object(b.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(y&&x){var n=[],r=Object(i.split)(e),o=Object(le.a)(r,2),c=o[0],a=o[1],l=t.length>0,s=-1;l&&Object(i.isEmpty)(c)||(n.push(x(Object(i.toHTMLString)({value:c,multilineTag:de}))),s+=1),l?(n.push.apply(n,Object(ae.a)(t)),s+=t.length):T&&n.push(T()),(l||T)&&Object(i.isEmpty)(a)||n.push(x(Object(i.toHTMLString)({value:a,multilineTag:de})));var u=l?s:1,b=l?-1:null;y(n,u,b)}}),[y,x,de,T]),je=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=y&&x;if(y){var a=Object(c.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(c.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(y([l.transform({content:t.text})]),be())}if(p)r?V||n(Object(i.insert)(t,"\n")):o&&Object(i.__unstableIsEmptyLine)(t)?he(t):n(Object(i.__unstableInsertLineSeparator)(t));else{var s=t.text,u=t.start,b=t.end,d=P&&u===b&&b===s.length;r||!o&&!d?V||n(Object(i.insert)(t,"\n")):!o&&d?P():o&&he(t)}}),[y,x,be,p,he,P]),ye=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(c.pasteHandler)({HTML:Nu(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(y&&Object(i.isEmpty)(t)?y(u):he(t,u))}var b,d=y&&x?"AUTO":"INLINE";"AUTO"===d&&Object(i.isEmpty)(t)&&(b=a,Object(Bu.regexp)(".*").test(b))&&(d="BLOCKS"),L&&Object(i.isEmpty)(t)&&Object(hl.isURL)(a.trim())&&(d="BLOCKS");var f=Object(c.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o});if("string"==typeof f){var m=Object(i.create)({html:f});if(s.length)for(var v=m.formats.length;v--;)m.formats[v]=[].concat(Object(ae.a)(s),Object(ae.a)(m.formats[v]||[]));p&&(m=Object(i.replace)(m,/\n+/g,i.__UNSTABLE_LINE_SEPARATOR)),n(Object(i.insert)(t,m))}else f.length>0&&(y&&Object(i.isEmpty)(t)?y(f,f.length-1,-1):he(t,f))}),[o,y,x,he,L,p]),_e=Object(b.useCallback)((function(e,t){if(y){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(c.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(c.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(i.slice)(e,n,r.length)),u=l.transform(s);y([u]),be()}}}}),[y,be]),Ee=Object(b.createElement)(i.__experimentalRichText,Object(s.a)({},H,{clientId:W,identifier:N,ref:G,value:me,onChange:ve,selectionStart:Q,selectionEnd:Z,onSelectionChange:Oe,tagName:o,className:f()("block-editor-rich-text__editable",h,{"keep-placeholder-on-focus":E}),placeholder:_,allowedFormats:fe,withoutInteractiveFormatting:w,onEnter:je,onDelete:ge,onPaste:ye,__unstableIsSelected:J,__unstableInputRule:_e,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:X,__unstableOnEnterFormattedText:ie,__unstableOnExitFormattedText:se,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:be,__unstableDidAutomaticChange:ee,__unstableUndo:ne,__unstableDisableFormats:F,style:A,preserveWhiteSpace:M,disabled:te,start:R,reversed:D,onCaretVerticalPositionChange:q,blockIsSelected:void 0!==d?d:$,shouldBlurOnUnmount:re}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,c=e.onFocus,i=e.editableProps,a=e.editableTagName;return Object(b.createElement)(b.Fragment,null,r&&r({value:n,onChange:o,onFocus:c}),t&&pe&&Object(b.createElement)(Au,{inline:v,anchorRef:G.current}),t&&Object(b.createElement)(Tu,null),Object(b.createElement)(qn,{onReplace:y,completers:j,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(b.createElement)(a,Object(s.a)({},i,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:R,reversed:D,onKeyDown:function(e){r(e),i.onKeyDown(e)}}))})))}));return g?(cr()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(b.createElement)("div",{className:f()("block-editor-rich-text",g)},Ee)):Ee}));Vu.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(ke.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=c.children.toHTML(t));var i=Lu(r);!t&&i&&(t="<".concat(i,">"));var a=Object(b.createElement)(b.RawHTML,null,t);return n?Object(b.createElement)(n,Object(p.omit)(o,["format"]),a):a},Vu.isEmpty=function(e){return!e||0===e.length},Vu.Content.defaultProps={format:"string",value:""};var Hu=Vu;function zu(e){var t=e.value,n=e.onChange;return Object(b.createElement)(hu,null,Object(b.createElement)(Hu,{value:t,onChange:n,placeholder:Object(I.__)("Navigation item"),keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var Uu=n(298);var Gu=function(e){var t=e.icon,n=void 0===t?Uu.a:t,r=e.label,o=void 0===r?Object(I.__)("Choose variation"):r,c=e.instructions,i=void 0===c?Object(I.__)("Select a variation to start with."):c,a=e.variations,l=e.onSelect,s=e.allowSkip,u=f()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(b.createElement)(g.Placeholder,{icon:n,label:o,instructions:i,className:u},Object(b.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(I.__)("Block variations")},a.map((function(e){return Object(b.createElement)("li",{key:e.name},Object(b.createElement)(g.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(b.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title))}))),s&&Object(b.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(b.createElement)(g.Button,{isLink:!0,onClick:function(){return l()}},Object(I.__)("Skip"))))},Ku=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Wu=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"}));function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var $u={top:{icon:Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(I._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Wu,title:Object(I._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Ku,title:Object(I._x)("Vertically Align Bottom","Block vertical alignment setting")}},Yu=["top","center","bottom"],Xu={isAlternate:!0};var Qu=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Yu:r,c=e.isCollapsed,i=void 0===c||c,a=$u[t],l=$u.top;return Object(b.createElement)(g.ToolbarGroup,{popoverProps:Xu,isCollapsed:i,icon:a?a.icon:l.icon,label:Object(I._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var c=!(t&&t.length);if(c||!(t.length<2||!o&&Object(hl.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});var i=r(t,{isInitialSuggestions:c});i.then((function(t){e.suggestionsRequest===i&&(e.setState({suggestions:t,loading:!1,showSuggestions:!!t.length}),t.length?e.props.debouncedSpeak(Object(I.sprintf)(Object(I._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(I.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===i&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=i}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}},{key:"onFocus",value:function(){var e=this.state.suggestions,t=this.props,n=t.disableSuggestions,r=t.value;!r||n||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(r.trim())}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,c=t.loading;if(n&&o.length&&!c){var i=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case it.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case it.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case it.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(i),this.props.speak(Object(I.__)("Link selected.")));break;case it.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(i))}}else switch(e.keyCode){case it.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case it.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,c=t.isFullWidth,i=t.__experimentalRenderSuggestions,a=t.placeholder,l=void 0===a?Object(I.__)("Paste URL or type to search"):a,u=t.value,d=void 0===u?"":u,m=t.autoFocus,v=void 0===m||m,O=t.__experimentalShowInitialSuggestions,h=void 0!==O&&O,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,E=j.loading,C="url-input-control-".concat(r),S="block-editor-url-input-suggestions-".concat(r),w="block-editor-url-input-suggestion-".concat(r),B={id:S,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(w,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(b.createElement)(g.BaseControl,{label:n,id:C,className:f()("block-editor-url-input",o,{"is-full-width":c})},Object(b.createElement)("input",{className:"block-editor-url-input__input",autoFocus:v,type:"text","aria-label":Object(I.__)("URL"),required:!0,value:d,onChange:this.onChange,onFocus:this.onFocus,onInput:wb,placeholder:l,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":S,"aria-activedescendant":null!==_?"".concat(w,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(b.createElement)(g.Spinner,null),Object(p.isFunction)(i)&&k&&!!y.length&&i({suggestions:y,selectedSuggestion:_,suggestionsListProps:B,buildSuggestionItemProps:x,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:h&&!(d&&d.length)}),!Object(p.isFunction)(i)&&k&&!!y.length&&Object(b.createElement)(g.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(b.createElement)("div",Object(s.a)({},B,{className:f()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(b.createElement)(g.Button,Object(s.a)({},x(0,n),{key:t.id,className:f()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,c=void 0!==o&&o,i=t.showSuggestions,a=n&&n.length;return c||a||(i=!1),!0===r&&(i=!1),{showSuggestions:i}}}]),r}(b.Component),Bb=Object(m.compose)(m.withSafeTimeout,g.withSpokenMessages,m.withInstanceId,Object(O.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Ib),xb=function(e){var t=e.placeholder,n=e.value,r=e.onChange,o=e.onSelect,c=e.renderSuggestions,i=e.fetchSuggestions,a=e.showInitialSuggestions,l=e.errorMessage,s=Object(b.useState)(),u=Object(le.a)(s,2),d=u[0],f=u[1];return Object(b.createElement)("form",{onSubmit:function(e){e.preventDefault(),o(d||{url:n})}},Object(b.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(b.createElement)(Bb,{className:"block-editor-link-control__search-input",value:n,onChange:function(e,t){r(e),f(t)},placeholder:null!=t?t:Object(I.__)("Search or type url"),__experimentalRenderSuggestions:c,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:a}),Object(b.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(b.createElement)(g.Button,{type:"submit",label:Object(I.__)("Submit"),icon:_b.a,className:"block-editor-link-control__search-submit"}))),l&&Object(b.createElement)(g.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},l))},Pb=function(e){var t=e.searchTerm,n=e.onClick,r=e.itemProps,o=e.isSelected;return t?Object(b.createElement)(g.Button,Object(s.a)({},r,{className:f()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:n}),Object(b.createElement)(g.Icon,{className:"block-editor-link-control__search-item-icon",icon:"insert"}),Object(b.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(b.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(b.createInterpolateElement)(Object(I.sprintf)(Object(I.__)("New page: %s"),t),{mark:Object(b.createElement)("mark",null)})))):null};function Tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nb(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};T(!1);var n=Nb({},t);delete n.type,delete n.id,c(Nb({},n,{},e))};return Object(b.createElement)("div",{tabIndex:-1,ref:y,className:"block-editor-link-control"},D&&Object(b.createElement)("div",{className:"block-editor-link-control__loading"},Object(b.createElement)(g.Spinner,null)," ",Object(I.__)("Creating"),"…"),(P||!n)&&!D&&Object(b.createElement)(xb,{placeholder:t,value:S,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";w(e)},onSelect:function(){var e=Object(vr.a)(mr.a.mark((function e(t){return mr.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("__CREATE__"!==t.type){e.next=5;break}return e.next=3,Y(S);case 3:e.next=6;break;case 5:(!a||Object.keys(t).length>1)&&(X(t,n),W());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),renderSuggestions:u?function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,i=e.selectedSuggestion,a=e.isLoading,l=e.isInitialSuggestions,u=f()("block-editor-link-control__search-results",{"is-loading":a}),d=["url","mailto","tel","internal"],p=1===o.length&&d.includes(o[0].type.toLowerCase()),m=h&&!p&&!l,v="block-editor-link-control-search-results-label-".concat(_),O=l?Object(I.__)("Recently updated"):Object(I.sprintf)(Object(I.__)('Search results for "%s"'),S),j=Object(b.createElement)(l?b.Fragment:g.VisuallyHidden,{},Object(b.createElement)("span",{className:"block-editor-link-control__search-results-label",id:v},O));return Object(b.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},j,Object(b.createElement)("div",Object(s.a)({},t,{className:u,"aria-labelledby":v}),o.map((function(e,t){return m&&"__CREATE__"===e.type?Object(b.createElement)(Pb,{searchTerm:S,onClick:Object(vr.a)(mr.a.mark((function t(){return mr.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(e.title);case 2:case"end":return t.stop()}}),t)}))),key:e.type,itemProps:r(e,t),isSelected:t===i}):"__CREATE__"===e.type?null:Object(b.createElement)(yb,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,index:t,onClick:function(){W(),c(Nb({},n,{},e))},isSelected:t===i,isURL:d.includes(e.type.toLowerCase()),searchTerm:S})}))))}:null,fetchSuggestions:$,showInitialSuggestions:d,errorMessage:F}),n&&!P&&!D&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{"aria-label":Object(I.__)("Currently selected"),"aria-selected":"true",className:f()("block-editor-link-control__search-item",{"is-current":!0})},Object(b.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(b.createElement)(g.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||U),n&&n.title&&Object(b.createElement)("span",{className:"block-editor-link-control__search-item-info"},U)),Object(b.createElement)(g.Button,{isSecondary:!0,onClick:function(){return T(!0)},className:"block-editor-link-control__search-item-action"},Object(I.__)("Edit")),Object(b.createElement)(Db,{fillProps:n}))),Object(b.createElement)(jb,{value:n,settings:r,onChange:c}))}Lb.ViewerFill=Ab;var Fb=Lb,Vb=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(B.Path,{d:"M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z"})),Hb=n(204),zb=Object(g.withFilters)("editor.MediaUpload")((function(){return null}));var Ub=Object(O.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Gb=Object(m.compose)([Object(O.withDispatch)((function(e){var t=e("core/notices");return{createNotice:t.createNotice,removeNotice:t.removeNotice}})),Object(g.withFilters)("editor.MediaReplaceFlow")])((function(e){var t=e.mediaURL,n=e.mediaId,r=e.allowedTypes,o=e.accept,c=e.onSelect,i=e.onSelectURL,a=e.onFilesUpload,l=void 0===a?p.noop:a,s=e.name,u=void 0===s?Object(I.__)("Replace"):s,d=e.createNotice,f=e.removeNotice,m=Object(b.useState)(t),v=Object(le.a)(m,2),h=v[0],j=v[1],k=Object(O.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),y=Object(b.createRef)(),_=Object(p.uniqueId)("block-editor/media-replace-flow/error-notice/"),E=function(e){var t=document.createElement("div");t.innerHTML=Object(b.renderToString)(e);var n=t.textContent||t.innerText||"";setTimeout((function(){d("error",n,{speak:!0,id:_,isDismissible:!0})}),1e3)},C=function(e){c(e),j(e.url),Object(Fe.speak)(Object(I.__)("The media file has been replaced")),f(_)},S=function(e){e.keyCode===it.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(b.createElement)(g.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.ToolbarGroup,{className:"media-replace-flow"},Object(b.createElement)(g.ToolbarButton,{ref:y,"aria-expanded":t,onClick:n,onKeyDown:S},u))},renderContent:function(e){e.onClose;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(b.createElement)(zb,{value:n,onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(b.createElement)(g.MenuItem,{icon:Vb,onClick:t},Object(I.__)("Open Media Library"))}}),Object(b.createElement)(Ub,null,Object(b.createElement)(g.FormFileUpload,{onChange:function(e){!function(e){var t=e.target.files;l(t);k({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(le.a)(e,1)[0];C(t)},onError:E})}(e)},accept:o,render:function(e){var t=e.openFileDialog;return Object(b.createElement)(g.MenuItem,{icon:Hb.a,onClick:function(){t()}},Object(I.__)("Upload"))}}))),i&&Object(b.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:function(e){e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()}},Object(b.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(I.__)("Current media URL:")),Object(b.createElement)(Fb,{value:{url:h},settings:[],showSuggestions:!1,onChange:function(e){var t=e.url;j(t),i(t),y.current.focus()}})))}})})),Kb=n(299);function Wb(e){var t=e.url,n=e.urlLabel,r=e.className,o=f()(r,"block-editor-url-popover__link-viewer-url");return t?Object(b.createElement)(g.ExternalLink,{className:o,href:t},n||Object(hl.filterURLForDisplay)(Object(hl.safeDecodeURI)(t))):Object(b.createElement)("span",{className:o})}function qb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var $b=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(qb()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Gt.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(Ut.a)(r,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,c=void 0===o?"bottom center":o,i=e.focusOnMount,a=void 0===i?"firstElement":i,l=Object(ke.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),u=this.state.isSettingsExpanded,d=!!r&&u;return Object(b.createElement)(g.Popover,Object(s.a)({className:"block-editor-url-popover",focusOnMount:a,position:c},l),Object(b.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(b.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(b.createElement)(g.Button,{className:"block-editor-url-popover__settings-toggle",icon:Ir.a,label:Object(I.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":u})),d&&Object(b.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!d&&Object(b.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),r}(b.Component);$b.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,c=Object(ke.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(b.createElement)("form",Object(s.a)({className:f()("block-editor-url-popover__link-editor",n)},c),Object(b.createElement)(Bb,{value:o,onChange:r,autocompleteRef:t}),Object(b.createElement)(g.Button,{icon:_b.a,label:Object(I.__)("Apply"),type:"submit"}))},$b.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,c=e.urlLabel,i=Object(ke.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(b.createElement)("div",Object(s.a)({className:f()("block-editor-url-popover__link-viewer",t)},i),Object(b.createElement)(Wb,{url:o,urlLabel:c,className:n}),r&&Object(b.createElement)(g.Button,{icon:Kb.a,label:Object(I.__)("Edit"),onClick:r}))};var Yb=$b;function Xb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Qb=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(b.createElement)(Yb,{onClose:o},Object(b.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(b.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(I.__)("URL"),placeholder:Object(I.__)("Paste or type URL"),onChange:n,value:t}),Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:_b.a,label:Object(I.__)("Apply"),type:"submit"})))},Zb=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Xb()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(Gt.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(Gt.a)(e)),e.onUpload=e.onUpload.bind(Object(Gt.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(Gt.a)(e)),e.openURLInput=e.openURLInput.bind(Object(Gt.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this,r=this.props,o=r.addToGallery,c=r.allowedTypes,i=r.mediaUpload,a=r.multiple,l=r.onError,s=r.onSelect,u=r.onFilesPreUpload;if((void 0===u?p.noop:u)(e),a)if(o){var b=[];t=function(e){var t=(n.props.value||[]).filter((function(e){return e.id?!b.some((function(t){var n=t.id;return Number(n)===Number(e.id)})):!b.some((function(t){var n=t.urlSlug;return e.url.includes(n)}))}));s(t.concat(e)),b=e.map((function(e){var t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}}))}}else t=s;else t=function(e){var t=Object(le.a)(e,1)[0];return s(t)};i({allowedTypes:c,filesList:e,onFileChange:t,onError:l})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,c=n.className,i=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,d=n.mediaPreview,p=n.notices,m=n.onSelectURL,v=n.mediaUpload,O=n.children,h=s.instructions,j=s.title;if(v||m||(h=Object(I.__)("To edit this block, you need permission to upload media.")),void 0===h||void 0===j){var k=1===o.length,y=k&&"audio"===o[0],_=k&&"image"===o[0],E=k&&"video"===o[0];void 0===h&&v&&(h=Object(I.__)("Upload a media file or pick one from your media library."),y?h=Object(I.__)("Upload an audio file, pick one from your media library, or add one with a URL."):_?h=Object(I.__)("Upload an image file, pick one from your media library, or add one with a URL."):E&&(h=Object(I.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===j&&(j=Object(I.__)("Media"),y?j=Object(I.__)("Audio"):_?j=Object(I.__)("Image"):E&&(j=Object(I.__)("Video")))}var C=f()("block-editor-media-placeholder",c,{"is-appender":a});return Object(b.createElement)(g.Placeholder,{icon:i,label:j,instructions:h,className:C,notices:p,onClick:t,onDoubleClick:u,preview:d},e,O)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(b.createElement)(g.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(I.__)("Cancel"),isLink:!0,onClick:e},Object(I.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(b.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(b.createElement)(g.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isTertiary:!0},Object(I.__)("Insert from URL")),t&&Object(b.createElement)(Qb,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,c=void 0===o?[]:o,i=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,d=t.value,m=void 0===d?{}:d,v=Object(b.createElement)(zb,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:c,value:Object(p.isArray)(m)?m.map((function(e){return e.id})):m.id,render:function(e){var t=e.open;return Object(b.createElement)(g.Button,{isTertiary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(I.__)("Media Library"))}});if(a&&i)return Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(g.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.Button,{isPrimary:!0,className:f()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(I.__)("Upload")),v,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var O=Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(g.FormFileUpload,{isPrimary:!0,className:f()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(I.__)("Upload")),v,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(O)}return this.renderPlaceholder(v)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&cr()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(b.createElement)(Ub,null,this.renderDropZone())):Object(b.createElement)(Ub,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),r}(b.Component),Jb=Object(O.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ed=Object(m.compose)(Jb,Object(g.withFilters)("editor.MediaPlaceholder"))(Zb),td=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(Hu,Object(s.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0}))}));td.Content=function(e){var t=e.value,n=void 0===t?"":t,r=e.tagName,o=void 0===r?"div":r,c=Object(ke.a)(e,["value","tagName"]);return Object(b.createElement)(o,c,n)};var nd=td,rd=Object(b.forwardRef)((function(e,t){var n=e.__experimentalVersion,r=Object(ke.a)(e,["__experimentalVersion"]);if(2===n)return Object(b.createElement)(nd,Object(s.a)({ref:t},r));var o=r.className,c=r.onChange,i=Object(ke.a)(r,["className","onChange"]);return Object(b.createElement)(Zr.a,Object(s.a)({ref:t,className:f()("block-editor-plain-text",o),onChange:function(e){return c(e.target.value)}},i))}));function od(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(m.useInstanceId)(od),c=r||Object(I.sprintf)(Object(I._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(b.createElement)(g.VisuallyHidden,{as:"span",id:"rbc-desc-".concat(o)},c))}var cd=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,c=e.renderDefaultControl,i=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(I.__)("All")}:s,d=e.viewports,p=void 0===d?[{id:"small",label:Object(I.__)("Small screens")},{id:"medium",label:Object(I.__)("Medium screens")},{id:"large",label:Object(I.__)("Large screens")}]:d;if(!t||!n||!c)return null;var m=r||Object(I.sprintf)(Object(I.__)("Use the same %s on all screensizes."),n),v=Object(I.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),O=c(Object(b.createElement)(od,{property:n,viewport:u}),u);return Object(b.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(b.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(b.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(b.createElement)(g.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:m,checked:!l,onChange:o,help:v}),Object(b.createElement)("div",{className:f()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&O,l&&(i?i(p):p.map((function(e){return Object(b.createElement)(b.Fragment,{key:e.id},c(Object(b.createElement)(od,{property:n,viewport:e}),e))}))))))};function id(e){var t=e.character,n=e.type,r=e.onUse;return Object(m.useKeyboardShortcut)(it.rawShortcut[n](t),(function(){return r(),!1}),{bindGlobal:!0}),null}function ad(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,c=Object(ke.a)(e,["name","shortcutType","shortcutCharacter"]),i="RichText.ToolbarControls";return n&&(i+=".".concat(n)),r&&o&&(t=it.displayShortcut[r](o)),Object(b.createElement)(g.Fill,{name:i},Object(b.createElement)(g.ToolbarButton,Object(s.a)({},c,{shortcut:t})))}function ld(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var sd=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(ld()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).onInput=e.onInput.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),r}(b.Component),ud=n(300),bd=Object(b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(b.createElement)(g.Path,{d:"M9.4 20.5L5.2 3.8l14.6 9-2 .3c-.2 0-.4.1-.7.1-.9.2-1.6.3-2.2.5-.8.3-1.4.5-1.8.8-.4.3-.8.8-1.3 1.5-.4.5-.8 1.2-1.2 2l-.3.6-.9 1.9zM7.6 7.1l2.4 9.3c.2-.4.5-.8.7-1.1.6-.8 1.1-1.4 1.6-1.8.5-.4 1.3-.8 2.2-1.1l1.2-.3-8.1-5z"}));var dd=Object(b.forwardRef)((function(e,t){var n=Object(O.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),r=Object(O.useDispatch)("core/block-editor").setNavigationMode,o=function(e){r("edit"!==e)};return Object(b.createElement)(g.Dropdown,{renderToggle:function(r){var o=r.isOpen,c=r.onToggle;return Object(b.createElement)(g.Button,Object(s.a)({},e,{ref:t,icon:n?bd:ud.a,"aria-expanded":o,onClick:c,label:Object(I.__)("Tools")}))},position:"bottom right",renderContent:function(){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.NavigableMenu,{role:"menu","aria-label":Object(I.__)("Tools")},Object(b.createElement)(g.MenuItemsChoice,{value:n?"select":"edit",onSelect:o,choices:[{value:"edit",label:Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ao.a,{icon:ud.a}),Object(I.__)("Edit"))},{value:"select",label:Object(b.createElement)(b.Fragment,null,bd,Object(I.__)("Select"))}]})),Object(b.createElement)("div",{className:"block-editor-tool-selector__help"},Object(I.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})})),fd=n(180),pd=Object(b.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(B.Path,{d:"M9.737 18.011L3.98 12.255l5.734-6.28 1.107 1.012-4.103 4.494h13.3v1.5H6.828l3.97 3.97-1.06 1.06z"}));function md(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var vd=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(md()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(Gt.a)(e)),e.submitLink=e.submitLink.bind(Object(Gt.a)(e)),e.state={expanded:!1},e}return Object(Ut.a)(r,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(I.__)("Edit link"):Object(I.__)("Insert link");return Object(b.createElement)("div",{className:"block-editor-url-input__button"},Object(b.createElement)(g.Button,{icon:fd.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(b.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(b.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(b.createElement)(g.Button,{className:"block-editor-url-input__back",icon:pd,label:Object(I.__)("Close"),onClick:this.toggle}),Object(b.createElement)(Bb,{value:t||"",onChange:n}),Object(b.createElement)(g.Button,{icon:_b.a,label:Object(I.__)("Submit"),type:"submit"}))))}}]),r}(b.Component),Od=n(154),gd=["noreferrer","noopener"],hd=Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(g.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(b.createElement)(g.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),jd=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,c=void 0===o?"image":o,i=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,d=Object(b.useState)(!1),f=Object(le.a)(d,2),m=f[0],v=f[1],O=Object(b.useCallback)((function(){v(!0)})),h=Object(b.useState)(!1),j=Object(le.a)(h,2),k=j[0],y=j[1],_=Object(b.useState)(null),E=Object(le.a)(_,2),C=E[0],S=E[1],w=Object(b.useRef)(null),B=function(e){e.stopPropagation()},x=function(e){[it.LEFT,it.DOWN,it.RIGHT,it.UP,it.BACKSPACE,it.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},P=Object(b.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),y(!0)})),T=Object(b.useCallback)((function(){y(!1)})),N=Object(b.useCallback)((function(){S(null),T(),v(!1)})),R=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(gd,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},D=Object(b.useCallback)((function(){return function(e){var t=w.current;t&&t.contains(e.target)||(v(!1),S(null),T())}})),A=Object(b.useCallback)((function(){return function(e){C&&n({href:C}),T(),S(null),e.preventDefault()}})),M=Object(b.useCallback)((function(){n({linkDestination:"none",href:""})})),L=function(){return[{linkDestination:"media",title:Object(I.__)("Media File"),url:"image"===c?i:void 0,icon:hd},{linkDestination:"attachment",title:Object(I.__)("Attachment Page"),url:"image"===c?a:void 0,icon:Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(b.createElement)(g.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},F=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.ToggleControl,{label:Object(I.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?R(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(b.createElement)(g.TextControl,{label:Object(I.__)("Link Rel"),value:R(u)||"",onChange:function(e){n({rel:e})},onKeyPress:B,onKeyDown:x}),Object(b.createElement)(g.TextControl,{label:Object(I.__)("Link CSS Class"),value:s||"",onKeyPress:B,onKeyDown:x,onChange:function(e){n({linkClass:e})}})),V=null!==C?C:r,H=(Object(p.find)(L(),["linkDestination",t])||{}).title;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.ToolbarButton,{icon:fd.a,className:"components-toolbar__control",label:r?Object(I.__)("Edit link"):Object(I.__)("Insert link"),"aria-expanded":m,onClick:O}),m&&Object(b.createElement)(Yb,{onFocusOutside:D(),onClose:N,renderSettings:function(){return F},additionalControls:!V&&Object(b.createElement)(g.NavigableMenu,null,Object(p.map)(L(),(function(e){return Object(b.createElement)(g.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=L(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),T()}},e.title)})))},(!r||k)&&Object(b.createElement)(Yb.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:V,onChangeInputValue:S,onKeyDown:x,onKeyPress:B,onSubmit:A(),autocompleteRef:w}),r&&!k&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Yb.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:B,url:r,onEditLinkClick:P,urlLabel:H}),Object(b.createElement)(g.Button,{icon:Od.a,label:Object(I.__)("Remove link"),onClick:M}))))},kd=n(155);function yd(e){var t=e.children,n=e.className,r=e.isEnabled,o=void 0===r||r,c=e.deviceType,i=e.setDeviceType;return Object(b.createElement)(g.Dropdown,{className:"block-editor-post-preview__dropdown",contentClassName:f()(n,"block-editor-post-preview__dropdown-content"),popoverProps:{role:"menu"},position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(g.Button,{isTertiary:!0,onClick:n,className:"block-editor-post-preview__button-toggle","aria-expanded":t,disabled:!o},Object(I.__)("Preview"))},renderContent:function(){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(g.MenuGroup,null,Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Desktop")},icon:"Desktop"===c&&kd.a},Object(I.__)("Desktop")),Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Tablet")},icon:"Tablet"===c&&kd.a},Object(I.__)("Tablet")),Object(b.createElement)(g.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Mobile")},icon:"Mobile"===c&&kd.a},Object(I.__)("Mobile"))),t)}})}var _d=n(265),Ed=/\((min|max)-width:[^\(]*?\)/g;function Cd(e){return!!e.media&&!!e.media.mediaText.match(Ed)}function Sd(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function wd(e,t){return e.replace(Ed,(function(e){return Object(_d.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)"}))}function Id(e,t){Object(b.useEffect)((function(){if(t){var n="undefined"==typeof window?[]:Object(p.filter)(Object(p.get)(window,["document","styleSheets"],[]),(function(e){return!!e.href&&Object(hl.getProtocol)(e.href)===window.location.protocol&&Object(hl.getAuthority)(e.href)===window.location.host})),r=[];return n.forEach((function(n,o){for(var c=!1,i=0;i0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,i=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(b.createElement)("div",{className:"block-editor-block-inspector"},Object(b.createElement)(Td,null),Object(b.createElement)(We.Slot,{bubblesVirtually:!0}));var s=i===Object(c.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(b.createElement)("div",{className:"block-editor-block-inspector"},Object(b.createElement)(uo,{blockType:t}),r&&Object(b.createElement)("div",null,Object(b.createElement)(g.PanelBody,{title:Object(I.__)("Styles")},Object(b.createElement)(ss,{clientId:o}),Object(c.hasBlockSupport)(t.name,"defaultStylePicker",!0)&&Object(b.createElement)(Nd,{blockName:t.name}))),Object(b.createElement)(We.Slot,{bubblesVirtually:!0}),Object(b.createElement)("div",null,Object(b.createElement)(Rd,{slotName:ee.slotName})),Object(b.createElement)(xd,{key:"back"})):l?Object(b.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(I.__)("No block selected.")):null}));function Ad(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Md=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(Ad()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).bindContainer=e.bindContainer.bind(Object(Gt.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,c=n||r;e.target===this.container&&c&&o()}},{key:"render",value:function(){return Object(b.createElement)("div",Object(s.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),r}(b.Component),Ld=Object(m.compose)([Object(O.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(O.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(Md),Fd=n(266),Vd=n.n(Fd),Hd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zd=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function c(){var e={line:n,column:r};return function(t){return t.position=new i(e),f(),t}}function i(e){this.start=e,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var a=[];function l(o){var c=new Error(t.source+":"+n+":"+r+": "+o);if(c.reason=o,c.filename=t.source,c.line=n,c.column=r,c.source=e,!t.silent)throw c;a.push(c)}function s(){return d(/^{\s*/)}function u(){return d(/^}/)}function b(){var t,n=[];for(f(),p(n);e.length&&"}"!==e.charAt(0)&&(t=C()||S());)!1!==t&&(n.push(t),p(n));return n}function d(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function f(){d(/^\s*/)}function p(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=c();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}}function v(){var e=d(/^([^{]+)/);if(e)return Ud(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function O(){var e=c(),t=d(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Ud(t[0]),!d(/^:\s*/))return l("property missing ':'");var n=d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Hd,""),value:n?Ud(n[0]).replace(Hd,""):""});return d(/^[;\s]*/),r}}function g(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=O();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function h(){for(var e,t=[],n=c();e=d(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),d(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:g()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=c(),r=d(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=c(),t=d(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=d(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var i=p();r=h();)i.push(r),i=i.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:i}):l("@keyframes missing '}'")}}()||function(){var e=c(),t=d(/^@media *([^{]+)/);if(t){var n=Ud(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(b());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=c(),t=d(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Ud(t[1]),media:Ud(t[2])})}()||function(){var e=c(),t=d(/^@supports *([^{]+)/);if(t){var n=Ud(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(b());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||k()||y()||_()||function(){var e=c(),t=d(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Ud(t[1]),r=Ud(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(b());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=c();if(d(/^@page */)){var t=v()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=O();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=c();if(d(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(b());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=c();if(d(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=O();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function S(){var e=c(),t=v();return t?(p(),e({type:"rule",selectors:t,declarations:g()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type,o=r?t:n;for(var c in t){var i=t[c];Array.isArray(i)?i.forEach((function(t){e(t,o)})):i&&"object"===Object(No.a)(i)&&e(i,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=b(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function Ud(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Gd=n(165),Kd=n.n(Gd),Wd=qd;function qd(e){this.options=e||{}}qd.prototype.emit=function(e){return e},qd.prototype.visit=function(e){return this[e.type](e)},qd.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?cf({},n,{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match(af)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},sf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(lf(t)),r&&o.push(rf(r)),o.length?Zd(n,Object(m.compose)(o)):n}))};var uf=function(e){var t=e.styles;return Object(b.useEffect)((function(){var e=sf(t,".editor-styles-wrapper"),n=Object(p.map)(Object(p.compact)(e),(function(e){var t=document.createElement("style");return t.innerHTML=e,document.body.appendChild(t),t}));return function(){return n.forEach((function(e){return document.body.removeChild(e)}))}}),[t]),null};var bf=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,a=e.__experimentalSelectBlockOnInsert,l=e.onSelect,s=void 0===l?p.noop:l,u=Object(O.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(b.createElement)(Bl,{onSelect:s,rootClientId:u,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:a})};function df(){var e=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(le.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(O.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,a=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,d=o.clearSelectedBlock,f=o.moveBlocksUp,m=o.moveBlocksDown;return Object(l.useShortcut)("core/block-editor/move-up",Object(b.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/move-down",Object(b.useCallback)((function(e){e.preventDefault(),m(t,r)}),[t,m]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/duplicate",Object(b.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(b.useCallback)((function(e){e.preventDefault(),a(Object(p.last)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(b.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(l.useShortcut)("core/block-editor/select-all",Object(b.useCallback)((function(e){e.preventDefault(),u(Object(p.first)(n),Object(p.last)(n))}),[n,u])),Object(l.useShortcut)("core/block-editor/unselect",Object(b.useCallback)((function(e){e.preventDefault(),d(),window.getSelection().removeAllRanges()}),[t,d]),{isDisabled:t.length<2}),null}df.Register=function(){var e=Object(O.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(b.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(I.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(I.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(I.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(I.__)("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:Object(I.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(I.__)("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:Object(I.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(I.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(I.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(I.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var ff=df;function pf(){var e=Object(O.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelection:r(),isMultiSelecting:o()}}),[]),t=e.isMultiSelection,n=e.selectionEnd,r=e.isMultiSelecting;return Object(b.useEffect)((function(){if(n&&!r&&t){var e=qe(n);if(e){var o=Object(hr.getScrollContainer)(e);o&&Cb()(e,o,{onlyScrollIfNeeded:!0})}}}),[t,n,r]),null}var mf=[it.UP,it.RIGHT,it.DOWN,it.LEFT,it.ENTER,it.BACKSPACE];var vf=Object(m.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(b.useRef)(),o=Object(b.useRef)(),c=Object(O.useSelect)((function(e){return e("core/block-editor").isTyping()})),i=Object(O.useDispatch)("core/block-editor"),a=i.startTyping,l=i.stopTyping;function s(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",d),document[t]("mousemove",u)}function u(e){var t=e.clientX,n=e.clientY;if(o.current){var r=o.current,c=r.clientX,i=r.clientY;c===t&&i===n||l()}o.current={clientX:t,clientY:n}}function d(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||l()}function f(e){var t=e.type,n=e.target;!c&&Object(hr.isTextField)(n)&&r.current.contains(n)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&mf.includes(t)}(e))&&a()}return Object(b.useEffect)((function(){return s(c),function(){return s(!1)}}),[c]),Object(b.createElement)("div",{ref:r,onFocus:function(e){var t=e.target;n((function(){c&&!Object(hr.isTextField)(t)&&l()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){!c||e.keyCode!==it.ESCAPE&&e.keyCode!==it.TAB||l()}])},t)}));function Of(){return cr()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}function gf(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var hf=-1!==window.navigator.userAgent.indexOf("Trident"),jf=new Set([it.UP,it.DOWN,it.LEFT,it.RIGHT]),kf=function(e){Object(qt.a)(r,e);var t,n=(t=r,function(){var e,n=Object(Wt.a)(t);if(gf()){var r=Object(Wt.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(Kt.a)(this,e)});function r(){var e;return Object(zt.a)(this,r),(e=n.apply(this,arguments)).ref=Object(b.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(Gt.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(Gt.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(Gt.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(Gt.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(Gt.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(Gt.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(Gt.a)(e)),e}return Object(Ut.a)(r,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(hr.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(hr.computeCaretRect)();if(n)if(this.caretRect)if(jf.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(hr.getScrollContainer)(this.ref.current);if(o){var c=o===document.body,i=c?window.scrollY:o.scrollTop,a=c?0:o.getBoundingClientRect().top,l=c?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===i&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=c?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top